Re: Why doesn't my label show up in the window



On Sat, 25 Aug 2012 16:18:20 -0600
Frank Cox wrote:

I have modified my little test program so it will provide a visual cue for each
pending event.  I have attached the modification.

I get three pending events every time I press the OK button.  The subwindow
always appears.  The label sometimes appears on the first button press, but
never on any subsequent button press.  But in all cases, there are three
pending events, never more and never less, regardless of whether the label
appears or not.

What is going on here?

I have also been experimenting with a progress bar and have a similar
situation.  It only updates the bar length to 100% after the entire job is over,
interim updates never show up and the bar stays at zero, but interestingly
enough text superimposed on the bar with gtk_progress_bar_set_text() shows up
as it should be.  So I get the text updated but not the bar length.  Which
bothers me because, again, I would think I should get either both the bar
length and the text updated, or neither.

I have read up on the use of timeouts as suggested by Ardhan Madras and while
it appears to be an approach that could be made to work in my situation, I don't
see why it should be necessary to work off of  a timer when I'm just counting
records.

-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
www.creekfm.com - FIFTY THOUSAND WATTS of POW WOW POWER!

Attachment: test2.c
Description: Text document



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]