FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Wrapping GTimer

 
Post new topic   Reply to topic     Forum Index -> gtkD
View previous topic :: View next topic  
Author Message
Ant



Joined: 06 Mar 2004
Posts: 306
Location: Canada

PostPosted: Fri Mar 07, 2008 11:04 pm    Post subject: Wrapping GTimer Reply with quote

The methods on glib.Timer are all named _Xxxx.
this is because the prefix on the wrapping definition is "g_timer" instead of "g_timer_".
Should that be changed? or is there some reason for it?

Ant
Back to top
View user's profile Send private message
Mike Wey



Joined: 07 May 2007
Posts: 428

PostPosted: Sat Mar 08, 2008 8:25 am    Post subject: Reply with quote

It probably should be changed, i already changed a few other that had the same problem.

For a reason _Continue might be it. Personally i would rename it to "resume".
Back to top
View user's profile Send private message
Ant



Joined: 06 Mar 2004
Posts: 306
Location: Canada

PostPosted: Sat Mar 08, 2008 1:01 pm    Post subject: Reply with quote

Mike Wey wrote:
It probably should be changed, i already changed a few other that had the same problem.

For a reason _Continue might be it. Personally i would rename it to "resume".


just add another alias?
alias: continue resume

the problem is that we are bound to hit another resume sooner or later.
I'll just use 'continu'. - we can always change it - I don't have a strong opinion.

we have these aliases (should we review them?):

alias: function funct
alias: Function Funct
alias: default defaulx
alias: foreach foreac
alias: package p
alias: delete delet
alias: module modul
alias: instance instanc
alias: union unio
alias: version versio
alias: in inn
alias: ref doref
Back to top
View user's profile Send private message
Mike Wey



Joined: 07 May 2007
Posts: 428

PostPosted: Sat Mar 08, 2008 1:20 pm    Post subject: Reply with quote

Dropping the last char would be consistent.

I always find myself typing that last dropped char Razz
Back to top
View user's profile Send private message
Ant



Joined: 06 Mar 2004
Posts: 306
Location: Canada

PostPosted: Sun Mar 09, 2008 12:33 am    Post subject: Reply with quote

Mike Wey wrote:
Dropping the last char would be consistent.

I always find myself typing that last dropped char Razz


You type!? what about auto completion? Wink
(well, works better on the IBM IDE then on mine...) Rolling Eyes

Ant
Back to top
View user's profile Send private message
Mike Wey



Joined: 07 May 2007
Posts: 428

PostPosted: Sun Mar 09, 2008 9:36 am    Post subject: Reply with quote

Gedit doesn't have auto completion Smile

Changes for GTimer are in svn r464
Back to top
View user's profile Send private message
Ant



Joined: 06 Mar 2004
Posts: 306
Location: Canada

PostPosted: Sat Mar 15, 2008 4:42 pm    Post subject: Reply with quote

Mike Wey wrote:
Gedit doesn't have auto completion Smile

Changes for GTimer are in svn r464


Shocked gedit!?

at least try leds:
http://www.dsource.org/projects/leds/browser/downloads/leds_linux_preview_5.gz

here is the README.txt:

This is a very usable and stable preview release.
The first beta release will be comming soon.


preview 5 --- linux only -----------------

This preview marks the move to GtkSourceView
(scintilla support will be dropped)

start leds with the option "-sv" to use GtkSourceView

You need to install GtkSourceView 2.1.3 from:
http://ftp.acc.umu.se/pub/gnome/sources/gtksourceview/2.1/
(not tested with 2.2)

Ant
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> gtkD All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group