Difference between revisions of "API iup button"

From Vendetta Lua
Jump to: navigation, search
(New page: = button = '''Definition:''' button{table attribs} -> userdata element <br> '''Arguments:'''<br> ''attribs'' element attributes <br> '''Returns:'''<br> ''element'' [[API_iup_button|button]...)
(No difference)

Revision as of 21:11, 9 June 2010

button

Definition: button{table attribs} -> userdata element
Arguments:
attribs element attributes
Returns:
element button

Description

Create a button
Official IUP documentation

Not all attributes in the docs work. If both the image and title attributes are set the text is displayed on top of the image instead of next to it.


Attributes

immouseover
centeruv= set which region of the image to scale uv (check this)
uv image part to show. uv
glowborder
disabledtextcolor
tip Set the tooltip. Setting this attribute also sets enterwindow_cb and leavewindow_cb (creation only)

Callbacks