GuiTextEntry Class Reference

#include <GuiTextEntry.h>

Inheritance diagram for GuiTextEntry:
GuiBase

List of all members.

Public Member Functions

 GuiTextEntry (TGWindow &parent, const char *initial_text=" ")
virtual ~GuiTextEntry ()

Public Attributes

SigC::Signal0< void > activated
SigC::Signal1< void, const char * > text_changed

Protected Member Functions

virtual void ReturnPressed ()
virtual void TextChanged (const char *)

Detailed Description

Definition at line 23 of file GuiTextEntry.h.


Constructor & Destructor Documentation

GuiTextEntry::GuiTextEntry ( TGWindow &  parent,
const char *  initial_text = " " 
) [inline]

Definition at line 28 of file GuiTextEntry.h.

References GuiBase::SetLayoutHints().

00028                                                                  :
00029         TGTextEntry(&parent,initial_text) 
00030         { SetLayoutHints(kLHintsExpandX); }
        

virtual GuiTextEntry::~GuiTextEntry (  )  [inline, virtual]

Definition at line 32 of file GuiTextEntry.h.

00032 { }


Member Function Documentation

virtual void GuiTextEntry::ReturnPressed (  )  [inline, protected, virtual]

Definition at line 43 of file GuiTextEntry.h.

References activated.

00044         { this->TGTextEntry::ReturnPressed(); activated(); }

virtual void GuiTextEntry::TextChanged ( const char *   )  [inline, protected, virtual]

Definition at line 45 of file GuiTextEntry.h.

References text_changed.

00046         { this->TGTextEntry::TextChanged(); text_changed(GetText()); }


Member Data Documentation

SigC::Signal0<void> GuiTextEntry::activated
SigC::Signal1<void,const char*> GuiTextEntry::text_changed

Definition at line 35 of file GuiTextEntry.h.

Referenced by main(), and TextChanged().


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

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1