|
Ardour
9.0-pre0-1952-gc5e0b21049
|
#include <visibility_group.h>
Classes | |
| struct | Member |
| class | ModelColumns |
Public Member Functions | |
| VisibilityGroup (std::string const &) | |
| void | add (Gtk::Widget *, std::string const &, std::string const &, bool visible=false, std::function< std::optional< bool >()>=0) |
| Gtk::Widget * | list_view () |
| bool | button_press_event (GdkEventButton *) |
| void | update () |
| void | set_state (XMLNode const &) |
| void | set_state (std::string) |
| std::string | get_state_name () const |
| std::string | get_state_value () const |
Static Public Member Functions | |
| static std::string | remove_element (std::string const &from, std::string const &element) |
| static std::string | add_element (std::string const &from, std::string const &element) |
Public Attributes | |
| PBD::Signal< void()> | VisibilityChanged |
Private Member Functions | |
| void | toggle (std::vector< Member >::iterator) |
| void | list_view_visible_changed (std::string const &) |
| void | update_list_view () |
| bool | should_actually_be_visible (Member const &) const |
Private Attributes | |
| std::vector< Member > | _members |
| std::string | _xml_property_name |
| ModelColumns | _model_columns |
| Glib::RefPtr< Gtk::ListStore > | _model |
| bool | _ignore_list_view_change |
A class to manage a group of widgets where the visibility of each can be configured by the user. The class can generate a menu to set up visibility, and save and restore visibility state to XML.
Definition at line 36 of file visibility_group.h.
| VisibilityGroup::VisibilityGroup | ( | std::string const & | ) |
| void VisibilityGroup::add | ( | Gtk::Widget * | , |
| std::string const & | , | ||
| std::string const & | , | ||
| bool | visible = false, |
||
| std::function< std::optional< bool >()> | = 0 |
||
| ) |
|
static |
| bool VisibilityGroup::button_press_event | ( | GdkEventButton * | ) |
| std::string VisibilityGroup::get_state_name | ( | ) | const |
| std::string VisibilityGroup::get_state_value | ( | ) | const |
| Gtk::Widget* VisibilityGroup::list_view | ( | ) |
|
private |
|
static |
| void VisibilityGroup::set_state | ( | std::string | ) |
| void VisibilityGroup::set_state | ( | XMLNode const & | ) |
|
private |
|
private |
| void VisibilityGroup::update | ( | ) |
|
private |
|
private |
Definition at line 94 of file visibility_group.h.
|
private |
Definition at line 90 of file visibility_group.h.
|
private |
Definition at line 93 of file visibility_group.h.
|
private |
Definition at line 92 of file visibility_group.h.
|
private |
Definition at line 91 of file visibility_group.h.
| PBD::Signal<void()> VisibilityGroup::VisibilityChanged |
Definition at line 57 of file visibility_group.h.