!
! Root Menu
!
[start] (rootmenu)
  [title] (root menu)
  [item]  (xterm)     {xterm}

  [submenu] (editors)
    [item] (emacs) {emacs}
    [item] (vi)    {xterm -e vi}
  [end]

  [submenu] (graphics)
    [item] (the gimp) {gimp}
    [item] (xpaint)   {xpaint}
    [item] (xv)       {xv}
  [end]

  [submenu] (multimedia)
    [item] (mplayer)    {gmplayer}
    [item] (realplayer) {realplay}
    [item] (xmms)       {xmms}
  [end]

  [submenu] (networking)
    [item] (netscape) {netscape}
    [item] (mozilla)  {mozilla}
    [item] (licq)     {licq}
    [item] (ncftp)    {xterm -e ncftp} 
    [item] (telnet)   {xterm -e telnet}
  [end]

  [sub] (styles) <!stylesdir.pl>

  [submenu] (desktops)
    [item] (go to desktop 1) "gotodesktop(0)"
    [item] (go to desktop 2) "gotodesktop(1)"
    [item] (go to desktop 3) "gotodesktop(2)"
    [item] (go to desktop 4) "gotodesktop(3)"
  [end]
  
  [restart] (restart)
  [exit]    (exit)
[end]

!
! Window Menu
!
[start] (window)
  [title]   (\n)

  [submenu] (settings)
    [checkbox=MAXIMIZED]      @FALSE (maximized)        "maximize"         @TRUE (maximized)        "unmaximize"
    [checkbox=SHADED]         @FALSE (shaded)           "shade"            @TRUE (shaded)           "unshade"
    [checkbox=STICKY]         @FALSE (sticky)           "sticky"           @TRUE (sticky)           "unsticky"
    [checkbox=ALWAYSONTOP]    @FALSE (always on top)    "alwaysontopon"    @TRUE (always on top)    "alwaysontopoff"
    [checkbox=ALWAYSATBOTTOM] @FALSE (always at bottom) "alwaysatbottomon" @TRUE (always at bottom) "alwaysatbottomoff"
    [checkbox=DECORTITLE]     @FALSE (titlebar)         "decortitleon"     @TRUE (titlebar)         "decortitleoff"
    [checkbox=DECORHANDLE]    @FALSE (handlebar)        "decorhandleon"    @TRUE (handlebar)        "decorhandleoff"
    [checkbox=DECORBORDER]    @FALSE (border)           "decorborderon"    @TRUE (border)           "decorborderoff"
    [checkbox=DECORALL]       @FALSE (all decorations)  "decorallon"       @TRUE (all decorations)  "decoralloff"
  [end]

  [sub]     (process info) <!procinfo.pl -host \"\h\" -pid \"\p\">

  [submenu] (desktop functions)
    [sub] (join desktop) <join_desk>
    [start] (join_desk)
      [item] (desktop 1) "joindesktop(0)"
      [item] (desktop 2) "joindesktop(1)"
      [item] (desktop 3) "joindesktop(2)"
      [item] (desktop 4) "joindesktop(3)"
    [end]

    [sub] (part desktop) <part_desk>
    [start] (part_desk)
      [item] (desktop 1) "partdesktop(0)"
      [item] (desktop 2) "partdesktop(1)"
      [item] (desktop 3) "partdesktop(2)"
      [item] (desktop 4) "partdesktop(3)"
    [end]

    [sub] (send to desktop) <send_desk>
    [start] (send_desk)
      [item] (desktop 1) "partcurrentjoindesktop(0)"
      [item] (desktop 2) "partcurrentjoindesktop(1)"
      [item] (desktop 3) "partcurrentjoindesktop(2)"
      [item] (desktop 4) "partcurrentjoindesktop(3)"
    [end]

    [item] (join all)     "joinalldesktops"
    [item] (part all)     "partalldesktopsexceptcurrent"
    [item] (part current) "partcurrentdesktop"
  [end]
  
  [item]    (raise)        "raise"
  [item]    (lower)        "lower"
  [item]    (kill client)  "kill"
  [item]    (close)        "close"
[end]
