import wx._core
__docfilter__ = wx._core.__DocFilter(globals())
-__all__ += [name for name in dir(wx._core)
- if not (name.startswith('__') and name.endswith('__'))]
+__all__ += [name for name in dir(wx._core) if not name.startswith('_')]
wxFD_FILE_MUST_EXIST,
wxFD_MULTIPLE,
wxFD_CHANGE_DIR,
+ wxFD_PREVIEW,
wxFD_DEFAULT_STYLE,
};
DocDeclStr(
int , GetSelection(),
- "Get the index of teh currently selected item.", "");
+ "Get the index of the currently selected item.", "");
DocDeclStr(
wxString , GetStringSelection(),
"Do the 2nd phase and create the GUI control.", "");
+ DocDeclStr(
+ int , GetAlignment() const,
+ "Get the control alignment (left/right/centre, top/bottom/centre)", "");
+
+
+ DocDeclStr(
+ static wxString , GetLabelText(const wxString& label),
+ "Get the string without mnemonic characters ('&')", "");
+
+
+ DocDeclStr(
+ wxString , GetLabelText() const,
+ "Get just the text of the label, without mnemonic characters ('&')", "");
+
+
+
DocDeclStr(
void , Command(wxCommandEvent& event),
"Simulates the effect of the user issuing a command to the item.
wxID_HELP_COMMANDS,
wxID_HELP_PROCEDURES,
wxID_HELP_CONTEXT,
+ wxID_HELP_INDEX,
+ wxID_HELP_SEARCH,
wxID_CLOSE_ALL,
wxID_PREFERENCES,
"Decrements this object so that both of its dimensions are not greater
than the corresponding dimensions of the size.", "");
+
+ DocDeclStr(
+ void , Scale(float xscale, float yscale),
+ "Scales the dimensions of this object by the given factors.", "");
+
DocDeclStr(
void, Set(int w, int h),
"Set both width and height.", "");
// current is NULL?
static void DontCreateOnDemand();
+ // log the count of repeating messages instead of logging the messages
+ // multiple times
+ static void SetRepetitionCounting(bool bRepetCounting = true);
+
+ // gets duplicate counting status
+ static bool GetRepetitionCounting();
+
// trace mask (see wxTraceXXX constants for details)
static void SetTraceMask(wxTraceMask ulMask);
int , GetTextCtrlProportion() const,
"Returns the proportion between the text control and the picker.", "");
+
+ DocDeclStr(
+ void , SetPickerCtrlProportion(int prop),
+ "Sets the proportion value of the picker.", "");
+
+ DocDeclStr(
+ int , GetPickerCtrlProportion() const,
+ "Gets the proportion value of the picker.", "");
+
+
DocDeclStr(
bool , IsTextCtrlGrowable() const,
"", "");
virtual bool SetTransparent(byte alpha);
virtual bool CanSetTransparent();
+
+
+ DocDeclStr(
+ virtual wxWindow *, GetDefaultItem() const,
+ "Get the default child of this parent, i.e. the one which is activated
+by pressing <Enter> such as the OK button on a wx.Dialog.", "");
+
+ DocDeclStr(
+ virtual wxWindow *, SetDefaultItem(wxWindow * child),
+ "Set this child as default, return the old default.", "");
+
+ DocDeclStr(
+ virtual void , SetTmpDefaultItem(wxWindow * win),
+ "Set this child as temporary default", "");
+
+ DocDeclStr(
+ virtual wxWindow *, GetTmpDefaultItem() const,
+ "Return the temporary default item, which can be None.", "");
+
};
-
- DocDeclStr(
- virtual wxWindow *, GetDefaultItem() const,
- "Get the default child of this parent, i.e. the one which is activated
-by pressing <Enter> such as the OK button on a wx.Dialog.", "");
-
- DocDeclStr(
- virtual wxWindow *, SetDefaultItem(wxWindow * child),
- "Set this child as default, return the old default.", "");
-
- DocDeclStr(
- virtual void , SetTmpDefaultItem(wxWindow * win),
- "Set this child as temporary default", "");
-
- DocDeclStr(
- virtual wxWindow *, GetTmpDefaultItem() const,
- "Return the temporary default item, which can be None.", "");
-
-
DocDeclAStr(
virtual bool , Navigate(int flags = wxNavigationKeyEvent::IsForward),
bool PopupMenu(wxMenu *menu, const wxPoint& pos=wxDefaultPosition);
-
+ DocDeclStr(
+ virtual bool , HasMultiplePages() const,
+ "", "");
+
%extend {
DocStr(GetHandle,
wxString GetRowLabelValue( int row );
wxString GetColLabelValue( int col );
wxColour GetGridLineColour();
+
+ virtual wxPen GetDefaultGridLinePen();
+ virtual wxPen GetRowGridLinePen(int row);
+ virtual wxPen GetColGridLinePen(int col);
+
+
wxColour GetCellHighlightColour();
int GetCellHighlightPenWidth();
int GetCellHighlightROPenWidth();