Top Panel
From Openmoko
Contents |
Overview
The Top Panel contains global menus and panel applications.
Usage Cases
- Used in all layouts.
Appearance & Interaction
- 1) Main Menu -- Used for launching all applications. Technically, the Main Menu is also a Panel Application.
- 2) Panel Applications -- Small Applications used to indicate status and state of various components.
Main Menu Launcher Area
On Tap
- opens the Main Menu application in stylus mode.
Panel Applications Area
On Tap
- (panel defined action is performed)
On Tap with Hold
- Popup Menu is opened with the following structure:
| Item | Action | Constraints |
|---|---|---|
| (panel application defined) | This is defined by the panel application |
Constraints
- Panel applications are not allowed to poll frequently for status updates.
- Instead, where possible, they need to be event driven (e.g. only when the time really changes, update the display of the time).
Architectural Details
- The Top Panel is an unmodified Matchbox-panel-2 Application
Implementation Recommendations
- Matchbox-panel-2 applications are built as shared libraries and downloaded by the panel on startup. Libraries are to be put in
${libdir}/matchbox-panel/
UI Icons
Download the top panel icons: click here
- Battery folder
- Battery.png -- Background of the Battery shape
- Battery_01.png~Battery_05.png -- Battery status
- Battery_Plug.png -- Battery charger status
- Battery_Warning.png -- Low battery
- SignStrength folder
- SignalStrength_01.png~SignalStrength_05.png -- Signal status
- SignalStrength25g_01.png~SignalStrength25g_05.png -- 2.5G Signal status
- Bluetooth_Off.png --Bluetooth Off
- Bluetooth_ON.png --Bluetooth On
- GPS.png --GPS Icon
- Usb.png --USB Icon
- ClockBG .png -- Background of the clock Area
UI Position
Cross-Widget Interactions
- Matchbox-panel-2 is a Gtk+-based panel, hence we can use everything Gtk+.
Unresolved Issues
- How to deal with additional plugins, when there are too many to display
- How to deal with install/uninstall plugins, i.e. we might need to add an "reread plugins" call to matchbox-panel-2
Questions and Answers
(None)



