User Tools

Site Tools


macros:example:changeworkspacepages

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

macros:example:changeworkspacepages [2020/04/13 09:54] (current)
icke_siegen created
Line 1: Line 1:
 +Example
  
 +====== Pages - Change Workspace Pages ======
 +
 +^ by: | Sebastian Beutel, April 2020 |
 +^ published: | here |
 +^ description:​ | change page of the workspace area (the small area with 12 buttons) |
 +^ remarks: | Handle with care 8-) |
 +
 +{{tag>​change handle page workspace}}
 +
 +==== functions ====
 +  * [[:​macros:​function:​Handles.Workspaces.ChangePage]]
 + 
 +===== Code =====
 +<code xml changeWorkspacePage.xml>​
 +<?xml version="​1.0"​ encoding="​utf-8"?>​
 + 
 +<​avolites.macros>​
 +  ​
 +  <macro id="​Wiki.Macros.Change.Workspaces.0"​ name="​Workspaces Pg1">​
 +    <​description></​description>​
 +    <​sequence>​
 +      <​step>​Handles.Workspaces.ChangePage(0)</​step>​
 +    </​sequence>​
 +  </​macro>​
 +  ​
 +  <macro id="​Wiki.Macros.Change.Workspaces.1"​ name="​Workspaces Pg2">​
 +    <​description></​description>​
 +    <​sequence>​
 +      <​step>​Handles.Workspaces.ChangePage(1)</​step>​
 +    </​sequence>​
 +  </​macro>​
 +  ​
 +  <macro id="​Wiki.Macros.Change.Workspaces.2"​ name="​Workspaces Pg3">​
 +    <​description></​description>​
 +    <​sequence>​
 +      <​step>​Handles.Workspaces.ChangePage(2)</​step>​
 +    </​sequence>​
 +  </​macro>​
 +  ​
 +  <macro id="​Wiki.Macros.Change.Workspaces.3"​ name="​Workspaces Pg4">​
 +    <​description></​description>​
 +    <​sequence>​
 +      <​step>​Handles.Workspaces.ChangePage(3)</​step>​
 +    </​sequence>​
 +  </​macro>​
 +
 +</​avolites.macros>​
 +</​code>​
 +
 +
 +===== Explanation =====
 +
 +This explains the functional steps within the sequence. For all the other XML details please refer to [[:​macros:​formats_and_syntax#​xml_format|Formats and syntax]]
 +
 +Using the function ChangePage() like in other macros for other windows this changes the page of the workspaces area.
 +
 +===== How to use it =====
 +
 +  - [[:​macros:​deploying|make this macro available]]
 +  - fire one of these macros to toggle the page or the workspace area
 +
 +
 +~~DISCUSSION~~
macros/example/changeworkspacepages.txt ยท Last modified: 2020/04/13 09:54 by icke_siegen