synfig-studio
1.0.3
|
#include <widget_enum.h>
Classes | |
class | Model |
Public Member Functions | |
Widget_Enum () | |
~Widget_Enum () | |
void | set_param_desc (const synfig::ParamDesc &x) |
void | set_icon (Gtk::TreeNodeChildren::size_type index, const Glib::RefPtr< Gdk::Pixbuf > &icon) |
void | refresh () |
void | set_value (int data) |
int | get_value () const |
virtual void | on_changed () |
Protected Attributes | |
Model | enum_model |
Glib::RefPtr< Gtk::ListStore > | enum_TreeModel |
Widget_Enum::Widget_Enum | ( | ) |
Widget_Enum::~Widget_Enum | ( | ) |
void Widget_Enum::set_param_desc | ( | const synfig::ParamDesc & | x | ) |
References enum_model, enum_TreeModel, studio::Widget_Enum::Model::local_name, refresh(), and studio::Widget_Enum::Model::value.
Referenced by studio::App::dialog_save_file(), studio::Dialog_Setup::Dialog_Setup(), studio::Widget_ValueBase::set_value(), studio::Widget_Waypoint::Widget_Waypoint(), and studio::Widget_WaypointModel::Widget_WaypointModel().
void Widget_Enum::set_icon | ( | Gtk::TreeNodeChildren::size_type | index, |
const Glib::RefPtr< Gdk::Pixbuf > & | icon | ||
) |
References enum_model, enum_TreeModel, and studio::Widget_Enum::Model::icon.
Referenced by studio::Widget_Waypoint::Widget_Waypoint(), and studio::Widget_WaypointModel::Widget_WaypointModel().
void Widget_Enum::refresh | ( | ) |
References enum_model, enum_TreeModel, and studio::Widget_Enum::Model::value.
Referenced by set_param_desc(), and set_value().
void Widget_Enum::set_value | ( | int | data | ) |
int Widget_Enum::get_value | ( | ) | const |
|
virtual |
References enum_model, and studio::Widget_Enum::Model::value.
|
protected |
Referenced by on_changed(), refresh(), set_icon(), set_param_desc(), and Widget_Enum().
|
protected |
Referenced by refresh(), set_icon(), set_param_desc(), and Widget_Enum().