Re: Probelm with status bar....

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

 



Anish Chandran wrote:

hi..

   i created a status bar and i got an error like this can any one trace
the problem.....

Gtk-CRITICAL **: file gtkstatusbar.c: line 207 (gtk_statusbar_push):
assertion `context_id > 0' failed.


Hello,
How do you call gtk_statusbar_push() ? You should call gtk_statusbar_get_context_id() to obtain the id handle for your message:
http://developer.gnome.org/doc/API/gtk/GtkStatusbar.html#gtk-statusbar-push
http://developer.gnome.org/doc/API/gtk/GtkStatusbar.html#gtk-statusbar-get-context-id


Also take a look at "statusbar" example coming with GTK+ sources.

Olexiy

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux