[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbox
Subject:    [openbox] submenus
From:       wildefire () isentry ! homelinux ! org (Brock Johnson)
Date:       2004-01-29 12:24:32
Message-ID: 4018FB80.9020808 () isentry ! homelinux ! org
[Download RAW message or body]

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



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic