|
UniWidgets
1.0.0
|
00001 #ifndef _UCONTAINER_H 00002 #define _UCONTAINER_H 00003 // ------------------------------------------------------------------------- 00004 #include <uwidgets/UEventBox.h> 00005 // ------------------------------------------------------------------------- 00006 class ConnectorRef; 00007 // ------------------------------------------------------------------------- 00012 class UContainer : public UEventBox{ 00013 private: 00014 void ctor(); 00015 public: 00016 UContainer(); 00017 explicit UContainer(GtkmmBaseType::BaseObjectType* gobject); 00018 ~UContainer(); 00019 virtual void init_widget(); 00020 00021 virtual void sensorInfo(UniSetTypes::SensorMessage *sm); 00022 virtual void askSensors(UniversalIO::UIOCommand cmd); 00023 00024 // virtual void add(Gtk::Widget &w); 00025 virtual void on_parent_changed(Gtk::Widget *prev_parent); 00026 00027 protected: 00028 void recur_sensor_info(Gtk::Container* w, UniSetTypes::SensorMessage *sm); 00029 void recur_ask_sensors(Gtk::Container* w, UniversalIO::UIOCommand cmd); 00030 void activate_gpm(Gtk::Container* w, GuiPM* gpm); 00031 00032 }; 00033 #endif
1.7.6.1