File geyser/GeyserSetConstraints.lua

Functions

Geyser.set_constraints (window, cons, container) This function sets the constraints of a window.


Functions

Geyser.set_constraints (window, cons, container)
This function sets the constraints of a window. It doesn't mess with anything other than positioning data. It creates get_x(), get_y(), get_width(), and get_height() functions for 'window'
Parameters
  • window: The window to create the constraints for.
  • cons: A table that holds the constraints.
  • container: A table that holds maximum position values and represents the dimensions of the "window" that holds whatever widget is being created.

Valid XHTML 1.0!