Re: How do I remove the focus border?



Martin Wulffeld <tranquil mail dk> writes:

I'm trying to remove the focus border but only for one widget (button_2
in the example below). However, the new_style is applied to both
buttons. How come?

style->klass is shared between all styles with the same theme engine.
Changing the stuff in there is not supported or correct.

To remove the focus border you would normally just keep the button
from being focused (GTK_WIDGET_UNSET_FLAGS (button, GTK_CAN_FOCUS)).

Havoc



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]