From: Andrew Flegg <andrew@bl...> - 2001-10-15 11:18:15
I've been playing with an idea for a couple of days and thought I'd share
it in case someone wants to implement it ;-)
* It should be possible to indicate one panel to be the
* AppInfo.xml should be able to specify which side of the preferred
panel it wants to be on.
* When running such an app, either auto-run AppletRun or a new file
TaskRun (or something), passing parameters either through the command
line or environment specifying things like:
o Plug handle (as with applets currently)
o X-position of preferred menu position (-1 if panel is left/right)
o Y-position of preferred menu position (-1 if panel is up/down)
o Preferred mouse button for menus
The aim is to start producing RISC OS-y ROX apps.
$ rox --bottom-preferred ~/Choices/iconbar.panel
$ cat /usr/local/apps/PPPdial/AppInfo.xml
<AppRun type="task" position="left"/>
Run /usr/local/apps/PPPdial and AppletRun is called:
AppletRun 4382 -1 96 3
PPPdial can create an icon as appropriate within the GtkPlug (which has
been created on the left of iconbar.panel). When mouse button 3 is clicked
on its icon it can open a menu at (X-mouse position, 96).
When quitting the filer, the iconbar tasks probably wouldn't want to be
saved (unless "restore running apps" is a config option).
Choosing 'PPPdial' was a purposeful example as it may want:
* A control/log window opened by clicking its icon
* Options accessed from its iconbar menu
* Reflect PPP status in its icon
It /could/ be done as an applet (hence reusing AppletRun) but, IMHO,
having to drag applets to the appropriate place is a little messy for an
Andrew Flegg -- mailto:andrew@... | http://www.bleb.org/
Get latest updates about Open Source Projects, Conferences and News.