TGCheckButton Class Reference

#include <TGButton.h>

Inheritance diagram for TGCheckButton:

TGTextButton TGTextButton TGButton TGButton TGButton TGButton TGWidget TGFrame TGWidget TGFrame TGWidget TGFrame TGWidget TGFrame TGWidget TGFrame TGWidget TGFrame TGWidget TGFrame TGWidget TGFrame TGColorSelect TGColorSelect TGedSelect TGedSelect TGedMarkerSelect TGedMarkerSelect TGedPatternSelect TGedPatternSelect TGedMarkerSelect TGedMarkerSelect TGedPatternSelect TGedPatternSelect List of all members.

Public Member Functions

 TGCheckButton (const TGWindow *p, TGHotString *s, Int_t id=-1, GContext_t norm=GetDefaultGC()(), FontStruct_t font=GetDefaultFontStruct(), UInt_t option=0)
 TGCheckButton (const TGWindow *p=0, const char *s=0, Int_t id=-1, GContext_t norm=GetDefaultGC()(), FontStruct_t font=GetDefaultFontStruct(), UInt_t option=0)
 TGCheckButton (const TGWindow *p, const char *s, const char *cmd, Int_t id=-1, GContext_t norm=GetDefaultGC()(), FontStruct_t font=GetDefaultFontStruct(), UInt_t option=0)
virtual ~TGCheckButton ()
virtual TGDimension GetDefaultSize () const
virtual Bool_t HandleButton (Event_t *event)
virtual Bool_t HandleKey (Event_t *event)
virtual Bool_t HandleCrossing (Event_t *event)
virtual Bool_t IsToggleButton () const
virtual Bool_t IsOn () const
virtual Bool_t IsDown () const
virtual Bool_t IsDisabledAndSelected () const
virtual void SetDisabledAndSelected (Bool_t)
virtual void SetState (EButtonState state, Bool_t emit=kFALSE)
virtual void SavePrimitive (ostream &out, Option_t *option="")
 TGCheckButton (const TGWindow *p, TGHotString *s, Int_t id=-1, GContext_t norm=GetDefaultGC()(), FontStruct_t font=GetDefaultFontStruct(), UInt_t option=0)
 TGCheckButton (const TGWindow *p=0, const char *s=0, Int_t id=-1, GContext_t norm=GetDefaultGC()(), FontStruct_t font=GetDefaultFontStruct(), UInt_t option=0)
 TGCheckButton (const TGWindow *p, const char *s, const char *cmd, Int_t id=-1, GContext_t norm=GetDefaultGC()(), FontStruct_t font=GetDefaultFontStruct(), UInt_t option=0)
virtual ~TGCheckButton ()
virtual TGDimension GetDefaultSize () const
virtual Bool_t HandleButton (Event_t *event)
virtual Bool_t HandleKey (Event_t *event)
virtual Bool_t HandleCrossing (Event_t *event)
virtual Bool_t IsToggleButton () const
virtual Bool_t IsOn () const
virtual Bool_t IsDown () const
virtual Bool_t IsDisabledAndSelected () const
virtual void SetDisabledAndSelected (Bool_t)
virtual void SetState (EButtonState state, Bool_t emit=kFALSE)
virtual void SavePrimitive (ostream &out, Option_t *option="")

Static Public Member Functions

static FontStruct_t GetDefaultFontStruct ()
static const TGGCGetDefaultGC ()
static FontStruct_t GetDefaultFontStruct ()
static const TGGCGetDefaultGC ()

Protected Member Functions

void Init ()
void PSetState (EButtonState state, Bool_t emit)
virtual void DoRedraw ()
virtual void EmitSignals (Bool_t wasUp=kTRUE)
void Init ()
void PSetState (EButtonState state, Bool_t emit)
virtual void DoRedraw ()
virtual void EmitSignals (Bool_t wasUp=kTRUE)

Protected Attributes

EButtonState fPrevState
const TGPicturefOn
const TGPicturefOff
const TGPicturefDisOn
const TGPicturefDisOff
const TGPicturefOn
const TGPicturefOff
const TGPicturefDisOn
const TGPicturefDisOff

Static Protected Attributes

static const TGFontfgDefaultFont
static const TGGCfgDefaultGC
static const TGFontfgDefaultFont
static const TGGCfgDefaultGC

Private Member Functions

 TGCheckButton (const TGCheckButton &)
TGCheckButtonoperator= (const TGCheckButton &)
 TGCheckButton (const TGCheckButton &)
TGCheckButtonoperator= (const TGCheckButton &)

Detailed Description

Definition at line 262 of file TGButton.h.


Constructor & Destructor Documentation

TGCheckButton::TGCheckButton ( const TGCheckButton  )  [private]

TGCheckButton::TGCheckButton ( const TGWindow p,
TGHotString s,
Int_t  id = -1,
GContext_t  norm = GetDefaultGC()(),
FontStruct_t  font = GetDefaultFontStruct(),
UInt_t  option = 0 
)

Definition at line 982 of file TGButton.cxx.

References Init().

TGCheckButton::TGCheckButton ( const TGWindow p = 0,
const char *  s = 0,
Int_t  id = -1,
GContext_t  norm = GetDefaultGC()(),
FontStruct_t  font = GetDefaultFontStruct(),
UInt_t  option = 0 
)

Definition at line 993 of file TGButton.cxx.

References Init().

TGCheckButton::TGCheckButton ( const TGWindow p,
const char *  s,
const char *  cmd,
Int_t  id = -1,
GContext_t  norm = GetDefaultGC()(),
FontStruct_t  font = GetDefaultFontStruct(),
UInt_t  option = 0 
)

Definition at line 1003 of file TGButton.cxx.

References Init().

TGCheckButton::~TGCheckButton (  )  [virtual]

Definition at line 1057 of file TGButton.cxx.

References TGObject::fClient, fDisOff, fDisOn, fOff, fOn, and TGClient::FreePicture().

TGCheckButton::TGCheckButton ( const TGCheckButton  )  [private]

TGCheckButton::TGCheckButton ( const TGWindow p,
TGHotString s,
Int_t  id = -1,
GContext_t  norm = GetDefaultGC()(),
FontStruct_t  font = GetDefaultFontStruct(),
UInt_t  option = 0 
)

TGCheckButton::TGCheckButton ( const TGWindow p = 0,
const char *  s = 0,
Int_t  id = -1,
GContext_t  norm = GetDefaultGC()(),
FontStruct_t  font = GetDefaultFontStruct(),
UInt_t  option = 0 
)

TGCheckButton::TGCheckButton ( const TGWindow p,
const char *  s,
const char *  cmd,
Int_t  id = -1,
GContext_t  norm = GetDefaultGC()(),
FontStruct_t  font = GetDefaultFontStruct(),
UInt_t  option = 0 
)

virtual TGCheckButton::~TGCheckButton (  )  [virtual]


Member Function Documentation

TGCheckButton& TGCheckButton::operator= ( const TGCheckButton  )  [private]

void TGCheckButton::Init (  )  [protected]

Reimplemented from TGTextButton.

Definition at line 1013 of file TGButton.cxx.

References TObject::Error(), TGObject::fClient, fDisOff, fDisOn, TGTextButton::fHKeycode, TGTextButton::fLabel, fOff, fOn, fPrevState, TGButton::fState, TGHotString::GetHotChar(), TGWindow::GetMainFrame(), TGClient::GetPicture(), gVirtualX, kButtonUp, kKeyLockMask, kKeyMod1Mask, kKeyMod2Mask, kKeyShiftMask, main(), TGFrame::Resize(), and TGWindow::SetWindowName().

Referenced by TGCheckButton().

void TGCheckButton::PSetState ( EButtonState  state,
Bool_t  emit 
) [protected]

Definition at line 1105 of file TGButton.cxx.

References DoRedraw(), EmitSignals(), fPrevState, TGButton::fState, TGTextButton::fStateOn, kButtonDisabled, kButtonDown, kButtonUp, kFALSE, and kTRUE.

Referenced by HandleButton(), HandleKey(), SetDisabledAndSelected(), and SetState().

void TGCheckButton::DoRedraw (  )  [protected, virtual]

Reimplemented from TGTextButton.

Definition at line 1269 of file TGButton.cxx.

References TGFrame::DoRedraw(), TGPicture::Draw(), TGTextLayout::DrawText(), TGObject::fClient, fDisOff, fDisOn, TGFrame::fHeight, TGObject::fId, TGGCPool::FindGC(), TGTextButton::fLabel, TGButton::fNormGC, fOff, fOn, TGButton::fState, TGTextButton::fStateOn, TGButton::fTHeight, TGTextButton::fTLayout, TGGC::GetForeground(), TGGC::GetGC(), TGResourcePool::GetGCPool(), TGFrame::GetHilightGC(), TGHotString::GetHotPos(), TGClient::GetResourcePool(), TGFrame::GetShadowGC(), hi, kButtonDisabled, kTRUE, TGGC::SetForeground(), TGTextLayout::UnderlineChar(), x, and y.

Referenced by HandleButton(), HandleCrossing(), and PSetState().

void TGCheckButton::EmitSignals ( Bool_t  wasUp = kTRUE  )  [protected, virtual]

Reimplemented from TGButton.

Definition at line 1094 of file TGButton.cxx.

References TGButton::Clicked(), TGButton::fState, TGTextButton::fStateOn, kButtonDown, kButtonUp, TGButton::Pressed(), TGButton::Released(), and TGButton::Toggled().

Referenced by PSetState().

FontStruct_t TGCheckButton::GetDefaultFontStruct (  )  [static]

Reimplemented from TGTextButton.

Definition at line 1320 of file TGButton.cxx.

References fgDefaultFont, gClient, TGResourcePool::GetDefaultFont(), TGFont::GetFontStruct(), and TGClient::GetResourcePool().

Referenced by G__G__Gui1_235_0_7(), G__setup_memfuncTGCheckButton(), and SavePrimitive().

const TGGC & TGCheckButton::GetDefaultGC (  )  [static]

Reimplemented from TGButton.

Definition at line 1330 of file TGButton.cxx.

References fgDefaultGC, gClient, TGResourcePool::GetFrameGC(), and TGClient::GetResourcePool().

Referenced by G__G__Gui1_235_0_8(), G__setup_memfuncTGCheckButton(), and SavePrimitive().

TGDimension TGCheckButton::GetDefaultSize (  )  const [virtual]

Reimplemented from TGTextButton.

Definition at line 1068 of file TGButton.cxx.

References TGFrame::fHeight, fOff, TGButton::fTHeight, TGButton::fTWidth, TGFrame::fWidth, TGPicture::GetHeight(), TGFrame::GetOptions(), TGPicture::GetWidth(), h, kFixedHeight, kFixedWidth, and w.

Bool_t TGCheckButton::HandleButton ( Event_t event  )  [virtual]

Reimplemented from TGButton.

Definition at line 1162 of file TGButton.cxx.

References TGButton::Clicked(), DoRedraw(), TGObject::fClient, TGWidget::fCommand, TGButton::fgReleaseBtn, TGFrame::fHeight, TGObject::fId, TGWidget::fMsgWindow, TGFrame::fOptions, fPrevState, TGTextButton::fPrevStateOn, TGButton::fState, TGTextButton::fStateOn, TGButton::fTip, Event_t::fType, TGButton::fUserData, TGWidget::fWidgetId, TGFrame::fWidth, Event_t::fX, Event_t::fY, TGToolTip::Hide(), kButtonDisabled, kButtonDown, kButtonPress, kButtonUp, kC_COMMAND, kCM_CHECKBUTTON, kFALSE, kSunkenFrame, kTRUE, MK_MSG(), TGButton::Pressed(), TGClient::ProcessLine(), PSetState(), TGButton::Released(), TGFrame::SendMessage(), and TGButton::Toggled().

Referenced by TGHtml::HandleHtmlInput().

Bool_t TGCheckButton::HandleKey ( Event_t event  )  [virtual]

Reimplemented from TGTextButton.

Definition at line 1235 of file TGButton.cxx.

References TGObject::fClient, TGWidget::fCommand, TGWidget::fMsgWindow, fPrevState, Event_t::fState, TGButton::fState, TGButton::fTip, Event_t::fType, TGButton::fUserData, TGWidget::fWidgetId, gVirtualX, TGToolTip::Hide(), kButtonDisabled, kButtonDown, kButtonUp, kC_COMMAND, kCM_CHECKBUTTON, kFALSE, kGKeyPress, kKeyMod1Mask, kKeyRelease, kTRUE, MK_MSG(), TGClient::ProcessLine(), PSetState(), and TGFrame::SendMessage().

Bool_t TGCheckButton::HandleCrossing ( Event_t event  )  [virtual]

Reimplemented from TGButton.

Definition at line 1206 of file TGButton.cxx.

References DoRedraw(), TGFrame::fgDbw, TGButton::fgReleaseBtn, TGFrame::fOptions, Event_t::fState, TGButton::fState, TGButton::fTip, Event_t::fType, Event_t::fWindow, TGToolTip::Hide(), kButton1Mask, kButton2Mask, kButton3Mask, kButtonDisabled, kEnterNotify, kSunkenFrame, kTRUE, and TGToolTip::Reset().

virtual Bool_t TGCheckButton::IsToggleButton (  )  const [inline, virtual]

Reimplemented from TGButton.

Definition at line 308 of file TGButton.h.

References kTRUE.

virtual Bool_t TGCheckButton::IsOn (  )  const [inline, virtual]

Reimplemented from TGButton.

Definition at line 309 of file TGButton.h.

References TGButton::fState, and kButtonDown.

Referenced by TGL5DDataSetEditor::BoxCutToggled(), TStructViewerGUI::BoxHeightValueSetSlot(), TGeoMediumEditor::DoApply(), TEveTextEditor::DoAutoLighting(), TEveCaloLegoEditor::DoAutoRebin(), TEveParamListEditor::DoBoolUpdate(), TEveProjectionAxesEditor::DoDrawCenter(), TEveShapeEditor::DoDrawFrame(), TEveProjectionAxesEditor::DoDrawOrigin(), TEveTransSubEditor::DoEditTrans(), TEveRGBAPaletteSubEditor::DoFixColorRange(), TEveShapeEditor::DoHighlightFrame(), TGLViewerEditor::DoIgnoreSizesOnUpdate(), TEveRGBAPaletteSubEditor::DoInterpolate(), TEveTextEditor::DoLighting(), TProofProgressLog::DoLog(), TEveCaloLegoEditor::DoNormalize(), TGLViewerEditor::DoResetCamerasOnUpdate(), TEveElementEditor::DoRnrChildren(), TEveLineEditor::DoRnrLine(), TEveTrackListEditor::DoRnrLine(), TEveStraightLineSetEditor::DoRnrLines(), TEveStraightLineSetEditor::DoRnrMarkers(), TEveTrackListEditor::DoRnrPoints(), TEveLineEditor::DoRnrPoints(), TEveElementEditor::DoRnrSelf(), TEveElementEditor::DoRnrState(), TEveCaloVizEditor::DoScaleAbs(), TEveRGBAPaletteSubEditor::DoShowDefValue(), TEveWindowEditor::DoShowTitleBar(), TEveLineEditor::DoSmooth(), TEveTransSubEditor::DoTransChanged(), TEveTransSubEditor::DoUseTrans(), TEveGeoNodeEditor::DoVizNode(), TEveGeoNodeEditor::DoVizNodeDaughters(), TEveGeoNodeEditor::DoVizVolume(), TEveGeoNodeEditor::DoVizVolumeDaughters(), TGL5DDataSetEditor::HighlightClicked(), TStructViewerGUI::LevelDistValueSetSlot(), TStructNodeEditor::MaxLevelsValueSetSlot(), TStructNodeEditor::MaxObjectsValueSetSlot(), TProofProgressLog::NoLineEntry(), TUploadDataSetDlg::OnAppendFiles(), TSessionFrame::OnCommandLine(), TUploadDataSetDlg::OnOverwriteDataset(), TGRecorder::Replay(), TStructViewerGUI::ScaleByChangedSlot(), TStructViewerGUI::ShowLinksToggled(), TGL5DDataSetEditor::SurfaceSelected(), TUploadDataSetDlg::UploadDataSet(), and TGL5DDataSetEditor::VisibleClicked().

virtual Bool_t TGCheckButton::IsDown (  )  const [inline, virtual]

Reimplemented from TGButton.

Definition at line 310 of file TGButton.h.

References TGButton::fState, and kButtonDown.

Referenced by TGeoMixtureEditor::DoAddElem(), TGLViewerEditor::DoCameraCenterExt(), TGLViewerEditor::DoCameraOverlay(), TGeoMixtureEditor::DoChkFraction(), TGeoMixtureEditor::DoChkNatoms(), TGLViewerEditor::DoDrawCameraCenter(), TPieEditor::DoGraphLineWidth(), TGHtml::HandleHtmlInput(), TStyleManager::ModDrawBorder(), TStyleManager::ModHistMinimumZero(), TStyleManager::ModOptDateBool(), TStyleManager::ModOptFit(), TStyleManager::ModOptLogx(), TStyleManager::ModOptLogy(), TStyleManager::ModOptLogz(), TStyleManager::ModOptStat(), TStyleManager::ModOptTitle(), TStyleManager::ModPadGridX(), TStyleManager::ModPadGridY(), TStyleManager::ModPadTickX(), TStyleManager::ModPadTickY(), TStyleManager::ModStripDecimals(), TStyleManager::ModXNdivisions(), TStyleManager::ModYNdivisions(), TStyleManager::ModZNdivisions(), TGLViewerEditor::SetModel(), TStyleManager::UpdateEditor(), TGLViewerEditor::UpdatePointLineStuff(), TGLViewerEditor::UpdateReferencePosState(), TGuiBldHintsEditor::UpdateState(), TGLViewerEditor::UpdateViewerAxes(), TGLClipSetSubEditor::UpdateViewerClip(), and TGLViewerEditor::UpdateViewerReference().

virtual Bool_t TGCheckButton::IsDisabledAndSelected (  )  const [inline, virtual]

Definition at line 311 of file TGButton.h.

References TGTextButton::fStateOn, and kButtonDisabled.

Referenced by SavePrimitive().

void TGCheckButton::SetDisabledAndSelected ( Bool_t   )  [virtual]

Definition at line 1141 of file TGButton.cxx.

References TGButton::fState, TGTextButton::fStateOn, kButtonDisabled, kButtonDown, kButtonUp, kFALSE, and PSetState().

Referenced by TEveTextEditor::SetModel(), and TGRecorder::StartStop().

void TGCheckButton::SetState ( EButtonState  state,
Bool_t  emit = kFALSE 
) [virtual]

Reimplemented from TGButton.

Definition at line 1082 of file TGButton.cxx.

References TGWidget::fWidgetFlags, kButtonDisabled, kWidgetIsEnabled, and PSetState().

Referenced by TSessionServerFrame::Build(), TSessionFrame::Build(), TTreeViewer::BuildInterface(), TSessionFrame::CheckAutoEnPack(), TGL5DDataSetEditor::CreateIsoTab(), TGL5DDataSetEditor::DisableSurfaceControls(), TH2Editor::DoAddArr(), TH1Editor::DoAddB(), TH1Editor::DoAddBar(), TH2Editor::DoAddBox(), TH2Editor::DoAddCol(), TH1Editor::DoAddMarker(), TH1Editor::DoAddSimple(), TH2Editor::DoAddText(), TFitEditor::DoAllWeights1(), TFitEditor::DoEmptyBinsAllWeights1(), TProofProgressDialog::DoEnableSpeedo(), TFitEditor::DoFunction(), TH1Editor::DoHistChanges(), TH2Editor::DoHistChanges(), TH2Editor::DoHistComplex(), TH1Editor::DoHistSimple(), TH2Editor::DoHistSimple(), TFitEditor::DoLinearFit(), TLineEditor::DoLineHorizontal(), TLineEditor::DoLineVertical(), TAxisEditor::DoLogAxis(), TFitEditor::DoNoChi2(), TFitEditor::DoNoStoreDrawing(), TFitEditor::DoNumericSliderXChanged(), TFitEditor::DoNumericSliderYChanged(), TFitParametersDialog::DoParBound(), TFitParametersDialog::DoParFix(), TStyleManager::DoPreview(), TStyleManager::DoPreviewClosed(), TFitEditor::DoReset(), TFitParametersDialog::DoReset(), TFunctionParametersDialog::DoReset(), TGraphEditor::DoShape(), TFitEditor::DoSliderXMoved(), TFitEditor::DoSliderYMoved(), TPaveStatsEditor::DoStatOptions(), TFitEditor::DoUseFuncRange(), TGeoVolumeEditor::DoViewAll(), TGeoVolumeEditor::DoViewLeaves(), TGeoVolumeEditor::DoViewOnly(), TGeoVolumeEditor::DoVisLevel(), TGL5DDataSetEditor::EnableSurfaceControls(), TTreeViewer::ExecuteDraw(), TGColorSelect::HandleButton(), TGedSelect::HandleButton(), TProofProgressLog::Init(), TUploadDataSetDlg::OnAppendFiles(), TUploadDataSetDlg::OnOverwriteDataset(), TTreeViewer::ProcessMessage(), HistAction::ProcessMessage(), TStructViewerGUI::SetLinksVisibility(), TAxisEditor::SetModel(), TEveLineEditor::SetModel(), TEveCaloLegoEditor::SetModel(), TEveProjectionAxesEditor::SetModel(), TPaveStatsEditor::SetModel(), TSpiderEditor::SetModel(), TGraphEditor::SetModel(), TEveWindowEditor::SetModel(), TH1Editor::SetModel(), TGeoMediumEditor::SetModel(), TEveTransSubEditor::SetModel(), TEveTrackListEditor::SetModel(), TEveTextEditor::SetModel(), TGeoVolumeEditor::SetModel(), TH2Editor::SetModel(), TPadEditor::SetModel(), TGLViewerEditor::SetModel(), TCurlyLineEditor::SetModel(), TEveRGBAPaletteSubEditor::SetModel(), TEveGeoNodeEditor::SetModel(), TEveStraightLineSetEditor::SetModel(), TEveElementEditor::SetModel(), TEveCaloVizEditor::SetModel(), TLineEditor::SetModel(), TEveShapeEditor::SetModel(), TPieEditor::SetModel(), TTreeViewer::SetScanRedirect(), TGL5DDataSetEditor::SetStyleTabWidgets(), TSessionServerFrame::SetSync(), TPaveStatsEditor::SetValuesON(), SplitButtonTest::SplitButtonTest(), SplitButtonWindow::SplitButtonWindow(), TAxisEditor::TAxisEditor(), TestMsgBox::TestMsgBox(), TGedSelect::TGedSelect(), TGMdiHintTest::TGMdiHintTest(), TTripleSliderDemo::TTripleSliderDemo(), TStyleManager::UpdateEditor(), and TASPaletteEditor::UpdateScreen().

void TGCheckButton::SavePrimitive ( ostream &  out,
Option_t option = "" 
) [virtual]

Reimplemented from TGTextButton.

Definition at line 1852 of file TGButton.cxx.

References TGTextButton::fFontStruct, TGFontPool::FindFont(), TGGCPool::FindGC(), TGTextButton::fLabel, TGTextButton::fMBottom, TGTextButton::fMLeft, TGTextButton::fMRight, TGTextButton::fMTop, TGButton::fNormGC, TString::Form(), TGWindow::fParent, TGButton::fState, TGTextButton::fTMode, TGWidget::fWidgetId, TGTextButton::fWrapLength, gClient, GetDefaultFontStruct(), GetDefaultGC(), TGResourcePool::GetFontPool(), TGResourcePool::GetGCPool(), TGHotString::GetHotPos(), TGWindow::GetName(), TGFrame::GetOptions(), TGFrame::GetOptionString(), TGClient::GetResourcePool(), TGString::GetString(), IsDisabledAndSelected(), kButtonDisabled, kChildFrame, TGGC::SavePrimitive(), TGFont::SavePrimitive(), and TGButton::SavePrimitive().

TGCheckButton& TGCheckButton::operator= ( const TGCheckButton  )  [private]

void TGCheckButton::Init (  )  [protected]

Reimplemented from TGTextButton.

void TGCheckButton::PSetState ( EButtonState  state,
Bool_t  emit 
) [protected]

virtual void TGCheckButton::DoRedraw (  )  [protected, virtual]

Reimplemented from TGTextButton.

virtual void TGCheckButton::EmitSignals ( Bool_t  wasUp = kTRUE  )  [protected, virtual]

Reimplemented from TGButton.

static FontStruct_t TGCheckButton::GetDefaultFontStruct (  )  [static]

Reimplemented from TGTextButton.

static const TGGC& TGCheckButton::GetDefaultGC (  )  [static]

Reimplemented from TGButton.

virtual TGDimension TGCheckButton::GetDefaultSize (  )  const [virtual]

Reimplemented from TGTextButton.

virtual Bool_t TGCheckButton::HandleButton ( Event_t event  )  [virtual]

Reimplemented from TGButton.

virtual Bool_t TGCheckButton::HandleKey ( Event_t event  )  [virtual]

Reimplemented from TGTextButton.

virtual Bool_t TGCheckButton::HandleCrossing ( Event_t event  )  [virtual]

Reimplemented from TGButton.

virtual Bool_t TGCheckButton::IsToggleButton (  )  const [inline, virtual]

Reimplemented from TGButton.

Definition at line 308 of file TGButton.h.

References kTRUE.

virtual Bool_t TGCheckButton::IsOn (  )  const [inline, virtual]

Reimplemented from TGButton.

Definition at line 309 of file TGButton.h.

References TGButton::fState, and kButtonDown.

virtual Bool_t TGCheckButton::IsDown (  )  const [inline, virtual]

Reimplemented from TGButton.

Definition at line 310 of file TGButton.h.

References TGButton::fState, and kButtonDown.

virtual Bool_t TGCheckButton::IsDisabledAndSelected (  )  const [inline, virtual]

Definition at line 311 of file TGButton.h.

References TGTextButton::fStateOn, and kButtonDisabled.

virtual void TGCheckButton::SetDisabledAndSelected ( Bool_t   )  [virtual]

virtual void TGCheckButton::SetState ( EButtonState  state,
Bool_t  emit = kFALSE 
) [virtual]

Reimplemented from TGButton.

virtual void TGCheckButton::SavePrimitive ( ostream &  out,
Option_t option = "" 
) [virtual]

Reimplemented from TGTextButton.


Member Data Documentation

EButtonState TGCheckButton::fPrevState [protected]

Definition at line 270 of file TGButton.h.

Referenced by TGColorSelect::HandleButton(), TGedSelect::HandleButton(), HandleButton(), HandleKey(), Init(), and PSetState().

const TGPicture* TGCheckButton::fOn [protected]

Definition at line 271 of file TGButton.h.

Referenced by DoRedraw(), Init(), and ~TGCheckButton().

const TGPicture* TGCheckButton::fOff [protected]

Definition at line 272 of file TGButton.h.

Referenced by DoRedraw(), GetDefaultSize(), Init(), and ~TGCheckButton().

const TGPicture* TGCheckButton::fDisOn [protected]

Definition at line 273 of file TGButton.h.

Referenced by DoRedraw(), Init(), and ~TGCheckButton().

const TGPicture* TGCheckButton::fDisOff [protected]

Definition at line 274 of file TGButton.h.

Referenced by DoRedraw(), Init(), and ~TGCheckButton().

const TGFont * TGCheckButton::fgDefaultFont [static, protected]

Reimplemented from TGTextButton.

Definition at line 282 of file TGButton.h.

Referenced by GetDefaultFontStruct().

const TGGC * TGCheckButton::fgDefaultGC [static, protected]

Reimplemented from TGButton.

Definition at line 283 of file TGButton.h.

Referenced by GetDefaultGC().

const TGPicture* TGCheckButton::fOn [protected]

Definition at line 271 of file TGButton.h.

const TGPicture* TGCheckButton::fOff [protected]

Definition at line 272 of file TGButton.h.

const TGPicture* TGCheckButton::fDisOn [protected]

Definition at line 273 of file TGButton.h.

const TGPicture* TGCheckButton::fDisOff [protected]

Definition at line 274 of file TGButton.h.

const TGFont* TGCheckButton::fgDefaultFont [static, protected]

Reimplemented from TGTextButton.

Definition at line 282 of file TGButton.h.

const TGGC* TGCheckButton::fgDefaultGC [static, protected]

Reimplemented from TGButton.

Definition at line 283 of file TGButton.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:38:16 2011 for ROOT_528-00b_version by  doxygen 1.5.1