]> icculus.org git repositories - dana/openbox.git/commit
Menu parsing updates for plugins.
authorScott Moynes <smoynes@nexus.carleton.ca>
Thu, 17 Jul 2003 01:40:27 +0000 (01:40 +0000)
committerScott Moynes <smoynes@nexus.carleton.ca>
Thu, 17 Jul 2003 01:40:27 +0000 (01:40 +0000)
commit22ff8c587d815c021cad13f46094a31cc79243cf
tree619056a5881cd5836ca0c47ae673fced623c5745
parent5fce782499aa821c3a25bfdbf475066c2c21a7ed
Menu parsing updates for plugins.

FIFO menus are the only plugin that takes advantage of this.
Example:
<menu id="root" label="Openbox 3">
  <menu id="fonk" label="fonk" plugin="fifo_menu">
  </menu>
</menu>

This creates a FIFO ~/.openbox/fifo_menu/fonk to which you can send
menus to. The menus sent to it must be like
<fifo>
  <item>
   etc...
</fifo>

I think. If my memory serves me right.

It is all hideous, but I just wanted to experiment and see if it was
possible.
openbox/menu.c
openbox/menu.h
openbox/plugin.c
openbox/plugin.h
plugins/menu/fifo_menu.c