static void toggled_callback(GtkWidget *widget, gpointer data){ g_print("Hello again - %s was toggled. ", (char *) data); g_print("%s \n", gtk_toggle_button_get_mode((GtkToggleButton*)widget) ? "TRUE" : "FALSE"); }
static VALUE tbtn_get_mode(VALUE self) { return CBOOL2RVAL(gtk_toggle_button_get_mode(GTK_TOGGLE_BUTTON(RVAL2GOBJ(self)))); }
static VALUE rg_mode_p(VALUE self) { return CBOOL2RVAL(gtk_toggle_button_get_mode(RVAL2GTKTOGGLEBUTTON(self))); }