Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
doyousketch2 edited this page Sep 13, 2019 · 6 revisions

Group:

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 get

    fl.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 get

    obj.resizable = *userdata widget set
    ( resizable )

  • obj.clip_children ==> bool clipped

    obj.clip_children = bool clip
    ( 1 if group clips widgets to bounding box )

Clone this wiki locally
Morty Proxy This is a proxified and sanitized view of the page, visit original site.