X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e4a7bbfc1ebf7434b7c291e6fb4a060dcd9b0aee..3ef86e32ddee8d77078b1e18affa3cadcdc420d2:/wxPython/src/gtk/controls.py diff --git a/wxPython/src/gtk/controls.py b/wxPython/src/gtk/controls.py index d7cee29ee4..a034fc1a45 100644 --- a/wxPython/src/gtk/controls.py +++ b/wxPython/src/gtk/controls.py @@ -604,6 +604,9 @@ class wxTextAttrPtr : delfunc(self) except: pass + def Init(self, *_args, **_kwargs): + val = controlsc.wxTextAttr_Init(self, *_args, **_kwargs) + return val def SetTextColour(self, *_args, **_kwargs): val = controlsc.wxTextAttr_SetTextColour(self, *_args, **_kwargs) return val @@ -613,6 +616,21 @@ class wxTextAttrPtr : def SetFont(self, *_args, **_kwargs): val = controlsc.wxTextAttr_SetFont(self, *_args, **_kwargs) return val + def SetAlignment(self, *_args, **_kwargs): + val = controlsc.wxTextAttr_SetAlignment(self, *_args, **_kwargs) + return val + def SetTabs(self, *_args, **_kwargs): + val = controlsc.wxTextAttr_SetTabs(self, *_args, **_kwargs) + return val + def SetLeftIndent(self, *_args, **_kwargs): + val = controlsc.wxTextAttr_SetLeftIndent(self, *_args, **_kwargs) + return val + def SetRightIndent(self, *_args, **_kwargs): + val = controlsc.wxTextAttr_SetRightIndent(self, *_args, **_kwargs) + return val + def SetFlags(self, *_args, **_kwargs): + val = controlsc.wxTextAttr_SetFlags(self, *_args, **_kwargs) + return val def HasTextColour(self, *_args, **_kwargs): val = controlsc.wxTextAttr_HasTextColour(self, *_args, **_kwargs) return val @@ -622,6 +640,21 @@ class wxTextAttrPtr : def HasFont(self, *_args, **_kwargs): val = controlsc.wxTextAttr_HasFont(self, *_args, **_kwargs) return val + def HasAlignment(self, *_args, **_kwargs): + val = controlsc.wxTextAttr_HasAlignment(self, *_args, **_kwargs) + return val + def HasTabs(self, *_args, **_kwargs): + val = controlsc.wxTextAttr_HasTabs(self, *_args, **_kwargs) + return val + def HasLeftIndent(self, *_args, **_kwargs): + val = controlsc.wxTextAttr_HasLeftIndent(self, *_args, **_kwargs) + return val + def HasRightIndent(self, *_args, **_kwargs): + val = controlsc.wxTextAttr_HasRightIndent(self, *_args, **_kwargs) + return val + def HasFlag(self, *_args, **_kwargs): + val = controlsc.wxTextAttr_HasFlag(self, *_args, **_kwargs) + return val def GetTextColour(self, *_args, **_kwargs): val = controlsc.wxTextAttr_GetTextColour(self, *_args, **_kwargs) if val: val = wxColourPtr(val) ; val.thisown = 1 @@ -634,6 +667,21 @@ class wxTextAttrPtr : val = controlsc.wxTextAttr_GetFont(self, *_args, **_kwargs) if val: val = wxFontPtr(val) ; val.thisown = 1 return val + def GetAlignment(self, *_args, **_kwargs): + val = controlsc.wxTextAttr_GetAlignment(self, *_args, **_kwargs) + return val + def GetTabs(self, *_args, **_kwargs): + val = controlsc.wxTextAttr_GetTabs(self, *_args, **_kwargs) + return val + def GetLeftIndent(self, *_args, **_kwargs): + val = controlsc.wxTextAttr_GetLeftIndent(self, *_args, **_kwargs) + return val + def GetRightIndent(self, *_args, **_kwargs): + val = controlsc.wxTextAttr_GetRightIndent(self, *_args, **_kwargs) + return val + def GetFlags(self, *_args, **_kwargs): + val = controlsc.wxTextAttr_GetFlags(self, *_args, **_kwargs) + return val def IsDefault(self, *_args, **_kwargs): val = controlsc.wxTextAttr_IsDefault(self, *_args, **_kwargs) return val @@ -724,6 +772,9 @@ class wxTextCtrlPtr(wxControlPtr): val = controlsc.wxTextCtrl_GetDefaultStyle(self, *_args, **_kwargs) if val: val = wxTextAttrPtr(val) return val + def GetStyle(self, *_args, **_kwargs): + val = controlsc.wxTextCtrl_GetStyle(self, *_args, **_kwargs) + return val def XYToPosition(self, *_args, **_kwargs): val = controlsc.wxTextCtrl_XYToPosition(self, *_args, **_kwargs) return val @@ -1205,4 +1256,40 @@ def wxTextAttr_Combine(*_args, **_kwargs): cvar = controlsc.cvar wxDefaultValidator = wxValidatorPtr(controlsc.cvar.wxDefaultValidator) +wxTE_NO_VSCROLL = controlsc.wxTE_NO_VSCROLL +wxTE_AUTO_SCROLL = controlsc.wxTE_AUTO_SCROLL +wxTE_READONLY = controlsc.wxTE_READONLY +wxTE_MULTILINE = controlsc.wxTE_MULTILINE +wxTE_PROCESS_TAB = controlsc.wxTE_PROCESS_TAB +wxTE_LEFT = controlsc.wxTE_LEFT +wxTE_CENTER = controlsc.wxTE_CENTER +wxTE_RIGHT = controlsc.wxTE_RIGHT +wxTE_CENTRE = controlsc.wxTE_CENTRE +wxTE_RICH = controlsc.wxTE_RICH +wxTE_PROCESS_ENTER = controlsc.wxTE_PROCESS_ENTER +wxTE_PASSWORD = controlsc.wxTE_PASSWORD +wxTE_AUTO_URL = controlsc.wxTE_AUTO_URL +wxTE_NOHIDESEL = controlsc.wxTE_NOHIDESEL +wxTE_DONTWRAP = controlsc.wxTE_DONTWRAP +wxTE_LINEWRAP = controlsc.wxTE_LINEWRAP +wxTE_WORDWRAP = controlsc.wxTE_WORDWRAP +wxTE_RICH2 = controlsc.wxTE_RICH2 +wxTEXT_ATTR_TEXT_COLOUR = controlsc.wxTEXT_ATTR_TEXT_COLOUR +wxTEXT_ATTR_BACKGROUND_COLOUR = controlsc.wxTEXT_ATTR_BACKGROUND_COLOUR +wxTEXT_ATTR_FONT_FACE = controlsc.wxTEXT_ATTR_FONT_FACE +wxTEXT_ATTR_FONT_SIZE = controlsc.wxTEXT_ATTR_FONT_SIZE +wxTEXT_ATTR_FONT_WEIGHT = controlsc.wxTEXT_ATTR_FONT_WEIGHT +wxTEXT_ATTR_FONT_ITALIC = controlsc.wxTEXT_ATTR_FONT_ITALIC +wxTEXT_ATTR_FONT_UNDERLINE = controlsc.wxTEXT_ATTR_FONT_UNDERLINE +wxTEXT_ATTR_FONT = controlsc.wxTEXT_ATTR_FONT +wxTEXT_ATTR_ALIGNMENT = controlsc.wxTEXT_ATTR_ALIGNMENT +wxTEXT_ATTR_LEFT_INDENT = controlsc.wxTEXT_ATTR_LEFT_INDENT +wxTEXT_ATTR_RIGHT_INDENT = controlsc.wxTEXT_ATTR_RIGHT_INDENT +wxTEXT_ATTR_TABS = controlsc.wxTEXT_ATTR_TABS +wxTEXT_ALIGNMENT_DEFAULT = controlsc.wxTEXT_ALIGNMENT_DEFAULT +wxTEXT_ALIGNMENT_LEFT = controlsc.wxTEXT_ALIGNMENT_LEFT +wxTEXT_ALIGNMENT_CENTRE = controlsc.wxTEXT_ALIGNMENT_CENTRE +wxTEXT_ALIGNMENT_CENTER = controlsc.wxTEXT_ALIGNMENT_CENTER +wxTEXT_ALIGNMENT_RIGHT = controlsc.wxTEXT_ALIGNMENT_RIGHT +wxTEXT_ALIGNMENT_JUSTIFIED = controlsc.wxTEXT_ALIGNMENT_JUSTIFIED wxEVT_COMMAND_TOGGLEBUTTON_CLICKED = controlsc.wxEVT_COMMAND_TOGGLEBUTTON_CLICKED