2 LEFT, RIGHT, TOP, BOTTOM, NONE, REORDER, DETACH
26 nb_calculate_tabs_all()
41 while (*children && *children == last_child) {
42 if (page->label->parent != nb)
44 if (expand && nb->homo)
45 extra = remain / expand;
49 call.width = page->req.width + x + extra;
51 if (bottom && nb->cur->pack && x > anchor)
52 anchor = nb->cur->all.width;
56 if (priv->op == REORDER
57 && page->pack == nb->cur->pack)
58 if (bottom && x >= anchor
59 && x <= anchor + call.width / 2)
60 anchor = nb->cur->all.width - x;
64 call.height = page->req.height + x + extra;
67 if (priv->op == REORDER && page->pack == nb->cur->pack)
68 if (bottom && y >= anchor
69 && y <= anchor + call.height / 2)
70 anchor = nb->cur->all.height - x;
72 if ((page == priv->detach && priv->op == DETACH)
73 || (page == nb->cur && priv->op == REORDER))
87 if (priv->op != REORDER || priv->op == REORDER
93 if (priv->op != REORDER || priv->op == REORDER
95 if (priv->op == REORDER)
96 if (page->pack == nb->cur->pack
98 && y >= anchor + call.height / 2
99 && y <= anchor + call.height)
100 anchor = nb->cur->all.height;
103 IA__widget_set_child_visible(page->label, 1);