Re: How can I programatically activate a GtkRadioToolButton?
- From: Alexander Nagel <alexander acwn de>
- To: lindleyf cox net
- Cc: gtk-app-devel-list gnome org
- Subject: Re: How can I programatically activate a GtkRadioToolButton?
- Date: Fri, 02 Apr 2010 16:36:18 +0200
hi,
this should work with
gtk_toggle_tool_button_set_active (...)
regards
lindleyf cox net schrieb:
I have a tool bar containing several GtkRadioToolButtons. Clicking on them works fine. However, I'm trying to
figure out how I can activate one of them programatically.
My first guess was to do
gtk_widget_activate(GTK_WIDGET(radiobutton));
but that didn't work; gtk_widget_activate returned FALSE, and no "clicked" signal was emitted.
I've looked over the other available functions, and nothing strikes me as the obvious choice here. Any
suggestions?
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]