#include "ntw.h"
Go to the source code of this file.
Functions | |
int | ntw_grid_add_defaults (ntwWidget *parent, ntwWidget *widget, uint16 left, uint16 right, uint16 top, uint16 bottom) |
Add a widget to a grid container with default parameters. | |
int | ntw_grid_add (ntwWidget *container, ntwWidget *widget, uint16 left, uint16 right, uint16 top, uint16 bottom, uint8 xflags, uint8 yflags, uint8 xpad, uint8 ypad) |
Add a widget to a grid container. | |
int | ntw_split_pane_add (ntwWidget *container, ntwWidget *widget, uint8 location) |
Add a widget to a split_pane container. | |
int | ntw_container_add (ntwWidget *container, ntwWidget *widget) |
Add a widget to a container. |
|
Add a widget to a container. This is used for all containers except grids and split panes. For a grid, use either ntw_grid_add() or ntw_grid_add_defaults(). For a split_pane container, use ntw_split_pane_add().
|
|
Add a widget to a grid container. A widget may cover multiple grid cells by specifying coordinates greater than one cell apart. (i.e. 0,2,0,2 would cover four cells.)
|
|
Add a widget to a grid container with default parameters. The default parameters are FLAG_EXPAND | FLAG_FILL and zero padding. A widget may cover multiple grid cells by specifying coordinates greater than one cell apart. (i.e. 0,2,0,2 would cover four cells.)
|
|
Add a widget to a split_pane container.
|