Class ToolButton¶
- Defined in File toolbutton.h
Page Contents
Inheritance Relationships¶
Base Type¶
public nanogui::Button(Class Button)
Class Documentation¶
-
class
ToolButton: public nanogui::Button¶ Simple radio+toggle button with an icon.
Public Functions
-
ToolButton(Widget *parent, int icon, const std::string &caption = "", const std::string &font = "")¶ Creates a ToolButton attached to the specified parent.
- Parameters
parent: The nanogui::Widget this ToolButton will be attached to.icon: The icon to use for this ToolButton. See nanogui::Button::mIcon.caption: The name of the button (default"").font: The font face to use (default""implies Theme::mDefaultBoldFont, which will typically be"sans-bold").
-