Here are the examples of the python api System.Windows.Forms.Clipboard.ContainsText taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
2 Examples
3
Example 1
def GetClipboardText():
text = ""
if cb.ContainsText():
text = cb.GetText()
return text
3
Example 2
def GetClipboardText():
text=""
if cb.ContainsText():
text=cb.GetText()
return text