GetFont = staticmethod(GetFont)
def GetMetric(*args, **kwargs):
- """GetMetric(int index) -> int"""
+ """GetMetric(int index, Window win=None) -> int"""
return _misc_.SystemSettings_GetMetric(*args, **kwargs)
GetMetric = staticmethod(GetMetric)
return _misc_.SystemSettings_GetFont(*args, **kwargs)
def SystemSettings_GetMetric(*args, **kwargs):
- """SystemSettings_GetMetric(int index) -> int"""
+ """SystemSettings_GetMetric(int index, Window win=None) -> int"""
return _misc_.SystemSettings_GetMetric(*args, **kwargs)
def SystemSettings_HasFeature(*args, **kwargs):
val.thisown = 1
return val
+
+def DrawWindowOnDC(*args, **kwargs):
+ """DrawWindowOnDC(Window window, DC dc) -> bool"""
+ return _misc_.DrawWindowOnDC(*args, **kwargs)
#---------------------------------------------------------------------------
class TipProvider(object):
return _misc_.ArtProvider_GetIcon(*args, **kwargs)
GetIcon = staticmethod(GetIcon)
+ def GetSize(*args, **kwargs):
+ """
+ GetSize(String client, bool platform_dependent=False) -> Size
+
+ Get the size of an icon from a specific Art Client, queries the
+ topmost provider if platform_dependent = false
+ """
+ return _misc_.ArtProvider_GetSize(*args, **kwargs)
+
+ GetSize = staticmethod(GetSize)
def Destroy(*args, **kwargs):
"""Destroy(self)"""
return _misc_.ArtProvider_Destroy(*args, **kwargs)
ART_GO_TO_PARENT = cvar.ART_GO_TO_PARENT
ART_GO_HOME = cvar.ART_GO_HOME
ART_FILE_OPEN = cvar.ART_FILE_OPEN
+ART_FILE_SAVE = cvar.ART_FILE_SAVE
+ART_FILE_SAVE_AS = cvar.ART_FILE_SAVE_AS
ART_PRINT = cvar.ART_PRINT
ART_HELP = cvar.ART_HELP
ART_TIP = cvar.ART_TIP
ART_WARNING = cvar.ART_WARNING
ART_INFORMATION = cvar.ART_INFORMATION
ART_MISSING_IMAGE = cvar.ART_MISSING_IMAGE
+ART_COPY = cvar.ART_COPY
+ART_CUT = cvar.ART_CUT
+ART_PASTE = cvar.ART_PASTE
+ART_DELETE = cvar.ART_DELETE
+ART_UNDO = cvar.ART_UNDO
+ART_REDO = cvar.ART_REDO
+ART_QUIT = cvar.ART_QUIT
+ART_FIND = cvar.ART_FIND
+ART_FIND_AND_REPLACE = cvar.ART_FIND_AND_REPLACE
def ArtProvider_PushProvider(*args, **kwargs):
"""
"""
return _misc_.ArtProvider_GetIcon(*args, **kwargs)
+def ArtProvider_GetSize(*args, **kwargs):
+ """
+ ArtProvider_GetSize(String client, bool platform_dependent=False) -> Size
+
+ Get the size of an icon from a specific Art Client, queries the
+ topmost provider if platform_dependent = false
+ """
+ return _misc_.ArtProvider_GetSize(*args, **kwargs)
+
#---------------------------------------------------------------------------
CONFIG_USE_LOCAL_FILE = _misc_.CONFIG_USE_LOCAL_FILE