[gtkmm] MessageDialog button callback?



Dear members,

how can I connect the Yes/No button to a callback?
Or is there a method I can overload?

if (type == Gtk::MESSAGE_QUESTION) {
	Gtk::MessageDialog dialog(*this, m_message, type, Gtk::BUTTONS_YES_NO);
	dialog.set_title(m_title);
	dialog.run();
}


TIA,
Andi




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]