Re: key press events & holding keys down

2012-03-20 Thread Stefan Skoglund
mån 2012-03-19 klockan 13:37 -0800 skrev Christopher Howard: > So, you mean, receive both key press and key release events, and then > maintain my own tracking of whether or not the key is currently being > held down? Okay, that makes sense to me, provided of course I can be > certain that all key

Re: key press events & holding keys down

2012-03-20 Thread Stefan Skoglund
I deal with object state (direction of travel, phaser firing, speed, acceleration/deceleration) thru a application framework triggered update event which is broadcast to all physical objects (a in-space minesweeping game.) The broadcasted event includes data about for example : 1 the program-estim

file monitor on the root directory

2012-03-20 Thread Boris HUISGEN
Hello, I'm trying to do a file monitor on the root directory /. My current code is : file = g_file_new_for_path(path); monitor = g_file_monitor(file, G_FILE_MONITOR_NONE, NULL, &error); g_object_unref(file); if (error) { g_error_free(error); error = NULL; return F

Re: Re:GtkScrolledWindow/GtkViewport question

2012-03-20 Thread Michael Stegherr
Hi John, alright, thanks for the answer! I thought, there'd be an easy way to do it nicely. Anyway my method works alright. Cheers, Michael On Wed, 2012-03-07 at 09:08 +, jcup...@gmail.com wrote: > Hi Michael, > > Unfortunately I don't think this is easy. > > You need o do some kind o