Branch data Line data Source code
1 : : /*
2 : : * go-optionmenu.h
3 : : *
4 : : * Copyright (C) 2002-2005 Andreas J. Guelzow <aguelzow@taliesin.ca>
5 : : *
6 : : * based extensively on:
7 : : *
8 : : * GTK - The GIMP Toolkit
9 : : * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
10 : : *
11 : : * Modified by the GTK+ Team and others 1997-2000. See the GTK AUTHORS
12 : : * file for a list of people on the GTK+ Team. See the ChangeLog
13 : : * files for a list of changes. These files are distributed with
14 : : * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
15 : : *
16 : : *
17 : : * This library is free software; you can redistribute it and/or
18 : : * modify it under the terms of the GNU Lesser General Public
19 : : * License as published by the Free Software Foundation; either
20 : : * version 2 of the License, or (at your option) any later version.
21 : : *
22 : : * This library is distributed in the hope that it will be useful,
23 : : * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 : : * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
25 : : * Lesser General Public License for more details.
26 : : *
27 : : * You should have received a copy of the GNU Lesser General Public
28 : : * License along with this library; if not, write to the Free Software
29 : : * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
30 : : * USA.
31 : : */
32 : :
33 : : #ifndef _GO_OPTIONMENU_H_
34 : : #define _GO_OPTIONMENU_H_
35 : :
36 : : #include <gtk/gtk.h>
37 : :
38 : : G_BEGIN_DECLS
39 : :
40 : : #define GO_TYPE_OPTION_MENU (go_option_menu_get_type ())
41 : 0 : G_DECLARE_FINAL_TYPE (GOOptionMenu, go_option_menu, GO, OPTION_MENU, GtkButton)
42 : :
43 : : GtkWidget* go_option_menu_new(void);
44 : : void go_option_menu_set_menu(GOOptionMenu *option_menu, GtkWidget *menu);
45 : : void go_option_menu_set_history(GOOptionMenu *option_menu, GSList *selection);
46 : : GtkWidget *go_option_menu_get_history(GOOptionMenu *option_menu);
47 : :
48 : : G_END_DECLS
49 : :
50 : : #endif /* _GO_OPTIONMENU_H_ */
|