View Single Post
10/22/14, 03:41 PM   #1
circonian
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 613
LibAddonMenu CheckBox

In a LibAddonMenu checkbox is there a function to get a true/false value to see if it is checked or not without grabbing the checkbox:GetText() and comparing it to controls checktedText to see if they match? Its a value I didn't want to save. I just wanted to read it when the user presses a button while the panel is still open and then I don't need it anymore.

I looked through the LibAddonMenu code but it looks like all it does is toggle the SetText(..) unless I'm missing something.

Edit:
While I'm at it, since LibAddonMenu controls aren't created until the panel is open is there a way to know when the controls are created so you can change the CheckedText/UncheckedText ?

Last edited by circonian : 10/22/14 at 03:47 PM.
  Reply With Quote