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 < [email protected]> 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. >
