reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -41,6 +41,23 @@ class Panel(_core.Window):
|
||||
"""
|
||||
return _windows_.Panel_InitDialog(*args, **kwargs)
|
||||
|
||||
def GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
|
||||
|
||||
Get the default attributes for this class. This is useful if
|
||||
you want to use the same font or colour in your own control as
|
||||
in a standard control -- which is a much better idea than hard
|
||||
coding specific colours or fonts which might look completely out
|
||||
of place on the users system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of the
|
||||
returned font. See SetWindowVariant for more about this.
|
||||
"""
|
||||
return _windows_.Panel_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||
|
||||
class PanelPtr(Panel):
|
||||
def __init__(self, this):
|
||||
@@ -55,6 +72,22 @@ def PrePanel(*args, **kwargs):
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
def Panel_GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
Panel_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
|
||||
|
||||
Get the default attributes for this class. This is useful if
|
||||
you want to use the same font or colour in your own control as
|
||||
in a standard control -- which is a much better idea than hard
|
||||
coding specific colours or fonts which might look completely out
|
||||
of place on the users system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of the
|
||||
returned font. See SetWindowVariant for more about this.
|
||||
"""
|
||||
return _windows_.Panel_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
class ScrolledWindow(Panel):
|
||||
@@ -171,6 +204,23 @@ class ScrolledWindow(Panel):
|
||||
"""GetTargetWindow(self) -> Window"""
|
||||
return _windows_.ScrolledWindow_GetTargetWindow(*args, **kwargs)
|
||||
|
||||
def GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
|
||||
|
||||
Get the default attributes for this class. This is useful if
|
||||
you want to use the same font or colour in your own control as
|
||||
in a standard control -- which is a much better idea than hard
|
||||
coding specific colours or fonts which might look completely out
|
||||
of place on the users system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of the
|
||||
returned font. See SetWindowVariant for more about this.
|
||||
"""
|
||||
return _windows_.ScrolledWindow_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||
|
||||
class ScrolledWindowPtr(ScrolledWindow):
|
||||
def __init__(self, this):
|
||||
@@ -185,6 +235,22 @@ def PreScrolledWindow(*args, **kwargs):
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
def ScrolledWindow_GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
ScrolledWindow_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
|
||||
|
||||
Get the default attributes for this class. This is useful if
|
||||
you want to use the same font or colour in your own control as
|
||||
in a standard control -- which is a much better idea than hard
|
||||
coding specific colours or fonts which might look completely out
|
||||
of place on the users system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of the
|
||||
returned font. See SetWindowVariant for more about this.
|
||||
"""
|
||||
return _windows_.ScrolledWindow_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
STAY_ON_TOP = _windows_.STAY_ON_TOP
|
||||
@@ -407,6 +473,23 @@ class Frame(TopLevelWindow):
|
||||
"""DoMenuUpdates(self, Menu menu=None)"""
|
||||
return _windows_.Frame_DoMenuUpdates(*args, **kwargs)
|
||||
|
||||
def GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
|
||||
|
||||
Get the default attributes for this class. This is useful if
|
||||
you want to use the same font or colour in your own control as
|
||||
in a standard control -- which is a much better idea than hard
|
||||
coding specific colours or fonts which might look completely out
|
||||
of place on the users system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of the
|
||||
returned font. See SetWindowVariant for more about this.
|
||||
"""
|
||||
return _windows_.Frame_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||
|
||||
class FramePtr(Frame):
|
||||
def __init__(self, this):
|
||||
@@ -421,6 +504,22 @@ def PreFrame(*args, **kwargs):
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
def Frame_GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
Frame_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
|
||||
|
||||
Get the default attributes for this class. This is useful if
|
||||
you want to use the same font or colour in your own control as
|
||||
in a standard control -- which is a much better idea than hard
|
||||
coding specific colours or fonts which might look completely out
|
||||
of place on the users system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of the
|
||||
returned font. See SetWindowVariant for more about this.
|
||||
"""
|
||||
return _windows_.Frame_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
class Dialog(TopLevelWindow):
|
||||
@@ -474,6 +573,23 @@ class Dialog(TopLevelWindow):
|
||||
"""EndModal(self, int retCode)"""
|
||||
return _windows_.Dialog_EndModal(*args, **kwargs)
|
||||
|
||||
def GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
|
||||
|
||||
Get the default attributes for this class. This is useful if
|
||||
you want to use the same font or colour in your own control as
|
||||
in a standard control -- which is a much better idea than hard
|
||||
coding specific colours or fonts which might look completely out
|
||||
of place on the users system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of the
|
||||
returned font. See SetWindowVariant for more about this.
|
||||
"""
|
||||
return _windows_.Dialog_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||
|
||||
class DialogPtr(Dialog):
|
||||
def __init__(self, this):
|
||||
@@ -488,6 +604,22 @@ def PreDialog(*args, **kwargs):
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
def Dialog_GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
Dialog_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
|
||||
|
||||
Get the default attributes for this class. This is useful if
|
||||
you want to use the same font or colour in your own control as
|
||||
in a standard control -- which is a much better idea than hard
|
||||
coding specific colours or fonts which might look completely out
|
||||
of place on the users system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of the
|
||||
returned font. See SetWindowVariant for more about this.
|
||||
"""
|
||||
return _windows_.Dialog_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
class MiniFrame(Frame):
|
||||
@@ -663,6 +795,23 @@ class StatusBar(_core.Window):
|
||||
"""GetBorderY(self) -> int"""
|
||||
return _windows_.StatusBar_GetBorderY(*args, **kwargs)
|
||||
|
||||
def GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
|
||||
|
||||
Get the default attributes for this class. This is useful if
|
||||
you want to use the same font or colour in your own control as
|
||||
in a standard control -- which is a much better idea than hard
|
||||
coding specific colours or fonts which might look completely out
|
||||
of place on the users system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of the
|
||||
returned font. See SetWindowVariant for more about this.
|
||||
"""
|
||||
return _windows_.StatusBar_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||
|
||||
class StatusBarPtr(StatusBar):
|
||||
def __init__(self, this):
|
||||
@@ -677,6 +826,22 @@ def PreStatusBar(*args, **kwargs):
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
def StatusBar_GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
StatusBar_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
|
||||
|
||||
Get the default attributes for this class. This is useful if
|
||||
you want to use the same font or colour in your own control as
|
||||
in a standard control -- which is a much better idea than hard
|
||||
coding specific colours or fonts which might look completely out
|
||||
of place on the users system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of the
|
||||
returned font. See SetWindowVariant for more about this.
|
||||
"""
|
||||
return _windows_.StatusBar_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
SP_NOBORDER = _windows_.SP_NOBORDER
|
||||
@@ -978,6 +1143,23 @@ class SplitterWindow(_core.Window):
|
||||
"""GetNeedUpdating(self) -> bool"""
|
||||
return _windows_.SplitterWindow_GetNeedUpdating(*args, **kwargs)
|
||||
|
||||
def GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
|
||||
|
||||
Get the default attributes for this class. This is useful if
|
||||
you want to use the same font or colour in your own control as
|
||||
in a standard control -- which is a much better idea than hard
|
||||
coding specific colours or fonts which might look completely out
|
||||
of place on the users system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of the
|
||||
returned font. See SetWindowVariant for more about this.
|
||||
"""
|
||||
return _windows_.SplitterWindow_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||
|
||||
class SplitterWindowPtr(SplitterWindow):
|
||||
def __init__(self, this):
|
||||
@@ -997,6 +1179,22 @@ def PreSplitterWindow(*args, **kwargs):
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
def SplitterWindow_GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
SplitterWindow_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
|
||||
|
||||
Get the default attributes for this class. This is useful if
|
||||
you want to use the same font or colour in your own control as
|
||||
in a standard control -- which is a much better idea than hard
|
||||
coding specific colours or fonts which might look completely out
|
||||
of place on the users system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of the
|
||||
returned font. See SetWindowVariant for more about this.
|
||||
"""
|
||||
return _windows_.SplitterWindow_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
class SplitterEvent(_core.NotifyEvent):
|
||||
"""This class represents the events generated by a splitter control."""
|
||||
def __repr__(self):
|
||||
|
Reference in New Issue
Block a user