Added append with event to ButtonBar
This commit is contained in:
parent
2f2bb6b75a
commit
94242b779a
2 changed files with 11 additions and 0 deletions
|
|
@ -40,6 +40,14 @@ ButtonBar::append(MiniButton& button)
|
|||
pack_start(button, PACK_SHRINK);
|
||||
}
|
||||
|
||||
void
|
||||
ButtonBar::append(MiniButton& button,
|
||||
const sigc::slot<void>& clicked_slot)
|
||||
{
|
||||
button.signal_clicked().connect(clicked_slot);
|
||||
append(button);
|
||||
}
|
||||
|
||||
void
|
||||
ButtonBar::append(SeparatorToolItem &seperator)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -44,6 +44,9 @@ public:
|
|||
|
||||
void append(MiniButton& button);
|
||||
|
||||
void append(MiniButton& button,
|
||||
const sigc::slot<void>& clicked_slot);
|
||||
|
||||
void append(Gtk::SeparatorToolItem &seperator);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue