Inkscape
Vector Graphics Editor
|
#include <registered-widget.h>
Public Member Functions | |
RegisteredToggleButton (Glib::ustring const &label, Glib::ustring const &tip, Glib::ustring const &key, Registry &wr, bool right=true, Inkscape::XML::Node *repr_in=nullptr, SPDocument *doc_in=nullptr, char const *icon_active="", char const *icon_inactive="") | |
void | setActive (bool) |
void | setSubordinateWidgets (std::vector< Gtk::Widget * > btns) |
![]() | |
void | set_undo_parameters (Glib::ustring _event_description, Glib::ustring _icon_name, std::string undo_id="") |
void | set_xml_target (Inkscape::XML::Node *xml_node, SPDocument *document) |
bool | is_updating () const |
Public Attributes | |
bool | setProgrammatically |
Private Member Functions | |
void | on_toggled () final |
Private Attributes | |
std::vector< Gtk::Widget * > | _subordinate_widgets |
Glib::ustring | _on_icon |
Glib::ustring | _off_icon |
Additional Inherited Members | |
![]() | |
RegisteredWidget (Args &&...args) | |
void | init_parent (Glib::ustring const &key, Registry &wr, Inkscape::XML::Node *const repr_in, SPDocument *const doc_in) |
void | write_to_xml (const char *const svgstr) |
![]() | |
Registry * | _wr |
Glib::ustring | _key |
Inkscape::XML::Node * | repr |
SPDocument * | doc |
Glib::ustring | event_description |
Glib::ustring | icon_name |
bool | write_undo |
std::string | _undo_id |
Definition at line 161 of file registered-widget.h.
Inkscape::UI::Widget::RegisteredToggleButton::RegisteredToggleButton | ( | Glib::ustring const & | label, |
Glib::ustring const & | tip, | ||
Glib::ustring const & | key, | ||
Registry & | wr, | ||
bool | right = true , |
||
Inkscape::XML::Node * | repr_in = nullptr , |
||
SPDocument * | doc_in = nullptr , |
||
char const * | icon_active = "" , |
||
char const * | icon_inactive = "" |
||
) |
Definition at line 101 of file registered-widget.cpp.
References _off_icon, _on_icon, Inkscape::UI::Widget::RegisteredWidget< Gtk::ToggleButton >::init_parent(), key, and setProgrammatically.
|
finalprivate |
Definition at line 145 of file registered-widget.cpp.
References _subordinate_widgets, Inkscape::UI::Widget::RegisteredWidget< Gtk::ToggleButton >::_wr, Inkscape::UI::Widget::Registry::isUpdating(), setProgrammatically, Inkscape::UI::Widget::Registry::setUpdating(), and Inkscape::UI::Widget::RegisteredWidget< Gtk::ToggleButton >::write_to_xml().
void Inkscape::UI::Widget::RegisteredToggleButton::setActive | ( | bool | b | ) |
Definition at line 130 of file registered-widget.cpp.
References _subordinate_widgets, and setProgrammatically.
Referenced by Inkscape::LivePathEffect::ToggleButtonParam::param_newWidget().
|
inline |
Definition at line 172 of file registered-widget.h.
References Inkscape::UI::Widget::RegisteredCheckButton::_subordinate_widgets.
|
private |
Definition at line 181 of file registered-widget.h.
Referenced by RegisteredToggleButton().
|
private |
Definition at line 181 of file registered-widget.h.
Referenced by RegisteredToggleButton().
|
private |
Definition at line 180 of file registered-widget.h.
Referenced by on_toggled(), and setActive().
bool Inkscape::UI::Widget::RegisteredToggleButton::setProgrammatically |
Definition at line 176 of file registered-widget.h.
Referenced by on_toggled(), Inkscape::LivePathEffect::ToggleButtonParam::param_newWidget(), RegisteredToggleButton(), and setActive().