Re: Find the font of a Widget
- From: Paul Davis <paul linuxaudiosystems com>
- To: yinglcs aim com
- Cc: gtk-list gnome org
- Subject: Re: Find the font of a Widget
- Date: Tue, 13 Dec 2005 15:22:29 -0500
GtkStyle* style = gtk_widget_get_style(widget);
PangoFontDescription* font = style->font;
or something like that. i use gtkmm (C++)
note that styles are not necessarily set up until after a widget has
been realized, because they can be affected by the screen the widget is
displayed on.
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]