Definition at line 243 of file gnc-option-gtk-ui.cpp.
◆ GncGtkTextUIItem()
| GncGtkTextUIItem::GncGtkTextUIItem |
( |
GtkWidget * |
widget | ) |
|
|
inline |
Definition at line 246 of file gnc-option-gtk-ui.cpp.
246 :
class GncOptionGtkUIItem Gtk-specific Interface class for Option Widget
◆ set_option_from_ui_item()
| void GncGtkTextUIItem::set_option_from_ui_item |
( |
GncOption & |
option | ) |
|
|
inlineoverridevirtualnoexcept |
Implements GncOptionUIItem.
Definition at line 253 of file gnc-option-gtk-ui.cpp.
254 {
255 auto widget{GTK_TEXT_VIEW(get_widget())};
256 auto str{xxxgtk_textview_get_text(widget)};
257 option.set_value(std::string{str});
258 g_free (str);
259 }
◆ set_ui_item_from_option()
| void GncGtkTextUIItem::set_ui_item_from_option |
( |
GncOption & |
option | ) |
|
|
inlineoverridevirtualnoexcept |
Implements GncOptionUIItem.
Definition at line 248 of file gnc-option-gtk-ui.cpp.
249 {
250 auto widget{GTK_TEXT_VIEW(get_widget())};
251 xxxgtk_textview_set_text(widget, option.get_value<std::string>().c_str());
252 }
The documentation for this class was generated from the following file: