Ardour
9.0-pre0-427-gd2a3450e2f
choice.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2000-2007 Paul Davis <paul@linuxaudiosystems.com>
3
* Copyright (C) 2017 Robin Gareus <robin@gareus.org>
4
*
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation; either version 2 of the License, or
8
* (at your option) any later version.
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License along
16
* with this program; if not, write to the Free Software Foundation, Inc.,
17
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18
*/
19
20
#ifndef _WIDGETS_CHOICE_H_
21
#define _WIDGETS_CHOICE_H_
22
23
#include <string>
24
#include <vector>
25
26
#include <
gtkmm/dialog.h
>
27
#include <
gtkmm/image.h
>
28
#include <
gtkmm/stock.h
>
29
#include <
gtkmm/box.h
>
30
31
#include "
widgets/visibility.h
"
32
33
namespace
ArdourWidgets
{
34
35
class
LIBWIDGETS_API
Choice
:
public
Gtk::Dialog
36
{
37
public
:
38
Choice
(std::string title, std::string prompt, std::vector<std::string> choices,
bool
center =
true
);
39
virtual
~Choice
();
40
41
protected
:
42
void
on_realize
();
43
};
44
45
}
/* namespace */
46
47
#endif
ArdourWidgets::Choice
Definition:
choice.h:36
ArdourWidgets::Choice::~Choice
virtual ~Choice()
ArdourWidgets::Choice::Choice
Choice(std::string title, std::string prompt, std::vector< std::string > choices, bool center=true)
ArdourWidgets::Choice::on_realize
void on_realize()
This is a default handler for the signal signal_realize().
Gtk::Dialog
Definition:
dialog.h:126
dialog.h
ArdourWidgets
Definition:
ardour_ui.h:192
stock.h
box.h
image.h
visibility.h
LIBWIDGETS_API
#define LIBWIDGETS_API
Definition:
widgets/widgets/visibility.h:39
libs
widgets
widgets
choice.h
Generated on Mon Nov 11 2024 08:48:52 for Ardour by
1.9.1