Re: help with GtkStyles



>OK, so unless I specifically make a copy for each widget then I
>should assume that all widgets in the app are going to access the
>same GtkStyle object and any changes to that object are going to be
>'global'.

if they haven't specifically been instructed to use a different style,
then yes. this could have been done directly via set_style() or
indirectly via set_name().

>OH, one more thing, if I modify this GtkStyle object, must I notify the
>widget(s) of the change, or is that handled already by Gtk/Gdk.

that i don't know. i would imagine a quick perusal of la source should
reveal the answer.

--p




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