X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3f5ec806648ed889749cf582c625fa9a3ebe4636..c75cc2e832791a8d24b97d92491685e8e10e37f3:/wxPython/src/_radio.i?ds=sidebyside diff --git a/wxPython/src/_radio.i b/wxPython/src/_radio.i index 972f260c59..0294f6cf85 100644 --- a/wxPython/src/_radio.i +++ b/wxPython/src/_radio.i @@ -80,10 +80,31 @@ public: // return the item above/below/to the left/right of the given one int GetNextItem(int item, wxDirection dir, long style) const; + // set the tooltip text for a radio item, empty string unsets any tooltip + void SetItemToolTip(unsigned int item, const wxString& text); + + // get the individual items tooltip; returns NULL if none + wxToolTip *GetItemToolTip(unsigned int item) const; + + // set helptext for a particular item, pass an empty string to erase it + void SetItemHelpText(unsigned int n, const wxString& helpText); + + // retrieve helptext for a particular item, empty string means no help text + wxString GetItemHelpText(unsigned int n) const; + +// Hmmm... This is protected on wxMSW. +// virtual int GetItemFromPoint(const wxPoint& pt) const; + // bool IsValid(int n) const; ** not public static wxVisualAttributes GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); + + %property(ColumnCount, GetColumnCount, doc="See `GetColumnCount`"); + %property(Count, GetCount, doc="See `GetCount`"); + %property(RowCount, GetRowCount, doc="See `GetRowCount`"); + %property(Selection, GetSelection, SetSelection, doc="See `GetSelection` and `SetSelection`"); + %property(StringSelection, GetStringSelection, SetStringSelection, doc="See `GetStringSelection` and `SetStringSelection`"); }; @@ -120,6 +141,8 @@ public: static wxVisualAttributes GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); + + %property(Value, GetValue, SetValue, doc="See `GetValue` and `SetValue`"); }; //---------------------------------------------------------------------------