Re: gtk_widget_show



On Wed, Apr 13, 2005 at 10:24:12AM -0000, trupthi n t wrote:
> I am working on gtk+1.2.10 redhat linux.

Do you have any compelling reason to use Gtk+ 1.x?

> How do i use gtk_widget_show.

gtk_widget_show(some_widget);

> Gtk-CRITICAL **: file gtkwidget.c: line 1427 (gtk_widget_show): assertion `widget != NULL' failed.

This says (and means) you passed NULL pointer as the widget.
NULL is not a widget, you have to pass some widget you want
to show.

> The codes of the program are attached along

The didn't come, but it shouldn't change the reason.

Yeti


--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?



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