Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
Inkscape::FontLister::FontListClass Struct Reference

GtkTreeModelColumnRecord for the font-family list Gtk::ListStore. More...

#include <font-lister.h>

Inheritance diagram for Inkscape::FontLister::FontListClass:

Public Member Functions

 FontListClass ()
 

Public Attributes

Gtk::TreeModelColumn< Glib::ustring > family
 Family name.
 
Gtk::TreeModelColumn< std::shared_ptr< Styles > > styles
 Styles for each family name.
 
Gtk::TreeModelColumn< bool > onSystem
 Whether font is on system.
 
Gtk::TreeModelColumn< PangoFontFamily * > pango_family
 Not actually a column.
 

Detailed Description

GtkTreeModelColumnRecord for the font-family list Gtk::ListStore.

Definition at line 97 of file font-lister.h.

Constructor & Destructor Documentation

◆ FontListClass()

Inkscape::FontLister::FontListClass::FontListClass ( )
inline

Definition at line 117 of file font-lister.h.

References family, onSystem, pango_family, and styles.

Member Data Documentation

◆ family

Gtk::TreeModelColumn<Glib::ustring> Inkscape::FontLister::FontListClass::family

◆ onSystem

Gtk::TreeModelColumn<bool> Inkscape::FontLister::FontListClass::onSystem

Whether font is on system.

Definition at line 106 of file font-lister.h.

Referenced by FontListClass(), Inkscape::FontLister::init_font_families(), and Inkscape::FontLister::show_results().

◆ pango_family

Gtk::TreeModelColumn<PangoFontFamily *> Inkscape::FontLister::FontListClass::pango_family

Not actually a column.

Necessary for quick initialization of FontLister; we initially store the pango family and if the font style is actually used we'll cache it in styles.

Definition at line 115 of file font-lister.h.

Referenced by FontListClass(), Inkscape::FontLister::init_font_families(), and Inkscape::FontLister::show_results().

◆ styles

Gtk::TreeModelColumn<std::shared_ptr<Styles> > Inkscape::FontLister::FontListClass::styles

Styles for each family name.

Definition at line 103 of file font-lister.h.

Referenced by FontListClass(), and Inkscape::FontLister::init_font_families().


The documentation for this struct was generated from the following file: