gschem
|
00001 /* gEDA - GPL Electronic Design Automation 00002 * gschem - gEDA Schematic Capture 00003 * Copyright (C) 1998-2010 Ales Hvezda 00004 * 00005 * This library is free software; you can redistribute it and/or 00006 * modify it under the terms of the GNU Library General Public 00007 * License as published by the Free Software Foundation; either 00008 * version 2 of the License, or (at your option) any later version. 00009 * 00010 * This library is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 * Library General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public License 00016 * along with this program; if not, write to the Free Software 00017 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 00018 * MA 02111-1301 USA. 00019 */ 00020 00021 00022 00023 typedef enum { 00024 PAGESEL_RESPONSE_CLOSE = 1, 00025 PAGESEL_RESPONSE_UPDATE = 2 00026 } PageselResponseType; 00027 00028 00029 #define TYPE_PAGESEL (pagesel_get_type()) 00030 #define PAGESEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PAGESEL, Pagesel)) 00031 #define PAGESEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PAGESEL, PageselClass)) 00032 #define IS_PAGESEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PAGESEL)) 00033 00034 00035 typedef struct _PageselClass PageselClass; 00036 typedef struct _Pagesel Pagesel; 00037 00038 00039 struct _PageselClass { 00040 GschemDialogClass parent_class; 00041 }; 00042 00043 struct _Pagesel { 00044 GschemDialog parent_instance; 00045 00046 GtkTreeView *treeview; 00047 }; 00048 00049 00050 GType pagesel_get_type (void); 00051 00052 void pagesel_update (Pagesel *pagesel);