Skip to content
doyousketch2 edited this page Sep 17, 2019 · 8 revisions

Window:

Corresponds to: Fl_Window

Inherits from: Group, Widget

Constructors

  • fl.Window( int X, int Y, int W, int H, *str label ) ==> userdata Widget
  • fl.Window( int W, int H, *str label ) ==> userdata Widget

    window manager positions window

  • fl.Window{ table entries } ==> userdata Widget

    ( table constructor syntax )


Functions

  • methods defined for the Group userdata type
  • methods defined for the Widget userdata type
  • obj:clear_border()

    turn window manager border off
    only works before show() is called

  • obj:cursor( str cursor, *int|userdata hotx, *int|userdata hoty )

    same cursor options as obj:default_cursor() below

  • obj:default_cursor( str cursor, *int|userdata hotx, *int|userdata hoty )

    Fl_Cursor

    • "FL_CURSOR_DEFAULT"
    • "FL_CURSOR_ARROW"
    • "FL_CURSOR_CROSS"
    • "FL_CURSOR_WAIT"
    • "FL_CURSOR_INSERT"
    • "FL_CURSOR_HAND"
    • "FL_CURSOR_HELP"
    • "FL_CURSOR_MOVE"
    • "FL_CURSOR_NS"
    • "FL_CURSOR_WE"
    • "FL_CURSOR_NWSE"
    • "FL_CURSOR_NESW"
    • "FL_CURSOR_N"
    • "FL_CURSOR_NE"
    • "FL_CURSOR_E"
    • "FL_CURSOR_SE"
    • "FL_CURSOR_S"
    • "FL_CURSOR_SW"
    • "FL_CURSOR_W"
    • "FL_CURSOR_NW"
    • "FL_CURSOR_NONE"
  • obj:fullscreen()
  • obj:fullscreen_off( [i, i, i, i] )
  • obj:iconize()
  • obj:make_current()
  • obj:set_modal()
  • obj:set_non_modal()
  • obj:set_override()
  • obj:show( nt )
  • obj:size_range( i, i, ni, ni, ni, ni, b )

Properties

  • properties defined for the Group userdata type
  • properties defined for the Widget userdata type
  • obj.label [get: s; set: s]
  • obj.modal [get: b; set: b]
  • obj.shown [get: b; set: -]
  • obj.border [get: b; set: -]
  • obj.x_root [get: i; set: -]
  • obj.y_root [get: i; set: -]
  • obj.xclass [get: s; set: s]
  • obj.override [get: b; set: -]
  • obj.iconlabel [get: s; set: s]
  • obj.non_modal [get: b; set: -]
  • obj.decorated_h [get: i; set: -]
  • obj.decorated_w [get: i; set: -]
  • obj.menu_window [get: b; set: -]
  • obj.tooltip_window [get: b; set: -]
  • obj.fullscreen_active [get: b; set: -]
  • obj.xid [get: ui; set: -]

Clone this wiki locally