Re: Updating a statusbar widget

2000-07-31 Thread Trog
On 31-Jul-2000 Owen Taylor wrote: > > As was said, this should be g_main_iteration (FALSE); if the > FAQ as gtk_main_iteration, please send mail to [EMAIL PROTECTED] > Mea culpae. I obviously got a bit confused somewhere along the line. Will fix. -tony --- E-Mail: [EMAIL PROTECTED] He's dead

Re: Updating a statusbar widget

2000-07-31 Thread Owen Taylor
Tony Denault <[EMAIL PROTECTED]> writes: > On Sun, 23 Jul 2000, Vlad Harchev wrote: > > > > > while (gtk_events_pending()) > > gtk_main_iteration(); > > > > > I am doing this, see my print_status function to write text > status to a label: > > int print_status( char *fmt, ... ) > {

Re: Updating a statusbar widget

2000-07-29 Thread Vlad Harchev
On Wed, 26 Jul 2000, Tony Denault wrote: Hi, > On Sun, 23 Jul 2000, Vlad Harchev wrote: > > > > > while (gtk_events_pending()) > > gtk_main_iteration(); > > > > > I am doing this, see my print_status function to write text > status to a label: > > int print_status( char *fmt, ...

Re: Updating a statusbar widget

2000-07-26 Thread Tony Denault
On Sun, 23 Jul 2000, Vlad Harchev wrote: > > while (gtk_events_pending()) > gtk_main_iteration(); > I am doing this, see my print_status function to write text status to a label: int print_status( char *fmt, ... ) { char buf[256]; va_list argptr; va_start( argptr, fmt);

Re: Updating a statusbar widget

2000-07-23 Thread Vlad Harchev
On Sun, 23 Jul 2000, Nicholas wrote: Hi, See FAQ - Q4.12 The A is to insert the loop of sub_rout1 the following: while (gtk_events_pending()) gtk_main_iteration(); > hi people > > imagine the following lines: > > --- > int > main(arg--etc) { > > g

Updating a statusbar widget

2000-07-23 Thread Nicholas
hi people imagine the following lines: --- int main(arg--etc) { gtk_init (&argc, &argv); window --bla-bla-- /* i create a statusbar */ status_bar = gtk_statusbar_new(); gtk_box_pack_start (GTK_BOX (vbox), status_bar, TRUE, TRUE, 0); gtk_widget_show (s