1 /* gEDA - GPL Electronic Design Automation
2 * gschem - gEDA Schematic Capture
3 * Copyright (C) 1998-2010 Ales Hvezda
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
10 * This library 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 GNU
13 * Library General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23 PAGESEL_RESPONSE_CLOSE
= 1,
24 PAGESEL_RESPONSE_UPDATE
= 2
25 } PageselResponseType
;
28 #define TYPE_PAGESEL (pagesel_get_type())
29 #define PAGESEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PAGESEL, Pagesel))
30 #define PAGESEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PAGESEL, PageselClass))
31 #define IS_PAGESEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PAGESEL))
34 typedef struct _PageselClass PageselClass
;
35 typedef struct _Pagesel Pagesel
;
38 struct _PageselClass
{
39 GschemDialogClass parent_class
;
43 GschemDialog parent_instance
;
45 GtkTreeView
*treeview
;
49 GType
pagesel_get_type (void);
51 void pagesel_update (Pagesel
*pagesel
);