-
Notifications
You must be signed in to change notification settings - Fork 5
Group
doyousketch2 edited this page Sep 13, 2019
·
6 revisions
Corresponds to:
Fl_Group
Inherits from:
Widget
Constructors
fl.Group( int X, int Y, int W, int H, *str label ) ==> userdata Widget
-
fl.Group{ table entries } ==> userdata Widget
( table constructor syntax )
Functions
- methods defined for
Widget
userdata type -
fl.Group.current() ==> *userdata Fl_Group
getfl.Group.current( *userdata Fl_Group )
set
( Fl_Group ) -
obj:add( userdata Widget )
( move widget to end of current group )
-
obj:add_resizable( userdata Widget )
( add and make resizable )
-
obj:begin()
( set group so you can build widget tree )
-
obj:begin_group()
( same as
obj:begin()
) -
obj:child( int location ) ==> userdata array
( Returns array()[location] )
-
obj:clear()
( deletes all child widgets recursively )
-
obj:end_group()
( corresponds to
Fl_Group::end()
) obj:find( userdata widget ) ==> int index
obj:insert( userdata widget, int @index )
obj:remove( int index )
Properties
- properties defined for
Widget
userdata type -
obj.children ==> int #widgets
( # of child widgets in group )
-
obj.resizable ==> *userdata widget
getobj.resizable = *userdata widget
set
( resizable ) -
obj.clip_children ==> bool clipped
obj.clip_children = bool clip
( 1 if group clips widgets to bounding box )