pinboard update
Benjamin Rich
benxor at cracksmokingducks.com
Sat Jan 24 06:50:32 CET 2004
I've started harvesting some of the rox-filer (2.1.0) code, namely
pinboard.c and pinboard.h, and putting it in the xfdesktop module
(4.0.3). I think I've managed a fairly successful integration into the
create_fullscreen_window() function to initialize the desktop window
(now also the pinboard base window) although I haven't tested it. Made
all the easier, of course, because the code for this function was
originally appropriated from the pinboard init function in rox-filer =)
I still haven't begun on the other pinboard functions, and their
integration - there seems to be so much infrastructure to just run the
pinboard that I've decided I'll probably just leave the
pinboard-specific functions in their own pinboard.c/h files, and access
them through a modified API.
Now for the fun part - I'm doing this with no prior knowledge of GTK!
'Awesome', I hear you all gasp with confidence and joy. I taught myself
PHP4, C++ and BASIC, so I don't think I'm completely out of my depth -
but it would really really help if anyone with any tips on the code
could send their suggestions. That is - I'll post my code (the main.c/h
modules, and pinboard.c/h modules) to the mailing list (if this is okay)
and if anyone can offer suggestions on it that would really help.
Once I get my feet with the code in xfdesktop/main.c, I'll start doing
all the pinboard work on current CVS versions of xfdesktop.
If anyone would like to help me code the pinboard you are of course
welcome =) Please email me if you'e got some ideas or want to code a
particular bit.
Also, since I am humbly submitting this as the Proper-Type Official XFCE
Pinboard Project (unless there's already one, but it doesn't seem like
there's anything in development), now is your chance to submit feature
requests =) I am envisaging, somewhere down the track, a pinboard with
options for:
-scaling of icons of any size (32/48/64/72/96 etc.) - rox only seems to
support 32x at the moment
-the choice to show all applications running (in all desktops, or only
on the current desktop) that are minimized, or just any and all apps
-alpha-blending on icons
-a better space-finding function for finding available slots for newly
minimized icons to go into - the current function is very basic
-some kind of more powerful management of all the running programs on
the pinboard - perhaps a simple search applet, or colour-coding icons
according to how much CPU the process they're referring to is using
(white -> red border as CPU consumption increases)
-a panel applet like the one in gnome which can be clicked on, and will
display a list of all running programs, separated by their desktop or
status.
Well, I think I've written something suitably long enough now =P
Tell me what you think and if you'd like to be in the project =)
-Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
URL: <http://mail.xfce.org/pipermail/xfce-dev/attachments/20040124/6e3040cd/attachment.pgp>
More information about the Xfce-dev
mailing list