UIWindow.new

Inputs:

  • sizer [UISizer]: The child sizer of the newly created Panel which will layout the UI elements displayed on the window
  • title [string]: Title of the window
  • resizable [boolean?]: Make window resizable [optional, default=true]
  • modal [boolean?]: Create modal window [optional, default=false]
  • xPosition [integer?]: [optional, default=-1]
  • yPosition [integer?]: [optional, default=-1]
  • width [integer?]: [optional, default=-1]
  • height [integer?]: [optional, default=-1]

Outputs:

  • uiWindow [UIWindow]:

UIWindow:close

UIWindow:fit

UIWindow:getSize

Outputs:

  • width [integer]:
  • height [integer]:

UIWindow:refresh

UIWindow:setOnCloseCallback

Inputs:

  • callbackFunction [object]: function()
  • functionObject [object?]: functionObject [optional, default=NULL]

UIWindow:setOnFocusCallback

Inputs:

  • callbackFunction [object]: function()
  • functionObject [object?]: functionObject [optional, default=NULL]

UIWindow:setOnResizeCallback

Inputs:

  • callbackFunction [object]: function(width, height)
  • functionObject [object?]: functionObject [optional, default=NULL]

UIWindow:showWindow

Last updated 12 Apr 2025, 16:09 +0200 . history