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...
 
wxPGPropertyGetProperty () 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...
 
wxPGPropertyproperty
 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

◆ GetColumn()

int wxPropertyGridHitTestResult::GetColumn ( ) const

Returns column hit.

-1 for margin.

◆ GetProperty()

wxPGProperty* wxPropertyGridHitTestResult::GetProperty ( ) const

Returns property hit.

NULL if empty space below properties was hit instead.

Member Data Documentation

◆ column

int wxPropertyGridHitTestResult::column

Column.

-1 for margin.

◆ property

wxPGProperty* wxPropertyGridHitTestResult::property

Property.

NULL if empty space below properties was hit

◆ splitter

int wxPropertyGridHitTestResult::splitter

Index of splitter hit, -1 for none.


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