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
def __str__(self):
return self.Format().encode(wx.GetDefaultPyEncoding())
- Days = property(GetDays,doc="See `GetDays`")
- Hours = property(GetHours,doc="See `GetHours`")
- Milliseconds = property(GetMilliseconds,doc="See `GetMilliseconds`")
- Minutes = property(GetMinutes,doc="See `GetMinutes`")
- Seconds = property(GetSeconds,doc="See `GetSeconds`")
- Weeks = property(GetWeeks,doc="See `GetWeeks`")
+ days = property(GetDays,doc="See `GetDays`")
+ hours = property(GetHours,doc="See `GetHours`")
+ milliseconds = property(GetMilliseconds,doc="See `GetMilliseconds`")
+ minutes = property(GetMinutes,doc="See `GetMinutes`")
+ seconds = property(GetSeconds,doc="See `GetSeconds`")
+ weeks = property(GetWeeks,doc="See `GetWeeks`")
_misc_.TimeSpan_swigregister(TimeSpan)
def TimeSpan_Milliseconds(*args, **kwargs):
"""__ne__(self, DateSpan other) -> bool"""
return _misc_.DateSpan___ne__(*args, **kwargs)
- Days = property(GetDays,SetDays,doc="See `GetDays` and `SetDays`")
- Months = property(GetMonths,SetMonths,doc="See `GetMonths` and `SetMonths`")
- TotalDays = property(GetTotalDays,doc="See `GetTotalDays`")
- Weeks = property(GetWeeks,SetWeeks,doc="See `GetWeeks` and `SetWeeks`")
- Years = property(GetYears,SetYears,doc="See `GetYears` and `SetYears`")
+ days = property(GetDays,SetDays,doc="See `GetDays` and `SetDays`")
+ months = property(GetMonths,SetMonths,doc="See `GetMonths` and `SetMonths`")
+ totalDays = property(GetTotalDays,doc="See `GetTotalDays`")
+ weeks = property(GetWeeks,SetWeeks,doc="See `GetWeeks` and `SetWeeks`")
+ years = property(GetYears,SetYears,doc="See `GetYears` and `SetYears`")
_misc_.DateSpan_swigregister(DateSpan)
def DateSpan_Days(*args, **kwargs):
"""
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