window: Replace menu bar with app menu
[gcalctool.git] / src / math-variable-popup.h
blob3c24b54b89417c9f1393f0abac8b7f597cd5abc1
1 /*
2 * Copyright (C) 2008-2011 Robert Ancell
4 * This program is free software: you can redistribute it and/or modify it under
5 * the terms of the GNU General Public License as published by the Free Software
6 * Foundation, either version 2 of the License, or (at your option) any later
7 * version. See http://www.gnu.org/copyleft/gpl.html the full text of the
8 * license.
9 */
11 #ifndef MATH_VARIABLE_POPUP_H
12 #define MATH_VARIABLE_POPUP_H
14 #include <gtk/gtk.h>
15 #include "math-equation.h"
17 G_BEGIN_DECLS
19 #define MATH_VARIABLE_POPUP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), math_variable_popup_get_type(), MathVariablePopup))
21 typedef struct MathVariablePopupPrivate MathVariablePopupPrivate;
23 typedef struct
25 GtkWindow parent_instance;
26 MathVariablePopupPrivate *priv;
27 } MathVariablePopup;
29 typedef struct
31 GtkWindowClass parent_class;
32 } MathVariablePopupClass;
34 GType math_variable_popup_get_type(void);
36 MathVariablePopup *math_variable_popup_new(MathEquation *equation);
38 G_END_DECLS
40 #endif /* MATH_VARIABLE_POPUP_H */