Re: Gtk & Qt issue ..
- From: Havoc Pennington <hp redhat com>
- To: Eriam Schaffter <eriam eriamschaffter info>
- Cc: gnome-hackers gnome org
- Subject: Re: Gtk & Qt issue ..
- Date: Mon, 17 Feb 2003 14:41:23 -0500
On Mon, Feb 17, 2003 at 07:59:13PM +0000, Eriam Schaffter wrote:
>
> I would like to have those features in a Gtk application ..
>
> KWin::setType(test->winId(),NET::Dock);
> KWin::setState(test->winId(),NET::StaysOnTop);
> KWin::setState(test->winId(),Qt::WStyle_NoBorder);
> KWin::setStrut(test->winId(),0,0,65,0);
> KWin::setOnAllDesktops(test->winId(),true);
>
> Would anybody have a tip ?
>
It depends on what the window is and what it's used for how you want
to do that.
If it's a panel, you would just call gtk_window_set_type_hint
(GDK_WINDOW_TYPE_HINT_DOCK), the ontop/noborder/etc. should be
taken care of.
To set the strut you need to use Xlib, gnome-panel has sample code.
Havoc
_______________________________________________
gnome-hackers mailing list
gnome-hackers gnome org
http://mail.gnome.org/mailman/listinfo/gnome-hackers
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]