projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup
[wxWidgets.git]
/
wxPython
/
src
/
mac
/
_controls.py
diff --git
a/wxPython/src/mac/_controls.py
b/wxPython/src/mac/_controls.py
index 6259eb64134b69317a3330857f9f4e39f9395b6b..51b5b5f98dc642f2e009ea8375d25d6b5be086a8 100644
(file)
--- a/
wxPython/src/mac/_controls.py
+++ b/
wxPython/src/mac/_controls.py
@@
-2104,8
+2104,6
@@
class ScrollBar(_core.Control):
"""
SetScrollbar(self, int position, int thumbSize, int range, int pageSize,
bool refresh=True)
"""
SetScrollbar(self, int position, int thumbSize, int range, int pageSize,
bool refresh=True)
-
- Sets the scrollbar properties of a built-in scrollbar.
"""
return _controls_.ScrollBar_SetScrollbar(*args, **kwargs)
"""
return _controls_.ScrollBar_SetScrollbar(*args, **kwargs)
@@
-2634,6
+2632,7
@@
def RadioButton_GetClassDefaultAttributes(*args, **kwargs):
SL_HORIZONTAL = _controls_.SL_HORIZONTAL
SL_VERTICAL = _controls_.SL_VERTICAL
SL_HORIZONTAL = _controls_.SL_HORIZONTAL
SL_VERTICAL = _controls_.SL_VERTICAL
+SL_TICKS = _controls_.SL_TICKS
SL_AUTOTICKS = _controls_.SL_AUTOTICKS
SL_LABELS = _controls_.SL_LABELS
SL_LEFT = _controls_.SL_LEFT
SL_AUTOTICKS = _controls_.SL_AUTOTICKS
SL_LABELS = _controls_.SL_LABELS
SL_LEFT = _controls_.SL_LEFT
@@
-3051,7
+3050,12
@@
class BookCtrlBaseEvent(_core.NotifyEvent):
self.thisown = 1
del newobj.thisown
def GetSelection(*args, **kwargs):
self.thisown = 1
del newobj.thisown
def GetSelection(*args, **kwargs):
- """GetSelection(self) -> int"""
+ """
+ GetSelection(self) -> int
+
+ Returns item index for a listbox or choice selection event (not valid
+ for a deselection).
+ """
return _controls_.BookCtrlBaseEvent_GetSelection(*args, **kwargs)
def SetSelection(*args, **kwargs):
return _controls_.BookCtrlBaseEvent_GetSelection(*args, **kwargs)
def SetSelection(*args, **kwargs):
@@
-3220,7
+3224,7
@@
class NotebookPage(wx.Panel):
"""
There is an old (and apparently unsolvable) bug when placing a
window with a nonstandard background colour in a wx.Notebook on
"""
There is an old (and apparently unsolvable) bug when placing a
window with a nonstandard background colour in a wx.Notebook on
- wxGTK, as the notbooks's background colour would always be used
+ wxGTK
1
, as the notbooks's background colour would always be used
when the window is refreshed. The solution is to place a panel in
the notbook and the coloured window on the panel, sized to cover
the panel. This simple class does that for you, just put an
when the window is refreshed. The solution is to place a panel in
the notbook and the coloured window on the panel, sized to cover
the panel. This simple class does that for you, just put an
@@
-3354,6
+3358,10
@@
class Choicebook(BookCtrlBase):
"""IsVertical(self) -> bool"""
return _controls_.Choicebook_IsVertical(*args, **kwargs)
"""IsVertical(self) -> bool"""
return _controls_.Choicebook_IsVertical(*args, **kwargs)
+ def GetChoiceCtrl(*args, **kwargs):
+ """GetChoiceCtrl(self) -> Choice"""
+ return _controls_.Choicebook_GetChoiceCtrl(*args, **kwargs)
+
def DeleteAllPages(*args, **kwargs):
"""DeleteAllPages(self) -> bool"""
return _controls_.Choicebook_DeleteAllPages(*args, **kwargs)
def DeleteAllPages(*args, **kwargs):
"""DeleteAllPages(self) -> bool"""
return _controls_.Choicebook_DeleteAllPages(*args, **kwargs)
@@
-5872,10
+5880,6
@@
class PyControl(_core.Control):
"""base_ShouldInheritColours(self) -> bool"""
return _controls_.PyControl_base_ShouldInheritColours(*args, **kwargs)
"""base_ShouldInheritColours(self) -> bool"""
return _controls_.PyControl_base_ShouldInheritColours(*args, **kwargs)
- def base_ApplyParentThemeBackground(*args, **kwargs):
- """base_ApplyParentThemeBackground(self, Colour c)"""
- return _controls_.PyControl_base_ApplyParentThemeBackground(*args, **kwargs)
-
def base_GetDefaultAttributes(*args, **kwargs):
"""base_GetDefaultAttributes(self) -> VisualAttributes"""
return _controls_.PyControl_base_GetDefaultAttributes(*args, **kwargs)
def base_GetDefaultAttributes(*args, **kwargs):
"""base_GetDefaultAttributes(self) -> VisualAttributes"""
return _controls_.PyControl_base_GetDefaultAttributes(*args, **kwargs)