File: nest-ws.lua

package info (click to toggle)
ion3-scripts 20050418-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 300 kB
  • ctags: 153
  • sloc: makefile: 18
file content (14 lines) | stat: -rw-r--r-- 595 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
-- Nest workspaces inside Frames.
-- Matthieu Moy <Matthieu.Moy@imag.fr>, February 15th 2005.
-- Public domain.

-- This defines a menu to be used as a submenu for WFrames.
-- Add the line
--       submenu("Attach",           "menuattach"),
-- to the definition defctxmenu("WFrame", { ... })

defmenu("menuattach", {
           menuentry("WIonWS",   "_:attach_new({type=\"WIonWS\"  }):goto()"),           
           menuentry("WFloatWS", "_:attach_new({type=\"WFloatWS\"}):goto()"),           
           menuentry("WPaneWS",  "_:attach_new({type=\"WPaneWS\" }):goto()"),           
        })