TGRepeatFireButton Class Reference

Inheritance diagram for TGRepeatFireButton:

TGPictureButton TGButton TGButton TGWidget TGFrame TGWidget TGFrame TGWidget TGFrame TGWidget TGFrame List of all members.

Public Member Functions

 TGRepeatFireButton (const TGWindow *p, const TGPicture *pic, Int_t id, Bool_t logstep)
virtual ~TGRepeatFireButton ()
virtual Bool_t HandleButton (Event_t *event)
void FireButton ()
virtual void SetLogStep (Bool_t on=kTRUE)

Protected Member Functions

Bool_t IsEditableParent ()

Protected Attributes

TRepeatTimerfTimer
Int_t fIgnoreNextFire
TGNumberFormat::EStepSize fStep
Bool_t fStepLog
Bool_t fDoLogStep

Detailed Description

Definition at line 1804 of file TGNumberEntry.cxx.


Constructor & Destructor Documentation

TGRepeatFireButton::TGRepeatFireButton ( const TGWindow p,
const TGPicture pic,
Int_t  id,
Bool_t  logstep 
) [inline]

Definition at line 1815 of file TGNumberEntry.cxx.

References TGWindow::fEditDisabled, TGWindow::kEditDisable, and TGWindow::kEditDisableGrab.

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

Definition at line 1820 of file TGNumberEntry.cxx.

References fTimer.


Member Function Documentation

Bool_t TGRepeatFireButton::IsEditableParent (  )  [protected]

Definition at line 1828 of file TGNumberEntry.cxx.

References TGObject::fClient, TGClient::GetDefaultRoot(), TGWindow::GetParent(), TGWindow::IsEditable(), kFALSE, and kTRUE.

Referenced by HandleButton().

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

Reimplemented from TGButton.

Definition at line 1844 of file TGNumberEntry.cxx.

References TSystem::AddTimer(), fDoLogStep, fIgnoreNextFire, FireButton(), Event_t::fState, TGButton::fState, fStep, fStepLog, fTimer, TGButton::fTip, Event_t::fType, gSystem, TGToolTip::Hide(), IsEditableParent(), kButtonDisabled, kButtonDown, kButtonPress, kButtonUp, kKeyControlMask, kKeyMod1Mask, kKeyShiftMask, TGNumberFormat::kNSSHuge, TGNumberFormat::kNSSLarge, TGNumberFormat::kNSSMedium, TGNumberFormat::kNSSSmall, kTRUE, TTimer::Remove(), TTimer::Reset(), TGButton::SetState(), and TTimer::SetTime().

void TGRepeatFireButton::FireButton (  ) 

Definition at line 1897 of file TGNumberEntry.cxx.

References fDoLogStep, fIgnoreNextFire, TGWidget::fMsgWindow, fStep, TGWidget::fWidgetId, kC_COMMAND, kCM_BUTTON, MK_MSG(), and TGFrame::SendMessage().

Referenced by HandleButton(), and TRepeatTimer::Notify().

virtual void TGRepeatFireButton::SetLogStep ( Bool_t  on = kTRUE  )  [inline, virtual]

Definition at line 1824 of file TGNumberEntry.cxx.

References fStepLog.


Member Data Documentation

TRepeatTimer* TGRepeatFireButton::fTimer [protected]

Definition at line 1806 of file TGNumberEntry.cxx.

Referenced by HandleButton(), and ~TGRepeatFireButton().

Int_t TGRepeatFireButton::fIgnoreNextFire [protected]

Definition at line 1807 of file TGNumberEntry.cxx.

Referenced by FireButton(), and HandleButton().

TGNumberFormat::EStepSize TGRepeatFireButton::fStep [protected]

Definition at line 1808 of file TGNumberEntry.cxx.

Referenced by FireButton(), and HandleButton().

Bool_t TGRepeatFireButton::fStepLog [protected]

Definition at line 1809 of file TGNumberEntry.cxx.

Referenced by HandleButton(), and SetLogStep().

Bool_t TGRepeatFireButton::fDoLogStep [protected]

Definition at line 1810 of file TGNumberEntry.cxx.

Referenced by FireButton(), and HandleButton().


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