gsch2pcb: Show subprocess output in verbose mode.
[geda-gaf/peter-b.git] / gschem / include / x_multiattrib.h
bloba451afd8f03c751eef1e645ad3b0a125a434db9d
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.
21 #ifndef __X_MULTIATTRIB_H__
22 #define __X_MULTIATTRIB_H__
26 * Multiattrib
29 #define TYPE_MULTIATTRIB (multiattrib_get_type())
30 #define MULTIATTRIB(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MULTIATTRIB, Multiattrib))
31 #define MULTIATTRIB_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_MULTIATTRIB, MultiattribClass))
32 #define IS_MULTIATTRIB(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MULTIATTRIB))
35 typedef struct _MultiattribClass MultiattribClass;
36 typedef struct _Multiattrib Multiattrib;
39 struct _MultiattribClass {
40 GschemDialogClass parent_class;
44 struct _Multiattrib {
45 GschemDialog parent_instance;
47 OBJECT *object;
49 GtkTreeView *treeview;
51 GtkWidget *show_inherited;
52 GtkCombo *combo_name;
53 GtkTextView *textview_value;
54 GtkCheckButton *button_visible;
55 GtkOptionMenu *optionmenu_shownv;
56 GtkWidget *frame_attributes;
57 GtkWidget *frame_add;
59 GdkColor value_normal_text_color; /* Workaround for lameness in GtkTextView */
60 GdkColor insensitive_text_color;
64 GType multiattrib_get_type (void);
66 void multiattrib_update (Multiattrib *multiattrib);
70 * CellTextView
73 #define TYPE_CELL_TEXT_VIEW (celltextview_get_type())
74 #define CELL_TEXT_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_CELL_TEXT_VIEW, CellTextView))
75 #define CELL_TEXT_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_CELL_TEXT_VIEW, CellTextViewClass))
76 #define IS_CELL_TEXT_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_CELL_TEXT_VIEW))
79 typedef struct _CellTextViewClass CellTextViewClass;
80 typedef struct _CellTextView CellTextView;
83 struct _CellTextViewClass {
84 GtkTextViewClass parent_class;
88 struct _CellTextView {
89 GtkTextView parent_instance;
91 gboolean editing_canceled;
95 GType celltextview_get_type (void);
99 * CellRendererMultiLineText
102 #define TYPE_CELL_RENDERER_MULTI_LINE_TEXT (cellrenderermultilinetext_get_type())
103 #define CELL_RENDERER_MULTI_LINE_TEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_CELL_RENDERER_MULTI_LINE_TEXT, CellRendererMultiLineText))
104 #define CELL_RENDERER_MULTI_LINE_TEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_CELL_RENDERER_MULTI_LINE_TEXT, CellRendererMultiLineText))
105 #define IS_CELL_RENDERER_MULTI_LINE_TEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_CELL_RENDERER_MULTI_LINE_TEXT))
108 typedef struct _CellRendererMultiLineTextClass CellRendererMultiLineTextClass;
109 typedef struct _CellRendererMultiLineText CellRendererMultiLineText;
112 struct _CellRendererMultiLineTextClass {
113 GtkCellRendererTextClass parent_class;
117 struct _CellRendererMultiLineText {
118 GtkCellRendererText parent_instance;
120 /*< private >*/
121 guint focus_out_id;
126 GType cellrenderermultilinetext_get_type (void);
129 #endif /* __X_MULTIATTRIB_H__ */