fltk-grid
A grid widget for fltk-rs.
Usage
[]
= "1.3"
= "0.1"
Basically, the crate contains a single type Grid which has 4 main non-constructor methods:
- set_layout(): specifies the number of rows and columns of the grid.
- insert(): specifies the widget to be inserted, along with in which cell (row, column).
- insert_ext(): adds to insert the row span and column span.
- resize(): determines how the grid is resized.
- debug(): shows the cell outline and their numbering, useful for prototyping.
use ;
use Grid;
Example
Run cargo run --example form
Setting Grid::debug(true):