Data table

To create a sample toolbar web extension, specify this table and its values, including the cell references and column headings.
B4:B18 C4:C18 D4:D18 E4:E18 F4:F18 G4:G18 H4:H18 I4:I18 J4:J18
Id Caption Enabled Visible Selected Parent MediaName Type Tooltip
Id1 Primary Action [shared image unique name] Button with icon
Id2 Splitter splitter
Id3 Menu [shared image unique name] Menu button
Id4 Heading1 Id3 heading
Id5 Entry1 Id3
Id6 Entry 2 Id3
Id7 Heading 2 Id3 heading
Id8 Entry 3 Id3
Id9 Toggle [shared image unique name] icon Toggle button
Id10 Icon only icon Icon-only button
Id11 More Entry 1 more
Id12 Splitter more splitter
Id13 More Entry2 more

The columns of the data table accept these values:

  • Id: A unique ID for each element in the toolbar.
  • Caption: The text displayed on a button.
  • Enabled: TRUE, or empty ("") enables a button.
  • Visible: TRUE, or empty ("") makes a button visible.
  • Selected: For buttons designed to toggle between two states, TRUE highlights an element. FALSE or empty (") displays the element in the default color. This property is not relevant for other types of button.
  • Parent: For menu items, the ID of the parent element.
  • MediaName: The unique name of each shared image used for a button or icon.
  • Type: The type of element: Heading, Icon, or Splitter.
  • Tooltip: The tooltip text for an element.
Note: Images must be in .svg format, without any Fill attributes. Otherwise, effects such as hover buttons do not work.