@girs/gdl-3 4.3.0 → 4.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/gdl-3.d.ts CHANGED
@@ -47,19 +47,19 @@ export namespace Gdl {
47
47
  /**
48
48
  * Buttons display only icons in the dockbar.
49
49
  */
50
- ICONS,
50
+ ICONS = 0,
51
51
  /**
52
52
  * Buttons display only text labels in the dockbar.
53
53
  */
54
- TEXT,
54
+ TEXT = 1,
55
55
  /**
56
56
  * Buttons display text and icons in the dockbar.
57
57
  */
58
- BOTH,
58
+ BOTH = 2,
59
59
  /**
60
60
  * identical to `GDL_DOCK_BAR_BOTH`.
61
61
  */
62
- AUTO,
62
+ AUTO = 3,
63
63
  }
64
64
 
65
65
 
@@ -71,11 +71,11 @@ export namespace Gdl {
71
71
  /**
72
72
  * Display a small cross
73
73
  */
74
- CLOSE,
74
+ CLOSE = 0,
75
75
  /**
76
76
  * Display a small triangle
77
77
  */
78
- ICONIFY,
78
+ ICONIFY = 1,
79
79
  }
80
80
 
81
81
 
@@ -94,31 +94,31 @@ export namespace Gdl {
94
94
  /**
95
95
  * No position defined
96
96
  */
97
- NONE,
97
+ NONE = 0,
98
98
  /**
99
99
  * Dock object on the top
100
100
  */
101
- TOP,
101
+ TOP = 1,
102
102
  /**
103
103
  * Dock object on the bottom
104
104
  */
105
- BOTTOM,
105
+ BOTTOM = 2,
106
106
  /**
107
107
  * Dock object on the right
108
108
  */
109
- RIGHT,
109
+ RIGHT = 3,
110
110
  /**
111
111
  * Dock object on the left
112
112
  */
113
- LEFT,
113
+ LEFT = 4,
114
114
  /**
115
115
  * Dock object on top of the other
116
116
  */
117
- CENTER,
117
+ CENTER = 5,
118
118
  /**
119
119
  * Dock object in its own window
120
120
  */
121
- FLOATING,
121
+ FLOATING = 6,
122
122
  }
123
123
 
124
124
 
@@ -137,38 +137,45 @@ export namespace Gdl {
137
137
  /**
138
138
  * Tabs display only text labels.
139
139
  */
140
- TEXT,
140
+ TEXT = 0,
141
141
  /**
142
142
  * Tabs display only icons.
143
143
  */
144
- ICON,
144
+ ICON = 1,
145
145
  /**
146
146
  * Tabs display text and icons.
147
147
  */
148
- BOTH,
148
+ BOTH = 2,
149
149
  /**
150
150
  * Same as `GDL_SWITCHER_STYLE_BOTH`.
151
151
  */
152
- TOOLBAR,
152
+ TOOLBAR = 3,
153
153
  /**
154
154
  * Tabs display like notebook tabs.
155
155
  */
156
- TABS,
156
+ TABS = 4,
157
157
  /**
158
158
  * Do not display tabs.
159
159
  */
160
- NONE,
160
+ NONE = 5,
161
161
  }
162
162
 
163
163
 
164
+ /**
165
+ * @default master
166
+ */
164
167
  const DOCK_MASTER_PROPERTY: string;
165
168
 
169
+ /**
170
+ * @default name
171
+ */
166
172
  const DOCK_NAME_PROPERTY: string;
167
173
 
168
174
  /**
169
175
  * Minimum shift count to be used for user defined flags, to be stored in
170
176
  * {@link Gdl.DockObject}.flags.
171
177
  * @deprecated since 3.6: Use a private flag instead
178
+ * @default 8
172
179
  */
173
180
  const DOCK_OBJECT_FLAGS_SHIFT: number;
174
181
 
@@ -217,55 +224,55 @@ export namespace Gdl {
217
224
  /**
218
225
  * Normal dock item
219
226
  */
220
- NORMAL,
227
+ NORMAL = 0,
221
228
  /**
222
229
  * item cannot be undocked
223
230
  */
224
- NEVER_FLOATING,
231
+ NEVER_FLOATING = 1,
225
232
  /**
226
233
  * item cannot be docked vertically
227
234
  */
228
- NEVER_VERTICAL,
235
+ NEVER_VERTICAL = 2,
229
236
  /**
230
237
  * item cannot be docked horizontally
231
238
  */
232
- NEVER_HORIZONTAL,
239
+ NEVER_HORIZONTAL = 4,
233
240
  /**
234
241
  * item is locked, it cannot be moved around
235
242
  */
236
- LOCKED,
243
+ LOCKED = 8,
237
244
  /**
238
245
  * item cannot be docked at top
239
246
  */
240
- CANT_DOCK_TOP,
247
+ CANT_DOCK_TOP = 16,
241
248
  /**
242
249
  * item cannot be docked at bottom
243
250
  */
244
- CANT_DOCK_BOTTOM,
251
+ CANT_DOCK_BOTTOM = 32,
245
252
  /**
246
253
  * item cannot be docked left
247
254
  */
248
- CANT_DOCK_LEFT,
255
+ CANT_DOCK_LEFT = 64,
249
256
  /**
250
257
  * item cannot be docked right
251
258
  */
252
- CANT_DOCK_RIGHT,
259
+ CANT_DOCK_RIGHT = 128,
253
260
  /**
254
261
  * item cannot be docked at center
255
262
  */
256
- CANT_DOCK_CENTER,
263
+ CANT_DOCK_CENTER = 256,
257
264
  /**
258
265
  * item cannot be closed
259
266
  */
260
- CANT_CLOSE,
267
+ CANT_CLOSE = 512,
261
268
  /**
262
269
  * item cannot be iconified
263
270
  */
264
- CANT_ICONIFY,
271
+ CANT_ICONIFY = 1024,
265
272
  /**
266
273
  * item doesn't have a grip
267
274
  */
268
- NO_GRIP,
275
+ NO_GRIP = 2048,
269
276
  }
270
277
 
271
278
 
@@ -285,19 +292,19 @@ export namespace Gdl {
285
292
  /**
286
293
  * item is in a drag operation
287
294
  */
288
- IN_DRAG,
295
+ IN_DRAG = 256,
289
296
  /**
290
297
  * item is in a predrag operation
291
298
  */
292
- IN_PREDRAG,
299
+ IN_PREDRAG = 512,
293
300
  /**
294
301
  * item is iconified
295
302
  */
296
- ICONIFIED,
303
+ ICONIFIED = 1024,
297
304
  /**
298
305
  * indicates the user has started an action on the dock item
299
306
  */
300
- USER_ACTION,
307
+ USER_ACTION = 2048,
301
308
  }
302
309
 
303
310
 
@@ -319,19 +326,19 @@ export namespace Gdl {
319
326
  /**
320
327
  * Object is created and destroyed by the master, not the user
321
328
  */
322
- AUTOMATIC,
329
+ AUTOMATIC = 1,
323
330
  /**
324
331
  * Object has a parent
325
332
  */
326
- ATTACHED,
333
+ ATTACHED = 2,
327
334
  /**
328
335
  * Object is currently part of a rearrangement
329
336
  */
330
- IN_REFLOW,
337
+ IN_REFLOW = 4,
331
338
  /**
332
339
  * Object will be removed
333
340
  */
334
- IN_DETACH,
341
+ IN_DETACH = 8,
335
342
  }
336
343
 
337
344
 
@@ -351,11 +358,11 @@ export namespace Gdl {
351
358
  /**
352
359
  * The parameter is to be exported for later layout rebuilding
353
360
  */
354
- EXPORT,
361
+ EXPORT = 256,
355
362
  /**
356
363
  * The parameter must be set after adding the children objects
357
364
  */
358
- AFTER,
365
+ AFTER = 512,
359
366
  }
360
367
 
361
368
 
@@ -588,6 +595,7 @@ export namespace Gdl {
588
595
  * It does not search only in the children of this particular dock widget.
589
596
  * @param name An item name
590
597
  * @returns A {@link Gdl.DockPlaceholder} object or `null`
598
+ * @deprecated since 3.6: This function is always returning `null`.
591
599
  */
592
600
  get_placeholder_by_name(name: string): DockPlaceholder;
593
601
 
@@ -613,6 +621,7 @@ export namespace Gdl {
613
621
  * Sets whether or not a floating dock window should be prevented from
614
622
  * appearing in the system taskbar.
615
623
  * @param skip `true` if floating docks should be prevented from appearing in the taskbar
624
+ * @since 3.6
616
625
  */
617
626
  set_skip_taskbar(skip: boolean): void;
618
627
 
@@ -625,11 +634,13 @@ export namespace Gdl {
625
634
  /**
626
635
  * Show a preview window used to materialize the dock target.
627
636
  * @param rect The position and the size of the preview window
637
+ * @deprecated since 3.6: Use gdl_dock_show_preview instead.
628
638
  */
629
639
  xor_rect(rect: Gdk.Rectangle): void;
630
640
 
631
641
  /**
632
642
  * Hide the preview window used to materialize the dock target.
643
+ * @deprecated since 3.6: Use gdl_dock_hide_preview instead.
633
644
  */
634
645
  xor_rect_hide(): void;
635
646
  }
@@ -757,6 +768,7 @@ export namespace Gdl {
757
768
  /**
758
769
  * Retrieves the orientation of the `dockbar`.
759
770
  * @returns the orientation of the `docbar`
771
+ * @deprecated since 3.6: Use `gtk_orientable_get_orientation()` instead.
760
772
  */
761
773
  get_orientation(): Gtk.Orientation;
762
774
 
@@ -775,6 +787,7 @@ export namespace Gdl {
775
787
  /**
776
788
  * Set the orientation of the `dockbar`.
777
789
  * @param orientation the new orientation
790
+ * @deprecated since 3.6: Use `gtk_orientable_set_orientation()` instead.
778
791
  */
779
792
  set_orientation(orientation: Gtk.Orientation): void;
780
793
 
@@ -821,13 +834,13 @@ export namespace Gdl {
821
834
  * @signal
822
835
  * @run-first
823
836
  */
824
- "dock-drag-end": (arg0: boolean) => void;
837
+ "dock-drag-end": (cancel: boolean) => void;
825
838
  /**
826
839
  * Signals that a dock item dragging motion event has occured.
827
840
  * @signal
828
841
  * @run-first
829
842
  */
830
- "dock-drag-motion": (arg0: Gdk.Device, arg1: number, arg2: number) => void;
843
+ "dock-drag-motion": (device: Gdk.Device, x: number, y: number) => void;
831
844
  /**
832
845
  * The ::move-focus-child signal is emitted when a change of focus is
833
846
  * requested for the child widget of a dock item. The `dir` parameter
@@ -837,7 +850,7 @@ export namespace Gdl {
837
850
  * @action
838
851
  * @run-last
839
852
  */
840
- "move-focus-child": (arg0: Gtk.DirectionType) => void;
853
+ "move-focus-child": (dir: Gtk.DirectionType) => void;
841
854
  /**
842
855
  * Signals that this dock has been selected from a switcher.
843
856
  * @signal
@@ -1086,6 +1099,7 @@ export namespace Gdl {
1086
1099
  /**
1087
1100
  * Retrieves the behavior of the item.
1088
1101
  * @returns the behavior of the item.
1102
+ * @since 3.6
1089
1103
  */
1090
1104
  get_behavior_flags(): DockItemBehavior;
1091
1105
 
@@ -1094,12 +1108,14 @@ export namespace Gdl {
1094
1108
  * no child widget. The returned widget does not have a reference
1095
1109
  * added, so you do not need to unref it.
1096
1110
  * @returns pointer to child of the {@link Gdl.DockItem}
1111
+ * @since 3.6
1097
1112
  */
1098
1113
  get_child(): Gtk.Widget;
1099
1114
 
1100
1115
  /**
1101
1116
  * Gets the size and the position of the drag window in pixels.
1102
1117
  * @param rect A pointer to a {@link Gdk.Rectangle} that will receive the drag position
1118
+ * @since 3.6
1103
1119
  */
1104
1120
  get_drag_area(rect: Gdk.Rectangle): void;
1105
1121
 
@@ -1112,6 +1128,7 @@ export namespace Gdl {
1112
1128
  /**
1113
1129
  * Retrieves the orientation of the object.
1114
1130
  * @returns the orientation of the object.
1131
+ * @since 3.6
1115
1132
  */
1116
1133
  get_orientation(): Gtk.Orientation;
1117
1134
 
@@ -1148,12 +1165,14 @@ export namespace Gdl {
1148
1165
  * Checks whether a given {@link Gdl.DockItem} is closed. It can be only hidden or
1149
1166
  * detached.
1150
1167
  * @returns `true` if the dock item is closed.
1168
+ * @since 3.6
1151
1169
  */
1152
1170
  is_closed(): boolean;
1153
1171
 
1154
1172
  /**
1155
1173
  * Checks whether a given {@link Gdl.DockItem} is iconified.
1156
1174
  * @returns `true` if the dock item is iconified.
1175
+ * @since 3.6
1157
1176
  */
1158
1177
  is_iconified(): boolean;
1159
1178
 
@@ -1161,6 +1180,7 @@ export namespace Gdl {
1161
1180
  * Checks whether a given {@link Gdl.DockItem} is a placeholder created by the
1162
1181
  * {@link Gdl.DockLayout} object and does not contain a child.
1163
1182
  * @returns `true` if the dock item is a placeholder
1183
+ * @since 3.6
1164
1184
  */
1165
1185
  is_placeholder(): boolean;
1166
1186
 
@@ -1186,6 +1206,7 @@ export namespace Gdl {
1186
1206
  * Checks whether a given {@link Gdl.DockItem} or its child widget has focus.
1187
1207
  * This check is performed recursively on child widgets.
1188
1208
  * @returns `true` if the dock item or its child widget has focus; `false` otherwise.
1209
+ * @since 3.3.2
1189
1210
  */
1190
1211
  or_child_has_focus(): boolean;
1191
1212
 
@@ -1199,6 +1220,7 @@ export namespace Gdl {
1199
1220
  * This function sets the behavior of the dock item.
1200
1221
  * @param behavior Behavior flags to turn on
1201
1222
  * @param clear Whether to clear state before turning on `flags`
1223
+ * @since 3.6
1202
1224
  */
1203
1225
  set_behavior_flags(behavior: DockItemBehavior, clear: boolean): void;
1204
1226
 
@@ -1210,6 +1232,7 @@ export namespace Gdl {
1210
1232
  * If a child is already present, it will be replaced. If `widget` is `null` the
1211
1233
  * child will be removed.
1212
1234
  * @param child a {@link Gtk.Widget}
1235
+ * @since 3.6
1213
1236
  */
1214
1237
  set_child(child: Gtk.Widget | null): void;
1215
1238
 
@@ -1262,6 +1285,7 @@ export namespace Gdl {
1262
1285
  /**
1263
1286
  * This function sets the behavior of the dock item.
1264
1287
  * @param behavior Behavior flags to turn off
1288
+ * @since 3.6
1265
1289
  */
1266
1290
  unset_behavior_flags(behavior: DockItemBehavior): void;
1267
1291
  }
@@ -1359,6 +1383,7 @@ export namespace Gdl {
1359
1383
  * @param builder a {@link Gtk.Builder}
1360
1384
  * @param child child to add
1361
1385
  * @param type kind of child or `null`
1386
+ * @since 2.12
1362
1387
  */
1363
1388
  add_child(builder: Gtk.Builder, child: GObject.Object, type: string | null): void;
1364
1389
 
@@ -1370,6 +1395,7 @@ export namespace Gdl {
1370
1395
  * @param builder {@link Gtk.Builder} used to construct this object
1371
1396
  * @param name name of child to construct
1372
1397
  * @returns the constructed child
1398
+ * @since 2.12
1373
1399
  */
1374
1400
  construct_child<T = GObject.Object>(builder: Gtk.Builder, name: string): T;
1375
1401
 
@@ -1380,6 +1406,7 @@ export namespace Gdl {
1380
1406
  * @param child child object or `null` for non-child tags
1381
1407
  * @param tagname the name of the tag
1382
1408
  * @param data user data created in custom_tag_start
1409
+ * @since 2.12
1383
1410
  */
1384
1411
  custom_finished(builder: Gtk.Builder, child: GObject.Object | null, tagname: string, data: null): void;
1385
1412
 
@@ -1390,6 +1417,7 @@ export namespace Gdl {
1390
1417
  * @param child child object or `null` for non-child tags
1391
1418
  * @param tagname name of tag
1392
1419
  * @param data user data that will be passed in to parser functions
1420
+ * @since 2.12
1393
1421
  */
1394
1422
  custom_tag_end(builder: Gtk.Builder, child: GObject.Object | null, tagname: string, data: null): void;
1395
1423
 
@@ -1399,6 +1427,7 @@ export namespace Gdl {
1399
1427
  * @param child child object or `null` for non-child tags
1400
1428
  * @param tagname name of tag
1401
1429
  * @returns `true` if a object has a custom implementation, `false` if it doesn't.
1430
+ * @since 2.12
1402
1431
  */
1403
1432
  custom_tag_start(builder: Gtk.Builder, child: GObject.Object | null, tagname: string): [boolean, GLib.MarkupParser, null];
1404
1433
 
@@ -1407,6 +1436,7 @@ export namespace Gdl {
1407
1436
  * @param builder a {@link Gtk.Builder}
1408
1437
  * @param childname name of child
1409
1438
  * @returns the internal child of the buildable object
1439
+ * @since 2.12
1410
1440
  */
1411
1441
  get_internal_child<T = GObject.Object>(builder: Gtk.Builder, childname: string): T;
1412
1442
 
@@ -1417,6 +1447,7 @@ export namespace Gdl {
1417
1447
  * [GtkBuilder UI definition][BUILDER-UI]
1418
1448
  * used to construct the `buildable`.
1419
1449
  * @returns the name set with `gtk_buildable_set_name()`
1450
+ * @since 2.12
1420
1451
  */
1421
1452
  get_name(): string;
1422
1453
 
@@ -1427,6 +1458,7 @@ export namespace Gdl {
1427
1458
  * `gtk_builder_add_from_file()` or `gtk_builder_add_from_string()`
1428
1459
  * is called on a builder.
1429
1460
  * @param builder a {@link Gtk.Builder}
1461
+ * @since 2.12
1430
1462
  */
1431
1463
  parser_finished(builder: Gtk.Builder): void;
1432
1464
 
@@ -1435,12 +1467,14 @@ export namespace Gdl {
1435
1467
  * @param builder a {@link Gtk.Builder}
1436
1468
  * @param name name of property
1437
1469
  * @param value value of property
1470
+ * @since 2.12
1438
1471
  */
1439
1472
  set_buildable_property(builder: Gtk.Builder, name: string, value: GObject.Value | any): void;
1440
1473
 
1441
1474
  /**
1442
1475
  * Sets the name of the `buildable` object.
1443
1476
  * @param name name to set
1477
+ * @since 2.12
1444
1478
  */
1445
1479
  set_name(name: string): void;
1446
1480
 
@@ -1450,6 +1484,7 @@ export namespace Gdl {
1450
1484
  * @param builder a {@link Gtk.Builder}
1451
1485
  * @param child child to add
1452
1486
  * @param type kind of child or `null`
1487
+ * @since 2.12
1453
1488
  * @virtual
1454
1489
  */
1455
1490
  vfunc_add_child(builder: Gtk.Builder, child: GObject.Object, type: string | null): void;
@@ -1461,6 +1496,7 @@ export namespace Gdl {
1461
1496
  * specified in the UI definition.
1462
1497
  * @param builder {@link Gtk.Builder} used to construct this object
1463
1498
  * @param name name of child to construct
1499
+ * @since 2.12
1464
1500
  * @virtual
1465
1501
  */
1466
1502
  vfunc_construct_child<T = GObject.Object>(builder: Gtk.Builder, name: string): T;
@@ -1472,6 +1508,7 @@ export namespace Gdl {
1472
1508
  * @param child child object or `null` for non-child tags
1473
1509
  * @param tagname the name of the tag
1474
1510
  * @param data user data created in custom_tag_start
1511
+ * @since 2.12
1475
1512
  * @virtual
1476
1513
  */
1477
1514
  vfunc_custom_finished(builder: Gtk.Builder, child: GObject.Object | null, tagname: string, data: null): void;
@@ -1483,6 +1520,7 @@ export namespace Gdl {
1483
1520
  * @param child child object or `null` for non-child tags
1484
1521
  * @param tagname name of tag
1485
1522
  * @param data user data that will be passed in to parser functions
1523
+ * @since 2.12
1486
1524
  * @virtual
1487
1525
  */
1488
1526
  vfunc_custom_tag_end(builder: Gtk.Builder, child: GObject.Object | null, tagname: string, data: null): void;
@@ -1492,6 +1530,7 @@ export namespace Gdl {
1492
1530
  * @param builder a {@link Gtk.Builder} used to construct this object
1493
1531
  * @param child child object or `null` for non-child tags
1494
1532
  * @param tagname name of tag
1533
+ * @since 2.12
1495
1534
  * @virtual
1496
1535
  */
1497
1536
  vfunc_custom_tag_start(builder: Gtk.Builder, child: GObject.Object | null, tagname: string): [boolean, GLib.MarkupParser, never];
@@ -1500,6 +1539,7 @@ export namespace Gdl {
1500
1539
  * Get the internal child called `childname` of the `buildable` object.
1501
1540
  * @param builder a {@link Gtk.Builder}
1502
1541
  * @param childname name of child
1542
+ * @since 2.12
1503
1543
  * @virtual
1504
1544
  */
1505
1545
  vfunc_get_internal_child<T = GObject.Object>(builder: Gtk.Builder, childname: string): T;
@@ -1510,6 +1550,7 @@ export namespace Gdl {
1510
1550
  * {@link Gtk.Builder} sets the name based on the
1511
1551
  * [GtkBuilder UI definition][BUILDER-UI]
1512
1552
  * used to construct the `buildable`.
1553
+ * @since 2.12
1513
1554
  * @virtual
1514
1555
  */
1515
1556
  vfunc_get_name(): string;
@@ -1521,6 +1562,7 @@ export namespace Gdl {
1521
1562
  * `gtk_builder_add_from_file()` or `gtk_builder_add_from_string()`
1522
1563
  * is called on a builder.
1523
1564
  * @param builder a {@link Gtk.Builder}
1565
+ * @since 2.12
1524
1566
  * @virtual
1525
1567
  */
1526
1568
  vfunc_parser_finished(builder: Gtk.Builder): void;
@@ -1530,6 +1572,7 @@ export namespace Gdl {
1530
1572
  * @param builder a {@link Gtk.Builder}
1531
1573
  * @param name name of property
1532
1574
  * @param value value of property
1575
+ * @since 2.12
1533
1576
  * @virtual
1534
1577
  */
1535
1578
  vfunc_set_buildable_property(builder: Gtk.Builder, name: string, value: unknown): void;
@@ -1537,6 +1580,7 @@ export namespace Gdl {
1537
1580
  /**
1538
1581
  * Sets the name of the `buildable` object.
1539
1582
  * @param name name to set
1583
+ * @since 2.12
1540
1584
  * @virtual
1541
1585
  */
1542
1586
  vfunc_set_name(name: string): void;
@@ -1654,6 +1698,7 @@ export namespace Gdl {
1654
1698
  /**
1655
1699
  * Change the cursor when a drag operation is started.
1656
1700
  * @param in_drag `true` if a drag operation is started
1701
+ * @since 3.6
1657
1702
  */
1658
1703
  set_cursor(in_drag: boolean): void;
1659
1704
 
@@ -1761,6 +1806,7 @@ export namespace Gdl {
1761
1806
  /**
1762
1807
  * Retrieves the master of the object.
1763
1808
  * @returns a {@link Gdl.DockMaster} object
1809
+ * @since 3.6
1764
1810
  */
1765
1811
  get_master<T = GObject.Object>(): T;
1766
1812
 
@@ -1975,6 +2021,7 @@ export namespace Gdl {
1975
2021
  /**
1976
2022
  * Return an unique translated dock name.
1977
2023
  * @returns a new translated name. The string has to be freed with `g_free()`.
2024
+ * @since 3.6
1978
2025
  */
1979
2026
  get_dock_name(): string;
1980
2027
 
@@ -2120,13 +2167,13 @@ export namespace Gdl {
2120
2167
  * @signal
2121
2168
  * @run-last
2122
2169
  */
2123
- detach: (arg0: boolean) => void;
2170
+ detach: (recursive: boolean) => void;
2124
2171
  /**
2125
2172
  * Signals that the {@link Gdl.DockObject} has been docked.
2126
2173
  * @signal
2127
2174
  * @run-first
2128
2175
  */
2129
- dock: (arg0: DockObject, arg1: DockPlacement, arg2: unknown | null) => void;
2176
+ dock: (requestor: DockObject, position: DockPlacement, other_data: unknown | null) => void;
2130
2177
  "notify::long-name": (pspec: GObject.ParamSpec) => void;
2131
2178
  "notify::master": (pspec: GObject.ParamSpec) => void;
2132
2179
  "notify::name": (pspec: GObject.ParamSpec) => void;
@@ -2437,6 +2484,7 @@ export namespace Gdl {
2437
2484
  /**
2438
2485
  * Retrieves the controller of the object.
2439
2486
  * @returns a {@link Gdl.DockObject} object
2487
+ * @since 3.6
2440
2488
  */
2441
2489
  get_controller(): DockObject;
2442
2490
 
@@ -2444,18 +2492,21 @@ export namespace Gdl {
2444
2492
  * Retrieves the long name of the object. This name is an human readable string
2445
2493
  * which can be displayed in the user interface.
2446
2494
  * @returns the name of the object.
2495
+ * @since 3.6
2447
2496
  */
2448
2497
  get_long_name(): string;
2449
2498
 
2450
2499
  /**
2451
2500
  * Retrieves the master of the object.
2452
2501
  * @returns a {@link Gdl.DockMaster} object
2502
+ * @since 3.6
2453
2503
  */
2454
2504
  get_master<T = GObject.Object>(): T;
2455
2505
 
2456
2506
  /**
2457
2507
  * Retrieves the name of the object. This name is used to identify the object.
2458
2508
  * @returns the name of the object.
2509
+ * @since 3.6
2459
2510
  */
2460
2511
  get_name(): string;
2461
2512
 
@@ -2468,12 +2519,14 @@ export namespace Gdl {
2468
2519
  /**
2469
2520
  * Retrieves a pixbuf used as the dock object icon.
2470
2521
  * @returns icon for dock object
2522
+ * @since 3.6
2471
2523
  */
2472
2524
  get_pixbuf(): GdkPixbuf.Pixbuf;
2473
2525
 
2474
2526
  /**
2475
2527
  * Retrieves the a stock id used as the object icon.
2476
2528
  * @returns A stock id corresponding to the object icon.
2529
+ * @since 3.6
2477
2530
  */
2478
2531
  get_stock_id(): string;
2479
2532
 
@@ -2487,6 +2540,7 @@ export namespace Gdl {
2487
2540
  * Determine if an object is managed by the dock master, such object is
2488
2541
  * destroyed automatically when it is not needed anymore.
2489
2542
  * @returns `true` if the object is managed automatically by the dock master.
2543
+ * @since 3.6
2490
2544
  */
2491
2545
  is_automatic(): boolean;
2492
2546
 
@@ -2500,6 +2554,7 @@ export namespace Gdl {
2500
2554
  * Checks whether a given {@link Gdl.DockObject} is closed. It can be only hidden and
2501
2555
  * still in the widget hierarchy or detached.
2502
2556
  * @returns `true` if the dock object is closed.
2557
+ * @since 3.6
2503
2558
  */
2504
2559
  is_closed(): boolean;
2505
2560
 
@@ -2513,12 +2568,14 @@ export namespace Gdl {
2513
2568
  * Determine if an object is frozen and is not removed immediately from the
2514
2569
  * widget hierarchy when it is reduced.
2515
2570
  * @returns `true` if the object is frozen.
2571
+ * @since 3.6
2516
2572
  */
2517
2573
  is_frozen(): boolean;
2518
2574
 
2519
2575
  /**
2520
2576
  * Emits the {@link Gdl.DockMaster.SignalSignatures.layout_changed | Gdl.DockMaster::layout-changed} signal on the master of the object
2521
2577
  * if existing.
2578
+ * @since 3.6
2522
2579
  */
2523
2580
  layout_changed_notify(): void;
2524
2581
 
@@ -2549,6 +2606,7 @@ export namespace Gdl {
2549
2606
  * Set the long name of the object. This name is an human readable string
2550
2607
  * which can be displayed in the user interface.
2551
2608
  * @param name a name for the object
2609
+ * @since 3.6
2552
2610
  */
2553
2611
  set_long_name(name: string): void;
2554
2612
 
@@ -2556,24 +2614,28 @@ export namespace Gdl {
2556
2614
  * A {@link Gdl.DockObject} is managed by default by the dock master, use this function
2557
2615
  * to make it a manual object if you want to manage the destruction of the
2558
2616
  * object.
2617
+ * @since 3.6
2559
2618
  */
2560
2619
  set_manual(): void;
2561
2620
 
2562
2621
  /**
2563
2622
  * Set the name of the object used to identify it.
2564
2623
  * @param name a name for the object
2624
+ * @since 3.6
2565
2625
  */
2566
2626
  set_name(name: string): void;
2567
2627
 
2568
2628
  /**
2569
2629
  * Set a icon for a dock object using a {@link GdkPixbuf.Pixbuf}.
2570
2630
  * @param icon a icon or `null`
2631
+ * @since 3.6
2571
2632
  */
2572
2633
  set_pixbuf(icon: GdkPixbuf.Pixbuf | null): void;
2573
2634
 
2574
2635
  /**
2575
2636
  * Set an icon for the dock object using a stock id.
2576
2637
  * @param stock_id a stock id
2638
+ * @since 3.6
2577
2639
  */
2578
2640
  set_stock_id(stock_id: string): void;
2579
2641
 
@@ -2903,6 +2965,7 @@ export namespace Gdl {
2903
2965
  /**
2904
2966
  * Move the placeholder to the position of `object`.
2905
2967
  * @param object A new {@link Gdl.DockObject}
2968
+ * @deprecated since 3.6
2906
2969
  */
2907
2970
  attach(object: DockObject): void;
2908
2971
  }
@@ -2916,7 +2979,7 @@ export namespace Gdl {
2916
2979
  * @signal
2917
2980
  * @run-last
2918
2981
  */
2919
- "button-pressed-handle": (arg0: Gdk.Event) => void;
2982
+ "button-pressed-handle": (event: Gdk.Event) => void;
2920
2983
  "notify::item": (pspec: GObject.ParamSpec) => void;
2921
2984
  "notify::border-width": (pspec: GObject.ParamSpec) => void;
2922
2985
  "notify::child": (pspec: GObject.ParamSpec) => void;
@@ -3026,6 +3089,7 @@ export namespace Gdl {
3026
3089
  // Methods
3027
3090
  /**
3028
3091
  * Set the widget in "activated" state.
3092
+ * @deprecated since 3.6
3029
3093
  */
3030
3094
  activate(): void;
3031
3095
 
@@ -3037,6 +3101,7 @@ export namespace Gdl {
3037
3101
 
3038
3102
  /**
3039
3103
  * Set the widget in "deactivated" state.
3104
+ * @deprecated since 3.6
3040
3105
  */
3041
3106
  deactivate(): void;
3042
3107
  }