The widget base class.
It is light weight (all inline service methods) and is typically used as mixin class (via multiple inheritance), see for example TGButton.
Definition at line 43 of file TGWidget.h.
Public Member Functions | |
TGWidget () | |
TGWidget (Int_t id) | |
virtual | ~TGWidget () |
virtual void | Associate (const TGWindow *w) |
const char * | GetCommand () const |
Bool_t | HasFocus () const |
Bool_t | IsEnabled () const |
virtual void | SetCommand (const char *command) |
Bool_t | WantFocus () const |
Int_t | WidgetId () const |
Protected Member Functions | |
TGWidget (const TGWidget &tgw) | |
Int_t | ClearFlags (Int_t flags) |
TGWidget & | operator= (const TGWidget &tgw) |
Int_t | SetFlags (Int_t flags) |
Protected Attributes | |
TString | fCommand |
command to be executed | |
const TGWindow * | fMsgWindow |
window which handles widget events | |
Int_t | fWidgetFlags |
widget status flags (OR of EWidgetStatus) | |
Int_t | fWidgetId |
the widget id (used for event processing) | |
#include <TGWidget.h>
|
inlineprotected |
Definition at line 51 of file TGWidget.h.
|
inline |
Definition at line 62 of file TGWidget.h.
|
inline |
Definition at line 64 of file TGWidget.h.
|
inlinevirtual |
Definition at line 66 of file TGWidget.h.
Reimplemented in TGNumberEntry.
Definition at line 72 of file TGWidget.h.
Definition at line 59 of file TGWidget.h.
|
inline |
Definition at line 74 of file TGWidget.h.
|
inline |
Definition at line 70 of file TGWidget.h.
|
inline |
Definition at line 69 of file TGWidget.h.
Definition at line 54 of file TGWidget.h.
|
inlinevirtual |
Definition at line 73 of file TGWidget.h.
Definition at line 58 of file TGWidget.h.
|
inline |
Definition at line 71 of file TGWidget.h.
|
inline |
Definition at line 68 of file TGWidget.h.
|
protected |
command to be executed
Definition at line 49 of file TGWidget.h.
|
protected |
window which handles widget events
Definition at line 48 of file TGWidget.h.
|
protected |
widget status flags (OR of EWidgetStatus)
Definition at line 47 of file TGWidget.h.
|
protected |
the widget id (used for event processing)
Definition at line 46 of file TGWidget.h.