pcb 4.1.1
An interactive printed circuit board layout editor.

gui-library-window.h

Go to the documentation of this file.
00001 /* gEDA - GPL Electronic Design Automation
00002  * gschem - gEDA Schematic Capture
00003  * Copyright (C) 1998-2004 Ales V. 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 along
00016  * with this program; if not, write to the Free Software Foundation, Inc.,
00017  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
00018  */
00019 
00020 
00021 #ifndef PCB_HID_GTK_GUI_LIBRARY_WINDOW_H
00022 #define PCB_HID_GTK_GUI_LIBRARY_WINDOW_H
00023 
00024 
00025 /*
00026  * GhidLibraryWindow
00027  */
00028 
00029 #define GHID_TYPE_LIBRARY_WINDOW           (ghid_library_window_get_type())
00030 #define GHID_LIBRARY_WINDOW(obj)           (G_TYPE_CHECK_INSTANCE_CAST ((obj), GHID_TYPE_LIBRARY_WINDOW, GhidLibraryWindow))
00031 #define GHID_LIBRARY_CLASS(klass)          (G_TYPE_CHECK_CLASS_CAST ((klass),  GHID_TYPE_LIBRARY_WINDOW, GhidLibraryWindowClass))
00032 #define GHID_IS_LIBRARY_WINDOW(obj)        (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GHID_TYPE_LIBRARY_WINDOW))
00033 #define GHID_GET_LIBRARY_WINDOW_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj),  GHID_TYPE_LIBRARY, GhidLibraryWindowClass))
00034 
00035 typedef struct _GhidLibraryWindowClass GhidLibraryWindowClass;
00036 typedef struct _GhidLibraryWindow GhidLibraryWindow;
00037 
00038 
00039 struct _GhidLibraryWindowClass
00040 {
00041   GtkDialogClass parent_class;
00042 };
00043 
00044 struct _GhidLibraryWindow
00045 {
00046   GtkDialog parent_instance;
00047 
00048   GtkWidget *hpaned;
00049   GtkTreeView *libtreeview;
00050   GtkNotebook *viewtabs;
00051   GtkWidget *preview;
00052   GtkEntry *entry_filter;
00053   GtkButton *button_clear;
00054   guint filter_timeout;
00055 };
00056 
00057 
00058 GType ghid_library_window_get_type (void);
00059 
00060 #endif /* PCB_HID_GTK_GUI_LIBRARY_WINDOW_H */