I'm trying to make somewhat of a desktop widget application using this API. I'm trying to force my org.gnome.gtk.Window instance to stay on the desktop using the setKeepAbove and setKeepBelow methods, but they seemingly have no effect. Am I doing something wrong? Is there another (or better) way to go about trying to do this?
Code:
public static void main(String[] args) {
Gtk.init(args);
Window window = new Window();
window.setKeepAbove(false);
window.setKeepBelow(true);
window.setDefaultSize(400,600);
window.setDecorated(false);
window.showAll();
Gtk.main();
}
I'm trying to make somewhat of a desktop widget application using this API. I'm trying to force my org.gnome.gtk.Window instance to stay on the desktop using the setKeepAbove and setKeepBelow methods, but they seemingly have no effect. Am I doing something wrong? Is there another (or better) way to go about trying to do this?
Code: