2022-01-22 15:09:14 -08:00
|
|
|
#include "toolbar-button.h"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* \brief Toolbar Button constructor
|
2022-05-25 14:22:16 -07:00
|
|
|
* \param tooltip_text Use the following text as tooltip message
|
|
|
|
* \param can_focus Can you focus on the button (default false)
|
2022-01-22 15:09:14 -08:00
|
|
|
*/
|
2022-05-25 14:22:16 -07:00
|
|
|
ToolbarButton::ToolbarButton(const std::string& tooltip_text, bool can_focus)
|
2022-01-22 15:09:14 -08:00
|
|
|
{
|
2022-05-25 14:22:16 -07:00
|
|
|
set_tooltip_text(tooltip_text);
|
|
|
|
set_can_focus(can_focus);
|
2022-01-22 15:09:14 -08:00
|
|
|
set_relief(Gtk::RELIEF_NONE);
|
|
|
|
}
|