Simple Table Layout – HTML table-like layout that supports rowspan and colspan, built into Kivy Garden.
Project description
Simple Table Layout
Simple Table like Layout that understands rowspan and colspan properties of children (like HTML tables).
Usage (kv):
Example 1:
SimpleTableLayout:
rows: 2
cols: 2
Button:
text: "C1"
colspan: 2
Button:
text: "C2"
Button:
text: "C3"
creates:
###########
# C1 #
###########
# C2 # C3 #
###########
Example 2:
SimpleTableLayout:
rows: 2
cols: 2
Button:
text: "C1"
rowspan: 2
Button:
text: "C2"
Button:
text: "C3"
creates:
###########
# # C2 #
# C1 ######
# # C3 #
###########
Lastly, SimpleTableLayout.cell(row, col) returns widget at that position in the grid.
License
MIT license.
Credits
Author: Jeyson Molina jeyson.mco@gmail.com
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kivy_garden.simpletablelayout-0.1.tar.gz.
File metadata
- Download URL: kivy_garden.simpletablelayout-0.1.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c56986d8ead78e9c14ceb1fc1f34fab22141de1574bc8ae56fdcd8dee4ca2ab5
|
|
| MD5 |
32bdfc05e5eb5e26ae6dec76b09f7581
|
|
| BLAKE2b-256 |
4b5ab2a2db0ecc8a589581b93d1023ebc35bac992fb23ae63aeef2e690fa7389
|
File details
Details for the file kivy_garden.simpletablelayout-0.1-py3-none-any.whl.
File metadata
- Download URL: kivy_garden.simpletablelayout-0.1-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af50ee27616cec682eb01b581e8ca7edc15318ace90021475d2bbc6d3461257b
|
|
| MD5 |
5e6384da9ac3041494deab3370c77840
|
|
| BLAKE2b-256 |
195eaa23d001dab66415e8de5902ef72438181bf1602355357ce0f57f03df0d7
|