Skip to content

vtf video

srccircumflex edited this page Apr 21, 2024 · 7 revisions

↑ vtframework

video

This package contains modules for basic handling of widget arrangements in the window.

The main module is grid. It contains the object of a Cell in the window and the parent Grid object.

Index:

exceptions Error typing.
frame Cell frame object.
geocalc Objects for size calculation and handling.
grid Widget cells and parent grid.
items Data management

Glossary

A Grid contains Cell's that are managed by it. A Grid is also a Cell, so they can be nested.

A Cell is a component of the Grid.

A Widget is carried by a Cell and describes the actual part of the Cell that is responsible for input and output processing.

A Frame (f) can be added to a Cell, this is processed by the Cell and usually reduces the available space for the Widget in the Cell.

A GeoCalculator (gc) is used as a calculator of defined sizes for Grid partitioning and Frame size.

                │                grid-frame-gc               │
                │                                            │
                │    column-gc        ││    column-gc        │
            ┌───│────────────<Grid>───││─────────────────────│───┐
            │fff│fffffffffffffffffffff││fffffffffffffffffffff│fff│
            │fff│fffffffffffffffffffff││fffffffffffffffffffff│fff│
————————————————┌──<Cell>─────────────┐┌──<Cell>─────────────┐fff│
            │fff│fffffffffffffffffffff││fffffffffffffffffffff│fff│
     row-gc │fff│fffffffffffffffffffff││fffffffffffffffffffff│fff│
            │fff│ff┌─<Widget>──────┐ff││ff┌─<Widget>──────┐ff│fff│
g           │fff│ff││—    gc      ││ff││ff││—    gc      ││ff│fff│
r           │fff│ff│               │ff││ff│               │ff│fff│
i           │fff│ff│gc             │ff││ff│gc             │ff│fff│
d           │fff│ff│——             │ff││ff│——             │ff│fff│
-           │fff│ff└──────<Widget>─┘ff││ff└──────<Widget>─┘ff│fff│
f           │fff│fffffffffffffffffffff││fffffffffffffffffffff│fff│
r           │fff│fffffffffffffffffffff││fffffffffffffffffffff│fff│
a    ———————————└───────────<Cell>────┘└───────────<Cell>────┘fff│
m    ———————————┌──<Cell>─────────────┐┌──<Cell>─────────────┐fff│
e           │fff│fffffffffffffffffffff││fffffffffffffffffffff│fff│
-    row-gc │fff│fffffffffffffffffffff││fffffffffffffffffffff│fff│
g           │fff│ff┌─<Widget>──────┐ff││ff┌─<Widget>──────┐ff│fff│
c           │fff│ff││—    gc      ││ff││ff││—    gc      ││ff│fff│
            │fff│ff│               │ff││ff│               │ff│fff│
            │fff│ff│gc             │ff││ff│gc             │ff│fff│
            │fff│ff│——             │ff││ff│——             │ff│fff│
            │fff│ff└──────<Widget>─┘ff││ff└──────<Widget>─┘ff│fff│
            │fff│fffffffffffffffffffff││fffffffffffffffffffff│fff│
            │fff│fffffffffffffffffffff││fffffffffffffffffffff│fff│
————————————————└───────────<Cell>────┘└───────────<Cell>────┘fff│
            │ffffffffffffffffffffffffffffffffffffffffffffffffffff│
            │ffffffffffffffffffffffffffffffffffffffffffffffffffff│
            └────────────────────────────────────────<Grid>──────┘

Date: 24 Apr 2023
Version: 0.1
Author: Adrian Hoefflin [srccircumflex]
Clone this wiki locally