StageStyle.TOOLKIT_DECORATED
Thiago Milczarek Sayão
thiago.sayao at gmail.com
Fri Jan 27 17:21:26 UTC 2023
Looking further into it, seems this is the way to go:
https://github.com/openjdk/jfx/pull/594
Em qui., 26 de jan. de 2023 às 21:08, Thiago Milczarek Sayão <
thiago.sayao at gmail.com> escreveu:
> I have begun to implement a StageStyle variation called TOOLKIT_DECORATED
> (better naming welcome).
>
> It would be JavaFX's version of:
> https://docs.gtk.org/gtk4/class.HeaderBar.html
>
> The goal is to allow a Toolkit decorated window that accepts controls
> inside the decoration such as a "hamburger menu", tabs (like firefox) or
> anything else.
>
> On Linux it would depend on:
> https://docs.gtk.org/gdk3/method.Window.begin_move_drag.html
>
> That's because the Window Manager would block moving it within desktop
> constraints, unless using this function.
>
> It would auto-style (as modena does) buttons and other controls inside it.
>
> I don't promise I will ever finish this, because I do it for fun and I
> have no time for fun :)
>
> I know I have to do a feature proposal and discussion and It might not be
> accepted.
>
> Cheers
> -- Thiago.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-dev/attachments/20230127/7c17d939/attachment-0001.htm>
More information about the openjfx-dev
mailing list