Skip to content

Ribbon#

The ribbon description (not everything is read yet). More...

import Knut

Properties#

Name
array<RibbonCategory> categories
array<RibbonContext> contexts
string id
RibbonMenu menu

Detailed Description#

A ribbon is made of multiple items:

  • a file menu, top/left, which displays a popup menu when clicking (see RibbonMenu)
  • multiple categories displayed as tabs
    • each with multiple panels (displayed as group of actions)
    • each panel contains multiple elements (displayed as buttons, separators...)
  • multiple contexts, a context showing another tab with it's name in the titlebar
    • each context contains multiple categories

Property Documentation#

array<RibbonCategory> categories#

This property holds the children categories of this ribbon.

array<RibbonContext> contexts#

This property holds the children contexts of this ribbon.

string id#

This property holds the id of the ribbon.

RibbonMenu menu#

This property holds the menu of the ribbon.