I want show a form when the user has clicked in new button on a grid.
I try, with:

GtkActionGroup *action_group;
GtkAction *action

action_group = gnome_db_data_widget_get_actions_group
                        (GNOME_DB_DATA_WIDGET (the_grid));
action = gtk_action_group_get_action (action_group, "ActionNew");

g_signal_connect (G_OBJECT (action), "activate",
        G_CALLBACK (action_new_callback), NULL);


This works, but, the grid append a empty row before call callback. How
to I can solve this?.

--
Juan M. Mouriz
_______________________________________________
gnome-db-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-db-list

Reply via email to