Re: show and hide a window



Hi,

Peter Van Osta <pvosta unionbio-eu com> writes:

> I wan to hide and show a window, but simply doing a "gtk_widget_show"
> after hiding the window gives the following error:
> 
> Gtk-CRITICAL **: file gtkwidget.c: line 1428 (gtk_widget_show):
> assertion `GTK_IS_WIDGET (widget)' failed.

 gtk_widget_hide (widget);
 gtk_widget_show (widget);

should work perfectly well. There's most certainly a bug in your code
that changes the widget pointer.


Salut, Sven




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