blob: 8dfa5043fad505327c561a89424565d594e29480 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#ifndef __pbd_gtkmm_choice_h__
#define __pbd_gtkmm_choice_h__
#include <gtkmm/dialog.h>
#include <string>
#include <vector>
namespace Gtkmm2ext {
class Choice : public Gtk::Dialog
{
public:
Choice (std::string prompt, std::vector<std::string> choices);
virtual ~Choice ();
int get_choice ();
protected:
void on_realize ();
private:
int which_choice;
bool choice_made (GdkEventButton* ev, int nbutton);
};
} /* namespace */
#endif // __pbd_gtkmm_choice_h__
|