Benutzer-Werkzeuge

Webseiten-Werkzeuge


python:emenu

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
python:emenu [2009/11/08 19:03] patrickbeckpython:emenu [2014/03/16 18:08] (aktuell) – Externe Bearbeitung 127.0.0.1
Zeile 1: Zeile 1:
 +====== emenu - openmoko program launcher ======
 +
 +This launcher was intended to use it with the hardware keys of the Openmoko phones. You can define own xml files for any of your target actions. Perhaps you will launch a other menu when you push the power or aux button. For example => **pyemenu.py aux.xml**.
 +
 +emenu is written in python and in gtk. 
 +
 +===== Menufile =====
 + 
 +**aux.xml**
 +
 +<code>
 +<?xml version="1.0" ?>
 +<list>
 +    <program
 +        title = "Take Screenshot"
 +        execute = "gpe-scap"
 +        />
 +    <program
 +        title = "Rotate"
 +        execute = "rotate"
 +        />
 +    <program
 +        title = "Platzhalter"
 +        execute = "print 'test'"
 +        />
 +    <program
 +        title = "Platzhalter2"
 +        execute = "print 'test'"
 +        />
 +</list>
 +</code>
 +
 +You can define as many commands as you like. You can change the max value in the program code with the variable **maxlist**. It will be set by default to 5. That will fit good on the display.
 +
 +===== Problems =====
 +
 +It's usable, but it have not the best start time. So i published it in the hope that anybody needs such a tool ;)
 +
 +===== Files =====
 +
 +Python file => http://www.yourse.de/files/pyemenu.py \\   
 +aux menufile => http://www.yourse.de/files/aux.xml
 +
 +===== Images =====
 +
 +{{:python:pyemenu.png?200}}
 +
 +
  
python/emenu.txt · Zuletzt geändert: 2014/03/16 18:08 von 127.0.0.1