Gtk Errors

2010-05-31 Thread Adam Chrapkowski
Is it possible to redirect a Gtk Error reporting to a callback function? I would like to combine Gtk errors, warnings and asserts (unrecoverable errors) with exceptions in programming language which I use. ___ gtk-app-devel-list mailing list gtk-app

Re: gtk errors "!GTK_WIDGET_REALIZED (widget) failed

2007-03-29 Thread 3saul
_REALIZED >> >> (widget)' failed >> > >> > It means what it says, that the widget is not realized. I.e. it is not >> > shown on screen and you cannot set colormap until it is. Why do you >> need >> > it anyway? AFAIK colormaps are handled by

Re: gtk errors "!GTK_WIDGET_REALIZED (widget) failed

2007-03-29 Thread Jonathan Winterflood
anyway? AFAIK colormaps are handled by GTK+ itself just fine. > > > > Paul > > ___ > > gtk-app-devel-list mailing list > > gtk-app-devel-list@gnome.org > > http://mail.gnome.org/mailman/listinfo/gtk-app-devel

Re: gtk errors "!GTK_WIDGET_REALIZED (widget) failed

2007-03-29 Thread 3saul
> shown on screen and you cannot set colormap until it is. Why do you need > it anyway? AFAIK colormaps are handled by GTK+ itself just fine. > > Paul > ___ > gtk-app-devel-list mailing list > gtk-app-devel-list@gnome.org > ht

Re: gtk errors "!GTK_WIDGET_REALIZED (widget) failed

2007-03-29 Thread 3saul
ed by GTK+ itself just fine. > > Paul > ___ > gtk-app-devel-list mailing list > gtk-app-devel-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list > > -- View this message in context: http:

Re: gtk errors "!GTK_WIDGET_REALIZED (widget) failed

2007-03-25 Thread Paul Pogonyshev
3saul wrote: > > when trying to: > > GdkColormap *colormap = gdk_screen_get_rgba_colormap(screen); > gtk_widget_set_colormap(widget, colormap); > > This is literally as complicated as my program is. Create a window (using > libglade), setup callbacks, apply colormap. > > What does this mean? Is

gtk errors "!GTK_WIDGET_REALIZED (widget) failed

2007-03-25 Thread 3saul
an explanation of such errors? The full error message is: Gtk-Critical **: gtk_widget_set_colormap: assertion '!GTK_WIDGET_REALIZED (widget)' failed -- View this message in context: http://www.nabble.com/gtk-errors-%22%21GTK_WIDGET_REALIZED-%28widget%29-failed-tf3460522.html#a9655008