dagon
class Tabs
since 0.1.0-alpha.1linux
Constructors
new
new()Fields
labels_
Array<string> labels_selected_
int selected_selectHandlers_
Array<(int) => void> selectHandlers_selectTokens_
Array<int> selectTokens_stripScroll_
int stripScroll_Methods
__dagonChildren
__dagonChildren() -> Array<IComponent>__dagonContentRect
__dagonContentRect() -> Rectadd
add(string label, IComponent child) -> Tabsadd(IComponent child) -> Containerarrange
arrange(Rect assigned) -> voidcontentRect
contentRect() -> RectensureStripVisible
ensureStripVisible() -> voidfireSelect
fireSelect(int idx) -> voidoffSelect
offSelect(int t) -> voidonSelect
onSelect((int) => void h) -> intpaint
paint(Canvas c) -> voidpaintStrip
select
select(int i) -> voidselected
selected() -> inttabAtX
tabAtX(Rect full, int px) -> int