X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/70ee369088ef1d54628883a1da7c20b1796d5b94..ddeca22ce86e16e0d67e1a7dd2102c8251ab4792:/wxPython/src/gtk/_misc.py diff --git a/wxPython/src/gtk/_misc.py b/wxPython/src/gtk/_misc.py index cf25f3fbb5..b47baf4d0e 100644 --- a/wxPython/src/gtk/_misc.py +++ b/wxPython/src/gtk/_misc.py @@ -5661,12 +5661,23 @@ class Clipboard(_core.Object): """ 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