Re: How to make toolbar without GTK_CAN_FOCUS
Miroslav Rajcic wrote: > I am trying to make my toolbar (with tool buttons) not to receive focus > when Tab is used to move focus along the window widgets. > > I've tried to call > GTK_WIDGET_UNSET_FLAGS(widget, GTK_CAN_FOCUS); > to both toolbar widget and every single tool button, but it doesn't s
RE: How to make toolbar without GTK_CAN_FOCUS
Here's a snippet that works in GTK 2.2.4: // prevent this object getting the keyboard focus g_object_set(G_OBJECT (m_pButton), "can-focus", false, NULL); where m_pButton is the widget in question. --