assertion

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

 



Hi all,

In function 1, I have created a a dialog widget which has 5 check buttons
and I am check marking first 2 check buttons.

The dialog widget is being passed as an argument for this function 2. How
will I see which check buttons are checked and which are not.

The declaration for check buttons and dialog widget are global.

I use in function 2
int r = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(chkbutton2));

It is always getting 0 for variable r and the following message.

Gtk-CRITICAL **: file gtktogglebutton.c: line 326
(gtk_toggle_button_get_active): assertion `GTK_IS_TOGGLE_BUTTON
(toggle_button)' failed

Its urgent
Suggestions please.
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux