EXEC_NOHIDE = _misc_.EXEC_NOHIDE
EXEC_MAKE_GROUP_LEADER = _misc_.EXEC_MAKE_GROUP_LEADER
EXEC_NODISABLE = _misc_.EXEC_NODISABLE
+EXEC_NOEVENTS = _misc_.EXEC_NOEVENTS
+EXEC_BLOCK = _misc_.EXEC_BLOCK
def Execute(*args, **kwargs):
"""Execute(String command, int flags=EXEC_ASYNC, Process process=None) -> long"""
return _misc_.ArtProvider_GetIcon(*args, **kwargs)
GetIcon = staticmethod(GetIcon)
+ def GetIconBundle(*args, **kwargs):
+ """
+ GetIconBundle(wxArtID id, wxArtClient client=wxART_OTHER) -> wxIconBundle
+
+ Query the providers for iconbundle with given ID and return it. Return
+ wx.NullIconBundle if no provider provides it.
+ """
+ return _misc_.ArtProvider_GetIconBundle(*args, **kwargs)
+
+ GetIconBundle = staticmethod(GetIconBundle)
def GetSizeHint(*args, **kwargs):
"""
GetSizeHint(String client, bool platform_dependent=False) -> Size
ART_HELP_BROWSER = cvar.ART_HELP_BROWSER
ART_MESSAGE_BOX = cvar.ART_MESSAGE_BOX
ART_BUTTON = cvar.ART_BUTTON
+ART_LIST = cvar.ART_LIST
ART_OTHER = cvar.ART_OTHER
ART_ADD_BOOKMARK = cvar.ART_ADD_BOOKMARK
ART_DEL_BOOKMARK = cvar.ART_DEL_BOOKMARK
"""
return _misc_.ArtProvider_GetIcon(*args, **kwargs)
+def ArtProvider_GetIconBundle(*args, **kwargs):
+ """
+ ArtProvider_GetIconBundle(wxArtID id, wxArtClient client=wxART_OTHER) -> wxIconBundle
+
+ Query the providers for iconbundle with given ID and return it. Return
+ wx.NullIconBundle if no provider provides it.
+ """
+ return _misc_.ArtProvider_GetIconBundle(*args, **kwargs)
+
def ArtProvider_GetSizeHint(*args, **kwargs):
"""
ArtProvider_GetSizeHint(String client, bool platform_dependent=False) -> Size
"""
UsePrimarySelection(self, bool primary=True)
- On platforms supporting it (the X11 based platforms), selects the
- so called PRIMARY SELECTION as the clipboard as opposed to the
- normal clipboard, if primary is True.
+ On platforms supporting it (the X11 based platforms), selects the so
+ called PRIMARY SELECTION as the clipboard as opposed to the normal
+ clipboard, if primary is True. On other platforms all clipboard
+ operations fail when using the primary selection. This allows code
+ supporting the primary selection to be written without ill effects on
+ the other platforms.
"""
return _misc_.Clipboard_UsePrimarySelection(*args, **kwargs)
+ def IsUsingPrimarySelection(*args, **kwargs):
+ """
+ IsUsingPrimarySelection(self) -> bool
+
+ Return true if we're using primary selection
+ """
+ return _misc_.Clipboard_IsUsingPrimarySelection(*args, **kwargs)
+
def Get(*args, **kwargs):
"""
Get() -> Clipboard