fltk-grid
A grid widget for fltk-rs.
Usage
[]
= "1.4.15"
= "0.4"
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.
- set_widget(): specifies the widget to be placed, along with in which cell (row, column). The values can be a range (0..1).
- set_widget_ext(): adds to set_widget the row span and column span, in addition to the Grid Alignment.
- 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):