missing NULL terminator in set_config_x
[geda-gaf.git] / gschem / include / gschem_compselect_dockable.h
bloba6248ed562a6bb3f68877bf4770b8a45a540f48d
1 /* gEDA - GPL Electronic Design Automation
2 * gschem - gEDA Schematic Capture
3 * Copyright (C) 1998-2010 Ales Hvezda
4 * Copyright (C) 1998-2020 gEDA Contributors (see ChangeLog for details)
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (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, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22 #ifndef GSCHEM_COMPSELECT_DOCKABLE_H
23 #define GSCHEM_COMPSELECT_DOCKABLE_H
27 * GschemCompselectDockable
30 #define GSCHEM_TYPE_COMPSELECT_DOCKABLE (gschem_compselect_dockable_get_type())
31 #define GSCHEM_COMPSELECT_DOCKABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GSCHEM_TYPE_COMPSELECT_DOCKABLE, GschemCompselectDockable))
32 #define GSCHEM_COMPSELECT_DOCKABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GSCHEM_TYPE_COMPSELECT_DOCKABLE, GschemCompselectDockableClass))
33 #define GSCHEM_IS_COMPSELECT_DOCKABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GSCHEM_TYPE_COMPSELECT_DOCKABLE))
34 #define GSCHEM_COMPSELECT_DOCKABLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GSCHEM_TYPE_COMPSELECT_DOCKABLE, GschemCompselectDockableClass))
36 typedef struct _GschemCompselectDockableClass GschemCompselectDockableClass;
37 typedef struct _GschemCompselectDockable GschemCompselectDockable;
40 struct _GschemCompselectDockableClass {
41 GschemDockableClass parent_class;
44 struct _GschemCompselectDockable {
45 GschemDockable parent_instance;
47 GtkWidget *top, *vbox, *hpaned, *vpaned;
48 GtkTreeView *libtreeview, *inusetreeview, *attrtreeview;
49 GtkNotebook *viewtabs;
50 GschemPreview *preview;
51 GtkEntry *entry_filter;
52 GtkButton *button_clear;
53 guint filter_timeout;
54 GtkComboBox *combobox_behaviors;
56 GtkWidget *preview_content, *attribs_content;
57 GtkWidget *preview_frame, *attribs_frame;
58 GtkWidget *preview_box, *attribs_box;
59 GtkWidget *preview_paned, *attribs_paned;
60 GtkWidget *preview_expander, *attribs_expander;
61 GdkWindow *preview_expander_event_window, *attribs_expander_event_window;
62 gboolean preview_size_allocated, attribs_size_allocated;
64 CLibSymbol *selected_symbol;
65 gchar *selected_filename;
66 gboolean is_selected;
70 GType gschem_compselect_dockable_get_type (void);
72 /* Response IDs for special dialog buttons */
73 typedef enum {
74 COMPSELECT_RESPONSE_PLACE = 1,
75 COMPSELECT_RESPONSE_HIDE = 2,
76 COMPSELECT_RESPONSE_REFRESH = 3
77 } CompselectResponseType;
79 #endif /* GSCHEM_COMPSELECT_DOCKABLE_H */