@@ -40,6 +40,7 @@ impl CellArea {
40
40
}
41
41
42
42
pub trait CellAreaExt : ' static {
43
+ #[ cfg_attr( feature = "v4_10" , deprecated = "Since 4.10" ) ]
43
44
#[ doc( alias = "gtk_cell_area_activate" ) ]
44
45
fn activate (
45
46
& self ,
@@ -50,6 +51,7 @@ pub trait CellAreaExt: 'static {
50
51
edit_only : bool ,
51
52
) -> bool ;
52
53
54
+ #[ cfg_attr( feature = "v4_10" , deprecated = "Since 4.10" ) ]
53
55
#[ doc( alias = "gtk_cell_area_activate_cell" ) ]
54
56
fn activate_cell (
55
57
& self ,
@@ -60,16 +62,19 @@ pub trait CellAreaExt: 'static {
60
62
flags : CellRendererState ,
61
63
) -> bool ;
62
64
65
+ #[ cfg_attr( feature = "v4_10" , deprecated = "Since 4.10" ) ]
63
66
#[ doc( alias = "gtk_cell_area_add" ) ]
64
67
fn add ( & self , renderer : & impl IsA < CellRenderer > ) ;
65
68
69
+ #[ cfg_attr( feature = "v4_10" , deprecated = "Since 4.10" ) ]
66
70
#[ doc( alias = "gtk_cell_area_add_focus_sibling" ) ]
67
71
fn add_focus_sibling (
68
72
& self ,
69
73
renderer : & impl IsA < CellRenderer > ,
70
74
sibling : & impl IsA < CellRenderer > ,
71
75
) ;
72
76
77
+ #[ cfg_attr( feature = "v4_10" , deprecated = "Since 4.10" ) ]
73
78
#[ doc( alias = "gtk_cell_area_apply_attributes" ) ]
74
79
fn apply_attributes (
75
80
& self ,
@@ -79,21 +84,27 @@ pub trait CellAreaExt: 'static {
79
84
is_expanded : bool ,
80
85
) ;
81
86
87
+ #[ cfg_attr( feature = "v4_10" , deprecated = "Since 4.10" ) ]
82
88
#[ doc( alias = "gtk_cell_area_attribute_connect" ) ]
83
89
fn attribute_connect ( & self , renderer : & impl IsA < CellRenderer > , attribute : & str , column : i32 ) ;
84
90
91
+ #[ cfg_attr( feature = "v4_10" , deprecated = "Since 4.10" ) ]
85
92
#[ doc( alias = "gtk_cell_area_attribute_disconnect" ) ]
86
93
fn attribute_disconnect ( & self , renderer : & impl IsA < CellRenderer > , attribute : & str ) ;
87
94
95
+ #[ cfg_attr( feature = "v4_10" , deprecated = "Since 4.10" ) ]
88
96
#[ doc( alias = "gtk_cell_area_attribute_get_column" ) ]
89
97
fn attribute_get_column ( & self , renderer : & impl IsA < CellRenderer > , attribute : & str ) -> i32 ;
90
98
99
+ #[ cfg_attr( feature = "v4_10" , deprecated = "Since 4.10" ) ]
91
100
#[ doc( alias = "gtk_cell_area_copy_context" ) ]
92
101
fn copy_context ( & self , context : & impl IsA < CellAreaContext > ) -> CellAreaContext ;
93
102
103
+ #[ cfg_attr( feature = "v4_10" , deprecated = "Since 4.10" ) ]
94
104
#[ doc( alias = "gtk_cell_area_create_context" ) ]
95
105
fn create_context ( & self ) -> CellAreaContext ;
96
106
107
+ #[ cfg_attr( feature = "v4_10" , deprecated = "Since 4.10" ) ]
97
108
#[ doc( alias = "gtk_cell_area_event" ) ]
98
109
fn event (
99
110
& self ,
@@ -104,9 +115,11 @@ pub trait CellAreaExt: 'static {
104
115
flags : CellRendererState ,
105
116
) -> i32 ;
106
117
118
+ #[ cfg_attr( feature = "v4_10" , deprecated = "Since 4.10" ) ]
107
119
#[ doc( alias = "gtk_cell_area_focus" ) ]
108
120
fn focus ( & self , direction : DirectionType ) -> bool ;
109
121
122
+ #[ cfg_attr( feature = "v4_10" , deprecated = "Since 4.10" ) ]
110
123
#[ doc( alias = "gtk_cell_area_foreach" ) ]
111
124
fn foreach < P : FnMut ( & CellRenderer ) -> bool > ( & self , callback : P ) ;
112
125
@@ -120,6 +133,7 @@ pub trait CellAreaExt: 'static {
120
133
callback : P ,
121
134
) ;
122
135
136
+ #[ cfg_attr( feature = "v4_10" , deprecated = "Since 4.10" ) ]
123
137
#[ doc( alias = "gtk_cell_area_get_cell_allocation" ) ]
124
138
#[ doc( alias = "get_cell_allocation" ) ]
125
139
fn cell_allocation (
@@ -130,6 +144,7 @@ pub trait CellAreaExt: 'static {
130
144
cell_area : & gdk:: Rectangle ,
131
145
) -> gdk:: Rectangle ;
132
146
147
+ #[ cfg_attr( feature = "v4_10" , deprecated = "Since 4.10" ) ]
133
148
#[ doc( alias = "gtk_cell_area_get_cell_at_position" ) ]
134
149
#[ doc( alias = "get_cell_at_position" ) ]
135
150
fn cell_at_position (
@@ -145,26 +160,32 @@ pub trait CellAreaExt: 'static {
145
160
#[ doc( alias = "get_current_path_string" ) ]
146
161
fn current_path_string ( & self ) -> glib:: GString ;
147
162
163
+ #[ cfg_attr( feature = "v4_10" , deprecated = "Since 4.10" ) ]
148
164
#[ doc( alias = "gtk_cell_area_get_edit_widget" ) ]
149
165
#[ doc( alias = "get_edit_widget" ) ]
150
166
fn edit_widget ( & self ) -> Option < CellEditable > ;
151
167
168
+ #[ cfg_attr( feature = "v4_10" , deprecated = "Since 4.10" ) ]
152
169
#[ doc( alias = "gtk_cell_area_get_edited_cell" ) ]
153
170
#[ doc( alias = "get_edited_cell" ) ]
154
171
fn edited_cell ( & self ) -> Option < CellRenderer > ;
155
172
173
+ #[ cfg_attr( feature = "v4_10" , deprecated = "Since 4.10" ) ]
156
174
#[ doc( alias = "gtk_cell_area_get_focus_cell" ) ]
157
175
#[ doc( alias = "get_focus_cell" ) ]
158
176
fn focus_cell ( & self ) -> Option < CellRenderer > ;
159
177
178
+ #[ cfg_attr( feature = "v4_10" , deprecated = "Since 4.10" ) ]
160
179
#[ doc( alias = "gtk_cell_area_get_focus_from_sibling" ) ]
161
180
#[ doc( alias = "get_focus_from_sibling" ) ]
162
181
fn focus_from_sibling ( & self , renderer : & impl IsA < CellRenderer > ) -> Option < CellRenderer > ;
163
182
183
+ #[ cfg_attr( feature = "v4_10" , deprecated = "Since 4.10" ) ]
164
184
#[ doc( alias = "gtk_cell_area_get_focus_siblings" ) ]
165
185
#[ doc( alias = "get_focus_siblings" ) ]
166
186
fn focus_siblings ( & self , renderer : & impl IsA < CellRenderer > ) -> Vec < CellRenderer > ;
167
187
188
+ #[ cfg_attr( feature = "v4_10" , deprecated = "Since 4.10" ) ]
168
189
#[ doc( alias = "gtk_cell_area_get_preferred_height" ) ]
169
190
#[ doc( alias = "get_preferred_height" ) ]
170
191
fn preferred_height (
@@ -173,6 +194,7 @@ pub trait CellAreaExt: 'static {
173
194
widget : & impl IsA < Widget > ,
174
195
) -> ( i32 , i32 ) ;
175
196
197
+ #[ cfg_attr( feature = "v4_10" , deprecated = "Since 4.10" ) ]
176
198
#[ doc( alias = "gtk_cell_area_get_preferred_height_for_width" ) ]
177
199
#[ doc( alias = "get_preferred_height_for_width" ) ]
178
200
fn preferred_height_for_width (
@@ -182,6 +204,7 @@ pub trait CellAreaExt: 'static {
182
204
width : i32 ,
183
205
) -> ( i32 , i32 ) ;
184
206
207
+ #[ cfg_attr( feature = "v4_10" , deprecated = "Since 4.10" ) ]
185
208
#[ doc( alias = "gtk_cell_area_get_preferred_width" ) ]
186
209
#[ doc( alias = "get_preferred_width" ) ]
187
210
fn preferred_width (
@@ -190,6 +213,7 @@ pub trait CellAreaExt: 'static {
190
213
widget : & impl IsA < Widget > ,
191
214
) -> ( i32 , i32 ) ;
192
215
216
+ #[ cfg_attr( feature = "v4_10" , deprecated = "Since 4.10" ) ]
193
217
#[ doc( alias = "gtk_cell_area_get_preferred_width_for_height" ) ]
194
218
#[ doc( alias = "get_preferred_width_for_height" ) ]
195
219
fn preferred_width_for_height (
@@ -203,36 +227,43 @@ pub trait CellAreaExt: 'static {
203
227
#[ doc( alias = "get_request_mode" ) ]
204
228
fn request_mode ( & self ) -> SizeRequestMode ;
205
229
230
+ #[ cfg_attr( feature = "v4_10" , deprecated = "Since 4.10" ) ]
206
231
#[ doc( alias = "gtk_cell_area_has_renderer" ) ]
207
232
fn has_renderer ( & self , renderer : & impl IsA < CellRenderer > ) -> bool ;
208
233
234
+ #[ cfg_attr( feature = "v4_10" , deprecated = "Since 4.10" ) ]
209
235
#[ doc( alias = "gtk_cell_area_inner_cell_area" ) ]
210
236
fn inner_cell_area (
211
237
& self ,
212
238
widget : & impl IsA < Widget > ,
213
239
cell_area : & gdk:: Rectangle ,
214
240
) -> gdk:: Rectangle ;
215
241
242
+ #[ cfg_attr( feature = "v4_10" , deprecated = "Since 4.10" ) ]
216
243
#[ doc( alias = "gtk_cell_area_is_activatable" ) ]
217
244
fn is_activatable ( & self ) -> bool ;
218
245
246
+ #[ cfg_attr( feature = "v4_10" , deprecated = "Since 4.10" ) ]
219
247
#[ doc( alias = "gtk_cell_area_is_focus_sibling" ) ]
220
248
fn is_focus_sibling (
221
249
& self ,
222
250
renderer : & impl IsA < CellRenderer > ,
223
251
sibling : & impl IsA < CellRenderer > ,
224
252
) -> bool ;
225
253
254
+ #[ cfg_attr( feature = "v4_10" , deprecated = "Since 4.10" ) ]
226
255
#[ doc( alias = "gtk_cell_area_remove" ) ]
227
256
fn remove ( & self , renderer : & impl IsA < CellRenderer > ) ;
228
257
258
+ #[ cfg_attr( feature = "v4_10" , deprecated = "Since 4.10" ) ]
229
259
#[ doc( alias = "gtk_cell_area_remove_focus_sibling" ) ]
230
260
fn remove_focus_sibling (
231
261
& self ,
232
262
renderer : & impl IsA < CellRenderer > ,
233
263
sibling : & impl IsA < CellRenderer > ,
234
264
) ;
235
265
266
+ #[ cfg_attr( feature = "v4_10" , deprecated = "Since 4.10" ) ]
236
267
#[ doc( alias = "gtk_cell_area_request_renderer" ) ]
237
268
fn request_renderer (
238
269
& self ,
@@ -242,9 +273,11 @@ pub trait CellAreaExt: 'static {
242
273
for_size : i32 ,
243
274
) -> ( i32 , i32 ) ;
244
275
276
+ #[ cfg_attr( feature = "v4_10" , deprecated = "Since 4.10" ) ]
245
277
#[ doc( alias = "gtk_cell_area_set_focus_cell" ) ]
246
278
fn set_focus_cell ( & self , renderer : Option < & impl IsA < CellRenderer > > ) ;
247
279
280
+ #[ cfg_attr( feature = "v4_10" , deprecated = "Since 4.10" ) ]
248
281
#[ doc( alias = "gtk_cell_area_snapshot" ) ]
249
282
fn snapshot (
250
283
& self ,
@@ -257,6 +290,7 @@ pub trait CellAreaExt: 'static {
257
290
paint_focus : bool ,
258
291
) ;
259
292
293
+ #[ cfg_attr( feature = "v4_10" , deprecated = "Since 4.10" ) ]
260
294
#[ doc( alias = "gtk_cell_area_stop_editing" ) ]
261
295
fn stop_editing ( & self , canceled : bool ) ;
262
296
0 commit comments