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
Metadata
Release files for kivy-garden.simpletablelayout 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| kivy_garden.simpletablelayout-0.1.tar.gz | 4.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kivy_garden.simpletablelayout-0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.9 kB
Release files / kivy_garden.simpletablelayout-0.1.tar.gz
| Download URL | kivy_garden.simpletablelayout-0.1.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c56986d8ead78e9c14ceb1fc1f34fab22141de1574bc8ae56fdcd8dee4ca2ab5
|
|
BLAKE2b-256 checksum How to use checksums |
4b5ab2a2db0ecc8a589581b93d1023ebc35bac992fb23ae63aeef2e690fa7389
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.13
|
Release files / kivy_garden.simpletablelayout-0.1-py3-none-any.whl
| Download URL | kivy_garden.simpletablelayout-0.1-py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
af50ee27616cec682eb01b581e8ca7edc15318ace90021475d2bbc6d3461257b
|
|
BLAKE2b-256 checksum How to use checksums |
195eaa23d001dab66415e8de5902ef72438181bf1602355357ce0f57f03df0d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.13
|