Method: TotalSpaces.add_desktops
- Defined in:
- lib/totalspaces.rb
.add_desktops(number_to_add) ⇒ Object
Add desktops There can be at most 16 desktops Returns true on success, false if number_to_add was zero, or would result in more than 16 desktops. The on_layout_change notification will be sent if a changed was made.
TotalSpaces.add_desktops(1)
384 385 386 |
# File 'lib/totalspaces.rb', line 384 def add_desktops(number_to_add) TSApi.tsapi_addDesktops(number_to_add) end |