You are not logged in.
I am trying to make a simple panel ( like bmpanel or tint2 for example ) and I need a way to get the list of running applications.
I am working with qt4, and I know a little bit of xlib. It would be great if someone could point me to some tutorial or documentation...
It would be also great to know how to minimize and maximize windows, how to kill them, and other tasks that a normal panel does
i think i should use some xlib function( atoms maybe ), but i didnt found anything useful , i have the source code of bmpanel but its worth nothing without a good documentation ... can someone please point me to one... ( maybe there is some function in qt4.5 that can help me ? )
Offline
You could always check out fspanel. It is pretty small and it is easy to follow the code to get a hint how to minimize, maximize, get a list of running applications and other useful things.
You might need to read the EWMH specification and the [url=]ICCCM[/url] specification. Not everything in these two specifications are for panels, a lot of the content in these two specifications are for window managers. But this is of course if you want to create a standardize application.
Not sure how much of the Xlib you will need but there are some other interesting howto's here: http://www.tronche.com/gui/x/
freedesktop.org contains a lot of specifications that might be useful: http://www.freedesktop.org/wiki/Specifications
Last edited by PJ (2009-05-27 16:34:50)
Offline
You can also look into the code of existing panels...
But honestly, I don't think many people would like a qt4 panel... unless it will rock really hard
Last edited by moljac024 (2009-05-27 16:35:47)
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
The fspanel site doesn't contain much so in case you need the source you could download it from here: source for fspanel
fspanel is pretty much the one I looked at before starting to write my own. My own is still a work in progress and it will be done when it is done. I think I went to far when I started writing my own GUI toolkit...
Offline
thanks for the help people
@PJ
I also started to write a gui toolkit but i get lost in xlib and never really finished the project, I have around 1500 lines of code maybe it could help u...
@moljac024
I know that people usualy dont like qt, but its because every( ok almost every) qt application uses kde-libs , but i want to make a pure qt4 application and show the people the beauty of it without kde
Offline
I also started to write a gui toolkit but i get lost in xlib and never really finished the project, I have around 1500 lines of code maybe it could help u...
I am not writing it purely by myself, I am using the rendering engine from Openbox but that is of course made as a plugin so it would be possible to replace if I ever will get tired of Openbox. I have a total of 5000 lines of code in C++ and the GUI toolkit API is heavily influenced by Java Swing. Thanks for your offer but I am not sure if I will need your code but it is always useful to look and analyze other peoples code just to improve your own coding skills.
Offline
PJ, this toolkit of yours actually sounds quite neat, do you have a home on the web for this project?
Offline
PJ, this toolkit of yours actually sounds quite neat, do you have a home on the web for this project?
No, I have not put it on the web. I do have some plans for that but it will be when it is a bit more usable, now it is not even alpha quality.
Offline
No problem, I wish you luck with it though
Offline