]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/gtk/_misc.py
reSWIGged
[wxWidgets.git] / wxPython / src / gtk / _misc.py
index cf25f3fbb55fc67584b1d7171d815d031955830b..b47baf4d0e851b5a33593b514971102cb063e0f9 100644 (file)
@@ -5661,12 +5661,23 @@ class Clipboard(_core.Object):
         """
         UsePrimarySelection(self, bool primary=True)
 
         """
         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)
 
         """
         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
     def Get(*args, **kwargs):
         """
         Get() -> Clipboard