Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TCursorSwitcher Class Reference

Helper class used to change the cursor in a method and restore the original one when going out of the method scope.

Definition at line 80 of file TGFileBrowser.cxx.

Public Member Functions

 TCursorSwitcher (TGWindow *w1, TGWindow *w2)
 
 ~TCursorSwitcher ()
 

Private Attributes

TGWindowfW1
 
TGWindowfW2
 

Constructor & Destructor Documentation

◆ TCursorSwitcher()

TCursorSwitcher::TCursorSwitcher ( TGWindow w1,
TGWindow w2 
)
inline

Definition at line 85 of file TGFileBrowser.cxx.

◆ ~TCursorSwitcher()

TCursorSwitcher::~TCursorSwitcher ( )
inline

Definition at line 89 of file TGFileBrowser.cxx.

Member Data Documentation

◆ fW1

TGWindow* TCursorSwitcher::fW1
private

Definition at line 82 of file TGFileBrowser.cxx.

◆ fW2

TGWindow* TCursorSwitcher::fW2
private

Definition at line 83 of file TGFileBrowser.cxx.

  • gui/gui/src/TGFileBrowser.cxx