Hello Alem! --- Alem Dain <[EMAIL PROTECTED]> wrote: > Hi all. It would seem that the little toggle button > in my GtkTreeView > doesn't respond to being clicked on, as in, it > doesn't change state, > and no callback is called... back.
Because you didnot set any! > I do > gtk_tree_view_insert_column_with_attributes( > GTK_TREE_VIEW(keyboards_view), -1, "Active", > gtk_cell_renderer_toggle_new(), > "active", ACTIVE_COLUMN, > NULL); Try this: GtkCellRenderer *widget=gtk_cell_renderer_toggle_new(); g_signal_connect(G_OBJECT(widget),"toggled", G_CALLBACK(yours_cb),model); Its straight from gtk-demo. Thanks Muthu. __________________________________ Discover Yahoo! Have fun online with music videos, cool games, IM and more. Check it out! http://discover.yahoo.com/online.html _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list