swc

swc_screen

version 1
an area in which windows may be placed

A screen represents an area in which windows may be placed. It corresponds to one or monitors displaying the same content (in mirror mode).



create_panel(id: new_id<swc_panel>, surface: object<wl_surface>)
Argument
Type
Description
idnew_id<swc_panel>
surfaceobject<wl_surface>

swc_panel

version 2

dock(edge: uint, screen: object<swc_screen>, focus: uint)
Argument
Type
Description
edgeuint
screenobject<swc_screen>allow null
focusuint
set_offset(offset: uint)
Argument
Type
Description
offsetuint
set_y_offset(offset: uint)
Argument
Type
Description
offsetuint
set_strut(size: uint, begin: uint, end: uint)
Argument
Type
Description
sizeuint
beginuint
enduint
docked(length: uint)
Argument
Type
Description
lengthuint
edge { top, bottom, left, right } 
Argument
Value
Description
top0
bottom1
left2
right3

Compositor Support

No compositor support found

Copyright (c) 2013, 2014 Michael Forney

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.