Re: gtk_button_set_label ERROR



use:

GtkWidget button;

gtk_button_set_label(GTK_BUTTON(button));

How did you initialise the button, that is what I want to ask.

On 4/6/06, 3saul < saul_lethbridge hotmail com> wrote:


Hi all,

Whenever I call gtk_button_set_label I get the following error and the
function does not succeed.

GTK-CRITICAL **: gtk_button_set_label: assertion 'GTK_IS_BUTTON (button)
failed.

Is there a common reason for this error? I get no errors or warnings when
compiling.
--
View this message in context:
http://www.nabble.com/gtk_button_set_label-ERROR-t1403878.html#a3778435
Sent from the Gtk+ - Apps Dev forum at Nabble.com.

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list




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