Navigation

  • index
  • next |
  • previous |
  • libfbxqml »
  • Standard API »
  • fbx.ui module »
  • fbx.ui.menu module »
  • Menu

Menu¶

component fbx.ui.menu.Menu¶

Menu is a menu container. It holds a list of menu Items or decendants (Action, Section, Submenu, CheckBox).

../../../_images/menu_action_close.png

A set of menus:¶

Menu {
  title: "Menu0"

  Section { text: "Subcategories" }
  Submenu { target: menu1 }
  Submenu { target: menu2 }

  Section { text: "Actions" }
  Action { text: "Unavailable"; enabled: false; }
  Menu { text: "Close"; onClicked: close(); }
}

Menu {
  id: menu1
  title: "Menu1"

  // ...
}

Menu {
  id: menu2
  title: "Menu2"

  // ...
}
property title¶

Text string printed on top of menu. It is also used for Submenu links.

Logo

Previous topic

Entry

Next topic

Section

Quick search

Navigation

  • index
  • next |
  • previous |
  • libfbxqml »
  • Standard API »
  • fbx.ui module »
  • fbx.ui.menu module »
  • Menu
© Copyright 2012, Freebox. Last updated on Nov 23, 2022.