Re: How to get the used style for a widget



On Mon, 4 Dec 2006 17:18:05 +0300, Eugene Zagidullin
<e asphyx gmail com> wrote:

On Mon, 4 Dec 2006 15:13:56 +0100
Enrico TrÃger <enrico troeger uvena de> wrote:

ET> how can I get the style which is actually used to draw the
ET> widgets in an application?

This shoud work correct:

GtkStyle *rc_style = gtk_rc_get_style (your_widget);
It does. Thank you very much.


Regards,
Enrico

--
Get my GPG key from http://www.uvena.de/pub.key


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