cheshirekow
v0.1.0
|
base class for a map of string names -> widget pointers More...
#include <mpblocks/gtk/LayoutMap.h>
Public Types | |
typedef std::map< std::string, Widget_t * > | Map_t |
the map type stored by this base class More... | |
Public Member Functions | |
void | init (std::string key) |
adds the key to the map with an empty pointer More... | |
void | load (const Glib::RefPtr< Gtk::Builder > &builder) |
get widget pointers for all widgets whose names have been read in More... | |
void | read (YAML::Node &) |
read in any values for our widgets which are stored in the node More... | |
void | write (YAML::Emitter &) |
write out the values of our widgets into the yaml file More... | |
Protected Attributes | |
Map_t | m_map |
the actual map More... | |
base class for a map of string names -> widget pointers
Definition at line 39 of file LayoutMap.h.
typedef std::map<std::string, Widget_t*> mpblocks::gtk::WidgetMapBase< Widget_t >::Map_t |
the map type stored by this base class
Definition at line 42 of file LayoutMap.h.
void mpblocks::gtk::WidgetMapBase< Widget_t >::init | ( | std::string | key | ) |
adds the key to the map with an empty pointer
void mpblocks::gtk::WidgetMapBase< Widget_t >::load | ( | const Glib::RefPtr< Gtk::Builder > & | builder | ) |
get widget pointers for all widgets whose names have been read in
void mpblocks::gtk::WidgetMapBase< Widget_t >::read | ( | YAML::Node & | ) |
read in any values for our widgets which are stored in the node
void mpblocks::gtk::WidgetMapBase< Widget_t >::write | ( | YAML::Emitter & | ) |
write out the values of our widgets into the yaml file
|
protected |
the actual map
Definition at line 46 of file LayoutMap.h.