2 * gnm-so-anchor-mode-chooser.h
4 * Copyright (C) 2015 Jean Bréfort <jean.brefort@normalesup.org>
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation; either version 2 of the
9 * License, or (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, see <https://www.gnu.org/licenses/>
20 #ifndef GNM_SO_ANCHOR_MODE_CHOOSER_H
21 #define GNM_SO_ANCHOR_MODE_CHOOSER_H
24 #include <sheet-object.h>
25 #include <glib-object.h>
27 typedef struct _GnmSOAnchorModeChooser GnmSOAnchorModeChooser
;
29 #define GNM_SO_ANCHOR_MODE_CHOOSER_TYPE (gnm_so_anchor_mode_chooser_get_type ())
30 #define GNM_SO_ANCHOR_MODE_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GNM_SO_ANCHOR_MODE_CHOOSER_TYPE, GnmSOAnchorModeChooser))
31 #define GNM_IS_SO_ANCHOR_MODE_CHOOSER(o) (G_TYPE_CHECK_INSTANCE_TYPE((o), GNM_SO_ANCHOR_MODE_CHOOSER_TYPE))
32 GType
gnm_so_anchor_mode_chooser_get_type (void);
34 GtkWidget
*gnm_so_anchor_mode_chooser_new (gboolean resize
);
35 void gnm_so_anchor_mode_chooser_set_mode (GnmSOAnchorModeChooser
*chooser
,
36 GnmSOAnchorMode mode
);
37 GnmSOAnchorMode
gnm_so_anchor_mode_chooser_get_mode (GnmSOAnchorModeChooser
const *chooser
);
39 #endif /* GNM_SO_ANCHOR_MODE_CHOOSER_H */