wxGridEvent Class Reference

#include <wx/grid.h>

Inheritance diagram for wxGridEvent:

wxNotifyEvent wxCommandEvent wxEvent wxObject

List of all members.


Detailed Description

This event class contains information about various grid events.

Library:  wxAdvanced

Category:  group_class_grid

Public Member Functions

bool AltDown ()
bool ControlDown ()
virtual int GetCol ()
wxPoint GetPosition ()
virtual int GetRow ()
bool MetaDown ()
bool Selecting ()
bool ShiftDown ()
 wxGridEvent ()
 wxGridEvent (int id, wxEventType type, wxObject *obj, int row=-1, int col=-1, int x=-1, int y=-1, bool sel=true, bool control=false, bool shift=false, bool alt=false, bool meta=false)

Constructor & Destructor Documentation

wxGridEvent::wxGridEvent (  ) 

wxGridEvent::wxGridEvent ( int  id,
wxEventType  type,
wxObject obj,
int  row = -1,
int  col = -1,
int  x = -1,
int  y = -1,
bool  sel = true,
bool  control = false,
bool  shift = false,
bool  alt = false,
bool  meta = false 
)


Member Function Documentation

bool wxGridEvent::AltDown (  ) 

Returns true if the Alt key was down at the time of the event.

bool wxGridEvent::ControlDown (  ) 

Returns true if the Control key was down at the time of the event.

virtual int wxGridEvent::GetCol (  )  [virtual]

Column at which the event occurred.

wxPoint wxGridEvent::GetPosition (  ) 

Position in pixels at which the event occurred.

virtual int wxGridEvent::GetRow (  )  [virtual]

Row at which the event occurred.

bool wxGridEvent::MetaDown (  ) 

Returns true if the Meta key was down at the time of the event.

bool wxGridEvent::Selecting (  ) 

Returns true if the user is selecting grid cells, false -- if deselecting.

bool wxGridEvent::ShiftDown (  ) 

Returns true if the Shift key was down at the time of the event.



wxWidgets logo

[ top ]