Window manipulations

Discuss GUI programming with the RapaGUI plugin here
Post Reply
User avatar
mrupp
Posts: 147
Joined: Sun Jan 31, 2021 7:44 pm
Location: Switzerland
Contact:

Window manipulations

Post by mrupp »

Hi there

I'm implementing an Arexx port for my RapaGUI based "SonosController" and am trying to follow these guidelines here:
https://wiki.amigaos.net/wiki/UI_Style_ ... x_Commands

Just to make sure that I'm not missing something, could you please confirm that the following analysis is correct:

MOVEWINDOW --> not possbile, Window.Left and .Top are readonly
SIZEWINDOW --> not possbile, window.Width and .Height are readonly
CHANGEWINDOW --> not possbile, same reasons
WINDOWTOFRONT --> not possible (or is it?)
WINDOWTOBACK --> not possible (or is it?)
ACTIVATEWINDOW --> possible: moai.Set("mainWindow", "activate", True)
ZOOMWINDOW --> not possible (or is it?)
UNZOOMWINDOWS --> not possible (or is it?)

Also there are no means to iconify or uniconify a window, correct?

Thanks for your help,
Michael
User avatar
airsoftsoftwair
Posts: 5446
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Window manipulations

Post by airsoftsoftwair »

mrupp wrote: Mon Jan 15, 2024 1:21 pm MOVEWINDOW --> not possbile, Window.Left and .Top are readonly
Yes, but it's on my to do list, see here: viewtopic.php?t=3742
mrupp wrote: Mon Jan 15, 2024 1:21 pm SIZEWINDOW --> not possbile, window.Width and .Height are readonly
CHANGEWINDOW --> not possbile, same reasons
WINDOWTOFRONT --> not possible (or is it?)
WINDOWTOBACK --> not possible (or is it?)
ZOOMWINDOW --> not possible (or is it?)
UNZOOMWINDOWS --> not possible (or is it?)

Also there are no means to iconify or uniconify a window, correct?
Yes, looks like those aren't possible. Feel free to file feature requests :)
User avatar
mrupp
Posts: 147
Joined: Sun Jan 31, 2021 7:44 pm
Location: Switzerland
Contact:

Re: Window manipulations

Post by mrupp »

Yes, looks like those aren't possible. Feel free to file feature requests :)
Yes, please consider this a feature request to allow the following window manipulations for some next version of RapaGUI:

- make Window.Left, .Top, .Width and .Height settable
- method to bring a window to the front
- method to send a window to the back
- method to zoom a window (like clicking a window's zoom gadget)
- method to unzoom a window (like clicking a window's zoom gadget once more)
- method to get a window's zoom state (not sure if there exists something like this)
- method to iconify a window
- method to uniconify a window
- method to get a window's iconification state

Sidenote: most of these methods are needed to create proper default functions when implementing an ARexx port according to these guidelines:
https://wiki.amigaos.net/wiki/UI_Style_ ... x_Commands

Cheers,
Michael
User avatar
airsoftsoftwair
Posts: 5446
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Window manipulations

Post by airsoftsoftwair »

Ok, I'll see what I can do.
Post Reply