Re: 'Raising' windows




Nimrod Zimerman <zimerman@earthling.net> writes:

> Hello.
> 
> Is there a way I could tell a window to raise itself above all other windows
> currently covering it?
> I could really use something like that when having several windows around,
> and one is supposed to always be visible when another is doing something.

  gdk_window_raise (widget->window);
 
> In addition, something that is not very important, just somewhat annoying -
> what's the name of the root window? I want to get the mouse pointer position
> in relation to the root window, and for that purpose I need the root window
> (I assume).

GDK_ROOT_PARENT(). (You need to include <gdk/gdkx.h> to get this)

Regards,
                                        Owen



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]