Skip to content

Commit

Permalink
Container example correction
Browse files Browse the repository at this point in the history
  • Loading branch information
rasatpc committed May 21, 2024
1 parent bd42fd7 commit 9f1529b
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions Wiki/Panels/Container/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,20 @@ description: |
{:toc}

This example, I call "Key Panel" because the `Container's` unique options can
be formed into any size, shape and number of buttons. `FvwmButtons` to control
be formed into any pattern, size and number of buttons. `FvwmButtons` to control
many of my functions and application selection in one place.

## Actions

`Containers` are spaces defined that can span multiple `rows` and `columns` or
`Containers` are defined spaces that span multiple `rows` and `columns` or
subdivide a row or column into more rows or columns. This can be useful for
instance if one wants to allocate a certain percentage of space to an element.
Say one wants to `swallow` an XClock and allocate 100% of the width and 80% of
the height to the XClock. This can be defined as such:
instance if one wants to allocate a certain space to elements. Say one wants
to `swallow` an Xclock and Xosview. This can be defined as such:

{% fvwm2rc %}
*FvwmButtons: Rows 5
*FvwmButtons: Columns 1
*FvwmButtons: (1x4, Container)
*FvwmButtons: (Swallow "xclock" 'Exec exec xclock')
*FvwmButtons: (Container(Rows 2, Columns 1)
*FvwmButtons: (1x1, Swallow "xclock" 'Exec exec xclock')
*FvwmButtons: (1x1, Swallow "xosview" 'Exec exec xosview')
*FvwmButtons: (End)
{% endfvwm2rc %}

Expand Down Expand Up @@ -93,7 +91,7 @@ Different command buttons, `Panel` that opens and closes a row of icons or apps,
container.png){:.d-block .mx-auto .img-fluid}

{% fvwm2rc %}
*Expl-3: (2x2, Container(Columns 4))
*Expl-3: (Container(Columns 4))
*Expl-3: (2x2, Panel(left, indicator 48) \
"IconButtons" 'Module FvwmButtons IconButtons')
*Expl-3: (1x1, Icon /move.png, Action Move)
Expand Down

0 comments on commit 9f1529b

Please sign in to comment.