NuiButtonSelect( json )

From NWN Lexicon
Jump to: navigation, search
Nwnee logo.jpg Note: This article documents Neverwinter Nights: Enhanced Edition new content or changes/updates/fixes to 1.69 functions. These are all listed under the category and patches pages.

A clickable button with text as the label. Same as the normal button, but this one is a toggle.

// A clickable button with text as the label.
// Same as the normal button, but this one is a toggle.
// Sends "click" events on click.
json                     // Element
NuiButtonSelect(
  json jLabel,           // Bind:String
  json jValue            // Bind:Bool
);

Returns

json element

Parameters

jLabel
Text Label of Button - Can be either JsonString or NuiBind (don't get it confused with an NWN string)
jvalue
This is if button is toggled or not. JsonBool or NuiBind (don't get it confused with an NWN int)


Description

A clickable button with text as the label.


Remarks

Version

This function was added in 1.85.8193.31 of NWN:EE.


Example

Information icon.png This article is in need of examples. You can help the NWN Lexicon by showing how to use this code effectively.


See Also

functions:

NUI Functions