[openbox] submenus

Brock Johnson wildefire at isentry.homelinux.org
Thu Jan 29 07:24:32 EST 2004


Christian Timmer wrote:

>I'm sure that my question has been asked several times: I have no idea
>how to create submenus inside the openbox menus.
>
>It would be very nice if someone can post me an example.
>  
>
You just need to nest the <menu> tags like the following

<menu id="games-menu" label="Games">
  <item label="Tetris">
    <action name="Execute"><execute>ksirtet</execute></action>
  </item>
  <menu id="FPS" label="FPS">
    <item label="Quake">
      <action name="Execute"><execute>quake</execute></action>
    </item>
  </menu>
</menu>

HTH,
Brock




More information about the openbox mailing list