On 3/1/11, Maximilian Schneider wrote:
> Hello,
>
> I'm working on a CAD like gtk app.
> a cairo Drawing area surounded by toolbar icons, controllable through
> the mouse+keyboard.
>
> I'm stuck trying to figure out how to create keyboard shortcuts.
>
> How is it supposed to be done?
>
> I've hear
Hello,
I'm working on a CAD like gtk app.
a cairo Drawing area surounded by toolbar icons, controllable through
the mouse+keyboard.
I'm stuck trying to figure out how to create keyboard shortcuts.
How is it supposed to be done?
I've heard that this subject isn't the most well baked part of gtk.
Hi James,
your example uses ordinary GtkButton, not the GtkToolItem and I couldn't
make it work in my example (although I did try to fetch underlying
GtkButton). I've now figured how to change the icon, the key is to use
gtk_tool_button_set_icon_widget method:
img1 = gtk_image_new_from_stock(
On 1 March 2011 08:20, Miroslav Rajcic wrote:
> I am trying to make the "Pause" button flash (or show any similar behaviour
> similar to that) when the pause state is active.
> So far I tried many things, but none of these seem to work:
> - changing the button background color
> - changing the but
I am trying to make the "Pause" button flash (or show any similar behaviour
similar to that) when the pause state is active.
So far I tried many things, but none of these seem to work:
- changing the button background color
- changing the button stock icon
- changing the button relief style
Rele