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

Re: Console Button



Erik Mouw wrote:

> >> There are no simple gtk or gdk functions for this, you have to use Xlib
> >> functions: XRaiseWindow() and XLowerWindow().
> >
> > sorry, but if you want to raise and lower some windows ...... you can use :
> >
> > gdk_window_lower(your_widget->window); and
> > gdk_window_raise(your_widget->window);
> >
> > which are doing exactly the same as XRAISE and XLOWER, but inside gtk. I think
> > it's cleaner ....
>
> That's correct, but they only work with your own (GTK) windows, not with
> the other windows on your desktop. The original poster wanted to raise the
> terminal window from which his application started.

that's exactly what went to my mind, when I pressed on the "Send" Button ......

sorry for this.

Anyway, I hope this helped someone :-(

Laurent



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