[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-openjfx-dev
Subject:    Re: StageStyle.TOOLKIT_DECORATED
From:       Thiago_Milczarek_SayĆ£o <thiago.sayao () gmail ! com>
Date:       2023-01-27 17:21:26
Message-ID: CAAP_wunh8F3kdUFRixRtJevbMyLw-2YE01T=1ritBsQA9VTu2w () mail ! gmail ! com
[Download RAW message or body]

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 =C3=A0s 21:08, Thiago Milczarek Say=C3=A3o <
thiago.sayao@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.
>

[Attachment #3 (text/html)]

<div dir="ltr"><div>Looking further into it, seems this is the way to \
go:</div><div><a href="https://github.com/openjdk/jfx/pull/594">https://github.com/openjdk/jfx/pull/594</a></div><div><br></div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">Em qui., 26 de jan. de 2023 Ć s \
21:08, Thiago Milczarek SayĆ£o &lt;<a \
href="mailto:thiago.sayao@gmail.com">thiago.sayao@gmail.com</a>&gt; \
escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>I \
have begun to implement a StageStyle variation called TOOLKIT_DECORATED (better \
naming welcome).</div><div><br></div><div>It would be JavaFX&#39;s version \
of:<br></div><div><a href="https://docs.gtk.org/gtk4/class.HeaderBar.html" \
target="_blank">https://docs.gtk.org/gtk4/class.HeaderBar.html</a></div><div><br></div><div>The \
goal is to allow a Toolkit decorated window that accepts controls inside the \
decoration such as a &quot;hamburger menu&quot;, tabs (like firefox) or anything \
else.</div><div><br></div><div>On Linux it would depend on:</div><div><a \
href="https://docs.gtk.org/gdk3/method.Window.begin_move_drag.html" \
target="_blank">https://docs.gtk.org/gdk3/method.Window.begin_move_drag.html</a></div><div><br></div><div>That&#39;s \
because the Window Manager would block moving it within desktop constraints, unless \
using this function.</div><div><br></div><div>It would auto-style (as modena does) \
buttons and other controls inside it.</div><div><br></div><div>I don&#39;t promise I \
will ever finish this, because I do it for fun and I have no time for fun \
:)</div><div><br></div><div>I know I have to do a feature proposal and discussion and \
It might not be accepted.<br></div><div><br></div><div>Cheers</div><div>-- \
Thiago.<br></div><div><div><div></div></div></div></div> </blockquote></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic