Children and precedence.

2005-09-22 Thread oracle nine
Is it possible to make a child window stay top level? I want the main 
window to be deactivated while certain child dialogs are open. I 
achieved this by using gtk_widget_set_sensitive(). Unfortunatly, If the 
user mistakenly clicks the screen out side of the dialog window, the 
parent window comes foreward covering the dialog. All input with this 
application will come from a touchscreen device... plus, I would not 
expect the user base to think of alt-tab .. also the program will run 
full screen without a window manager.. thus there will be no task bar 
unless I design one.


Thanks .
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


keeping track of time.

2005-09-19 Thread oracle nine

Hi. Im new to gtk and the list.

I am writing billiards management program under gtk2 on Linux. Each 
billiards table is represented by a widget that will toggle the table 
open or closed. While a table is open, I want to insert a label that 
displays how much time has elapsed.


I want the application to be aware of clock ticks with are resolution of 
1 second.  How could I implement this functionality efficiently. Would 
it be best to create an interval timer (itimer) every second? Or is 
there a gtk handler for time that would be better suited to this task. 
gtk_main () is essentially a message queue. Searches have yielded few 
results that make sense to me. And a few people have told me that gtk 
timers are less accurate.


Any help would be appreciated.

thanks.





___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list