Re: Probelm with status bar....
- From: Olexiy Avramchenko <olexiy irtech cn ua>
- To: Anish Chandran <anishchandru iamwaiting com>
- Cc: gtk-list gnome org
- Subject: Re: Probelm with status bar....
- Date: Sat, 13 Dec 2003 15:21:23 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]