34 GTable(GString
const& css_and_title =
"");
37 GTable* toTable()
override {
return this;}
69 virtual void perform(std::function<
void(
Gadget& cell,
int row,
int column)> fun);
71 Gadget& createDefaultItem(GString
const& arg)
override;
75 GType& type()
const override {
return Type();}
78 using Views = std::vector<GTable*>;
79 std::shared_ptr<Views> views_;
80 void pack(GRender* parent_render)
override;
85 GTable& Table(GString
const& css_and_title =
"");
96 GTRow(GString
const& css =
"");
99 GTRow* toTRow()
override {
return this;}
102 static GType& Type();
103 GType& type()
const override {
return Type();}
105 Gadget& createDefaultItem(GString
const& arg)
override;
108 GDim computeInsideSize(GRender&)
override;
109 void readValues(std::istream&, GIOBuffer&)
override;
110 void writeValues(std::ostream&, GIOBuffer&)
const override;
115 GTRow& TRow(GString
const& css =
"");
126 GTHead(GString
const& css =
"");
129 GTHead* toTHead()
override {
return this;}
132 static GType& Type();
133 GType& type()
const override {
return Type();}
138 GTHead& THead(GString
const& css =
"");