This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
button [2020/12/01 10:04] – justin | button [2021/06/24 21:18] (current) – justin | ||
---|---|---|---|
Line 9: | Line 9: | ||
|{{: | |{{: | ||
|{{: | |{{: | ||
- | |{{: | + | |{{: |
|{{: | |{{: | ||
|{{: | |{{: | ||
Line 20: | Line 20: | ||
You can access and change certain properties of a button from within a [[script]] by simply referencing the parent [[widget]] and the button element by their unique IDs. See below for examples of changing the text, [[image]], and [[script]] of a button. In these cases, the [[widget]] has an ID of " | You can access and change certain properties of a button from within a [[script]] by simply referencing the parent [[widget]] and the button element by their unique IDs. See below for examples of changing the text, [[image]], and [[script]] of a button. In these cases, the [[widget]] has an ID of " | ||
- | Changing a button' | + | **Changing a button' |
<code bauxite> | <code bauxite> | ||
- | widget[" | + | widget[" |
</ | </ | ||
- | Changing a button' | + | **Changing a button' |
<code bauxite> | <code bauxite> | ||
- | widget[" | + | widget[" |
</ | </ | ||
- | Changing a button' | + | **Changing a button' |
<code bauxite> | <code bauxite> | ||
- | widget[" | + | widget[" |
</ | </ | ||
~~NOTOC~~ | ~~NOTOC~~ |