See a screenshot attached in the end of this message.
Works better in Icewm than in JWM.
Description
You can drag files from your filemanager on the "drop-area" in the top left corner.
Then that file is added as a button to the Panel.
To remove a button, right-click on it.
The icons for that file are automatically detected by their mime-types.
Also the run-action is determined by mime-types, so you also can drag documents, not only executables.
Self-scripted Plugings
A special thing about this Panel is, that it can be extended by selfwritten plugins.
Look at /usr/local/GtkBasic-Panel/panel/
You have a folder "MyButtons"
The file in it looks like this:
Code: Select all
//-- this adds some space before your Box
addexpander_MAIN()
//-- this box will hold your buttons --
createbox_MAIN("box_MyButtons")
msg1_MyButtons = "show calendar"
//-- button 1 -- arguments: box , name , imagefile , tooltip --
createbutton_MAIN("box_MyButtons" , "button1_MyButtons" , "panel/MyButtons/date.png" , msg1_MyButtons)
sub MyButtons_mainsub()
if event = "GDK_BUTTON_RELEASE" then
if widget = "button1_MyButtons" then
print "button1_MyButtons was clicked"
runprog_MAIN("minixcal")
end if
end if
end sub
It creates the "Calendar" button beside the clock.
To use it as a base for an own plugin, copy that folder as "Whatever".
Then rename MyButtons.gtb" to "Whatever.gtb".
And in this file, replace all words "MyButtons" with "Whatever".
Now your Plugin will work after a restart of the Panel (you must kill it to stop).
Important: every variable must have a unique name to avoid problems with variables from other plugings.
So you should use:
for n_MyPlugin = 0 to 10
instead of
for n = 0 to 10
The Plugin "MessageLabel" is also quite simple.
It is a replacement for "Freememapplett".
Look at it to see, how to run external commands and receive their return-values (like the free diskspace).
So you could quickly build your own information-label, that updates every minute or so.
Download
I attach a dotpup of the Panel.
You also will need GtkBasic:
http://dotpups.de/puppy3/dotpups/Progra ... ic-003.pup
Tip
to force to use a different Gtk-Theme, edit the file:
/root/.GtkBasic-Panel/gtkrcenv
If you prefer black, set it to:
Code: Select all
export GTK2_RC_FILES="/usr/share/themes/Black Plastic/gtk-2.0/gtkrc"
http://www.gnome-look.org/content/show. ... tent=74078
Mark