Hi,

[EMAIL PROTECTED] writes:

> How do I make a given window raise to the top of the stack of windows?

if you use DirectFB directly, you call Window::RaiseToTop().

> If my directfb application is a gtk application and from that I spawn
> another directfb application (multi-application core here) which uses
> the whole screen and in the meanwhile my gtk application has opened
> another window/widget (say, for argument's sake, a dialog), how can I
> (programmatically) raise that window/widget to be on top of the other
> (full screen) application's window?

you can use gdk_window_raise() which will call Window::RaiseToTop for
you if it is called on a toplevel GDK window. You can also use
gdk_window_set_modal_hint() which raises the DirectFB window to the
upper stacking class.

> Bonus points if you can tell me how to use gdk_window_set_opacity()
> given a GtkWindow (or some object derived from it).  i.e. how do you
> get the GdkWindow to set the opacity on given a GtkWindow object?

best solution is probably to connect to the widgets realize signal and
set the opacity of the GtkWindow's GdkWindow from there.

BTW: These kind of questions should better be asked on the
directfb-users mailing-list.


Salut, Sven


-- 
Info:  To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-dev" as subject.

Reply via email to