Jump to content


Photo

Toggle Disk Browser Visibility, how?


  • Please log in to reply
7 replies to this topic

#1 esaruoho

esaruoho

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 2678 posts
  • Gender:Male
  • Location:Kontula, Helsinki, Finland
  • Interests://Varying Interests//

Posted 04 January 2018 - 21:19

Hi, how do I toggle the disk browser visibility or instrument box visibility or instrument details visibility?

 


http://lackluster.org | on Bandcamp | on YouTube | on Facebook | on Spotify | on iTunes | on TiDAL | on Soundcloud | 

http://twitter.com/esaruoho | http://esaruoho.tumblr.com | GitHubesaruoho@gmail.com | 

| macOS 10.13 High Sierra | MacBook Pro 2.8 GHz Intel Core i7 / 16 Gb 1600 MHz DDR 3 |

| http://renoise.com/tools/paketti | BTC: 1BoZ9rvb8wT7dFNyVPwSX7DLj3stNo7844 | http://paypal.me/esaruoho |

| Latent Impulse Tracker/Scream Tracker 3/Schism Tracker <-> Renoise fanatic |

More API functions, please! ;) http://forum.renoise.com/index.php/topic/26329-the-api-wishlist-thread/page-3#entry240266

#2 Raul (ulneiz)

Raul (ulneiz)

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

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

Posted 04 January 2018 - 22:07

Hi, how do I toggle the disk browser visibility or instrument box visibility or instrument details visibility?

-- Diskbrowser Panel.
renoise.app().window.disk_browser_is_visible, _observable
  -> [boolean]
  
-- InstrumentBox.
renoise.app().window.instrument_box_is_visible, _observable
  -> [boolean]

-- Instrument Editor detaching.
renoise.app().window.instrument_editor_is_detached, _observable
  -> [boolean]

The information is in Renoise.Application.API.lua

 

In a function, check if it is false, then equal to true:

function disk_browser_visible()
  if ( renoise.app().window.disk_browser_is_visible == false ) then
    renoise.app().window.disk_browser_is_visible = true
  end
end

Edited by Raul (ulneiz), 04 January 2018 - 22:10.

:excl: Development of my tools: KangarooX120SamRenderPhraseTouch  |  GT16-Colors (old)

 

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

Spoiler

 

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

Spoiler

#3 m.arthur

m.arthur

    Super Advanced Member

  • Normal Members
  • PipPipPipPip
  • 134 posts
  • Gender:Male
  • Location:Portland, Oregon
  • Interests:EBM, IDM, industrial, radiophonic & beyond

Posted 04 January 2018 - 22:33

Erm, isn't there just a little arrow box on the UI for toggling their visibility? Why all the code above?


old-school industrial music:  dead when i found her

 


#4 Raul (ulneiz)

Raul (ulneiz)

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

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

Posted 04 January 2018 - 22:51

Erm, isn't there just a little arrow box on the UI for toggling their visibility? Why all the code above?

 

I guess he is in the process of building a tool, since this forum is about the scripting API, not about the Renoise interface...


Edited by Raul (ulneiz), 04 January 2018 - 22:52.

  • m.arthur likes this

:excl: Development of my tools: KangarooX120SamRenderPhraseTouch  |  GT16-Colors (old)

 

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

Spoiler

 

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

Spoiler

#5 esaruoho

esaruoho

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 2678 posts
  • Gender:Male
  • Location:Kontula, Helsinki, Finland
  • Interests://Varying Interests//

Posted 04 January 2018 - 23:08

query, are there API methods for resizing the size of instrument box + disk browser? or the volume scopes? not just changing them visible=true/false

Erm, isn't there just a little arrow box on the UI for toggling their visibility? Why all the code above?

 

hi, i asked this on the Tec: Scripting API Development Q&A forum, which is for Renoise API function calls done using LUA. I'm attempting to automate the opening and closing of these from midicontrols and keyboard shortcuts, but Renoise3 changed a great deal post-Renoise2.8, unfortunately, which meant that some of the api functions changed and my tool (ezmaximizespectrum for instance) stopped working. I'm still looking to replicate it using Renoise3.1. 


Edited by esaruoho, 04 January 2018 - 23:08.

http://lackluster.org | on Bandcamp | on YouTube | on Facebook | on Spotify | on iTunes | on TiDAL | on Soundcloud | 

http://twitter.com/esaruoho | http://esaruoho.tumblr.com | GitHubesaruoho@gmail.com | 

| macOS 10.13 High Sierra | MacBook Pro 2.8 GHz Intel Core i7 / 16 Gb 1600 MHz DDR 3 |

| http://renoise.com/tools/paketti | BTC: 1BoZ9rvb8wT7dFNyVPwSX7DLj3stNo7844 | http://paypal.me/esaruoho |

| Latent Impulse Tracker/Scream Tracker 3/Schism Tracker <-> Renoise fanatic |

More API functions, please! ;) http://forum.renoise.com/index.php/topic/26329-the-api-wishlist-thread/page-3#entry240266

#6 Raul (ulneiz)

Raul (ulneiz)

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

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

Posted 04 January 2018 - 23:36

query, are there API methods for resizing the size of instrument box + disk browser? or the volume scopes? not just changing them visible=true/false

 

I'm not 100% sure, but I do not think so. It is not possible to change the size. If possible, it would be in the document Renoise.Application.API.lua. You can have control of the size of your tool, if you use a floating window, using the Viewbuilder, but I suppose it is far from his purposes.


:excl: Development of my tools: KangarooX120SamRenderPhraseTouch  |  GT16-Colors (old)

 

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

Spoiler

 

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

Spoiler

#7 m.arthur

m.arthur

    Super Advanced Member

  • Normal Members
  • PipPipPipPip
  • 134 posts
  • Gender:Male
  • Location:Portland, Oregon
  • Interests:EBM, IDM, industrial, radiophonic & beyond

Posted 05 January 2018 - 05:31

I guess he is in the process of building a tool, since this forum is about the scripting API, not about the Renoise interface...

 

oh, my bad! I clicked on this post from the sidebar and had no idea which subforum it was in, apologies!


old-school industrial music:  dead when i found her

 


#8 Raul (ulneiz)

Raul (ulneiz)

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

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

Posted 05 January 2018 - 19:53

oh, my bad! I clicked on this post from the sidebar and had no idea which subforum it was in, apologies!

 

Quiet, I already guessed. Sometimes happens...  :D


:excl: Development of my tools: KangarooX120SamRenderPhraseTouch  |  GT16-Colors (old)

 

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

Spoiler

 

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

Spoiler