GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Thu Oct 23, 2014 5:12 am

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Event to exit a loop && permanently rezised unresizable wind
PostPosted: Sun Nov 20, 2011 8:53 am 
Offline
Familiar Face

Joined: Thu Jul 28, 2011 5:14 pm
Posts: 12
So I'm trying to make an alarm/timer app and, at least in my head, it requires some sort of loop to display the current time in a label. Regardless of how I would conduct the 'counting' part, I'd still have to actively display the time through the label in a loop.

My problem is that... It doesn't work... I mean I can't exit the loop through my Stop button since the program is preoccupied with displaying with the label.

How should I approach this? GTK just refuses to interact while on a loop.
---------
I have this app that's a wee bit too small and so I'm trying to call gtk_window_resize() to, well, resize it. Problem is when I call gtk_window_set_resizable() and pass FALSE, being window not resizable, I revert back to my default size: too small.

Is there a way to have a permanent resized unresizable window?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 3 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group