#include <StringAttribute.h>
Public Types | |
typedef MemberCaller < StringAttribute,&StringAttribute::apply > | ApplyCaller |
typedef MemberCaller < StringAttribute,&StringAttribute::update > | UpdateCaller |
Public Member Functions | |
StringAttribute (const std::string &classname, const std::string &key) | |
GtkWidget * | getWidget () const |
GtkEntry * | getEntry () const |
void | apply (void) |
void | update (void) |
Private Attributes | |
std::string | m_classname |
std::string | m_key |
GtkEntry * | m_entry |
NonModalEntry | m_nonModal |
brief The StringAttribute is used for editing simple strink keyvals
Definition at line 9 of file StringAttribute.h.
typedef MemberCaller<StringAttribute, &StringAttribute::apply> StringAttribute::ApplyCaller |
Definition at line 43 of file StringAttribute.h.
typedef MemberCaller<StringAttribute, &StringAttribute::update> StringAttribute::UpdateCaller |
Definition at line 50 of file StringAttribute.h.
StringAttribute::StringAttribute | ( | const std::string & | classname, | |
const std::string & | key | |||
) | [inline] |
Definition at line 18 of file StringAttribute.h.
References NonModalEntry::connect(), m_entry, m_nonModal, and widget_set_size().
void StringAttribute::apply | ( | void | ) | [inline] |
Definition at line 37 of file StringAttribute.h.
References EntityAttribute::entitySetValue(), m_classname, m_entry, and m_key.
GtkEntry* StringAttribute::getEntry | ( | ) | const [inline] |
Definition at line 32 of file StringAttribute.h.
References m_entry.
GtkWidget* StringAttribute::getWidget | ( | ) | const [inline, virtual] |
void StringAttribute::update | ( | void | ) | [inline, virtual] |
Implements EntityAttribute.
Definition at line 45 of file StringAttribute.h.
References EntityAttribute::entityGetValueForKey(), m_entry, m_key, and string.
std::string StringAttribute::m_classname [private] |
Definition at line 11 of file StringAttribute.h.
Referenced by apply().
GtkEntry* StringAttribute::m_entry [private] |
Definition at line 14 of file StringAttribute.h.
Referenced by apply(), getEntry(), getWidget(), StringAttribute(), and update().
std::string StringAttribute::m_key [private] |
Definition at line 13 of file StringAttribute.h.
NonModalEntry StringAttribute::m_nonModal [private] |
Definition at line 15 of file StringAttribute.h.
Referenced by StringAttribute().