StringAttribute Class Reference

#include <StringAttribute.h>

Inheritance diagram for StringAttribute:
Inheritance graph
[legend]
Collaboration diagram for StringAttribute:
Collaboration graph
[legend]

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)
GtkWidgetgetWidget () const
GtkEntrygetEntry () const
void apply (void)
void update (void)

Private Attributes

std::string m_classname
std::string m_key
GtkEntrym_entry
NonModalEntry m_nonModal

Detailed Description

brief The StringAttribute is used for editing simple strink keyvals

Definition at line 9 of file StringAttribute.h.


Member Typedef Documentation

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.


Constructor & Destructor Documentation

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().


Member Function Documentation

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]

Implements EntityAttribute.

Definition at line 28 of file StringAttribute.h.

References m_entry.

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.


Field Documentation

Definition at line 11 of file StringAttribute.h.

Referenced by apply().

Definition at line 14 of file StringAttribute.h.

Referenced by apply(), getEntry(), getWidget(), StringAttribute(), and update().

Definition at line 13 of file StringAttribute.h.

Referenced by apply(), and update().

Definition at line 15 of file StringAttribute.h.

Referenced by StringAttribute().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2