[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: CVS update: x_multiattrib.h
User: pbernaud
Date: 05/02/26 13:38:44
Modified: . x_multiattrib.h
Log:
Modified x_multiattrib.nw:
- fixed bug #153: reset of toplevel internal state at closing of
dialog ;
- added support for multi-line value in attribute list ;
- added a check to prevent empty attribute names.
Revision Changes Path
1.2 +69 -0 eda/geda/devel/gschem/include/x_multiattrib.h
(In the diff below, changes in quantity of whitespace are not shown.)
Index: x_multiattrib.h
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/devel/gschem/include/x_multiattrib.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- x_multiattrib.h 22 Feb 2005 17:59:58 -0000 1.1
+++ x_multiattrib.h 26 Feb 2005 18:38:43 -0000 1.2
@@ -18,6 +18,13 @@
*/
+#ifndef __X_MULTIATTRIB_H__
+#define __X_MULTIATTRIB_H__
+
+
+/*
+ * Multiattrib
+ */
typedef enum {
MULTIATTRIB_RESPONSE_CLOSE = 1
@@ -58,3 +65,65 @@
GType multiattrib_get_type (void);
void multiattrib_update (Multiattrib *multiattrib);
+
+
+/*
+ * CellTextView
+ */
+
+#define TYPE_CELL_TEXT_VIEW (celltextview_get_type())
+#define CELL_TEXT_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_CELL_TEXT_VIEW, CellTextView))
+#define CELL_TEXT_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_CELL_TEXT_VIEW, CellTextViewClass))
+#define IS_CELL_TEXT_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_CELL_TEXT_VIEW))
+
+
+typedef struct _CellTextViewClass CellTextViewClass;
+typedef struct _CellTextView CellTextView;
+
+
+struct _CellTextViewClass {
+ GtkTextViewClass parent_class;
+
+};
+
+struct _CellTextView {
+ GtkTextView parent_instance;
+
+};
+
+
+GType celltextview_get_type (void);
+
+
+/*
+ * CellRendererMultiLineText
+ */
+
+#define TYPE_CELL_RENDERER_MULTI_LINE_TEXT (cellrenderermultilinetext_get_type())
+#define CELL_RENDERER_MULTI_LINE_TEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_CELL_RENDERER_MULTI_LINE_TEXT, CellRendererMultiLineText))
+#define CELL_RENDERER_MULTI_LINE_TEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_CELL_RENDERER_MULTI_LINE_TEXT, CellRendererMultiLineText))
+#define IS_CELL_RENDERER_MULTI_LINE_TEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_CELL_RENDERER_MULTI_LINE_TEXT))
+
+
+typedef struct _CellRendererMultiLineTextClass CellRendererMultiLineTextClass;
+typedef struct _CellRendererMultiLineText CellRendererMultiLineText;
+
+
+struct _CellRendererMultiLineTextClass {
+ GtkCellRendererTextClass parent_class;
+
+};
+
+struct _CellRendererMultiLineText {
+ GtkCellRendererText parent_instance;
+
+ /*< private >*/
+ guint focus_out_id;
+
+};
+
+
+GType cellrenderermultilinetext_get_type (void);
+
+
+#endif /* __X_MULTIATTRIB_H__ */