ui.controlΒΆ

Window control ui.control ( Window parent , Plug|{Plug} plug , type desc )

Create a dedicated Window that can control a Plug or a list of Plugs

Ex: local ctrl = ui.control (myparentwindow, Document:getpreferences ().ShutterOpen, types.float {slidermin=0,slidermax=0.4})
Arguments:

  • parent The parent window
  • plug The Plug to connect to the created window, or the list of Plugs
  • desc A substitute type to be used if the Plug type is to be overriden

Return:

  • control The new control