wxPython/wxGlade-0.9.1/clipboard.py
def check(*formats):
    "check whether wxglade formats are on the clipboard"
    if not wx.TheClipboard.IsOpened():
        try:
            wx.TheClipboard.Open()
            if "widget" in formats and wx.TheClipboard.IsSupported(widget_data_format): return True
            if "window" in formats and wx.TheClipboard.IsSupported(window_data_format): return True
            if "sizer"  in formats and wx.TheClipboard.IsSupported(sizer_data_format):  return True
        finally:
            wx.TheClipboard.Close()
    return False
check whether wxglade formats are on the clipboard
check whether wxglade formats are on the clipboard
check whether wxglade formats are on the clipboard
def check(*formats):
    if not wx.TheClipboard.IsOpened():
        try:
            wx.TheClipboard.Open()
            if "widget" in formats and wx.TheClipboard.IsSupported(widget_data_format): return True
            if "window" in formats and wx.TheClipboard.IsSupported(window_data_format): return True
            if "sizer"  in formats and wx.TheClipboard.IsSupported(sizer_data_format):  return True
        finally:
            wx.TheClipboard.Close()
    return False
def check ( * formats ) : if not wx . TheClipboard . IsOpened ( ) : try : wx . TheClipboard . Open ( ) if "widget" in formats and wx . TheClipboard . IsSupported ( widget_data_format ) : return True if "window" in formats and wx . TheClipboard . IsSupported ( window_data_format ) : return True if "sizer" in formats and wx . TheClipboard . IsSupported ( sizer_data_format ) : return True finally : wx . TheClipboard . Close ( ) return False
check whether wxglade formats are on the clipboard
check whether wxglade formats are on the clipboard
"check whether wxglade formats are on the clipboard"