ReasonFrame

A quick and dirty panel for getting a string input, with a label, then calling a function.

Functions

ReasonFrame:GetValue()

View source »

Get the value of the string.

Returns

ReasonFrame:SetAccept(func)

View source »

Set the function called on accept.

Parameters

  • func func

    New callback.

ReasonFrame:SetCancel(func)

View source »

Set the function called on cancel.

Parameters

  • func func

    New callback.

ReasonFrame:SetInput(text)

View source »

Set the input label.

Parameters

  • text string

    New label string.

ReasonFrame:SetWarrant(ply, warrant)

View source »

Set the input label, as a warrant, based on a player.

Parameters

  • warrant string

    Warrant type to set.