[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'nvWidgets' (#nvidia-widgets)

UIContext.doButton

UI method for rendering and processing a push button

Declaration

Source position: line 0

function UIContext.doButton(

  const r: Rect;

  const Text: ;

  var state: Boolean;

  style: Integer = 0

):Boolean;

function UIContext.doButton(

  const r: Rect;

  const Text:

):Boolean;

Arguments

r

  

optionally provides a location and size for the button

Text

  

text to display on the button

state

  

whether the button is depressed

style

  

optional style flag to modify the look

Arguments

r

  

optionally provides a location and size for the button

Text

  

text to display on the button