annotate src/emacs-widget-accessors.c @ 2001:cc5b615380f8

[xemacs-hg @ 2004-04-08 15:23:07 by james] Various fixes to repair the C++ build.
author james
date Thu, 08 Apr 2004 15:23:09 +0000
parents 37fe04af1590
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
589
37fe04af1590 [xemacs-hg @ 2001-05-31 02:00:29 by wmperry]
wmperry
parents: 563
diff changeset
1 /* This file was automatically generated by ../lisp/gtk-widget-accessors.el */
37fe04af1590 [xemacs-hg @ 2001-05-31 02:00:29 by wmperry]
wmperry
parents: 563
diff changeset
2 /* DO NOT EDIT BY HAND!!! */
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
3 DEFUN ("gtk-adjustment-lower", Fgtk_adjustment_lower, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
4 Access the `lower' slot of OBJ, a GtkAdjustment object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
7 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
8 GtkAdjustment *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
9 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_ADJUSTMENT (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
14 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
15 wtaerror ("Object is not a GtkAdjustment", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
16 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
17
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
18 the_obj = GTK_ADJUSTMENT (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
19 arg.type = gtk_type_from_name ("gfloat");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
20 GTK_VALUE_FLOAT (arg) = the_obj->lower;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
21 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
22 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
23
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
24 DEFUN ("gtk-adjustment-upper", Fgtk_adjustment_upper, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
25 Access the `upper' slot of OBJ, a GtkAdjustment object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
28 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
29 GtkAdjustment *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
30 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_ADJUSTMENT (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
35 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
36 wtaerror ("Object is not a GtkAdjustment", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
37 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
38
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
39 the_obj = GTK_ADJUSTMENT (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
40 arg.type = gtk_type_from_name ("gfloat");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
41 GTK_VALUE_FLOAT (arg) = the_obj->upper;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
42 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
43 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
44
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
45 DEFUN ("gtk-adjustment-value", Fgtk_adjustment_value, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
46 Access the `value' slot of OBJ, a GtkAdjustment object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
49 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
50 GtkAdjustment *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
51 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_ADJUSTMENT (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
56 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
57 wtaerror ("Object is not a GtkAdjustment", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
58 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
59
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
60 the_obj = GTK_ADJUSTMENT (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
61 arg.type = gtk_type_from_name ("gfloat");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
62 GTK_VALUE_FLOAT (arg) = the_obj->value;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
63 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
64 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
65
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
66 DEFUN ("gtk-adjustment-step-increment", Fgtk_adjustment_step_increment, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
67 Access the `step_increment' slot of OBJ, a GtkAdjustment object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
70 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
71 GtkAdjustment *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
72 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_ADJUSTMENT (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
77 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
78 wtaerror ("Object is not a GtkAdjustment", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
79 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
80
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
81 the_obj = GTK_ADJUSTMENT (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
82 arg.type = gtk_type_from_name ("gfloat");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
83 GTK_VALUE_FLOAT (arg) = the_obj->step_increment;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
84 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
85 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
86
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
87 DEFUN ("gtk-adjustment-page-increment", Fgtk_adjustment_page_increment, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
88 Access the `page_increment' slot of OBJ, a GtkAdjustment object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
91 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
92 GtkAdjustment *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
93 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_ADJUSTMENT (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
98 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
99 wtaerror ("Object is not a GtkAdjustment", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
100 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
101
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
102 the_obj = GTK_ADJUSTMENT (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
103 arg.type = gtk_type_from_name ("gfloat");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
104 GTK_VALUE_FLOAT (arg) = the_obj->page_increment;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
105 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
106 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
107
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
108 DEFUN ("gtk-adjustment-page-size", Fgtk_adjustment_page_size, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
109 Access the `page_size' slot of OBJ, a GtkAdjustment object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
112 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
113 GtkAdjustment *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
114 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_ADJUSTMENT (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
119 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
120 wtaerror ("Object is not a GtkAdjustment", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
121 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
122
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
123 the_obj = GTK_ADJUSTMENT (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
124 arg.type = gtk_type_from_name ("gfloat");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
125 GTK_VALUE_FLOAT (arg) = the_obj->page_size;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
126 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
127 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
128
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
129 DEFUN ("gtk-widget-style", Fgtk_widget_style, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
130 Access the `style' slot of OBJ, a GtkWidget object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
133 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
134 GtkWidget *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
135 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_WIDGET (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
140 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
141 wtaerror ("Object is not a GtkWidget", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
142 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
143
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
144 the_obj = GTK_WIDGET (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
145 arg.type = gtk_type_from_name ("GtkStyle");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
146 GTK_VALUE_BOXED (arg) = (void *)the_obj->style;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
147 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
148 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
149
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
150 DEFUN ("gtk-widget-window", Fgtk_widget_window, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
151 Access the `window' slot of OBJ, a GtkWidget object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
154 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
155 GtkWidget *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
156 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_WIDGET (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
161 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
162 wtaerror ("Object is not a GtkWidget", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
163 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
164
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
165 the_obj = GTK_WIDGET (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
166 arg.type = gtk_type_from_name ("GdkWindow");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
167 GTK_VALUE_BOXED (arg) = (void *)the_obj->window;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
168 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
169 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
170
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
171 DEFUN ("gtk-widget-state", Fgtk_widget_state, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
172 Access the `state' slot of OBJ, a GtkWidget object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
175 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
176 GtkWidget *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
177 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_WIDGET (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
182 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
183 wtaerror ("Object is not a GtkWidget", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
184 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
185
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
186 the_obj = GTK_WIDGET (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
187 arg.type = gtk_type_from_name ("GtkStateType");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
188 GTK_VALUE_ENUM (arg) = the_obj->state;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
189 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
190 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
191
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
192 DEFUN ("gtk-widget-name", Fgtk_widget_name, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
193 Access the `name' slot of OBJ, a GtkWidget object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
196 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
197 GtkWidget *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
198 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_WIDGET (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
203 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
204 wtaerror ("Object is not a GtkWidget", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
205 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
206
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
207 the_obj = GTK_WIDGET (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
208 arg.type = gtk_type_from_name ("GtkString");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
209 GTK_VALUE_STRING (arg) = the_obj->name;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
210 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
211 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
212
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
213 DEFUN ("gtk-widget-parent", Fgtk_widget_parent, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
214 Access the `parent' slot of OBJ, a GtkWidget object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
217 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
218 GtkWidget *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
219 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_WIDGET (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
224 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
225 wtaerror ("Object is not a GtkWidget", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
226 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
227
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
228 the_obj = GTK_WIDGET (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
229 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
230 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->parent);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
231 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
232 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
233
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
234 DEFUN ("gtk-button-child", Fgtk_button_child, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
235 Access the `child' slot of OBJ, a GtkButton object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
238 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
239 GtkButton *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
240 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_BUTTON (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
245 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
246 wtaerror ("Object is not a GtkButton", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
247 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
248
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
249 the_obj = GTK_BUTTON (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
250 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
251 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->child);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
252 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
253 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
254
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
255 DEFUN ("gtk-button-in-button", Fgtk_button_in_button, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
256 Access the `in_button' slot of OBJ, a GtkButton object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
259 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
260 GtkButton *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
261 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_BUTTON (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
266 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
267 wtaerror ("Object is not a GtkButton", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
268 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
269
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
270 the_obj = GTK_BUTTON (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
271 arg.type = gtk_type_from_name ("gboolean");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
272 GTK_VALUE_BOOL (arg) = the_obj->in_button;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
273 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
274 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
275
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
276 DEFUN ("gtk-button-button-down", Fgtk_button_button_down, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
277 Access the `button_down' slot of OBJ, a GtkButton object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
280 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
281 GtkButton *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
282 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_BUTTON (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
287 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
288 wtaerror ("Object is not a GtkButton", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
289 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
290
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
291 the_obj = GTK_BUTTON (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
292 arg.type = gtk_type_from_name ("gboolean");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
293 GTK_VALUE_BOOL (arg) = the_obj->button_down;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
294 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
295 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
296
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
297 DEFUN ("gtk-combo-entry", Fgtk_combo_entry, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
298 Access the `entry' slot of OBJ, a GtkCombo object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
301 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
302 GtkCombo *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
303 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_COMBO (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
308 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
309 wtaerror ("Object is not a GtkCombo", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
310 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
311
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
312 the_obj = GTK_COMBO (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
313 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
314 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->entry);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
315 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
316 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
317
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
318 DEFUN ("gtk-combo-button", Fgtk_combo_button, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
319 Access the `button' slot of OBJ, a GtkCombo object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
322 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
323 GtkCombo *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
324 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_COMBO (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
329 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
330 wtaerror ("Object is not a GtkCombo", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
331 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
332
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
333 the_obj = GTK_COMBO (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
334 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
335 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
336 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
337 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
338
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
339 DEFUN ("gtk-combo-popup", Fgtk_combo_popup, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
340 Access the `popup' slot of OBJ, a GtkCombo object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
343 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
344 GtkCombo *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
345 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_COMBO (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
350 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
351 wtaerror ("Object is not a GtkCombo", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
352 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
353
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
354 the_obj = GTK_COMBO (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
355 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
356 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->popup);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
357 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
358 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
359
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
360 DEFUN ("gtk-combo-popwin", Fgtk_combo_popwin, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
361 Access the `popwin' slot of OBJ, a GtkCombo object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
364 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
365 GtkCombo *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
366 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_COMBO (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
371 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
372 wtaerror ("Object is not a GtkCombo", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
373 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
374
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
375 the_obj = GTK_COMBO (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
376 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
377 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->popwin);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
378 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
379 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
380
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
381 DEFUN ("gtk-combo-list", Fgtk_combo_list, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
382 Access the `list' slot of OBJ, a GtkCombo object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
385 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
386 GtkCombo *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
387 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_COMBO (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
392 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
393 wtaerror ("Object is not a GtkCombo", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
394 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
395
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
396 the_obj = GTK_COMBO (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
397 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
398 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->list);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
399 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
400 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
401
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
402 DEFUN ("gtk-gamma-curve-table", Fgtk_gamma_curve_table, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
403 Access the `table' slot of OBJ, a GtkGammaCurve object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
406 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
407 GtkGammaCurve *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
408 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_GAMMA_CURVE (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
413 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
414 wtaerror ("Object is not a GtkGammaCurve", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
415 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
416
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
417 the_obj = GTK_GAMMA_CURVE (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
418 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
419 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->table);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
420 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
421 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
422
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
423 DEFUN ("gtk-gamma-curve-curve", Fgtk_gamma_curve_curve, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
424 Access the `curve' slot of OBJ, a GtkGammaCurve object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
427 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
428 GtkGammaCurve *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
429 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_GAMMA_CURVE (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
434 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
435 wtaerror ("Object is not a GtkGammaCurve", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
436 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
437
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
438 the_obj = GTK_GAMMA_CURVE (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
439 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
440 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->curve);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
441 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
442 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
443
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
444 DEFUN ("gtk-gamma-curve-gamma", Fgtk_gamma_curve_gamma, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
445 Access the `gamma' slot of OBJ, a GtkGammaCurve object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
448 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
449 GtkGammaCurve *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
450 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_GAMMA_CURVE (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
455 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
456 wtaerror ("Object is not a GtkGammaCurve", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
457 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
458
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
459 the_obj = GTK_GAMMA_CURVE (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
460 arg.type = gtk_type_from_name ("gfloat");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
461 GTK_VALUE_FLOAT (arg) = the_obj->gamma;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
462 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
463 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
464
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
465 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
466 Access the `gamma_dialog' slot of OBJ, a GtkGammaCurve object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
469 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
470 GtkGammaCurve *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
471 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_GAMMA_CURVE (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
476 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
477 wtaerror ("Object is not a GtkGammaCurve", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
478 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
479
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
480 the_obj = GTK_GAMMA_CURVE (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
481 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
482 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->gamma_dialog);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
483 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
484 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
485
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
486 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
487 Access the `gamma_text' slot of OBJ, a GtkGammaCurve object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
490 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
491 GtkGammaCurve *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
492 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_GAMMA_CURVE (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
497 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
498 wtaerror ("Object is not a GtkGammaCurve", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
499 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
500
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
501 the_obj = GTK_GAMMA_CURVE (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
502 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
503 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->gamma_text);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
504 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
505 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
506
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
507 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
508 Access the `active' slot of OBJ, a GtkCheckMenuItem object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
511 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
512 GtkCheckMenuItem *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
513 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_CHECK_MENU_ITEM (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
518 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
519 wtaerror ("Object is not a GtkCheckMenuItem", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
520 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
521
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
522 the_obj = GTK_CHECK_MENU_ITEM (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
523 arg.type = gtk_type_from_name ("gboolean");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
524 GTK_VALUE_BOOL (arg) = the_obj->active;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
525 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
526 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
527
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
528 DEFUN ("gtk-notebook-tab-pos", Fgtk_notebook_tab_pos, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
529 Access the `tab_pos' slot of OBJ, a GtkNotebook object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
532 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
533 GtkNotebook *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
534 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_NOTEBOOK (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
539 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
540 wtaerror ("Object is not a GtkNotebook", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
541 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
542
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
543 the_obj = GTK_NOTEBOOK (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
544 arg.type = gtk_type_from_name ("GtkPositionType");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
545 GTK_VALUE_ENUM (arg) = the_obj->tab_pos;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
546 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
547 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
548
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
549 DEFUN ("gtk-text-hadj", Fgtk_text_hadj, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
550 Access the `hadj' slot of OBJ, a GtkText object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
553 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
554 GtkText *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
555 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_TEXT (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
560 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
561 wtaerror ("Object is not a GtkText", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
562 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
563
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
564 the_obj = GTK_TEXT (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
565 arg.type = gtk_type_from_name ("GtkAdjustment");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
566 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->hadj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
567 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
568 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
569
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
570 DEFUN ("gtk-text-vadj", Fgtk_text_vadj, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
571 Access the `vadj' slot of OBJ, a GtkText object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
574 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
575 GtkText *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
576 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_TEXT (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
581 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
582 wtaerror ("Object is not a GtkText", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
583 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
584
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
585 the_obj = GTK_TEXT (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
586 arg.type = gtk_type_from_name ("GtkAdjustment");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
587 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->vadj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
588 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
589 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
590
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
591 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
592 Access the `dir_list' slot of OBJ, a GtkFileSelection object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
595 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
596 GtkFileSelection *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
597 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_FILE_SELECTION (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
602 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
603 wtaerror ("Object is not a GtkFileSelection", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
604 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
605
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
606 the_obj = GTK_FILE_SELECTION (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
607 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
608 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->dir_list);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
609 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
610 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
611
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
612 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
613 Access the `file_list' slot of OBJ, a GtkFileSelection object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
616 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
617 GtkFileSelection *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
618 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_FILE_SELECTION (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
623 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
624 wtaerror ("Object is not a GtkFileSelection", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
625 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
626
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
627 the_obj = GTK_FILE_SELECTION (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
628 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
629 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->file_list);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
630 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
631 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
632
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
633 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
634 Access the `selection_entry' slot of OBJ, a GtkFileSelection object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
637 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
638 GtkFileSelection *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
639 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_FILE_SELECTION (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
644 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
645 wtaerror ("Object is not a GtkFileSelection", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
646 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
647
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
648 the_obj = GTK_FILE_SELECTION (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
649 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
650 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->selection_entry);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
651 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
652 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
653
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
654 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
655 Access the `selection_text' slot of OBJ, a GtkFileSelection object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
658 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
659 GtkFileSelection *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
660 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_FILE_SELECTION (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
665 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
666 wtaerror ("Object is not a GtkFileSelection", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
667 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
668
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
669 the_obj = GTK_FILE_SELECTION (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
670 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
671 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->selection_text);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
672 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
673 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
674
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
675 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
676 Access the `main_vbox' slot of OBJ, a GtkFileSelection object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
679 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
680 GtkFileSelection *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
681 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_FILE_SELECTION (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
686 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
687 wtaerror ("Object is not a GtkFileSelection", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
688 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
689
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
690 the_obj = GTK_FILE_SELECTION (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
691 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
692 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->main_vbox);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
693 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
694 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
695
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
696 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
697 Access the `ok_button' slot of OBJ, a GtkFileSelection object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
700 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
701 GtkFileSelection *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
702 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_FILE_SELECTION (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
707 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
708 wtaerror ("Object is not a GtkFileSelection", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
709 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
710
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
711 the_obj = GTK_FILE_SELECTION (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
712 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
713 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->ok_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
714 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
715 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
716
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
717 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
718 Access the `cancel_button' slot of OBJ, a GtkFileSelection object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
721 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
722 GtkFileSelection *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
723 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_FILE_SELECTION (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
728 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
729 wtaerror ("Object is not a GtkFileSelection", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
730 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
731
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
732 the_obj = GTK_FILE_SELECTION (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
733 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
734 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->cancel_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
735 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
736 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
737
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
738 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
739 Access the `help_button' slot of OBJ, a GtkFileSelection object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
742 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
743 GtkFileSelection *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
744 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_FILE_SELECTION (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
749 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
750 wtaerror ("Object is not a GtkFileSelection", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
751 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
752
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
753 the_obj = GTK_FILE_SELECTION (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
754 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
755 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->help_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
756 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
757 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
758
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
759 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
760 Access the `action_area' slot of OBJ, a GtkFileSelection object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
763 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
764 GtkFileSelection *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
765 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_FILE_SELECTION (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
770 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
771 wtaerror ("Object is not a GtkFileSelection", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
772 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
773
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
774 the_obj = GTK_FILE_SELECTION (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
775 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
776 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->action_area);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
777 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
778 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
779
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
780 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
781 Access the `fontsel' slot of OBJ, a GtkFontSelectionDialog object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
784 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
785 GtkFontSelectionDialog *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
786 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_FONT_SELECTION_DIALOG (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
791 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
792 wtaerror ("Object is not a GtkFontSelectionDialog", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
793 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
794
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
795 the_obj = GTK_FONT_SELECTION_DIALOG (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
796 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
797 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->fontsel);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
798 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
799 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
800
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
801 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
802 Access the `main_vbox' slot of OBJ, a GtkFontSelectionDialog object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
805 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
806 GtkFontSelectionDialog *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
807 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_FONT_SELECTION_DIALOG (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
812 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
813 wtaerror ("Object is not a GtkFontSelectionDialog", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
814 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
815
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
816 the_obj = GTK_FONT_SELECTION_DIALOG (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
817 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
818 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->main_vbox);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
819 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
820 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
821
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
822 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
823 Access the `action_area' slot of OBJ, a GtkFontSelectionDialog object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
826 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
827 GtkFontSelectionDialog *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
828 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_FONT_SELECTION_DIALOG (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
833 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
834 wtaerror ("Object is not a GtkFontSelectionDialog", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
835 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
836
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
837 the_obj = GTK_FONT_SELECTION_DIALOG (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
838 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
839 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->action_area);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
840 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
841 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
842
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
843 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
844 Access the `ok_button' slot of OBJ, a GtkFontSelectionDialog object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
847 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
848 GtkFontSelectionDialog *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
849 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_FONT_SELECTION_DIALOG (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
854 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
855 wtaerror ("Object is not a GtkFontSelectionDialog", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
856 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
857
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
858 the_obj = GTK_FONT_SELECTION_DIALOG (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
859 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
860 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->ok_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
861 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
862 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
863
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
864 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
865 Access the `apply_button' slot of OBJ, a GtkFontSelectionDialog object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
868 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
869 GtkFontSelectionDialog *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
870 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_FONT_SELECTION_DIALOG (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
875 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
876 wtaerror ("Object is not a GtkFontSelectionDialog", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
877 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
878
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
879 the_obj = GTK_FONT_SELECTION_DIALOG (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
880 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
881 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->apply_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
882 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
883 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
884
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
885 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
886 Access the `cancel_button' slot of OBJ, a GtkFontSelectionDialog object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
889 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
890 GtkFontSelectionDialog *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
891 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_FONT_SELECTION_DIALOG (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
896 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
897 wtaerror ("Object is not a GtkFontSelectionDialog", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
898 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
899
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
900 the_obj = GTK_FONT_SELECTION_DIALOG (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
901 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
902 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->cancel_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
903 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
904 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
905
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
906 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
907 Access the `colorsel' slot of OBJ, a GtkColorSelectionDialog object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
910 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
911 GtkColorSelectionDialog *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
912 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_COLOR_SELECTION_DIALOG (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
917 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
918 wtaerror ("Object is not a GtkColorSelectionDialog", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
919 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
920
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
921 the_obj = GTK_COLOR_SELECTION_DIALOG (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
922 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
923 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->colorsel);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
924 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
925 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
926
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
927 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
928 Access the `main_vbox' slot of OBJ, a GtkColorSelectionDialog object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
931 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
932 GtkColorSelectionDialog *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
933 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_COLOR_SELECTION_DIALOG (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
938 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
939 wtaerror ("Object is not a GtkColorSelectionDialog", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
940 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
941
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
942 the_obj = GTK_COLOR_SELECTION_DIALOG (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
943 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
944 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->main_vbox);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
945 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
946 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
947
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
948 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
949 Access the `ok_button' slot of OBJ, a GtkColorSelectionDialog object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
952 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
953 GtkColorSelectionDialog *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
954 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_COLOR_SELECTION_DIALOG (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
959 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
960 wtaerror ("Object is not a GtkColorSelectionDialog", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
961 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
962
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
963 the_obj = GTK_COLOR_SELECTION_DIALOG (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
964 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
965 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->ok_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
966 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
967 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
968
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
969 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
970 Access the `reset_button' slot of OBJ, a GtkColorSelectionDialog object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
973 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
974 GtkColorSelectionDialog *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
975 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_COLOR_SELECTION_DIALOG (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
980 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
981 wtaerror ("Object is not a GtkColorSelectionDialog", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
982 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
983
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
984 the_obj = GTK_COLOR_SELECTION_DIALOG (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
985 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
986 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->reset_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
987 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
988 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
989
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
990 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
991 Access the `cancel_button' slot of OBJ, a GtkColorSelectionDialog object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
994 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
995 GtkColorSelectionDialog *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
996 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_COLOR_SELECTION_DIALOG (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1001 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
1002 wtaerror ("Object is not a GtkColorSelectionDialog", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1003 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1004
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1005 the_obj = GTK_COLOR_SELECTION_DIALOG (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1006 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1007 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->cancel_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1008 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1009 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1010
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1011 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
1012 Access the `help_button' slot of OBJ, a GtkColorSelectionDialog object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1015 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1016 GtkColorSelectionDialog *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1017 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_COLOR_SELECTION_DIALOG (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1022 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
1023 wtaerror ("Object is not a GtkColorSelectionDialog", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1024 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1025
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1026 the_obj = GTK_COLOR_SELECTION_DIALOG (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1027 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1028 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->help_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1029 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1030 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1031
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1032 DEFUN ("gtk-dialog-vbox", Fgtk_dialog_vbox, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1033 Access the `vbox' slot of OBJ, a GtkDialog object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1036 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1037 GtkDialog *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1038 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_DIALOG (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1043 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
1044 wtaerror ("Object is not a GtkDialog", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1045 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1046
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1047 the_obj = GTK_DIALOG (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1048 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1049 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->vbox);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1050 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1051 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1052
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1053 DEFUN ("gtk-dialog-action-area", Fgtk_dialog_action_area, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1054 Access the `action_area' slot of OBJ, a GtkDialog object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1057 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1058 GtkDialog *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1059 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_DIALOG (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1064 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
1065 wtaerror ("Object is not a GtkDialog", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1066 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1067
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1068 the_obj = GTK_DIALOG (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1069 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1070 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->action_area);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1071 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1072 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1073
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1074 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
1075 Access the `close_button' slot of OBJ, a GtkInputDialog object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1078 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1079 GtkInputDialog *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1080 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_INPUT_DIALOG (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1085 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
1086 wtaerror ("Object is not a GtkInputDialog", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1087 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1088
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1089 the_obj = GTK_INPUT_DIALOG (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1090 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1091 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->close_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1092 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1093 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1094
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1095 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
1096 Access the `save_button' slot of OBJ, a GtkInputDialog object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1099 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1100 GtkInputDialog *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1101 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_INPUT_DIALOG (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1106 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
1107 wtaerror ("Object is not a GtkInputDialog", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1108 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1109
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1110 the_obj = GTK_INPUT_DIALOG (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1111 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1112 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->save_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1113 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1114 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1115
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1116 DEFUN ("gtk-plug-socket-window", Fgtk_plug_socket_window, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1117 Access the `socket_window' slot of OBJ, a GtkPlug object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1120 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1121 GtkPlug *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1122 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_PLUG (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1127 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
1128 wtaerror ("Object is not a GtkPlug", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1129 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1130
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1131 the_obj = GTK_PLUG (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1132 arg.type = gtk_type_from_name ("GdkWindow");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1133 GTK_VALUE_BOXED (arg) = (void *)the_obj->socket_window;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1134 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1135 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1136
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1137 DEFUN ("gtk-plug-same-app", Fgtk_plug_same_app, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1138 Access the `same_app' slot of OBJ, a GtkPlug object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1141 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1142 GtkPlug *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1143 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_PLUG (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1148 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
1149 wtaerror ("Object is not a GtkPlug", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1150 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1151
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1152 the_obj = GTK_PLUG (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1153 arg.type = gtk_type_from_name ("gint");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1154 GTK_VALUE_INT (arg) = the_obj->same_app;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1155 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1156 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1157
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1158 DEFUN ("gtk-object-flags", Fgtk_object_flags, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1159 Access the `flags' slot of OBJ, a GtkObject object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1162 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1163 GtkObject *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1164 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_OBJECT (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1169 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
1170 wtaerror ("Object is not a GtkObject", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1171 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1172
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1173 the_obj = GTK_OBJECT (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1174 arg.type = gtk_type_from_name ("guint");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1175 GTK_VALUE_UINT (arg) = the_obj->flags;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1176 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1177 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1178
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1179 DEFUN ("gtk-object-ref-count", Fgtk_object_ref_count, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1180 Access the `ref_count' slot of OBJ, a GtkObject object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1183 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1184 GtkObject *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1185 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_OBJECT (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1190 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
1191 wtaerror ("Object is not a GtkObject", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1192 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1193
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1194 the_obj = GTK_OBJECT (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1195 arg.type = gtk_type_from_name ("guint");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1196 GTK_VALUE_UINT (arg) = the_obj->ref_count;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1197 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1198 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1199
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1200 DEFUN ("gtk-paned-child1", Fgtk_paned_child1, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1201 Access the `child1' slot of OBJ, a GtkPaned object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1204 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1205 GtkPaned *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1206 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_PANED (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1211 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
1212 wtaerror ("Object is not a GtkPaned", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1213 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1214
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1215 the_obj = GTK_PANED (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1216 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1217 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->child1);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1218 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1219 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1220
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1221 DEFUN ("gtk-paned-child2", Fgtk_paned_child2, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1222 Access the `child2' slot of OBJ, a GtkPaned object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1225 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1226 GtkPaned *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1227 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_PANED (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1232 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
1233 wtaerror ("Object is not a GtkPaned", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1234 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1235
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1236 the_obj = GTK_PANED (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1237 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1238 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->child2);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1239 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1240 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1241
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1242 DEFUN ("gtk-paned-child1-resize", Fgtk_paned_child1_resize, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1243 Access the `child1_resize' slot of OBJ, a GtkPaned object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1246 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1247 GtkPaned *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1248 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_PANED (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1253 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
1254 wtaerror ("Object is not a GtkPaned", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1255 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1256
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1257 the_obj = GTK_PANED (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1258 arg.type = gtk_type_from_name ("gboolean");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1259 GTK_VALUE_BOOL (arg) = the_obj->child1_resize;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1260 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1261 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1262
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1263 DEFUN ("gtk-paned-child2-resize", Fgtk_paned_child2_resize, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1264 Access the `child2_resize' slot of OBJ, a GtkPaned object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1267 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1268 GtkPaned *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1269 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_PANED (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1274 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
1275 wtaerror ("Object is not a GtkPaned", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1276 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1277
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1278 the_obj = GTK_PANED (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1279 arg.type = gtk_type_from_name ("gboolean");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1280 GTK_VALUE_BOOL (arg) = the_obj->child2_resize;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1281 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1282 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1283
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1284 DEFUN ("gtk-paned-child1-shrink", Fgtk_paned_child1_shrink, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1285 Access the `child1_shrink' slot of OBJ, a GtkPaned object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1288 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1289 GtkPaned *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1290 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_PANED (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1295 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
1296 wtaerror ("Object is not a GtkPaned", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1297 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1298
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1299 the_obj = GTK_PANED (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1300 arg.type = gtk_type_from_name ("gboolean");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1301 GTK_VALUE_BOOL (arg) = the_obj->child1_shrink;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1302 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1303 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1304
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1305 DEFUN ("gtk-paned-child2-shrink", Fgtk_paned_child2_shrink, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1306 Access the `child2_shrink' slot of OBJ, a GtkPaned object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1309 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1310 GtkPaned *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1311 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_PANED (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1316 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
1317 wtaerror ("Object is not a GtkPaned", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1318 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1319
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1320 the_obj = GTK_PANED (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1321 arg.type = gtk_type_from_name ("gboolean");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1322 GTK_VALUE_BOOL (arg) = the_obj->child2_shrink;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1323 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1324 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1325
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1326 DEFUN ("gtk-clist-rows", Fgtk_clist_rows, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1327 Access the `rows' slot of OBJ, a GtkCList object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1330 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1331 GtkCList *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1332 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_CLIST (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1337 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
1338 wtaerror ("Object is not a GtkCList", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1339 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1340
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1341 the_obj = GTK_CLIST (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1342 arg.type = gtk_type_from_name ("gint");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1343 GTK_VALUE_INT (arg) = the_obj->rows;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1344 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1345 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1346
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1347 DEFUN ("gtk-clist-columns", Fgtk_clist_columns, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1348 Access the `columns' slot of OBJ, a GtkCList object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1351 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1352 GtkCList *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1353 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_CLIST (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1358 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
1359 wtaerror ("Object is not a GtkCList", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1360 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1361
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1362 the_obj = GTK_CLIST (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1363 arg.type = gtk_type_from_name ("gint");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1364 GTK_VALUE_INT (arg) = the_obj->columns;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1365 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1366 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1367
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1368 DEFUN ("gtk-clist-hadjustment", Fgtk_clist_hadjustment, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1369 Access the `hadjustment' slot of OBJ, a GtkCList object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1372 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1373 GtkCList *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1374 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_CLIST (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1379 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
1380 wtaerror ("Object is not a GtkCList", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1381 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1382
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1383 the_obj = GTK_CLIST (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1384 arg.type = gtk_type_from_name ("GtkAdjustment");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1385 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->hadjustment);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1386 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1387 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1388
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1389 DEFUN ("gtk-clist-vadjustment", Fgtk_clist_vadjustment, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1390 Access the `vadjustment' slot of OBJ, a GtkCList object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1393 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1394 GtkCList *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1395 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_CLIST (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1400 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
1401 wtaerror ("Object is not a GtkCList", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1402 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1403
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1404 the_obj = GTK_CLIST (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1405 arg.type = gtk_type_from_name ("GtkAdjustment");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1406 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->vadjustment);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1407 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1408 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1409
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1410 DEFUN ("gtk-clist-sort-type", Fgtk_clist_sort_type, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1411 Access the `sort_type' slot of OBJ, a GtkCList object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1414 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1415 GtkCList *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1416 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_CLIST (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1421 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
1422 wtaerror ("Object is not a GtkCList", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1423 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1424
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1425 the_obj = GTK_CLIST (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1426 arg.type = gtk_type_from_name ("GtkSortType");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1427 GTK_VALUE_ENUM (arg) = the_obj->sort_type;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1428 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1429 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1430
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1431 DEFUN ("gtk-clist-focus-row", Fgtk_clist_focus_row, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1432 Access the `focus_row' slot of OBJ, a GtkCList object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1435 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1436 GtkCList *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1437 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_CLIST (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1442 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
1443 wtaerror ("Object is not a GtkCList", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1444 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1445
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1446 the_obj = GTK_CLIST (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1447 arg.type = gtk_type_from_name ("gint");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1448 GTK_VALUE_INT (arg) = the_obj->focus_row;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1449 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1450 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1451
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1452 DEFUN ("gtk-clist-sort-column", Fgtk_clist_sort_column, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1453 Access the `sort_column' slot of OBJ, a GtkCList object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1456 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1457 GtkCList *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1458 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_CLIST (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1463 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
1464 wtaerror ("Object is not a GtkCList", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1465 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1466
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1467 the_obj = GTK_CLIST (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1468 arg.type = gtk_type_from_name ("gint");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1469 GTK_VALUE_INT (arg) = the_obj->sort_column;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1470 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1471 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1472
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1473 DEFUN ("gtk-list-children", Fgtk_list_children, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1474 Access the `children' slot of OBJ, a GtkList object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1477 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1478 GtkList *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1479 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_LIST (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1484 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
1485 wtaerror ("Object is not a GtkList", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1486 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1487
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1488 the_obj = GTK_LIST (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1489 arg.type = gtk_type_from_name ("GtkListOfObject");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1490 GTK_VALUE_POINTER (arg) = the_obj->children;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1491 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1492 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1493
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1494 DEFUN ("gtk-list-selection", Fgtk_list_selection, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1495 Access the `selection' slot of OBJ, a GtkList object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1498 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1499 GtkList *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1500 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_LIST (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1505 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
1506 wtaerror ("Object is not a GtkList", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1507 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1508
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1509 the_obj = GTK_LIST (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1510 arg.type = gtk_type_from_name ("GtkListOfObject");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1511 GTK_VALUE_POINTER (arg) = the_obj->selection;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1512 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1513 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1514
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1515 DEFUN ("gtk-tree-children", Fgtk_tree_children, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1516 Access the `children' slot of OBJ, a GtkTree object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1519 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1520 GtkTree *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1521 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_TREE (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1526 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
1527 wtaerror ("Object is not a GtkTree", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1528 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1529
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1530 the_obj = GTK_TREE (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1531 arg.type = gtk_type_from_name ("GtkListOfObject");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1532 GTK_VALUE_POINTER (arg) = the_obj->children;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1533 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1534 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1535
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1536 DEFUN ("gtk-tree-root-tree", Fgtk_tree_root_tree, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1537 Access the `root_tree' slot of OBJ, a GtkTree object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1540 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1541 GtkTree *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1542 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_TREE (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1547 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
1548 wtaerror ("Object is not a GtkTree", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1549 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1550
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1551 the_obj = GTK_TREE (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1552 arg.type = gtk_type_from_name ("GtkTree");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1553 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->root_tree);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1554 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1555 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1556
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1557 DEFUN ("gtk-tree-tree-owner", Fgtk_tree_tree_owner, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1558 Access the `tree_owner' slot of OBJ, a GtkTree object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1561 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1562 GtkTree *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1563 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_TREE (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1568 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
1569 wtaerror ("Object is not a GtkTree", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1570 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1571
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1572 the_obj = GTK_TREE (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1573 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1574 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->tree_owner);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1575 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1576 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1577
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1578 DEFUN ("gtk-tree-selection", Fgtk_tree_selection, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1579 Access the `selection' slot of OBJ, a GtkTree object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1582 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1583 GtkTree *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1584 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_TREE (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1589 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
1590 wtaerror ("Object is not a GtkTree", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1591 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1592
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1593 the_obj = GTK_TREE (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1594 arg.type = gtk_type_from_name ("GtkListOfObject");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1595 GTK_VALUE_POINTER (arg) = the_obj->selection;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1596 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1597 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1598
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1599 DEFUN ("gtk-tree-item-subtree", Fgtk_tree_item_subtree, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1600 Access the `subtree' slot of OBJ, a GtkTreeItem object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1603 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1604 GtkTreeItem *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1605 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_TREE_ITEM (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1610 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
1611 wtaerror ("Object is not a GtkTreeItem", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1612 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1613
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1614 the_obj = GTK_TREE_ITEM (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1615 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1616 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->subtree);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1617 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1618 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1619
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1620 DEFUN ("gtk-scrolled-window-hscrollbar", Fgtk_scrolled_window_hscrollbar, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1621 Access the `hscrollbar' slot of OBJ, a GtkScrolledWindow object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1624 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1625 GtkScrolledWindow *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1626 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_SCROLLED_WINDOW (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1631 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
1632 wtaerror ("Object is not a GtkScrolledWindow", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1633 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1634
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1635 the_obj = GTK_SCROLLED_WINDOW (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1636 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1637 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->hscrollbar);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1638 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1639 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1640
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1641 DEFUN ("gtk-scrolled-window-vscrollbar", Fgtk_scrolled_window_vscrollbar, 1, 1, 0, /*
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1642 Access the `vscrollbar' slot of OBJ, a GtkScrolledWindow object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1645 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1646 GtkScrolledWindow *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1647 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_SCROLLED_WINDOW (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1652 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
1653 wtaerror ("Object is not a GtkScrolledWindow", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1654 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1655
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1656 the_obj = GTK_SCROLLED_WINDOW (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1657 arg.type = gtk_type_from_name ("GtkWidget");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1658 GTK_VALUE_OBJECT (arg) = GTK_OBJECT (the_obj->vscrollbar);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1659 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1660 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1661
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1662 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
1663 Access the `hscrollbar_visible' slot of OBJ, a GtkScrolledWindow object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1666 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1667 GtkScrolledWindow *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1668 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_SCROLLED_WINDOW (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1673 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
1674 wtaerror ("Object is not a GtkScrolledWindow", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1675 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1676
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1677 the_obj = GTK_SCROLLED_WINDOW (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1678 arg.type = gtk_type_from_name ("gboolean");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1679 GTK_VALUE_BOOL (arg) = the_obj->hscrollbar_visible;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1680 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1681 }
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1682
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1683 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
1684 Access the `vscrollbar_visible' slot of OBJ, a GtkScrolledWindow object.
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 (obj))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1687 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1688 GtkScrolledWindow *the_obj = NULL;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1689 GtkArg arg;
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 CHECK_GTK_OBJECT (obj);
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 if (!GTK_IS_SCROLLED_WINDOW (XGTK_OBJECT (obj)->object))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1694 {
563
183866b06e0b [xemacs-hg @ 2001-05-24 07:50:48 by ben]
ben
parents: 462
diff changeset
1695 wtaerror ("Object is not a GtkScrolledWindow", obj);
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1696 };
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1697
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1698 the_obj = GTK_SCROLLED_WINDOW (XGTK_OBJECT (obj)->object);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1699 arg.type = gtk_type_from_name ("gboolean");
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1700 GTK_VALUE_BOOL (arg) = the_obj->vscrollbar_visible;
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1701 return (gtk_type_to_lisp (&arg));
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1702 }
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 void syms_of_widget_accessors (void)
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1705 {
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1706 DEFSUBR (Fgtk_scrolled_window_vscrollbar_visible);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1707 DEFSUBR (Fgtk_scrolled_window_hscrollbar_visible);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1708 DEFSUBR (Fgtk_scrolled_window_vscrollbar);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1709 DEFSUBR (Fgtk_scrolled_window_hscrollbar);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1710 DEFSUBR (Fgtk_tree_item_subtree);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1711 DEFSUBR (Fgtk_tree_selection);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1712 DEFSUBR (Fgtk_tree_tree_owner);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1713 DEFSUBR (Fgtk_tree_root_tree);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1714 DEFSUBR (Fgtk_tree_children);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1715 DEFSUBR (Fgtk_list_selection);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1716 DEFSUBR (Fgtk_list_children);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1717 DEFSUBR (Fgtk_clist_sort_column);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1718 DEFSUBR (Fgtk_clist_focus_row);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1719 DEFSUBR (Fgtk_clist_sort_type);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1720 DEFSUBR (Fgtk_clist_vadjustment);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1721 DEFSUBR (Fgtk_clist_hadjustment);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1722 DEFSUBR (Fgtk_clist_columns);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1723 DEFSUBR (Fgtk_clist_rows);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1724 DEFSUBR (Fgtk_paned_child2_shrink);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1725 DEFSUBR (Fgtk_paned_child1_shrink);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1726 DEFSUBR (Fgtk_paned_child2_resize);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1727 DEFSUBR (Fgtk_paned_child1_resize);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1728 DEFSUBR (Fgtk_paned_child2);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1729 DEFSUBR (Fgtk_paned_child1);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1730 DEFSUBR (Fgtk_object_ref_count);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1731 DEFSUBR (Fgtk_object_flags);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1732 DEFSUBR (Fgtk_plug_same_app);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1733 DEFSUBR (Fgtk_plug_socket_window);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1734 DEFSUBR (Fgtk_input_dialog_save_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1735 DEFSUBR (Fgtk_input_dialog_close_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1736 DEFSUBR (Fgtk_dialog_action_area);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1737 DEFSUBR (Fgtk_dialog_vbox);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1738 DEFSUBR (Fgtk_color_selection_dialog_help_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1739 DEFSUBR (Fgtk_color_selection_dialog_cancel_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1740 DEFSUBR (Fgtk_color_selection_dialog_reset_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1741 DEFSUBR (Fgtk_color_selection_dialog_ok_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1742 DEFSUBR (Fgtk_color_selection_dialog_main_vbox);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1743 DEFSUBR (Fgtk_color_selection_dialog_colorsel);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1744 DEFSUBR (Fgtk_font_selection_dialog_cancel_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1745 DEFSUBR (Fgtk_font_selection_dialog_apply_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1746 DEFSUBR (Fgtk_font_selection_dialog_ok_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1747 DEFSUBR (Fgtk_font_selection_dialog_action_area);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1748 DEFSUBR (Fgtk_font_selection_dialog_main_vbox);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1749 DEFSUBR (Fgtk_font_selection_dialog_fontsel);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1750 DEFSUBR (Fgtk_file_selection_action_area);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1751 DEFSUBR (Fgtk_file_selection_help_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1752 DEFSUBR (Fgtk_file_selection_cancel_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1753 DEFSUBR (Fgtk_file_selection_ok_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1754 DEFSUBR (Fgtk_file_selection_main_vbox);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1755 DEFSUBR (Fgtk_file_selection_selection_text);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1756 DEFSUBR (Fgtk_file_selection_selection_entry);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1757 DEFSUBR (Fgtk_file_selection_file_list);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1758 DEFSUBR (Fgtk_file_selection_dir_list);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1759 DEFSUBR (Fgtk_text_vadj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1760 DEFSUBR (Fgtk_text_hadj);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1761 DEFSUBR (Fgtk_notebook_tab_pos);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1762 DEFSUBR (Fgtk_check_menu_item_active);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1763 DEFSUBR (Fgtk_gamma_curve_gamma_text);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1764 DEFSUBR (Fgtk_gamma_curve_gamma_dialog);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1765 DEFSUBR (Fgtk_gamma_curve_gamma);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1766 DEFSUBR (Fgtk_gamma_curve_curve);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1767 DEFSUBR (Fgtk_gamma_curve_table);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1768 DEFSUBR (Fgtk_combo_list);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1769 DEFSUBR (Fgtk_combo_popwin);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1770 DEFSUBR (Fgtk_combo_popup);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1771 DEFSUBR (Fgtk_combo_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1772 DEFSUBR (Fgtk_combo_entry);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1773 DEFSUBR (Fgtk_button_button_down);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1774 DEFSUBR (Fgtk_button_in_button);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1775 DEFSUBR (Fgtk_button_child);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1776 DEFSUBR (Fgtk_widget_parent);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1777 DEFSUBR (Fgtk_widget_name);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1778 DEFSUBR (Fgtk_widget_state);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1779 DEFSUBR (Fgtk_widget_window);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1780 DEFSUBR (Fgtk_widget_style);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1781 DEFSUBR (Fgtk_adjustment_page_size);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1782 DEFSUBR (Fgtk_adjustment_page_increment);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1783 DEFSUBR (Fgtk_adjustment_step_increment);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1784 DEFSUBR (Fgtk_adjustment_value);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1785 DEFSUBR (Fgtk_adjustment_upper);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1786 DEFSUBR (Fgtk_adjustment_lower);
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1787 }