System.Windows.Forms.Clipboard.ContainsText

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 7

Example 1

Project: OWASP-ZSC Source File: ironpython_clipboard.py
Function: get_clipboard_text
def GetClipboardText():
    text = ""
    if cb.ContainsText():
        text = cb.GetText()

    return text

Example 2

Project: databus Source File: ironpython_clipboard.py
Function: get_clipboard_text
def GetClipboardText():
    text=""
    if cb.ContainsText():
        text=cb.GetText()

    return text