Definition at line 1417 of file gnc-option-gtk-ui.cpp.
◆ GncGtkFontUIItem()
| GncGtkFontUIItem::GncGtkFontUIItem |
( |
GtkWidget * |
widget | ) |
|
|
inline |
Definition at line 1420 of file gnc-option-gtk-ui.cpp.
1420 :
class GncOptionGtkUIItem Gtk-specific Interface class for Option Widget
◆ set_option_from_ui_item()
| void GncGtkFontUIItem::set_option_from_ui_item |
( |
GncOption & |
option | ) |
|
|
inlineoverridevirtualnoexcept |
Implements GncOptionUIItem.
Definition at line 1429 of file gnc-option-gtk-ui.cpp.
1430 {
1431 GtkFontChooser *font_chooser = GTK_FONT_CHOOSER(get_widget());
1432 option.set_value(std::string{gtk_font_chooser_get_font(font_chooser)});
1433 }
◆ set_ui_item_from_option()
| void GncGtkFontUIItem::set_ui_item_from_option |
( |
GncOption & |
option | ) |
|
|
inlineoverridevirtualnoexcept |
Implements GncOptionUIItem.
Definition at line 1422 of file gnc-option-gtk-ui.cpp.
1423 {
1424 GtkFontChooser *font_chooser = GTK_FONT_CHOOSER(get_widget());
1425 gtk_font_chooser_set_font(font_chooser,
1426 option.get_value<std::string>().c_str());
1427
1428 }
The documentation for this class was generated from the following file: