Skinning HowTo/XUI Menus
This page describes the XML attributes for the XUI menus. They are used by the XUI files in the \skins\default\xui folders. You can find attributes for other XUI elements at:
and you can find more general information at Skinning HowTo/Basics
Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at Skinning HowTo/Common XUI XML parameters.
- Used by floater and panel.
- Can contain menu.
- Class LLMenuBarGL
- In source file llui/llmenugl.cpp
bottom
left
drop_shadow
follows
height
width
mouse_opaque
opaque
name
enabled
Optional.
tear_off
Optional.
- Used by menu_bar and recursively by other menus.
- Can contain menu, menu_item_call, menu_item_check, menu_item_separator, and tearoff_menu.
- Class LLMenuGL
- In source file llui/llmenugl.cpp
bottom_delta
Optional.
bottom
Optional.
left
Optional.
drop_shadow
Optional.
height
Optional.
width
Optional.
label
Optional.
mouse_opaque
opaque
name
tear_off
Optional.
enabled
Optional.
color
Optional.
create_jump_keys
Optional.
visible
Optional.
Optional.
- Used recursively by other pie_menus.
- Can contain pie_menu.
name
label
Optional.
enabled
Optional.
Used by menu.
bottom
enabled
height
label
left
mouse_opaque
name
width
- Used by menu.
- Can contain on_check, on_click, and on_enable.
- Class MenuItemCheckGL
bottom_delta
Optional.
bottom
Optional.
left
control_name
Optional.
height
width
label
mouse_opaque
name
enabled
Optional.
shortcut
Optional.
Used by menu and pie_menu.
bottom_delta
Optional.
bottom
Optional.
left
Optional.
height
Optional.
width
Optional.
label
Optional.
mouse_opaque
Optional.
name
Optional.
enabled
Optional.
- Used by menu and pie_menu.
- Can contain on_click, on_enable, and on_visible.
- Class LLMenuItemCallGL
bottom_delta
Optional.
bottom
Optional.
left
Optional.
height
Optional.
width
Optional.
label
mouse_opaque
Optional.
name
enabled
Optional.
shortcut
Optional.
useMacCtrl
Optional.
visible
Optional.
Optional.
on_check parameters
Used by menu_item_check.
function
Optional.
userdata
Optional.
control
Optional.
on_click parameters
Used by menu_item_call and menu_item_check.
filter
Optional.
function
userdata
name
Optional.
on_visible parameters
Used by menu_item_call.
function
on_enable parameters
Used by menu_item_call and menu_item_check.
function
userdata
Optional.
name
Optional.