Jump to content


Photo

[Help] Focus the Renoise window from the tool window.

focus renoise window

  • Please log in to reply
No replies to this topic

#1 Raul (ulneiz)

Raul (ulneiz)

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 1031 posts
  • Gender:Male
  • Location:Spain

Posted 24 July 2017 - 10:47

I have a tool with a window. I have been looking at this documentation. Is there any way to focus the Renoise window from the tool window?

 

Doc info:

-------- Functions

-- Expand the window over the entire screen, without hiding menu bars, 
-- docks and so on.
renoise.app().window:maximize()

-- Minimize the window to the dock or taskbar, depending on the OS.
renoise.app().window:minimize()

-- "un-maximize" or "un-minimize" the window, or just bring it to front.
renoise.app().window:restore()

-- Select/enable one of the global view presets, to memorize/restore
-- the user interface 'layout'.
renoise.app().window:select_preset(preset_index) 

.....etc

Something like that renoise.app().window:focus() ??? (focus the window of renoise)
 
What I intend to build is the idea and turn between the window of renoise and the window of the tool, without having to close the tool, through keyboard commands.
 
The round-and-turn between windows using keyboard commands makes it easier to use a tool. The goal is to not have to close the tool to return to the Renoise window and that the tool window remains in the foreground.
 
Is there any way?
 
Thanks!

:excl: Development of my tool: GT16-Colors

 

:excl: My API wishlist R3.1 (updated 24 July 2017):

Spoiler

 

:excl: My Renoise 3.1 wishlist (updated 26 September 2017):

Spoiler