Thanks for the example.
I played a bit more with Glade and I found that if the action is described
as a detailed action, i.e. "win.radio-action(0)", then the application acts
as if I haven't define such an action. It appears as if the buildable is
using the entire string as the action name and fai
I don't know if this is of any help. Another try at it. This one uses a
GtkApplication. Setup an action on the button along with the standard "clicked"
callback. A menu in there also.
Eric
//gcc -Wall toolbar2.c -o toolbar2 `pkg-config --cflags --libs gtk+-3.0`
#include
static void quit_p
"I am not sure what you mean"
I don't have a good answer for this. I see that GtkRadioToolButton is in the
list of Known Implementations for GtkActionable but doesn't use the GAction
interface directly.
https://developer.gnome.org/gtk3/stable/GtkActionable.html#gtk-actionable-set-detailed-act
Hi,
Thank you for your reply. I am not sure what you mean by "GtkToolbar
doesn't implement the GAction interface". In Glade, I can define the
specify the "Action Name" for each individual widget in the Toolbar. Those
action names get automatically linked to the actions that I've defined in
the my
Hi Mitko,
The GtkToolbar doesn't implement the GAction interface so you are out of luck
there.
You can use gtk_toggle_tool_button_get_active() to get the state of one of the
GtkRadioToolButton's in the toolbar.
Eric
//gcc -Wall toolbar1.c -o toolbar1 `pkg-config --cflags --libs gtk+-3.0`
Can someone please help me with some pointer?
Thank you.
On Tue, Sep 18, 2018 at 9:35 AM Mitko Haralanov
wrote:
> I am trying to write an application using Glade where the tool bar
> contains a set of radio tool buttons. Those radio tool buttons should not
> perform an action when activated but
I am trying to write an application using Glade where the tool bar contains
a set of radio tool buttons. Those radio tool buttons should not perform an
action when activated but rather just change the associated action's state.
For that I've set the 'Action Name' property for the tool buttons in G