|
| PluginDataViewTextRenderer () |
|
bool | SetValue (const wxVariant &value) override |
|
bool | GetValue (wxVariant &) const override |
|
bool | Render (wxRect cell, wxDC *dc, int state) override |
|
wxSize | GetSize () const override |
|
bool | ActivateCell (const wxRect &cell, wxDataViewModel *model, const wxDataViewItem &item, unsigned col, const wxMouseEvent *mouseEvent) final |
|
|
virtual bool | OnCellClicked (const wxRect &cell, wxDataViewModel *model, const wxDataViewItem &item, unsigned col, const wxMouseEvent *mouseEvent) |
|
Definition at line 67 of file PluginDataViewCtrl.cpp.
◆ PluginDataViewTextRenderer()
PluginDataViewTextRenderer::PluginDataViewTextRenderer |
( |
| ) |
|
|
inline |
◆ GetSize()
wxSize PluginDataViewTextRenderer::GetSize |
( |
| ) |
const |
|
inlineoverride |
Definition at line 96 of file PluginDataViewCtrl.cpp.
97 {
99 return GetTextExtent(
mText);
100 return GetView()->FromDIP(wxSize(wxDVC_DEFAULT_RENDERER_SIZE,
101 wxDVC_DEFAULT_RENDERER_SIZE));
102 }
References mText.
◆ GetValue()
bool PluginDataViewTextRenderer::GetValue |
( |
wxVariant & |
| ) |
const |
|
inlineoverride |
◆ Render()
bool PluginDataViewTextRenderer::Render |
( |
wxRect |
cell, |
|
|
wxDC * |
dc, |
|
|
int |
state |
|
) |
| |
|
inlineoverride |
◆ SetValue()
bool PluginDataViewTextRenderer::SetValue |
( |
const wxVariant & |
value | ) |
|
|
inlineoverride |
◆ mText
wxString PluginDataViewTextRenderer::mText |
|
private |
The documentation for this class was generated from the following file: