[Gambas-user] Making a taskbar with Gambas 3
Benoit Minisini
gambas at ...1...
Tue Sep 30 00:37:12 CEST 2008
This is possible now, thanks to the changes in the gb.desktop component from
revision #1617.
1) The DesktopWindow class now allows to change the Minimized, Maximized,
FullScreen, Sticky state of a top-level window.
2) The new DesktopWatcher class allows to watch the following things:
- Active window change.
- Current virtual desktop change.
- Virtual desktop name change.
- Number of virtual desktops change.
- Desktop width/height change.
- Window more/resize change.
- Window name (title) change.
- Window icon change.
- Window state change.
Not everything is finished and engraved in the marble, but all these features
are enough to implement a taskbar, a pager, and to manage virtual desktops.
The only thing that is missing is something to make a system tray.
With that last thing, you will be able to make a full desktop environment
entirely in Gambas, except the window manager. Such a beast is something
complex, so at the moment using an already existing and reliable one is a
better solution.
Enjoy it!
--
Benoit Minisini
More information about the User
mailing list