19 #ifndef __CANVAS_GRID_H__
20 #define __CANVAS_GRID_H__
43 void set_padding (
double top,
double right = -1.0,
double bottom = -1.0,
double left = -1.0);
44 void set_margin (
double top,
double right = -1.0,
double bottom = -1.0,
double left = -1.0);
50 void place (
Item*,
double x,
double y,
double col_span = 1,
double row_span = 1);
56 void render (
Rect const & area, Cairo::RefPtr<Cairo::Context> context)
const;
void reposition_children()
void set_border_width(double w)
Grid(Item *, Duple const &position)
void set_row_spacing(double s)
void set_border_color(Gtkmm2ext::Color c)
void child_changed(bool bbox_changed)
void set_col_spacing(double s)
void render(Rect const &area, Cairo::RefPtr< Cairo::Context > context) const
void set_margin(double top, double right=-1.0, double bottom=-1.0, double left=-1.0)
void place(Item *, double x, double y, double col_span=1, double row_span=1)
void set_padding(double top, double right=-1.0, double bottom=-1.0, double left=-1.0)
void compute_bounding_box() const
std::map< Item *, ChildInfo > CoordsByItem
void set_homogenous(bool)
void set_collapse_on_hide(bool)
CoordsByItem coords_by_item