def window(self): """ Floating window associated to FX, if it exists. :type: Window or NoneType """ window = reapy.Window(self.functions["GetFloatingWindow"]( self.parent.id, self.index)) if not window._is_defined: window = None return window
def get_main_window(): """ Return main window. Returns ------- window : Window Main window. """ window = reapy.Window(RPR.GetMainHwnd()) return window