wxPropertyGrid
Public Member Functions | Public Attributes | List of all members
wxPropertyGridHitTestResult Class Reference

wxPropertyGridHitTestResult, a return value from wxPropertyGrid::HitTest(), contains all you need to know about an arbitrary location on the grid. More...

#include <propgrid.h>

Public Member Functions

int GetColumn () const
 Returns column hit. More...
 
wxPGProperty * GetProperty () const
 Returns property hit. More...
 
int GetSplitter () const
 Returns index of splitter hit, -1 for none.
 
int GetSplitterHitOffset () const
 If splitter hit, then this member function returns offset to the exact splitter position.
 

Public Attributes

int column
 Column. More...
 
wxPGProperty * property
 Property. More...
 
int splitter
 Index of splitter hit, -1 for none. More...
 
int splitterHitOffset
 If splitter hit, offset to that.
 

Detailed Description

wxPropertyGridHitTestResult, a return value from wxPropertyGrid::HitTest(), contains all you need to know about an arbitrary location on the grid.

Member Function Documentation

int wxPropertyGridHitTestResult::GetColumn ( ) const

Returns column hit.

-1 for margin.

wxPGProperty* wxPropertyGridHitTestResult::GetProperty ( ) const

Returns property hit.

NULL if empty space below properties was hit instead.

Member Data Documentation

int wxPropertyGridHitTestResult::column

Column.

-1 for margin.

wxPGProperty* wxPropertyGridHitTestResult::property

Property.

NULL if empty space below properties was hit

int wxPropertyGridHitTestResult::splitter

Index of splitter hit, -1 for none.


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