Hello.

> When the button or expander is clicked with the mouse the callbacks work
> fine.  The problem is from the menu the "activate" signal has GtkAction
> as the first parameter of the callback and I don't think that can be
> cast to a GtkButton or GtkExpander.  I want to call the button and
> expander callbacks as if they were clicked with the mouse.

You can get hold of the proxy widget of the action by calling
gtk_action_get_proxies(). After you obtain the needed widget, you cna
call callback function like it would be called by GTK+ itself.

Tadej

-- 
Tadej Borovšak
tadeboro.blogspot.com
tadeb...@gmail.com
tadej.borov...@gmail.com
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to