Definition at line 1072 of file gnc-option-gtk-ui.cpp.
◆ GncGtkAccountSelUIItem()
| GncGtkAccountSelUIItem::GncGtkAccountSelUIItem |
( |
GtkWidget * | widget | ) |
|
|
inlineexplicit |
Definition at line 1075 of file gnc-option-gtk-ui.cpp.
1075 :
1076 GncOptionGtkUIItem{widget, GncOptionUIType::ACCOUNT_SEL} {}
◆ set_option_from_ui_item()
| void GncGtkAccountSelUIItem::set_option_from_ui_item |
( |
GncOption & | option | ) |
|
|
inlineoverridevirtualnoexcept |
Implements GncOptionUIItem.
Definition at line 1084 of file gnc-option-gtk-ui.cpp.
1085 {
1086 auto widget{GNC_ACCOUNT_SEL(get_widget())};
1087
1088 option.set_value(static_cast<const Account*>(gnc_account_sel_get_account(widget)));
1089 }
◆ set_ui_item_from_option()
| void GncGtkAccountSelUIItem::set_ui_item_from_option |
( |
GncOption & | option | ) |
|
|
inlineoverridevirtualnoexcept |
Implements GncOptionUIItem.
Definition at line 1077 of file gnc-option-gtk-ui.cpp.
1078 {
1079 auto widget{GNC_ACCOUNT_SEL(get_widget())};
1080 auto instance{option.get_value<const Account*>()};
1081 if (instance)
1082 gnc_account_sel_set_account(widget, const_cast<Account*>(instance), FALSE);
1083 }
The documentation for this class was generated from the following file: