[Kde-java] NETWinInfo class defined in netwm.h (KDE) --- incomplete
implemetation ?
Heinz Meulke
znh at telkomsa.net
Thu Aug 19 03:08:16 CEST 2004
Hi, (don't ask why) I am trying to port a app to Java which I will
hopefully compile natively with gcj
using kdebindings-3.2.3 on gentoo
I am trying to locate the equivalent class, provided by the NETWinInfo
as defined in the kde header netwm.h also missing the NET class
I need to replace with equivalent of the C++ code
<C++ Code>
NETWinInfo *info;
info = new NETWinInfo(qt_xdisplay(),winId(),qt_xrootwin(),NET::WMState);
info->setDesktop(NetWinInfo::OnAllDesktops);
info->setState(NetWinInfo::SkipTaskbar | NetWinInfo::SkipPager,
NetWinInfo::SkipTaskbar | NetWinInfo::SkipPager);
</C++ Code>
what I did to get around the missing classes
<Java Code>
KWin.setOnAllDesktops(mainWindow.winId(),true);
KWin.setState(mainWindow.winId(), ?state?)
</Java Code>
^^^^^^^^^^
problem
according to the documentation it states that these values are valid
for ?state?
<snip documentation>
Possible values are or'ed combinations of NET.Modal,
NET.Sticky, NET.MaxVert, NET.MaxHoriz, NET.Shaded,
NET.SkipTaskbar, NET.SkipPager, NET.Hidden,
NET.FullScreen, NET.KeepAbove, NET.KeepBelow, NET.StaysOnTop
</snip documentation>
if only there was a NET class defined, there is currently no NET class
included with the java-kde bindings
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://mail.kde.org/pipermail/kde-java/attachments/20040819/29e5e9d6/attachment.pgp
More information about the Kde-java
mailing list