A propertygrid event holds information about events associated with wxPropertyGrid objects. More...
#include <propgrid.h>
A propertygrid event holds information about events associated with wxPropertyGrid objects.
wxNotifyEvent
wxCommandEvent
wxEvent
wxObject
<wx/propertygrid/propertygrid.h>
Definition at line 8141 of file propgrid.h.
wxPropertyGridEvent::wxPropertyGridEvent | ( | wxEventType | commandType = 0 , |
|
int | id = 0 | |||
) |
Constructor.
wxPropertyGridEvent::wxPropertyGridEvent | ( | const wxPropertyGridEvent & | event | ) |
Copy constructor.
wxPropertyGridEvent::~wxPropertyGridEvent | ( | ) |
Destructor.
bool wxPropertyGridEvent::CanVeto | ( | ) | const [inline] |
Returns true if you can veto the action that the event is signaling.
Definition at line 8299 of file propgrid.h.
virtual wxEvent* wxPropertyGridEvent::Clone | ( | ) | const [virtual] |
Copyer.
void wxPropertyGridEvent::DisableProperty | ( | ) | [inline] |
Disables property.
Definition at line 8164 of file propgrid.h.
void wxPropertyGridEvent::EnableProperty | ( | bool | enable = true |
) | [inline] |
Enables property.
Definition at line 8158 of file propgrid.h.
unsigned int wxPropertyGridEvent::GetColumn | ( | ) | const [inline] |
Returns the column index associated with this event.
Definition at line 8172 of file propgrid.h.
wxPGProperty* wxPropertyGridEvent::GetMainParent | ( | ) | const [inline] |
Definition at line 8177 of file propgrid.h.
wxPGProperty* wxPropertyGridEvent::GetProperty | ( | ) | const [inline] |
Returns id of associated property.
Definition at line 8184 of file propgrid.h.
wxPGProperty::ClientDataType wxPropertyGridEvent::GetPropertyClientData | ( | ) | const [inline] |
Returns client data of relevant property.
Definition at line 8217 of file propgrid.h.
const wxString& wxPropertyGridEvent::GetPropertyLabel | ( | ) | const [inline] |
Returns label of associated property.
Definition at line 8203 of file propgrid.h.
wxString wxPropertyGridEvent::GetPropertyName | ( | ) | const [inline] |
Returns global name of associated property.
Definition at line 8210 of file propgrid.h.
wxVariant wxPropertyGridEvent::GetPropertyValue | ( | ) | const [inline] |
Returns value of relevant property.
Definition at line 8225 of file propgrid.h.
wxArrayInt wxPropertyGridEvent::GetPropertyValueAsArrayInt | ( | ) | const [inline] |
Definition at line 8271 of file propgrid.h.
wxArrayString wxPropertyGridEvent::GetPropertyValueAsArrayString | ( | ) | const [inline] |
Definition at line 8259 of file propgrid.h.
long wxPropertyGridEvent::GetPropertyValueAsBool | ( | ) | const [inline] |
Definition at line 8243 of file propgrid.h.
double wxPropertyGridEvent::GetPropertyValueAsDouble | ( | ) | const [inline] |
Definition at line 8247 of file propgrid.h.
int wxPropertyGridEvent::GetPropertyValueAsInt | ( | ) | const [inline] |
Definition at line 8239 of file propgrid.h.
long wxPropertyGridEvent::GetPropertyValueAsLong | ( | ) | const [inline] |
Definition at line 8235 of file propgrid.h.
wxPoint wxPropertyGridEvent::GetPropertyValueAsPoint | ( | ) | const [inline] |
Definition at line 8263 of file propgrid.h.
wxSize wxPropertyGridEvent::GetPropertyValueAsSize | ( | ) | const [inline] |
Definition at line 8267 of file propgrid.h.
wxString wxPropertyGridEvent::GetPropertyValueAsString | ( | ) | const [inline] |
Definition at line 8231 of file propgrid.h.
void* wxPropertyGridEvent::GetPropertyValueAsVoidPtr | ( | ) | const [inline] |
Definition at line 8255 of file propgrid.h.
const wxObject* wxPropertyGridEvent::GetPropertyValueAsWxObjectPtr | ( | ) | const [inline] |
Definition at line 8251 of file propgrid.h.
wxPGVFBFlags wxPropertyGridEvent::GetValidationFailureBehavior | ( | ) | const [inline] |
Definition at line 8336 of file propgrid.h.
wxPGValidationInfo& wxPropertyGridEvent::GetValidationInfo | ( | ) | [inline] |
Definition at line 8283 of file propgrid.h.
const wxVariant& wxPropertyGridEvent::GetValue | ( | ) | const [inline] |
Returns value that is about to be set for wxEVT_PG_CHANGING.
Definition at line 8310 of file propgrid.h.
bool wxPropertyGridEvent::HasProperty | ( | ) | const [inline] |
Returns true if event has associated property.
Definition at line 8290 of file propgrid.h.
void wxPropertyGridEvent::Init | ( | ) | [private] |
bool wxPropertyGridEvent::IsPropertyEnabled | ( | ) | const [inline] |
Definition at line 8292 of file propgrid.h.
void wxPropertyGridEvent::SetCanVeto | ( | bool | canVeto | ) | [inline] |
Definition at line 8342 of file propgrid.h.
void wxPropertyGridEvent::SetColumn | ( | unsigned int | column | ) | [inline] |
Definition at line 8357 of file propgrid.h.
void wxPropertyGridEvent::SetProperty | ( | wxPGProperty * | p | ) | [inline] |
Changes the associated property.
Definition at line 8346 of file propgrid.h.
void wxPropertyGridEvent::SetPropertyGrid | ( | wxPropertyGrid * | pg | ) | [inline] |
Definition at line 8348 of file propgrid.h.
void wxPropertyGridEvent::SetupValidationInfo | ( | ) | [inline] |
Definition at line 8350 of file propgrid.h.
void wxPropertyGridEvent::SetValidationFailureBehavior | ( | int | flags | ) | [inline] |
Set override validation failure behavior. Only effective if Veto was also called, and only allowed if event type is wxEVT_PG_CHANGING.
Definition at line 8320 of file propgrid.h.
void wxPropertyGridEvent::SetValidationFailureMessage | ( | const wxString & | message | ) | [inline] |
Sets custom failure message for this time only. Only applies if wxPG_VFB_SHOW_MESSAGE is set in validation failure flags.
Definition at line 8329 of file propgrid.h.
void wxPropertyGridEvent::Veto | ( | bool | veto = true |
) | [inline] |
Call this from your event handler to veto action that the event is signaling. You can only veto a shutdown if wxPropertyGridEvent::CanVeto returns true.
Definition at line 8306 of file propgrid.h.
bool wxPropertyGridEvent::WasVetoed | ( | ) | const [inline] |
Definition at line 8343 of file propgrid.h.
bool wxPropertyGridEvent::m_canVeto [private] |
Definition at line 8372 of file propgrid.h.
unsigned int wxPropertyGridEvent::m_column [private] |
Definition at line 8370 of file propgrid.h.
wxPropertyGrid* wxPropertyGridEvent::m_pg [private] |
Definition at line 8367 of file propgrid.h.
wxPGProperty* wxPropertyGridEvent::m_property [private] |
Definition at line 8366 of file propgrid.h.
Definition at line 8368 of file propgrid.h.
bool wxPropertyGridEvent::m_wasVetoed [private] |
Definition at line 8373 of file propgrid.h.