Logo ROOT   6.21/01
Reference Guide
ROOT::MacOSX::X11::EventTranslator Class Reference

Definition at line 51 of file X11Events.h.

Public Member Functions

 EventTranslator ()
 
void CancelPointerGrab ()
 
void CheckUnmappedView (Window_t winID)
 
void GenerateButtonPressEvent (NSView< X11Window > *eventView, NSEvent *theEvent, EMouseButton btn)
 
void GenerateButtonReleaseEvent (NSView< X11Window > *eventView, NSEvent *theEvent, EMouseButton btn)
 
void GenerateConfigureNotifyEvent (NSView< X11Window > *view, const NSRect &newFrame)
 
void GenerateCrossingEvent (NSEvent *theEvent)
 
void GenerateDestroyNotify (unsigned winID)
 
void GenerateExposeEvent (NSView< X11Window > *view, const NSRect &exposedRect)
 
void GenerateFocusChangeEvent (NSView< X11Window > *eventView)
 
void GenerateKeyPressEvent (NSView< X11Window > *eventView, NSEvent *theEvent)
 
void GenerateKeyReleaseEvent (NSView< X11Window > *eventView, NSEvent *theEvent)
 
void GeneratePointerMotionEvent (NSEvent *theEvent)
 
unsigned GetInputFocus () const
 
bool HasPointerGrab () const
 
void SetInputFocus (NSView< X11Window > *focusView)
 
void SetPointerGrab (NSView< X11Window > *grabView, unsigned eventMask, bool ownerEvents)
 

Private Member Functions

void FindButtonGrab (NSView< X11Window > *fromView, NSEvent *theEvent, EMouseButton btn)
 
void FindKeyGrabView (NSView< X11Window > *eventView, NSEvent *theEvent)
 
void GenerateButtonPressEventActiveGrab (NSView< X11Window > *view, NSEvent *theEvent, EMouseButton btn)
 
void GenerateButtonPressEventNoGrab (NSView< X11Window > *view, NSEvent *theEvent, EMouseButton btn)
 
void GenerateButtonReleaseEventActiveGrab (NSView< X11Window > *eventView, NSEvent *theEvent, EMouseButton btn)
 
void GenerateButtonReleaseEventNoGrab (NSView< X11Window > *eventView, NSEvent *theEvent, EMouseButton btn)
 
void GenerateCrossingEventActiveGrab (NSEvent *theEvent)
 
void GenerateCrossingEventNoGrab (NSEvent *theEvent)
 
void GenerateKeyEventActiveGrab (NSView< X11Window > *eventView, NSEvent *theEvent)
 
void GenerateKeyEventForView (NSView< X11Window > *view, NSEvent *theEvent)
 
void GenerateKeyPressEventNoGrab (NSView< X11Window > *eventView, NSEvent *theEvent)
 
void GenerateKeyReleaseEventNoGrab (NSView< X11Window > *eventView, NSEvent *theEvent)
 
void GeneratePointerMotionEventActiveGrab (NSEvent *theEvent)
 
void GeneratePointerMotionEventNoGrab (NSEvent *theEvent)
 

Private Attributes

NSView< X11Window > * fButtonGrabView
 
EventQueue_t fEventQueue
 
NSView< X11Window > * fFocusView
 
unsigned fGrabEventMask
 
EMouseButton fImplicitGrabButton
 
NSView< X11Window > * fKeyGrabView
 
bool fOwnerEvents
 
PointerGrab fPointerGrabType
 
NSView< X11Window > * fViewUnderPointer
 

Friends

class ::TGCocoa
 

#include <X11Events.h>

Constructor & Destructor Documentation

◆ EventTranslator()

ROOT::MacOSX::X11::EventTranslator::EventTranslator ( )

Definition at line 1135 of file X11Events.mm.

Member Function Documentation

◆ CancelPointerGrab()

void ROOT::MacOSX::X11::EventTranslator::CancelPointerGrab ( )

Definition at line 1380 of file X11Events.mm.

◆ CheckUnmappedView()

void ROOT::MacOSX::X11::EventTranslator::CheckUnmappedView ( Window_t  winID)

Definition at line 1474 of file X11Events.mm.

◆ FindButtonGrab()

void ROOT::MacOSX::X11::EventTranslator::FindButtonGrab ( NSView< X11Window > *  fromView,
NSEvent *  theEvent,
EMouseButton  btn 
)
private

Definition at line 1795 of file X11Events.mm.

◆ FindKeyGrabView()

void ROOT::MacOSX::X11::EventTranslator::FindKeyGrabView ( NSView< X11Window > *  eventView,
NSEvent *  theEvent 
)
private

Definition at line 1843 of file X11Events.mm.

◆ GenerateButtonPressEvent()

void ROOT::MacOSX::X11::EventTranslator::GenerateButtonPressEvent ( NSView< X11Window > *  eventView,
NSEvent *  theEvent,
EMouseButton  btn 
)

Definition at line 1257 of file X11Events.mm.

◆ GenerateButtonPressEventActiveGrab()

void ROOT::MacOSX::X11::EventTranslator::GenerateButtonPressEventActiveGrab ( NSView< X11Window > *  view,
NSEvent *  theEvent,
EMouseButton  btn 
)
private

Definition at line 1609 of file X11Events.mm.

◆ GenerateButtonPressEventNoGrab()

void ROOT::MacOSX::X11::EventTranslator::GenerateButtonPressEventNoGrab ( NSView< X11Window > *  view,
NSEvent *  theEvent,
EMouseButton  btn 
)
private

Definition at line 1575 of file X11Events.mm.

◆ GenerateButtonReleaseEvent()

void ROOT::MacOSX::X11::EventTranslator::GenerateButtonReleaseEvent ( NSView< X11Window > *  eventView,
NSEvent *  theEvent,
EMouseButton  btn 
)

Definition at line 1270 of file X11Events.mm.

◆ GenerateButtonReleaseEventActiveGrab()

void ROOT::MacOSX::X11::EventTranslator::GenerateButtonReleaseEventActiveGrab ( NSView< X11Window > *  eventView,
NSEvent *  theEvent,
EMouseButton  btn 
)
private

Definition at line 1655 of file X11Events.mm.

◆ GenerateButtonReleaseEventNoGrab()

void ROOT::MacOSX::X11::EventTranslator::GenerateButtonReleaseEventNoGrab ( NSView< X11Window > *  eventView,
NSEvent *  theEvent,
EMouseButton  btn 
)
private

Definition at line 1643 of file X11Events.mm.

◆ GenerateConfigureNotifyEvent()

void ROOT::MacOSX::X11::EventTranslator::GenerateConfigureNotifyEvent ( NSView< X11Window > *  view,
const NSRect &  newFrame 
)

Definition at line 1149 of file X11Events.mm.

◆ GenerateCrossingEvent()

void ROOT::MacOSX::X11::EventTranslator::GenerateCrossingEvent ( NSEvent *  theEvent)

Definition at line 1192 of file X11Events.mm.

◆ GenerateCrossingEventActiveGrab()

void ROOT::MacOSX::X11::EventTranslator::GenerateCrossingEventActiveGrab ( NSEvent *  theEvent)
private

Definition at line 1213 of file X11Events.mm.

◆ GenerateCrossingEventNoGrab()

void ROOT::MacOSX::X11::EventTranslator::GenerateCrossingEventNoGrab ( NSEvent *  theEvent)
private

Definition at line 1202 of file X11Events.mm.

◆ GenerateDestroyNotify()

void ROOT::MacOSX::X11::EventTranslator::GenerateDestroyNotify ( unsigned  winID)

◆ GenerateExposeEvent()

void ROOT::MacOSX::X11::EventTranslator::GenerateExposeEvent ( NSView< X11Window > *  view,
const NSRect &  exposedRect 
)

Definition at line 1174 of file X11Events.mm.

◆ GenerateFocusChangeEvent()

void ROOT::MacOSX::X11::EventTranslator::GenerateFocusChangeEvent ( NSView< X11Window > *  eventView)

Definition at line 1321 of file X11Events.mm.

◆ GenerateKeyEventActiveGrab()

void ROOT::MacOSX::X11::EventTranslator::GenerateKeyEventActiveGrab ( NSView< X11Window > *  eventView,
NSEvent *  theEvent 
)
private

Definition at line 1722 of file X11Events.mm.

◆ GenerateKeyEventForView()

void ROOT::MacOSX::X11::EventTranslator::GenerateKeyEventForView ( NSView< X11Window > *  view,
NSEvent *  theEvent 
)
private

Definition at line 1772 of file X11Events.mm.

◆ GenerateKeyPressEvent()

void ROOT::MacOSX::X11::EventTranslator::GenerateKeyPressEvent ( NSView< X11Window > *  eventView,
NSEvent *  theEvent 
)

Definition at line 1285 of file X11Events.mm.

◆ GenerateKeyPressEventNoGrab()

void ROOT::MacOSX::X11::EventTranslator::GenerateKeyPressEventNoGrab ( NSView< X11Window > *  eventView,
NSEvent *  theEvent 
)
private

Definition at line 1699 of file X11Events.mm.

◆ GenerateKeyReleaseEvent()

void ROOT::MacOSX::X11::EventTranslator::GenerateKeyReleaseEvent ( NSView< X11Window > *  eventView,
NSEvent *  theEvent 
)

Definition at line 1301 of file X11Events.mm.

◆ GenerateKeyReleaseEventNoGrab()

void ROOT::MacOSX::X11::EventTranslator::GenerateKeyReleaseEventNoGrab ( NSView< X11Window > *  eventView,
NSEvent *  theEvent 
)
private

Definition at line 1755 of file X11Events.mm.

◆ GeneratePointerMotionEvent()

void ROOT::MacOSX::X11::EventTranslator::GeneratePointerMotionEvent ( NSEvent *  theEvent)

Definition at line 1244 of file X11Events.mm.

◆ GeneratePointerMotionEventActiveGrab()

void ROOT::MacOSX::X11::EventTranslator::GeneratePointerMotionEventActiveGrab ( NSEvent *  theEvent)
private

Definition at line 1537 of file X11Events.mm.

◆ GeneratePointerMotionEventNoGrab()

void ROOT::MacOSX::X11::EventTranslator::GeneratePointerMotionEventNoGrab ( NSEvent *  theEvent)
private

Definition at line 1518 of file X11Events.mm.

◆ GetInputFocus()

unsigned ROOT::MacOSX::X11::EventTranslator::GetInputFocus ( ) const

Definition at line 1447 of file X11Events.mm.

◆ HasPointerGrab()

bool ROOT::MacOSX::X11::EventTranslator::HasPointerGrab ( ) const

Definition at line 1238 of file X11Events.mm.

◆ SetInputFocus()

void ROOT::MacOSX::X11::EventTranslator::SetInputFocus ( NSView< X11Window > *  focusView)

Definition at line 1431 of file X11Events.mm.

◆ SetPointerGrab()

void ROOT::MacOSX::X11::EventTranslator::SetPointerGrab ( NSView< X11Window > *  grabView,
unsigned  eventMask,
bool  ownerEvents 
)

Definition at line 1339 of file X11Events.mm.

Friends And Related Function Documentation

◆ ::TGCocoa

friend class ::TGCocoa
friend

Definition at line 52 of file X11Events.h.

Member Data Documentation

◆ fButtonGrabView

NSView<X11Window>* ROOT::MacOSX::X11::EventTranslator::fButtonGrabView
private

Definition at line 116 of file X11Events.h.

◆ fEventQueue

EventQueue_t ROOT::MacOSX::X11::EventTranslator::fEventQueue
private

Definition at line 121 of file X11Events.h.

◆ fFocusView

NSView<X11Window>* ROOT::MacOSX::X11::EventTranslator::fFocusView
private

Definition at line 118 of file X11Events.h.

◆ fGrabEventMask

unsigned ROOT::MacOSX::X11::EventTranslator::fGrabEventMask
private

Definition at line 112 of file X11Events.h.

◆ fImplicitGrabButton

EMouseButton ROOT::MacOSX::X11::EventTranslator::fImplicitGrabButton
private

Definition at line 119 of file X11Events.h.

◆ fKeyGrabView

NSView<X11Window>* ROOT::MacOSX::X11::EventTranslator::fKeyGrabView
private

Definition at line 117 of file X11Events.h.

◆ fOwnerEvents

bool ROOT::MacOSX::X11::EventTranslator::fOwnerEvents
private

Definition at line 113 of file X11Events.h.

◆ fPointerGrabType

PointerGrab ROOT::MacOSX::X11::EventTranslator::fPointerGrabType
private

Definition at line 111 of file X11Events.h.

◆ fViewUnderPointer

NSView<X11Window>* ROOT::MacOSX::X11::EventTranslator::fViewUnderPointer
private

Definition at line 109 of file X11Events.h.


The documentation for this class was generated from the following files: