#include <table.h>
Inheritance diagram for wftk::Table:
Public Member Functions | |
bool | pack (ScreenArea *, unsigned x, unsigned y, unsigned w=1, unsigned h=1) |
returns true if packing succeeded, false on overlap | |
void | insertRow (unsigned index) |
widgets spanning this row are stretched across it, all other cells start empty | |
void | insertColumn (unsigned index) |
widgets spanning this column are stretched across it, all other cells start empty | |
void | remove (ScreenArea *) |
remove a widget | |
void | clear () |
remove all widgets | |
ScreenArea * | child (unsigned x, unsigned y) const |
returns the child which owns this cell, if any | |
PackingInfo::Expander | getRowPackingInfo (unsigned) const |
get prefered, minimum sizes for a row | |
PackingInfo::Expander | getColumnPackingInfo (unsigned) const |
get prefered, minimum sizes for a column | |
Protected Member Functions | |
virtual void | handleResize (Uint16 w, Uint16 h) |
Calculate new shape for shaped widgets, call to setShape() after a resize. | |
virtual void | setPackingInfo () |
recalculate the object's prefered size |
This document is licensed under the terms of the GNU Free Documentation License and may be freely distributed under the conditions given by this license.