StageStyle.TOOLKIT_DECORATED

Thiago Milczarek Sayão thiago.sayao at gmail.com
Fri Jan 27 00:08:31 UTC 2023


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/20230126/2e532347/attachment-0001.htm>


More information about the openjfx-dev mailing list