wex v24.10.0
Public Member Functions | List of all members
wex::data::toolbar_item Class Reference

This class offers data for a toolbar item. More...

#include <wex/data/toolbar-item.h>

Public Member Functions

 toolbar_item (int id)
 Constructor, specify tool id.
 
const auto & bitmap () const
 Returns bitmap bundle.
 
toolbar_itembitmap (const wxBitmapBundle &rhs)
 Sets bitmap bundle.
 
int id () const
 Returns id.
 
wxItemKind kind () const
 Returns kind.
 
toolbar_itemkind (wxItemKind rhs)
 Sets kind.
 
const std::string & label () const
 Returns label.
 
toolbar_itemlabel (const std::string &rhs)
 Sets label.
 
const std::string & help () const
 Returns help.
 
toolbar_itemhelp (const std::string &rhs)
 Sets help.
 

Detailed Description

This class offers data for a toolbar item.