Jump to content


Photo

Change the "title" of show_custom_dialog() with button

title show_custom_dialog()

  • Please log in to reply
2 replies to this topic

#1 Raul (ulneiz)

Raul (ulneiz)

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

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

Posted 09 June 2017 - 23:16

Hi 

 

A question...

 

renoise.app():show_custom_dialog( title, content , key_handler )

 

Is it possible to change the title text with a button and your notifier (the button is inside the tool)? The title is the leftmost name of the top toolbar.

 

 

The button and your notifier:

 

vb:button {

  id = "title_button"

  notifier = function() change_title_tool() end

}

 

The title is a text. I would like to build a status bar, but taking advantage of the top bar. I have already built a lower status bar that works well for any button or other element. But I'm trying to compact my tool to the max.

 

The title may be represented thus: renoise.app():show_custom_dialog(  ' '..tool_name..' - '..tool_status..' ' , content , key_handler )

 

tool_status = a function with return always a text

 

The thing is that it obeys any button or element... Executes any function and that it changes the state (tool_status).

 

This is possible?
 
Thanks!!!

Edited by Raul (ulneiz), 12 June 2017 - 04:23.

: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

#2 joule

joule

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 1487 posts
  • Gender:Not Telling
  • Location:Sweden
  • Interests:music, philosophy, engineering

Posted 10 June 2017 - 08:44

It's not possible to change the title of an open dialogue.



#3 Raul (ulneiz)

Raul (ulneiz)

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

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

Posted 10 June 2017 - 13:31

It's not possible to change the title of an open dialogue.

 

Ok, thanks! The top bar ends up being a dead line, which only serves to move the window with the mouse, showing only the title and close button. It would be great if we had access to it so you can add more buttons, for example.

 

I would gladly put a couple of buttons together with the close button. Make the most of the top bar...


: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