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 |
virtual TClass * | IsA () const |
Bool_t | IsEnabled () const |
virtual void | SetCommand (const char *command) |
virtual void | Streamer (TBuffer &) |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Bool_t | WantFocus () const |
Int_t | WidgetId () const |
Static Public Member Functions | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
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.
|
inlinevirtual |
Reimplemented in TGNumberEntry.
Definition at line 72 of file TGWidget.h.
|
static |
|
inlinestaticconstexpr |
Definition at line 76 of file TGWidget.h.
Definition at line 59 of file TGWidget.h.
|
inlinestatic |
Definition at line 76 of file TGWidget.h.
|
inline |
Definition at line 74 of file TGWidget.h.
|
inline |
Definition at line 70 of file TGWidget.h.
|
inlinevirtual |
Reimplemented in TGButton, TGTextButton, TGPictureButton, TGCheckButton, TGRadioButton, TGSplitButton, TGColorPalette, TGColorPick, TGColorSelect, TGComboBox, TGLineStyleComboBox, TGLineWidthComboBox, TGFontTypeComboBox, TGDockButton, TGDockHideButton, TGDockableFrame, TGDoubleSlider, TGDoubleVSlider, TGDoubleHSlider, TGFSComboBox, TGImageMap, TGListBox, TGMdiWinResizer, TGMdiVerticalWinResizer, TGMdiHorizontalWinResizer, TGMdiCornerWinResizer, TGNumberEntryField, TGNumberEntry, TGScrollBar, TGHScrollBar, TGVScrollBar, TGShutterItem, TGSimpleTable, TGSlider, TGVSlider, TGHSlider, TGSpeedo, TGTab, TGTable, TGTextEdit, TGTextEntry, TGTextView, TGTextViewostream, TGTripleVSlider, TGTripleHSlider, and TGView.
Definition at line 76 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.
|
virtual |
Reimplemented in TGButton, TGTextButton, TGPictureButton, TGCheckButton, TGRadioButton, TGSplitButton, TGColorPalette, TGColorPick, TGColorSelect, TGComboBox, TGLineStyleComboBox, TGLineWidthComboBox, TGFontTypeComboBox, TGDockButton, TGDockHideButton, TGDockableFrame, TGDoubleSlider, TGDoubleVSlider, TGDoubleHSlider, TGFSComboBox, TGImageMap, TGListBox, TGMdiWinResizer, TGMdiVerticalWinResizer, TGMdiHorizontalWinResizer, TGMdiCornerWinResizer, TGNumberEntryField, TGNumberEntry, TGScrollBar, TGHScrollBar, TGVScrollBar, TGShutterItem, TGSimpleTable, TGSlider, TGVSlider, TGHSlider, TGSpeedo, TGTab, TGTable, TGTextEdit, TGTextEntry, TGTextView, TGTextViewostream, TGTripleVSlider, TGTripleHSlider, and TGView.
|
inline |
Definition at line 76 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.