Login  Register

NEWT : dialog frame and transparent frame

Posted by DAO on Jun 25, 2013; 11:09am
URL: https://forum.jogamp.org/NEWT-dialog-frame-and-transparent-frame-tp4029449.html

Hello (again)

I am trying to make somekind of tooltip effect (using NEWT).

So far I made a new frame undecorated over the main frame and display what I want in it.
But I still have 2 problems :

- first it has it's own button in the system toolbar which I don't want, it should be a child of the main frame. like a dialog frame, they don't have any system bar button associated either.

- second, the frame is opaque, I am displaying a small icon (a warning/alert/ok icon) but it doesn't make very nice since the background of my tooltip frame is not transparent. The doc says it's possible (http://jogamp.org/deployment/jogamp-next/javadoc/jogl/javadoc/com/jogamp/newt/Window.html)
but I haven't found any method to achieve this.
Maybe it's my system too, i don't know ?it's XFCE 4.10.

Any solutions ?

Thanks