text: #include <wx/ribbon/toolbar.h>
  A ribbon tool bar is similar to a traditional toolbar which has no labels.
  It contains one or more tool groups, each of which contains one or more tools. Each tool is represented by a (generally small, i.e. 16x15) bitmap.
  The following event handler macros redirect the events to member function handlers 'func' with prototypes like:
  Event macros for events emitted by this class:
  Construct a ribbon tool bar with the given parameters.
  Destructor.
  Add a separator to the tool bar.
  Separators are used to separate tools into groups. As such, a separator is not explicitly drawn, but is visually seen as the gap between tool groups.
  Add a tool to the tool bar (simple version).
  Add a tool to the tool bar.
  Deletes all the tools in the toolbar.
  Create a tool bar in two-step tool bar construction.
  Should only be called when the default constructor is used, and arguments have the same meaning as in the full constructor.
  Removes the specified tool from the toolbar and deletes it.
  This function behaves like DeleteTool() but it deletes the tool at the specified position and not the one with the given id.
  Useful to delete separators.
  Enable or disable a single tool on the bar.
  Returns a pointer to the tool opaque structure by id or NULL if no corresponding tool is found.
  Return the opaque pointer corresponding to the given tool.
  Get any client data associated with the tool.
  Called to determine whether a tool is enabled (responds to user input).
  Returns the help string for the given tool.
  Return the id assciated to the tool opaque structure.
  The structure pointer must not be NULL.
  Return the kind of the given tool.
  Returns the tool position in the toolbar, or
  wxNOT_FOUND if the tool is not found.
  Gets the on/off state of a toggle tool.
  Insert a dropdown tool to the tool bar (simple version) as the specified position.
  Insert a hybrid tool to the tool bar (simple version) as the specified position.
  Insert a separator to the tool bar at the specified position.
  Insert a toggle tool to the tool bar (simple version) as the specified position.
  Insert a tool to the tool bar (simple version) as the specified position.
  Insert a tool to the tool bar at the specified position.
  Calculate tool layouts and positions.
  Must be called after tools are added to the tool bar, as otherwise the newly added tools will not be displayed.
  Reimplemented from wxRibbonControl.
  Set the number of rows to distribute tool groups over.
  Tool groups can be distributed over a variable number of rows. The way in which groups are assigned to rows is not specified, and the order of groups may change, but they will be distributed in such a way as to minimise the overall size of the tool bar.
  Sets the client data associated with the tool.
  Sets the bitmap to be used by the tool with the given ID when the tool is in a disabled state.
  Sets the help string shown in tooltip for the given tool.
  Sets the bitmap to be used by the tool with the given ID.
  Set a toggle tool to the checked or unchecked state.