Paul Pratt
August 22nd, 2016, 00:20
Hello all,
I have been looking into a way to minimize a window from a button press. Similar to closing the window with a button press on an icon graphic.
I have set up the graphics, templates, and delved into the develops guides and found the function isMinimized(). This returns true or false only. I haven't found a function that would directly minimize the window similar to the function close().
With isMinimized I can find the state of the window and that's about it.
function onButtonPress()
if window.isMinimized() == false then;
-- something here;
end
end
Looking for that "something here". I tried some ideas with onMenuSelection() and trying to have it work as if I used the radial menu. I haven't given up on that yet, just haven't worked with that either.
Any ideas?
I have been looking into a way to minimize a window from a button press. Similar to closing the window with a button press on an icon graphic.
I have set up the graphics, templates, and delved into the develops guides and found the function isMinimized(). This returns true or false only. I haven't found a function that would directly minimize the window similar to the function close().
With isMinimized I can find the state of the window and that's about it.
function onButtonPress()
if window.isMinimized() == false then;
-- something here;
end
end
Looking for that "something here". I tried some ideas with onMenuSelection() and trying to have it work as if I used the radial menu. I haven't given up on that yet, just haven't worked with that either.
Any ideas?