It's pretty easy to set the default font for a GtkTextView via gtk_widget_modify_font()
, but how to get which one is current? (I'm not using any tags in the widget.)
相关问题
- Overriding virtual methods in PyGObject
- how to (programmatically) scroll to a specific lin
- How do I really make a GTK+ 3 GtkLayout transparen
- GtkD with D lang on Fedora
- Is it possible to modify how Text swt widget wrap
相关文章
- Converting PIL Image to GTK Pixbuf
- Can you get the parent GTK window from a widget?
- How to set multiple items into a GtkSelection for
- Stacking widgets in Gtk+
- How to access the theming Fonts and Colors on GTK/
- When are GTK signals emitted
- How can I link a set of toggle buttons like radio
- Example code for a minimal paint program (MS Paint
You can use
gtk_widget_get_style()
to get the current GtkStyle, and then usegtk_style_get_font()
.