annotate src/emacs-widget-accessors.c @ 462:0784d089fdc9 r21-2-46

Import from CVS: tag r21-2-46
author cvs
date Mon, 13 Aug 2007 11:44:37 +0200
parents
children 183866b06e0b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1 DEFUN ("gtk-adjustment-lower", Fgtk_adjustment_lower, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
2 Access the `lower' slot of OBJ, a GtkAdjustment object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
3 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
4 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
5 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
6 GtkAdjustment *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
7 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
8
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
9 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
10
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
11 if (!GTK_IS_ADJUSTMENT (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
12 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
13 signal_simple_error ("Object is not a GtkAdjustment", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
14 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
15
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
16 the_obj = GTK_ADJUSTMENT (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
17 arg.type = gtk_type_from_name ("gfloat");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
18 GTK_VALUE_FLOAT (arg) = the_obj->lower;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
19 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
20 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
21
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
22 DEFUN ("gtk-adjustment-upper", Fgtk_adjustment_upper, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
23 Access the `upper' slot of OBJ, a GtkAdjustment object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
24 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
25 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
26 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
27 GtkAdjustment *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
28 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
29
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
30 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
31
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
32 if (!GTK_IS_ADJUSTMENT (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
33 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
34 signal_simple_error ("Object is not a GtkAdjustment", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
35 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
36
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
37 the_obj = GTK_ADJUSTMENT (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
38 arg.type = gtk_type_from_name ("gfloat");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
39 GTK_VALUE_FLOAT (arg) = the_obj->upper;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
40 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
41 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
42
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
43 DEFUN ("gtk-adjustment-value", Fgtk_adjustment_value, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
44 Access the `value' slot of OBJ, a GtkAdjustment object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
45 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
46 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
47 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
48 GtkAdjustment *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
49 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
50
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
51 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
52
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
53 if (!GTK_IS_ADJUSTMENT (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
54 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
55 signal_simple_error ("Object is not a GtkAdjustment", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
56 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
57
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
58 the_obj = GTK_ADJUSTMENT (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
59 arg.type = gtk_type_from_name ("gfloat");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
60 GTK_VALUE_FLOAT (arg) = the_obj->value;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
61 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
62 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
63
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
64 DEFUN ("gtk-adjustment-step-increment", Fgtk_adjustment_step_increment, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
65 Access the `step_increment' slot of OBJ, a GtkAdjustment object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
66 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
67 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
68 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
69 GtkAdjustment *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
70 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
71
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
72 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
73
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
74 if (!GTK_IS_ADJUSTMENT (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
75 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
76 signal_simple_error ("Object is not a GtkAdjustment", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
77 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
78
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
79 the_obj = GTK_ADJUSTMENT (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
80 arg.type = gtk_type_from_name ("gfloat");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
81 GTK_VALUE_FLOAT (arg) = the_obj->step_increment;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
82 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
83 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
84
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
85 DEFUN ("gtk-adjustment-page-increment", Fgtk_adjustment_page_increment, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
86 Access the `page_increment' slot of OBJ, a GtkAdjustment object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
87 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
88 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
89 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
90 GtkAdjustment *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
91 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
92
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
93 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
94
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
95 if (!GTK_IS_ADJUSTMENT (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
96 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
97 signal_simple_error ("Object is not a GtkAdjustment", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
98 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
99
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
100 the_obj = GTK_ADJUSTMENT (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
101 arg.type = gtk_type_from_name ("gfloat");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
102 GTK_VALUE_FLOAT (arg) = the_obj->page_increment;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
103 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
104 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
105
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
106 DEFUN ("gtk-adjustment-page-size", Fgtk_adjustment_page_size, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
107 Access the `page_size' slot of OBJ, a GtkAdjustment object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
108 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
109 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
110 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
111 GtkAdjustment *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
112 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
113
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
114 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
115
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
116 if (!GTK_IS_ADJUSTMENT (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
117 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
118 signal_simple_error ("Object is not a GtkAdjustment", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
119 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
120
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
121 the_obj = GTK_ADJUSTMENT (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
122 arg.type = gtk_type_from_name ("gfloat");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
123 GTK_VALUE_FLOAT (arg) = the_obj->page_size;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
124 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
125 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
126
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
127 DEFUN ("gtk-widget-style", Fgtk_widget_style, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
128 Access the `style' slot of OBJ, a GtkWidget object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
129 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
130 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
131 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
132 GtkWidget *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
133 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
134
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
135 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
136
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
137 if (!GTK_IS_WIDGET (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
138 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
139 signal_simple_error ("Object is not a GtkWidget", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
140 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
141
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
142 the_obj = GTK_WIDGET (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
143 arg.type = gtk_type_from_name ("GtkStyle");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
144 GTK_VALUE_BOXED (arg) = (void *)the_obj->style;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
145 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
146 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
147
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
148 DEFUN ("gtk-widget-window", Fgtk_widget_window, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
149 Access the `window' slot of OBJ, a GtkWidget object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
150 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
151 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
152 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
153 GtkWidget *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
154 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
155
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
156 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
157
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
158 if (!GTK_IS_WIDGET (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
159 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
160 signal_simple_error ("Object is not a GtkWidget", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
161 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
162
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
163 the_obj = GTK_WIDGET (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
164 arg.type = gtk_type_from_name ("GdkWindow");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
165 GTK_VALUE_BOXED (arg) = (void *)the_obj->window;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
166 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
167 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
168
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
169 DEFUN ("gtk-widget-state", Fgtk_widget_state, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
170 Access the `state' slot of OBJ, a GtkWidget object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
171 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
172 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
173 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
174 GtkWidget *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
175 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
176
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
177 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
178
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
179 if (!GTK_IS_WIDGET (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
180 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
181 signal_simple_error ("Object is not a GtkWidget", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
182 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
183
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
184 the_obj = GTK_WIDGET (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
185 arg.type = gtk_type_from_name ("GtkStateType");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
186 GTK_VALUE_ENUM (arg) = the_obj->state;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
187 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
188 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
189
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
190 DEFUN ("gtk-widget-name", Fgtk_widget_name, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
191 Access the `name' slot of OBJ, a GtkWidget object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
192 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
193 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
194 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
195 GtkWidget *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
196 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
197
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
198 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
199
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
200 if (!GTK_IS_WIDGET (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
201 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
202 signal_simple_error ("Object is not a GtkWidget", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
203 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
204
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
205 the_obj = GTK_WIDGET (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
206 arg.type = gtk_type_from_name ("GtkString");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
207 GTK_VALUE_STRING (arg) = the_obj->name;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
208 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
209 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
210
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
211 DEFUN ("gtk-widget-parent", Fgtk_widget_parent, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
212 Access the `parent' slot of OBJ, a GtkWidget object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
213 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
214 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
215 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
216 GtkWidget *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
217 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
218
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
219 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
220
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
221 if (!GTK_IS_WIDGET (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
222 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
223 signal_simple_error ("Object is not a GtkWidget", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
224 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
225
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
226 the_obj = GTK_WIDGET (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
227 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
228 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->parent);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
229 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
230 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
231
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
232 DEFUN ("gtk-button-child", Fgtk_button_child, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
233 Access the `child' slot of OBJ, a GtkButton object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
234 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
235 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
236 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
237 GtkButton *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
238 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
239
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
240 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
241
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
242 if (!GTK_IS_BUTTON (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
243 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
244 signal_simple_error ("Object is not a GtkButton", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
245 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
246
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
247 the_obj = GTK_BUTTON (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
248 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
249 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->child);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
250 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
251 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
252
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
253 DEFUN ("gtk-button-in-button", Fgtk_button_in_button, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
254 Access the `in_button' slot of OBJ, a GtkButton object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
255 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
256 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
257 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
258 GtkButton *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
259 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
260
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
261 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
262
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
263 if (!GTK_IS_BUTTON (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
264 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
265 signal_simple_error ("Object is not a GtkButton", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
266 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
267
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
268 the_obj = GTK_BUTTON (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
269 arg.type = gtk_type_from_name ("gboolean");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
270 GTK_VALUE_BOOL (arg) = the_obj->in_button;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
271 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
272 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
273
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
274 DEFUN ("gtk-button-button-down", Fgtk_button_button_down, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
275 Access the `button_down' slot of OBJ, a GtkButton object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
276 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
277 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
278 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
279 GtkButton *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
280 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
281
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
282 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
283
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
284 if (!GTK_IS_BUTTON (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
285 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
286 signal_simple_error ("Object is not a GtkButton", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
287 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
288
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
289 the_obj = GTK_BUTTON (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
290 arg.type = gtk_type_from_name ("gboolean");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
291 GTK_VALUE_BOOL (arg) = the_obj->button_down;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
292 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
293 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
294
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
295 DEFUN ("gtk-combo-entry", Fgtk_combo_entry, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
296 Access the `entry' slot of OBJ, a GtkCombo object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
297 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
298 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
299 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
300 GtkCombo *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
301 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
302
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
303 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
304
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
305 if (!GTK_IS_COMBO (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
306 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
307 signal_simple_error ("Object is not a GtkCombo", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
308 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
309
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
310 the_obj = GTK_COMBO (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
311 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
312 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->entry);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
313 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
314 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
315
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
316 DEFUN ("gtk-combo-button", Fgtk_combo_button, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
317 Access the `button' slot of OBJ, a GtkCombo object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
318 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
319 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
320 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
321 GtkCombo *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
322 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
323
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
324 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
325
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
326 if (!GTK_IS_COMBO (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
327 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
328 signal_simple_error ("Object is not a GtkCombo", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
329 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
330
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
331 the_obj = GTK_COMBO (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
332 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
333 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
334 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
335 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
336
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
337 DEFUN ("gtk-combo-popup", Fgtk_combo_popup, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
338 Access the `popup' slot of OBJ, a GtkCombo object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
339 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
340 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
341 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
342 GtkCombo *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
343 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
344
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
345 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
346
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
347 if (!GTK_IS_COMBO (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
348 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
349 signal_simple_error ("Object is not a GtkCombo", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
350 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
351
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
352 the_obj = GTK_COMBO (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
353 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
354 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->popup);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
355 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
356 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
357
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
358 DEFUN ("gtk-combo-popwin", Fgtk_combo_popwin, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
359 Access the `popwin' slot of OBJ, a GtkCombo object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
360 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
361 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
362 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
363 GtkCombo *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
364 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
365
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
366 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
367
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
368 if (!GTK_IS_COMBO (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
369 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
370 signal_simple_error ("Object is not a GtkCombo", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
371 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
372
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
373 the_obj = GTK_COMBO (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
374 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
375 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->popwin);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
376 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
377 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
378
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
379 DEFUN ("gtk-combo-list", Fgtk_combo_list, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
380 Access the `list' slot of OBJ, a GtkCombo object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
381 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
382 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
383 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
384 GtkCombo *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
385 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
386
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
387 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
388
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
389 if (!GTK_IS_COMBO (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
390 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
391 signal_simple_error ("Object is not a GtkCombo", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
392 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
393
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
394 the_obj = GTK_COMBO (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
395 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
396 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->list);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
397 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
398 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
399
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
400 DEFUN ("gtk-gamma-curve-table", Fgtk_gamma_curve_table, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
401 Access the `table' slot of OBJ, a GtkGammaCurve object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
402 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
403 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
404 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
405 GtkGammaCurve *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
406 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
407
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
408 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
409
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
410 if (!GTK_IS_GAMMA_CURVE (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
411 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
412 signal_simple_error ("Object is not a GtkGammaCurve", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
413 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
414
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
415 the_obj = GTK_GAMMA_CURVE (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
416 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
417 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->table);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
418 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
419 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
420
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
421 DEFUN ("gtk-gamma-curve-curve", Fgtk_gamma_curve_curve, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
422 Access the `curve' slot of OBJ, a GtkGammaCurve object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
423 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
424 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
425 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
426 GtkGammaCurve *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
427 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
428
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
429 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
430
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
431 if (!GTK_IS_GAMMA_CURVE (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
432 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
433 signal_simple_error ("Object is not a GtkGammaCurve", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
434 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
435
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
436 the_obj = GTK_GAMMA_CURVE (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
437 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
438 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->curve);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
439 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
440 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
441
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
442 DEFUN ("gtk-gamma-curve-gamma", Fgtk_gamma_curve_gamma, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
443 Access the `gamma' slot of OBJ, a GtkGammaCurve object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
444 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
445 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
446 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
447 GtkGammaCurve *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
448 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
449
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
450 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
451
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
452 if (!GTK_IS_GAMMA_CURVE (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
453 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
454 signal_simple_error ("Object is not a GtkGammaCurve", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
455 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
456
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
457 the_obj = GTK_GAMMA_CURVE (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
458 arg.type = gtk_type_from_name ("gfloat");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
459 GTK_VALUE_FLOAT (arg) = the_obj->gamma;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
460 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
461 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
463 DEFUN ("gtk-gamma-curve-gamma-dialog", Fgtk_gamma_curve_gamma_dialog, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
464 Access the `gamma_dialog' slot of OBJ, a GtkGammaCurve object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
465 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
466 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
467 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
468 GtkGammaCurve *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
469 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
470
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
471 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
472
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
473 if (!GTK_IS_GAMMA_CURVE (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
474 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
475 signal_simple_error ("Object is not a GtkGammaCurve", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
476 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
477
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
478 the_obj = GTK_GAMMA_CURVE (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
479 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
480 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->gamma_dialog);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
481 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
482 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
483
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
484 DEFUN ("gtk-gamma-curve-gamma-text", Fgtk_gamma_curve_gamma_text, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
485 Access the `gamma_text' slot of OBJ, a GtkGammaCurve object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
486 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
487 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
488 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
489 GtkGammaCurve *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
490 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
491
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
492 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
493
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
494 if (!GTK_IS_GAMMA_CURVE (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
495 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
496 signal_simple_error ("Object is not a GtkGammaCurve", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
497 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
498
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
499 the_obj = GTK_GAMMA_CURVE (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
500 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
501 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->gamma_text);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
502 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
503 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
504
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
505 DEFUN ("gtk-check-menu-item-active", Fgtk_check_menu_item_active, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
506 Access the `active' slot of OBJ, a GtkCheckMenuItem object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
507 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
508 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
509 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
510 GtkCheckMenuItem *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
511 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
512
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
513 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
514
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
515 if (!GTK_IS_CHECK_MENU_ITEM (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
516 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
517 signal_simple_error ("Object is not a GtkCheckMenuItem", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
518 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
519
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
520 the_obj = GTK_CHECK_MENU_ITEM (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
521 arg.type = gtk_type_from_name ("gboolean");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
522 GTK_VALUE_BOOL (arg) = the_obj->active;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
523 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
524 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
525
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
526 DEFUN ("gtk-notebook-tab-pos", Fgtk_notebook_tab_pos, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
527 Access the `tab_pos' slot of OBJ, a GtkNotebook object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
528 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
529 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
530 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
531 GtkNotebook *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
532 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
533
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
534 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
535
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
536 if (!GTK_IS_NOTEBOOK (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
537 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
538 signal_simple_error ("Object is not a GtkNotebook", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
539 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
540
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
541 the_obj = GTK_NOTEBOOK (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
542 arg.type = gtk_type_from_name ("GtkPositionType");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
543 GTK_VALUE_ENUM (arg) = the_obj->tab_pos;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
544 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
545 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
546
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
547 DEFUN ("gtk-text-hadj", Fgtk_text_hadj, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
548 Access the `hadj' slot of OBJ, a GtkText object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
549 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
550 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
551 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
552 GtkText *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
553 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
554
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
555 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
556
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
557 if (!GTK_IS_TEXT (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
558 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
559 signal_simple_error ("Object is not a GtkText", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
560 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
561
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
562 the_obj = GTK_TEXT (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
563 arg.type = gtk_type_from_name ("GtkAdjustment");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
564 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->hadj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
565 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
566 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
567
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
568 DEFUN ("gtk-text-vadj", Fgtk_text_vadj, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
569 Access the `vadj' slot of OBJ, a GtkText object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
570 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
571 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
572 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
573 GtkText *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
574 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
575
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
576 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
577
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
578 if (!GTK_IS_TEXT (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
579 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
580 signal_simple_error ("Object is not a GtkText", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
581 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
582
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
583 the_obj = GTK_TEXT (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
584 arg.type = gtk_type_from_name ("GtkAdjustment");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
585 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->vadj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
586 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
587 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
588
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
589 DEFUN ("gtk-file-selection-dir-list", Fgtk_file_selection_dir_list, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
590 Access the `dir_list' slot of OBJ, a GtkFileSelection object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
591 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
592 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
593 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
594 GtkFileSelection *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
595 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
596
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
597 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
598
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
599 if (!GTK_IS_FILE_SELECTION (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
600 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
601 signal_simple_error ("Object is not a GtkFileSelection", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
602 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
603
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
604 the_obj = GTK_FILE_SELECTION (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
605 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
606 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->dir_list);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
607 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
608 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
609
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
610 DEFUN ("gtk-file-selection-file-list", Fgtk_file_selection_file_list, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
611 Access the `file_list' slot of OBJ, a GtkFileSelection object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
612 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
613 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
614 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
615 GtkFileSelection *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
616 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
617
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
618 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
619
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
620 if (!GTK_IS_FILE_SELECTION (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
621 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
622 signal_simple_error ("Object is not a GtkFileSelection", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
623 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
624
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
625 the_obj = GTK_FILE_SELECTION (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
626 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
627 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->file_list);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
628 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
629 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
630
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
631 DEFUN ("gtk-file-selection-selection-entry", Fgtk_file_selection_selection_entry, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
632 Access the `selection_entry' slot of OBJ, a GtkFileSelection object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
633 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
634 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
635 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
636 GtkFileSelection *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
637 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
638
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
639 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
640
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
641 if (!GTK_IS_FILE_SELECTION (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
642 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
643 signal_simple_error ("Object is not a GtkFileSelection", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
644 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
645
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
646 the_obj = GTK_FILE_SELECTION (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
647 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
648 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->selection_entry);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
649 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
650 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
651
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
652 DEFUN ("gtk-file-selection-selection-text", Fgtk_file_selection_selection_text, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
653 Access the `selection_text' slot of OBJ, a GtkFileSelection object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
654 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
655 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
656 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
657 GtkFileSelection *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
658 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
659
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
660 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
661
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
662 if (!GTK_IS_FILE_SELECTION (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
663 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
664 signal_simple_error ("Object is not a GtkFileSelection", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
665 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
666
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
667 the_obj = GTK_FILE_SELECTION (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
668 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
669 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->selection_text);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
670 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
671 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
672
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
673 DEFUN ("gtk-file-selection-main-vbox", Fgtk_file_selection_main_vbox, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
674 Access the `main_vbox' slot of OBJ, a GtkFileSelection object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
675 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
676 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
677 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
678 GtkFileSelection *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
679 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
680
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
681 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
682
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
683 if (!GTK_IS_FILE_SELECTION (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
684 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
685 signal_simple_error ("Object is not a GtkFileSelection", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
686 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
687
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
688 the_obj = GTK_FILE_SELECTION (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
689 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
690 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->main_vbox);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
691 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
692 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
693
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
694 DEFUN ("gtk-file-selection-ok-button", Fgtk_file_selection_ok_button, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
695 Access the `ok_button' slot of OBJ, a GtkFileSelection object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
696 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
697 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
698 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
699 GtkFileSelection *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
700 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
701
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
702 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
703
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
704 if (!GTK_IS_FILE_SELECTION (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
705 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
706 signal_simple_error ("Object is not a GtkFileSelection", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
707 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
708
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
709 the_obj = GTK_FILE_SELECTION (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
710 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
711 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->ok_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
712 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
713 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
714
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
715 DEFUN ("gtk-file-selection-cancel-button", Fgtk_file_selection_cancel_button, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
716 Access the `cancel_button' slot of OBJ, a GtkFileSelection object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
717 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
718 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
719 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
720 GtkFileSelection *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
721 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
722
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
723 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
724
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
725 if (!GTK_IS_FILE_SELECTION (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
726 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
727 signal_simple_error ("Object is not a GtkFileSelection", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
728 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
729
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
730 the_obj = GTK_FILE_SELECTION (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
731 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
732 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->cancel_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
733 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
734 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
735
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
736 DEFUN ("gtk-file-selection-help-button", Fgtk_file_selection_help_button, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
737 Access the `help_button' slot of OBJ, a GtkFileSelection object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
738 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
739 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
740 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
741 GtkFileSelection *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
742 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
743
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
744 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
745
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
746 if (!GTK_IS_FILE_SELECTION (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
747 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
748 signal_simple_error ("Object is not a GtkFileSelection", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
749 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
750
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
751 the_obj = GTK_FILE_SELECTION (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
752 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
753 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->help_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
754 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
755 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
756
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
757 DEFUN ("gtk-file-selection-action-area", Fgtk_file_selection_action_area, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
758 Access the `action_area' slot of OBJ, a GtkFileSelection object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
759 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
760 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
761 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
762 GtkFileSelection *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
763 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
764
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
765 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
766
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
767 if (!GTK_IS_FILE_SELECTION (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
768 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
769 signal_simple_error ("Object is not a GtkFileSelection", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
770 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
771
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
772 the_obj = GTK_FILE_SELECTION (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
773 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
774 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->action_area);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
775 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
776 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
777
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
778 DEFUN ("gtk-font-selection-dialog-fontsel", Fgtk_font_selection_dialog_fontsel, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
779 Access the `fontsel' slot of OBJ, a GtkFontSelectionDialog object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
780 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
781 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
782 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
783 GtkFontSelectionDialog *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
784 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
785
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
786 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
787
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
788 if (!GTK_IS_FONT_SELECTION_DIALOG (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
789 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
790 signal_simple_error ("Object is not a GtkFontSelectionDialog", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
791 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
792
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
793 the_obj = GTK_FONT_SELECTION_DIALOG (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
794 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
795 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->fontsel);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
796 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
797 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
798
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
799 DEFUN ("gtk-font-selection-dialog-main-vbox", Fgtk_font_selection_dialog_main_vbox, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
800 Access the `main_vbox' slot of OBJ, a GtkFontSelectionDialog object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
801 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
802 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
803 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
804 GtkFontSelectionDialog *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
805 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
806
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
807 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
808
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
809 if (!GTK_IS_FONT_SELECTION_DIALOG (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
810 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
811 signal_simple_error ("Object is not a GtkFontSelectionDialog", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
812 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
813
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
814 the_obj = GTK_FONT_SELECTION_DIALOG (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
815 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
816 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->main_vbox);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
817 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
818 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
819
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
820 DEFUN ("gtk-font-selection-dialog-action-area", Fgtk_font_selection_dialog_action_area, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
821 Access the `action_area' slot of OBJ, a GtkFontSelectionDialog object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
822 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
823 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
824 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
825 GtkFontSelectionDialog *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
826 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
827
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
828 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
829
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
830 if (!GTK_IS_FONT_SELECTION_DIALOG (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
831 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
832 signal_simple_error ("Object is not a GtkFontSelectionDialog", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
833 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
834
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
835 the_obj = GTK_FONT_SELECTION_DIALOG (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
836 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
837 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->action_area);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
838 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
839 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
840
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
841 DEFUN ("gtk-font-selection-dialog-ok-button", Fgtk_font_selection_dialog_ok_button, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
842 Access the `ok_button' slot of OBJ, a GtkFontSelectionDialog object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
843 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
844 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
845 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
846 GtkFontSelectionDialog *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
847 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
848
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
849 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
850
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
851 if (!GTK_IS_FONT_SELECTION_DIALOG (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
852 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
853 signal_simple_error ("Object is not a GtkFontSelectionDialog", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
854 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
855
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
856 the_obj = GTK_FONT_SELECTION_DIALOG (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
857 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
858 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->ok_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
859 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
860 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
861
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
862 DEFUN ("gtk-font-selection-dialog-apply-button", Fgtk_font_selection_dialog_apply_button, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
863 Access the `apply_button' slot of OBJ, a GtkFontSelectionDialog object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
864 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
865 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
866 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
867 GtkFontSelectionDialog *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
868 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
869
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
870 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
871
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
872 if (!GTK_IS_FONT_SELECTION_DIALOG (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
873 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
874 signal_simple_error ("Object is not a GtkFontSelectionDialog", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
875 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
876
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
877 the_obj = GTK_FONT_SELECTION_DIALOG (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
878 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
879 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->apply_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
880 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
881 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
882
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
883 DEFUN ("gtk-font-selection-dialog-cancel-button", Fgtk_font_selection_dialog_cancel_button, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
884 Access the `cancel_button' slot of OBJ, a GtkFontSelectionDialog object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
885 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
886 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
887 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
888 GtkFontSelectionDialog *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
889 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
890
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
891 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
892
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
893 if (!GTK_IS_FONT_SELECTION_DIALOG (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
894 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
895 signal_simple_error ("Object is not a GtkFontSelectionDialog", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
896 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
897
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
898 the_obj = GTK_FONT_SELECTION_DIALOG (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
899 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
900 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->cancel_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
901 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
902 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
903
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
904 DEFUN ("gtk-color-selection-dialog-colorsel", Fgtk_color_selection_dialog_colorsel, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
905 Access the `colorsel' slot of OBJ, a GtkColorSelectionDialog object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
906 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
907 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
908 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
909 GtkColorSelectionDialog *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
910 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
911
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
912 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
913
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
914 if (!GTK_IS_COLOR_SELECTION_DIALOG (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
915 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
916 signal_simple_error ("Object is not a GtkColorSelectionDialog", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
917 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
918
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
919 the_obj = GTK_COLOR_SELECTION_DIALOG (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
920 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
921 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->colorsel);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
922 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
923 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
924
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
925 DEFUN ("gtk-color-selection-dialog-main-vbox", Fgtk_color_selection_dialog_main_vbox, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
926 Access the `main_vbox' slot of OBJ, a GtkColorSelectionDialog object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
927 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
928 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
929 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
930 GtkColorSelectionDialog *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
931 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
932
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
933 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
934
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
935 if (!GTK_IS_COLOR_SELECTION_DIALOG (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
936 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
937 signal_simple_error ("Object is not a GtkColorSelectionDialog", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
938 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
939
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
940 the_obj = GTK_COLOR_SELECTION_DIALOG (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
941 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
942 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->main_vbox);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
943 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
944 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
945
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
946 DEFUN ("gtk-color-selection-dialog-ok-button", Fgtk_color_selection_dialog_ok_button, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
947 Access the `ok_button' slot of OBJ, a GtkColorSelectionDialog object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
948 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
949 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
950 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
951 GtkColorSelectionDialog *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
952 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
953
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
954 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
955
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
956 if (!GTK_IS_COLOR_SELECTION_DIALOG (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
957 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
958 signal_simple_error ("Object is not a GtkColorSelectionDialog", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
959 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
960
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
961 the_obj = GTK_COLOR_SELECTION_DIALOG (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
962 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
963 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->ok_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
964 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
965 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
966
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
967 DEFUN ("gtk-color-selection-dialog-reset-button", Fgtk_color_selection_dialog_reset_button, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
968 Access the `reset_button' slot of OBJ, a GtkColorSelectionDialog object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
969 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
970 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
971 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
972 GtkColorSelectionDialog *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
973 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
974
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
975 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
976
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
977 if (!GTK_IS_COLOR_SELECTION_DIALOG (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
978 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
979 signal_simple_error ("Object is not a GtkColorSelectionDialog", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
980 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
981
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
982 the_obj = GTK_COLOR_SELECTION_DIALOG (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
983 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
984 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->reset_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
985 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
986 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
987
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
988 DEFUN ("gtk-color-selection-dialog-cancel-button", Fgtk_color_selection_dialog_cancel_button, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
989 Access the `cancel_button' slot of OBJ, a GtkColorSelectionDialog object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
990 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
991 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
992 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
993 GtkColorSelectionDialog *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
994 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
995
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
996 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
997
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
998 if (!GTK_IS_COLOR_SELECTION_DIALOG (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
999 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1000 signal_simple_error ("Object is not a GtkColorSelectionDialog", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1001 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1002
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1003 the_obj = GTK_COLOR_SELECTION_DIALOG (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1004 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1005 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->cancel_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1006 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1007 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1008
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1009 DEFUN ("gtk-color-selection-dialog-help-button", Fgtk_color_selection_dialog_help_button, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1010 Access the `help_button' slot of OBJ, a GtkColorSelectionDialog object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1011 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1012 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1013 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1014 GtkColorSelectionDialog *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1015 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1016
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1017 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1018
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1019 if (!GTK_IS_COLOR_SELECTION_DIALOG (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1020 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1021 signal_simple_error ("Object is not a GtkColorSelectionDialog", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1022 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1023
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1024 the_obj = GTK_COLOR_SELECTION_DIALOG (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1025 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1026 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->help_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1027 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1028 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1029
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1030 DEFUN ("gtk-dialog-vbox", Fgtk_dialog_vbox, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1031 Access the `vbox' slot of OBJ, a GtkDialog object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1032 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1033 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1034 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1035 GtkDialog *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1036 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1037
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1038 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1039
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1040 if (!GTK_IS_DIALOG (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1041 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1042 signal_simple_error ("Object is not a GtkDialog", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1043 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1044
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1045 the_obj = GTK_DIALOG (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1046 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1047 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->vbox);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1048 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1049 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1050
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1051 DEFUN ("gtk-dialog-action-area", Fgtk_dialog_action_area, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1052 Access the `action_area' slot of OBJ, a GtkDialog object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1053 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1054 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1055 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1056 GtkDialog *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1057 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1058
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1059 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1060
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1061 if (!GTK_IS_DIALOG (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1062 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1063 signal_simple_error ("Object is not a GtkDialog", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1064 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1065
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1066 the_obj = GTK_DIALOG (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1067 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1068 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->action_area);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1069 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1070 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1071
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1072 DEFUN ("gtk-input-dialog-close-button", Fgtk_input_dialog_close_button, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1073 Access the `close_button' slot of OBJ, a GtkInputDialog object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1074 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1075 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1076 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1077 GtkInputDialog *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1078 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1079
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1080 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1081
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1082 if (!GTK_IS_INPUT_DIALOG (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1083 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1084 signal_simple_error ("Object is not a GtkInputDialog", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1085 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1086
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1087 the_obj = GTK_INPUT_DIALOG (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1088 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1089 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->close_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1090 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1091 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1092
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1093 DEFUN ("gtk-input-dialog-save-button", Fgtk_input_dialog_save_button, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1094 Access the `save_button' slot of OBJ, a GtkInputDialog object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1095 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1096 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1097 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1098 GtkInputDialog *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1099 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1100
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1101 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1102
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1103 if (!GTK_IS_INPUT_DIALOG (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1104 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1105 signal_simple_error ("Object is not a GtkInputDialog", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1106 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1107
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1108 the_obj = GTK_INPUT_DIALOG (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1109 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1110 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->save_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1111 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1112 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1113
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1114 DEFUN ("gtk-plug-socket-window", Fgtk_plug_socket_window, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1115 Access the `socket_window' slot of OBJ, a GtkPlug object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1116 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1117 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1118 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1119 GtkPlug *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1120 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1121
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1122 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1123
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1124 if (!GTK_IS_PLUG (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1125 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1126 signal_simple_error ("Object is not a GtkPlug", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1127 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1128
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1129 the_obj = GTK_PLUG (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1130 arg.type = gtk_type_from_name ("GdkWindow");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1131 GTK_VALUE_BOXED (arg) = (void *)the_obj->socket_window;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1132 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1133 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1134
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1135 DEFUN ("gtk-plug-same-app", Fgtk_plug_same_app, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1136 Access the `same_app' slot of OBJ, a GtkPlug object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1137 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1138 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1139 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1140 GtkPlug *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1141 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1142
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1143 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1144
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1145 if (!GTK_IS_PLUG (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1146 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1147 signal_simple_error ("Object is not a GtkPlug", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1148 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1149
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1150 the_obj = GTK_PLUG (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1151 arg.type = gtk_type_from_name ("gint");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1152 GTK_VALUE_INT (arg) = the_obj->same_app;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1153 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1154 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1155
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1156 DEFUN ("gtk-object-flags", Fgtk_object_flags, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1157 Access the `flags' slot of OBJ, a GtkObject object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1158 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1159 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1160 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1161 GtkObject *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1162 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1163
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1164 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1165
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1166 if (!GTK_IS_OBJECT (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1167 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1168 signal_simple_error ("Object is not a GtkObject", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1169 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1170
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1171 the_obj = GTK_OBJECT (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1172 arg.type = gtk_type_from_name ("guint");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1173 GTK_VALUE_UINT (arg) = the_obj->flags;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1174 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1175 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1176
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1177 DEFUN ("gtk-object-ref-count", Fgtk_object_ref_count, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1178 Access the `ref_count' slot of OBJ, a GtkObject object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1179 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1180 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1181 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1182 GtkObject *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1183 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1184
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1185 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1186
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1187 if (!GTK_IS_OBJECT (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1188 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1189 signal_simple_error ("Object is not a GtkObject", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1190 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1191
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1192 the_obj = GTK_OBJECT (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1193 arg.type = gtk_type_from_name ("guint");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1194 GTK_VALUE_UINT (arg) = the_obj->ref_count;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1195 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1196 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1197
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1198 DEFUN ("gtk-paned-child1", Fgtk_paned_child1, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1199 Access the `child1' slot of OBJ, a GtkPaned object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1200 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1201 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1202 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1203 GtkPaned *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1204 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1205
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1206 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1207
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1208 if (!GTK_IS_PANED (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1209 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1210 signal_simple_error ("Object is not a GtkPaned", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1211 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1212
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1213 the_obj = GTK_PANED (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1214 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1215 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->child1);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1216 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1217 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1218
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1219 DEFUN ("gtk-paned-child2", Fgtk_paned_child2, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1220 Access the `child2' slot of OBJ, a GtkPaned object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1221 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1222 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1223 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1224 GtkPaned *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1225 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1226
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1227 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1228
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1229 if (!GTK_IS_PANED (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1230 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1231 signal_simple_error ("Object is not a GtkPaned", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1232 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1233
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1234 the_obj = GTK_PANED (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1235 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1236 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->child2);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1237 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1238 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1239
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1240 DEFUN ("gtk-paned-child1-resize", Fgtk_paned_child1_resize, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1241 Access the `child1_resize' slot of OBJ, a GtkPaned object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1242 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1243 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1244 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1245 GtkPaned *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1246 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1247
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1248 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1249
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1250 if (!GTK_IS_PANED (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1251 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1252 signal_simple_error ("Object is not a GtkPaned", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1253 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1254
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1255 the_obj = GTK_PANED (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1256 arg.type = gtk_type_from_name ("gboolean");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1257 GTK_VALUE_BOOL (arg) = the_obj->child1_resize;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1258 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1259 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1260
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1261 DEFUN ("gtk-paned-child2-resize", Fgtk_paned_child2_resize, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1262 Access the `child2_resize' slot of OBJ, a GtkPaned object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1263 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1264 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1265 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1266 GtkPaned *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1267 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1268
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1269 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1270
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1271 if (!GTK_IS_PANED (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1272 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1273 signal_simple_error ("Object is not a GtkPaned", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1274 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1275
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1276 the_obj = GTK_PANED (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1277 arg.type = gtk_type_from_name ("gboolean");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1278 GTK_VALUE_BOOL (arg) = the_obj->child2_resize;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1279 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1280 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1281
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1282 DEFUN ("gtk-paned-child1-shrink", Fgtk_paned_child1_shrink, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1283 Access the `child1_shrink' slot of OBJ, a GtkPaned object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1284 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1285 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1286 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1287 GtkPaned *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1288 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1289
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1290 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1291
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1292 if (!GTK_IS_PANED (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1293 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1294 signal_simple_error ("Object is not a GtkPaned", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1295 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1296
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1297 the_obj = GTK_PANED (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1298 arg.type = gtk_type_from_name ("gboolean");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1299 GTK_VALUE_BOOL (arg) = the_obj->child1_shrink;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1300 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1301 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1302
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1303 DEFUN ("gtk-paned-child2-shrink", Fgtk_paned_child2_shrink, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1304 Access the `child2_shrink' slot of OBJ, a GtkPaned object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1305 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1306 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1307 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1308 GtkPaned *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1309 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1310
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1311 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1312
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1313 if (!GTK_IS_PANED (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1314 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1315 signal_simple_error ("Object is not a GtkPaned", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1316 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1317
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1318 the_obj = GTK_PANED (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1319 arg.type = gtk_type_from_name ("gboolean");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1320 GTK_VALUE_BOOL (arg) = the_obj->child2_shrink;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1321 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1322 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1323
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1324 DEFUN ("gtk-clist-rows", Fgtk_clist_rows, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1325 Access the `rows' slot of OBJ, a GtkCList object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1326 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1327 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1328 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1329 GtkCList *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1330 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1331
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1332 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1333
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1334 if (!GTK_IS_CLIST (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1335 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1336 signal_simple_error ("Object is not a GtkCList", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1337 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1338
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1339 the_obj = GTK_CLIST (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1340 arg.type = gtk_type_from_name ("gint");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1341 GTK_VALUE_INT (arg) = the_obj->rows;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1342 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1343 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1344
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1345 DEFUN ("gtk-clist-columns", Fgtk_clist_columns, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1346 Access the `columns' slot of OBJ, a GtkCList object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1347 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1348 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1349 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1350 GtkCList *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1351 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1352
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1353 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1354
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1355 if (!GTK_IS_CLIST (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1356 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1357 signal_simple_error ("Object is not a GtkCList", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1358 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1359
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1360 the_obj = GTK_CLIST (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1361 arg.type = gtk_type_from_name ("gint");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1362 GTK_VALUE_INT (arg) = the_obj->columns;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1363 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1364 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1365
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1366 DEFUN ("gtk-clist-hadjustment", Fgtk_clist_hadjustment, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1367 Access the `hadjustment' slot of OBJ, a GtkCList object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1368 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1369 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1370 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1371 GtkCList *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1372 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1373
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1374 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1375
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1376 if (!GTK_IS_CLIST (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1377 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1378 signal_simple_error ("Object is not a GtkCList", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1379 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1380
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1381 the_obj = GTK_CLIST (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1382 arg.type = gtk_type_from_name ("GtkAdjustment");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1383 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->hadjustment);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1384 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1385 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1386
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1387 DEFUN ("gtk-clist-vadjustment", Fgtk_clist_vadjustment, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1388 Access the `vadjustment' slot of OBJ, a GtkCList object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1389 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1390 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1391 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1392 GtkCList *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1393 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1394
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1395 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1396
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1397 if (!GTK_IS_CLIST (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1398 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1399 signal_simple_error ("Object is not a GtkCList", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1400 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1401
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1402 the_obj = GTK_CLIST (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1403 arg.type = gtk_type_from_name ("GtkAdjustment");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1404 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->vadjustment);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1405 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1406 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1407
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1408 DEFUN ("gtk-clist-sort-type", Fgtk_clist_sort_type, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1409 Access the `sort_type' slot of OBJ, a GtkCList object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1410 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1411 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1412 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1413 GtkCList *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1414 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1415
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1416 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1417
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1418 if (!GTK_IS_CLIST (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1419 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1420 signal_simple_error ("Object is not a GtkCList", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1421 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1422
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1423 the_obj = GTK_CLIST (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1424 arg.type = gtk_type_from_name ("GtkSortType");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1425 GTK_VALUE_ENUM (arg) = the_obj->sort_type;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1426 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1427 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1428
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1429 DEFUN ("gtk-clist-focus-row", Fgtk_clist_focus_row, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1430 Access the `focus_row' slot of OBJ, a GtkCList object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1431 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1432 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1433 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1434 GtkCList *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1435 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1436
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1437 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1438
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1439 if (!GTK_IS_CLIST (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1440 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1441 signal_simple_error ("Object is not a GtkCList", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1442 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1443
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1444 the_obj = GTK_CLIST (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1445 arg.type = gtk_type_from_name ("gint");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1446 GTK_VALUE_INT (arg) = the_obj->focus_row;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1447 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1448 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1449
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1450 DEFUN ("gtk-clist-sort-column", Fgtk_clist_sort_column, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1451 Access the `sort_column' slot of OBJ, a GtkCList object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1452 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1453 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1454 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1455 GtkCList *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1456 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1457
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1458 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1459
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1460 if (!GTK_IS_CLIST (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1461 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1462 signal_simple_error ("Object is not a GtkCList", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1463 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1464
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1465 the_obj = GTK_CLIST (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1466 arg.type = gtk_type_from_name ("gint");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1467 GTK_VALUE_INT (arg) = the_obj->sort_column;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1468 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1469 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1470
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1471 DEFUN ("gtk-list-children", Fgtk_list_children, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1472 Access the `children' slot of OBJ, a GtkList object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1473 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1474 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1475 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1476 GtkList *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1477 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1478
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1479 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1480
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1481 if (!GTK_IS_LIST (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1482 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1483 signal_simple_error ("Object is not a GtkList", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1484 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1485
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1486 the_obj = GTK_LIST (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1487 arg.type = gtk_type_from_name ("GtkListOfObject");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1488 GTK_VALUE_POINTER (arg) = the_obj->children;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1489 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1490 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1491
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1492 DEFUN ("gtk-list-selection", Fgtk_list_selection, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1493 Access the `selection' slot of OBJ, a GtkList object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1494 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1495 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1496 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1497 GtkList *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1498 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1499
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1500 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1501
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1502 if (!GTK_IS_LIST (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1503 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1504 signal_simple_error ("Object is not a GtkList", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1505 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1506
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1507 the_obj = GTK_LIST (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1508 arg.type = gtk_type_from_name ("GtkListOfObject");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1509 GTK_VALUE_POINTER (arg) = the_obj->selection;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1510 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1511 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1512
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1513 DEFUN ("gtk-tree-children", Fgtk_tree_children, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1514 Access the `children' slot of OBJ, a GtkTree object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1515 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1516 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1517 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1518 GtkTree *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1519 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1520
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1521 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1522
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1523 if (!GTK_IS_TREE (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1524 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1525 signal_simple_error ("Object is not a GtkTree", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1526 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1527
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1528 the_obj = GTK_TREE (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1529 arg.type = gtk_type_from_name ("GtkListOfObject");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1530 GTK_VALUE_POINTER (arg) = the_obj->children;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1531 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1532 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1533
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1534 DEFUN ("gtk-tree-root-tree", Fgtk_tree_root_tree, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1535 Access the `root_tree' slot of OBJ, a GtkTree object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1536 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1537 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1538 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1539 GtkTree *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1540 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1541
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1542 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1543
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1544 if (!GTK_IS_TREE (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1545 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1546 signal_simple_error ("Object is not a GtkTree", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1547 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1548
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1549 the_obj = GTK_TREE (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1550 arg.type = gtk_type_from_name ("GtkTree");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1551 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->root_tree);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1552 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1553 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1554
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1555 DEFUN ("gtk-tree-tree-owner", Fgtk_tree_tree_owner, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1556 Access the `tree_owner' slot of OBJ, a GtkTree object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1557 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1558 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1559 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1560 GtkTree *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1561 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1562
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1563 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1564
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1565 if (!GTK_IS_TREE (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1566 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1567 signal_simple_error ("Object is not a GtkTree", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1568 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1569
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1570 the_obj = GTK_TREE (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1571 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1572 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->tree_owner);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1573 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1574 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1575
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1576 DEFUN ("gtk-tree-selection", Fgtk_tree_selection, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1577 Access the `selection' slot of OBJ, a GtkTree object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1578 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1579 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1580 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1581 GtkTree *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1582 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1583
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1584 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1585
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1586 if (!GTK_IS_TREE (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1587 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1588 signal_simple_error ("Object is not a GtkTree", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1589 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1590
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1591 the_obj = GTK_TREE (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1592 arg.type = gtk_type_from_name ("GtkListOfObject");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1593 GTK_VALUE_POINTER (arg) = the_obj->selection;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1594 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1595 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1596
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1597 DEFUN ("gtk-tree-item-subtree", Fgtk_tree_item_subtree, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1598 Access the `subtree' slot of OBJ, a GtkTreeItem object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1599 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1600 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1601 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1602 GtkTreeItem *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1603 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1604
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1605 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1606
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1607 if (!GTK_IS_TREE_ITEM (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1608 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1609 signal_simple_error ("Object is not a GtkTreeItem", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1610 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1611
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1612 the_obj = GTK_TREE_ITEM (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1613 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1614 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->subtree);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1615 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1616 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1617
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1618 DEFUN ("gtk-scrolled-window-hscrollbar", Fgtk_scrolled_window_hscrollbar, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1619 Access the `hscrollbar' slot of OBJ, a GtkScrolledWindow object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1620 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1621 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1622 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1623 GtkScrolledWindow *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1624 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1625
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1626 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1627
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1628 if (!GTK_IS_SCROLLED_WINDOW (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1629 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1630 signal_simple_error ("Object is not a GtkScrolledWindow", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1631 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1632
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1633 the_obj = GTK_SCROLLED_WINDOW (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1634 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1635 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->hscrollbar);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1636 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1637 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1638
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1639 DEFUN ("gtk-scrolled-window-vscrollbar", Fgtk_scrolled_window_vscrollbar, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1640 Access the `vscrollbar' slot of OBJ, a GtkScrolledWindow object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1641 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1642 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1643 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1644 GtkScrolledWindow *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1645 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1646
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1647 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1648
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1649 if (!GTK_IS_SCROLLED_WINDOW (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1650 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1651 signal_simple_error ("Object is not a GtkScrolledWindow", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1652 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1653
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1654 the_obj = GTK_SCROLLED_WINDOW (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1655 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1656 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->vscrollbar);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1657 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1658 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1659
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1660 DEFUN ("gtk-scrolled-window-hscrollbar-visible", Fgtk_scrolled_window_hscrollbar_visible, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1661 Access the `hscrollbar_visible' slot of OBJ, a GtkScrolledWindow object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1662 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1663 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1664 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1665 GtkScrolledWindow *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1666 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1667
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1668 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1669
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1670 if (!GTK_IS_SCROLLED_WINDOW (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1671 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1672 signal_simple_error ("Object is not a GtkScrolledWindow", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1673 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1674
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1675 the_obj = GTK_SCROLLED_WINDOW (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1676 arg.type = gtk_type_from_name ("gboolean");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1677 GTK_VALUE_BOOL (arg) = the_obj->hscrollbar_visible;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1678 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1679 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1680
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1681 DEFUN ("gtk-scrolled-window-vscrollbar-visible", Fgtk_scrolled_window_vscrollbar_visible, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1682 Access the `vscrollbar_visible' slot of OBJ, a GtkScrolledWindow object.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1683 */
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1684 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1685 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1686 GtkScrolledWindow *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1687 GtkArg arg;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1688
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1689 CHECK_GTK_OBJECT (obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1690
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1691 if (!GTK_IS_SCROLLED_WINDOW (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1692 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1693 signal_simple_error ("Object is not a GtkScrolledWindow", obj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1694 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1695
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1696 the_obj = GTK_SCROLLED_WINDOW (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1697 arg.type = gtk_type_from_name ("gboolean");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1698 GTK_VALUE_BOOL (arg) = the_obj->vscrollbar_visible;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1699 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1700 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1701
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1702 void syms_of_widget_accessors (void)
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1703 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1704 DEFSUBR (Fgtk_scrolled_window_vscrollbar_visible);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1705 DEFSUBR (Fgtk_scrolled_window_hscrollbar_visible);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1706 DEFSUBR (Fgtk_scrolled_window_vscrollbar);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1707 DEFSUBR (Fgtk_scrolled_window_hscrollbar);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1708 DEFSUBR (Fgtk_tree_item_subtree);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1709 DEFSUBR (Fgtk_tree_selection);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1710 DEFSUBR (Fgtk_tree_tree_owner);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1711 DEFSUBR (Fgtk_tree_root_tree);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1712 DEFSUBR (Fgtk_tree_children);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1713 DEFSUBR (Fgtk_list_selection);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1714 DEFSUBR (Fgtk_list_children);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1715 DEFSUBR (Fgtk_clist_sort_column);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1716 DEFSUBR (Fgtk_clist_focus_row);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1717 DEFSUBR (Fgtk_clist_sort_type);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1718 DEFSUBR (Fgtk_clist_vadjustment);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1719 DEFSUBR (Fgtk_clist_hadjustment);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1720 DEFSUBR (Fgtk_clist_columns);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1721 DEFSUBR (Fgtk_clist_rows);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1722 DEFSUBR (Fgtk_paned_child2_shrink);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1723 DEFSUBR (Fgtk_paned_child1_shrink);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1724 DEFSUBR (Fgtk_paned_child2_resize);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1725 DEFSUBR (Fgtk_paned_child1_resize);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1726 DEFSUBR (Fgtk_paned_child2);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1727 DEFSUBR (Fgtk_paned_child1);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1728 DEFSUBR (Fgtk_object_ref_count);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1729 DEFSUBR (Fgtk_object_flags);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1730 DEFSUBR (Fgtk_plug_same_app);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1731 DEFSUBR (Fgtk_plug_socket_window);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1732 DEFSUBR (Fgtk_input_dialog_save_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1733 DEFSUBR (Fgtk_input_dialog_close_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1734 DEFSUBR (Fgtk_dialog_action_area);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1735 DEFSUBR (Fgtk_dialog_vbox);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1736 DEFSUBR (Fgtk_color_selection_dialog_help_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1737 DEFSUBR (Fgtk_color_selection_dialog_cancel_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1738 DEFSUBR (Fgtk_color_selection_dialog_reset_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1739 DEFSUBR (Fgtk_color_selection_dialog_ok_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1740 DEFSUBR (Fgtk_color_selection_dialog_main_vbox);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1741 DEFSUBR (Fgtk_color_selection_dialog_colorsel);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1742 DEFSUBR (Fgtk_font_selection_dialog_cancel_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1743 DEFSUBR (Fgtk_font_selection_dialog_apply_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1744 DEFSUBR (Fgtk_font_selection_dialog_ok_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1745 DEFSUBR (Fgtk_font_selection_dialog_action_area);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1746 DEFSUBR (Fgtk_font_selection_dialog_main_vbox);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1747 DEFSUBR (Fgtk_font_selection_dialog_fontsel);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1748 DEFSUBR (Fgtk_file_selection_action_area);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1749 DEFSUBR (Fgtk_file_selection_help_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1750 DEFSUBR (Fgtk_file_selection_cancel_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1751 DEFSUBR (Fgtk_file_selection_ok_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1752 DEFSUBR (Fgtk_file_selection_main_vbox);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1753 DEFSUBR (Fgtk_file_selection_selection_text);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1754 DEFSUBR (Fgtk_file_selection_selection_entry);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1755 DEFSUBR (Fgtk_file_selection_file_list);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1756 DEFSUBR (Fgtk_file_selection_dir_list);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1757 DEFSUBR (Fgtk_text_vadj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1758 DEFSUBR (Fgtk_text_hadj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1759 DEFSUBR (Fgtk_notebook_tab_pos);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1760 DEFSUBR (Fgtk_check_menu_item_active);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1761 DEFSUBR (Fgtk_gamma_curve_gamma_text);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1762 DEFSUBR (Fgtk_gamma_curve_gamma_dialog);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1763 DEFSUBR (Fgtk_gamma_curve_gamma);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1764 DEFSUBR (Fgtk_gamma_curve_curve);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1765 DEFSUBR (Fgtk_gamma_curve_table);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1766 DEFSUBR (Fgtk_combo_list);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1767 DEFSUBR (Fgtk_combo_popwin);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1768 DEFSUBR (Fgtk_combo_popup);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1769 DEFSUBR (Fgtk_combo_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1770 DEFSUBR (Fgtk_combo_entry);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1771 DEFSUBR (Fgtk_button_button_down);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1772 DEFSUBR (Fgtk_button_in_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1773 DEFSUBR (Fgtk_button_child);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1774 DEFSUBR (Fgtk_widget_parent);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1775 DEFSUBR (Fgtk_widget_name);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1776 DEFSUBR (Fgtk_widget_state);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1777 DEFSUBR (Fgtk_widget_window);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1778 DEFSUBR (Fgtk_widget_style);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1779 DEFSUBR (Fgtk_adjustment_page_size);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1780 DEFSUBR (Fgtk_adjustment_page_increment);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1781 DEFSUBR (Fgtk_adjustment_step_increment);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1782 DEFSUBR (Fgtk_adjustment_value);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1783 DEFSUBR (Fgtk_adjustment_upper);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1784 DEFSUBR (Fgtk_adjustment_lower);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1785 }