@girs/mx-2.0 1.99.4-3.2.6 → 1.99.4-3.2.8

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/mx-2.0.d.cts CHANGED
@@ -287,10 +287,10 @@ export const VERSION_HEX: number
287
287
  * The full version of the Mx library, in string form (suited for
288
288
  * string concatenation)
289
289
  */
290
- export const VERSION_S: string | null
290
+ export const VERSION_S: string
291
291
  export function actor_box_clamp_to_pixels(box: Clutter.ActorBox): void
292
292
  export function allocate_align_fill(child: Clutter.Actor, childbox: Clutter.ActorBox, x_alignment: Align, y_alignment: Align, x_fill: boolean, y_fill: boolean): void
293
- export function border_image_set_from_string(value: any, str: string | null, filename: string | null): void
293
+ export function border_image_set_from_string(value: any, str: string, filename: string): void
294
294
  /**
295
295
  * Transforms a focus direction to a focus hint. This is a convenience
296
296
  * function for actors that implement the #MxFocusable interface, to
@@ -308,7 +308,7 @@ export function border_image_set_from_string(value: any, str: string | null, fil
308
308
  * @returns A #MxFocusHint
309
309
  */
310
310
  export function focus_hint_from_direction(direction: FocusDirection): FocusHint
311
- export function font_weight_set_from_string(value: any, str: string | null): void
311
+ export function font_weight_set_from_string(value: any, str: string): void
312
312
  export function image_error_quark(): GLib.Quark
313
313
  /**
314
314
  * Initializes internationalization support for Mx. If MxApplication is
@@ -339,7 +339,7 @@ export interface ActionCallbackFunc {
339
339
  * @param text text from the clipboard
340
340
  */
341
341
  export interface ClipboardCallbackFunc {
342
- (clipboard: Clipboard, text: string | null): void
342
+ (clipboard: Clipboard, text: string): void
343
343
  }
344
344
  export module Draggable {
345
345
 
@@ -374,9 +374,6 @@ export module Draggable {
374
374
  // Own constructor properties of Mx-2.0.Mx.Draggable
375
375
 
376
376
  axis?: DragAxis | null
377
- drag_actor?: Clutter.Actor | null
378
- drag_enabled?: boolean | null
379
- drag_threshold?: number | null
380
377
  dragActor?: Clutter.Actor | null
381
378
  dragEnabled?: boolean | null
382
379
  dragThreshold?: number | null
@@ -389,11 +386,8 @@ export interface Draggable extends Clutter.Actor {
389
386
  // Own properties of Mx-2.0.Mx.Draggable
390
387
 
391
388
  axis: DragAxis
392
- drag_actor: Clutter.Actor
393
389
  dragActor: Clutter.Actor
394
- drag_enabled: boolean
395
390
  dragEnabled: boolean
396
- drag_threshold: number
397
391
  dragThreshold: number
398
392
 
399
393
  // Owm methods of Mx-2.0.Mx.Draggable
@@ -747,7 +741,6 @@ export module Droppable {
747
741
 
748
742
  // Own constructor properties of Mx-2.0.Mx.Droppable
749
743
 
750
- drop_enabled?: boolean | null
751
744
  dropEnabled?: boolean | null
752
745
  }
753
746
 
@@ -757,7 +750,6 @@ export interface Droppable extends Clutter.Actor {
757
750
 
758
751
  // Own properties of Mx-2.0.Mx.Droppable
759
752
 
760
- drop_enabled: boolean
761
753
  dropEnabled: boolean
762
754
 
763
755
  // Owm methods of Mx-2.0.Mx.Droppable
@@ -1193,8 +1185,6 @@ export module Scrollable {
1193
1185
 
1194
1186
  // Own constructor properties of Mx-2.0.Mx.Scrollable
1195
1187
 
1196
- horizontal_adjustment?: Adjustment | null
1197
- vertical_adjustment?: Adjustment | null
1198
1188
  horizontalAdjustment?: Adjustment | null
1199
1189
  verticalAdjustment?: Adjustment | null
1200
1190
  }
@@ -1205,9 +1195,7 @@ export interface Scrollable {
1205
1195
 
1206
1196
  // Own properties of Mx-2.0.Mx.Scrollable
1207
1197
 
1208
- horizontal_adjustment: Adjustment
1209
1198
  horizontalAdjustment: Adjustment
1210
- vertical_adjustment: Adjustment
1211
1199
  verticalAdjustment: Adjustment
1212
1200
 
1213
1201
  // Owm methods of Mx-2.0.Mx.Scrollable
@@ -1279,8 +1267,6 @@ export module Stylable {
1279
1267
  // Own constructor properties of Mx-2.0.Mx.Stylable
1280
1268
 
1281
1269
  style?: Style | null
1282
- style_class?: string | null
1283
- style_pseudo_class?: string | null
1284
1270
  styleClass?: string | null
1285
1271
  stylePseudoClass?: string | null
1286
1272
  }
@@ -1292,9 +1278,7 @@ export interface Stylable {
1292
1278
  // Own properties of Mx-2.0.Mx.Stylable
1293
1279
 
1294
1280
  style: Style
1295
- style_class: string | null
1296
1281
  styleClass: string | null
1297
- style_pseudo_class: string | null
1298
1282
  stylePseudoClass: string | null
1299
1283
 
1300
1284
  // Owm methods of Mx-2.0.Mx.Stylable
@@ -1308,14 +1292,14 @@ export interface Stylable {
1308
1292
  * @param property_name the name of the property to find
1309
1293
  * @returns a #GParamSpec for the given property, or %NULL if no property with that name was found
1310
1294
  */
1311
- find_property(property_name: string | null): GObject.ParamSpec
1295
+ find_property(property_name: string): GObject.ParamSpec
1312
1296
  /**
1313
1297
  * Query `stylable` for the default value of property `property_name` and
1314
1298
  * fill `value_out` with the result.
1315
1299
  * @param property_name name of the property to query
1316
1300
  * @returns %TRUE if property @property_name exists and the default value has been returned.
1317
1301
  */
1318
- get_default_value(property_name: string | null): [ /* returnType */ boolean, /* value_out */ any ]
1302
+ get_default_value(property_name: string): [ /* returnType */ boolean, /* value_out */ any ]
1319
1303
  /**
1320
1304
  * Retrieves the #MxStyle used by `stylable`. This function does not
1321
1305
  * alter the reference count of the returned object.
@@ -1326,19 +1310,19 @@ export interface Stylable {
1326
1310
  * Get the current style class name
1327
1311
  * @returns the class name string. The string is owned by the #MxWidget and should not be modified or freed.
1328
1312
  */
1329
- get_style_class(): string | null
1313
+ get_style_class(): string
1330
1314
  /**
1331
1315
  * Retrieves the value of `property_name` for `stylable,` and puts it
1332
1316
  * into `value`.
1333
1317
  * @param property_name the name of the property
1334
1318
  */
1335
- get_style_property(property_name: string | null): /* value */ any
1319
+ get_style_property(property_name: string): /* value */ any
1336
1320
  /**
1337
1321
  * Get the current style pseudo class. This can contain multiple pseudo class
1338
1322
  * names, separated by ':'.
1339
1323
  * @returns the pseudo class string. The string is owned by the #MxWidget and should not be modified or freed.
1340
1324
  */
1341
- get_style_pseudo_class(): string | null
1325
+ get_style_pseudo_class(): string
1342
1326
  /**
1343
1327
  * Retrieves all the #GParamSpec<!-- -->s installed by `stylable`.
1344
1328
  * @returns an array of #GParamSpec<!-- -->s. Free it with g_free() when done.
@@ -1358,13 +1342,13 @@ export interface Stylable {
1358
1342
  * Set the style class name
1359
1343
  * @param style_class a new style class string
1360
1344
  */
1361
- set_style_class(style_class: string | null): void
1345
+ set_style_class(style_class: string): void
1362
1346
  /**
1363
1347
  * Set the style pseudo class. The string can contain multiple pseudo class
1364
1348
  * names, separated by ':'.
1365
1349
  * @param pseudo_class a new pseudo class string
1366
1350
  */
1367
- set_style_pseudo_class(pseudo_class: string | null): void
1351
+ set_style_pseudo_class(pseudo_class: string): void
1368
1352
  /**
1369
1353
  * Emit the "style-changed" signal on `stylable` to notify it that one or more
1370
1354
  * of the style properties has changed.
@@ -1380,20 +1364,20 @@ export interface Stylable {
1380
1364
  * #MxStylable:style-pseudo-class property.
1381
1365
  * @param new_class A pseudo-class name to add
1382
1366
  */
1383
- style_pseudo_class_add(new_class: string | null): void
1367
+ style_pseudo_class_add(new_class: string): void
1384
1368
  /**
1385
1369
  * Check if the given pseudo-class name is contained in the list of
1386
1370
  * set pseudo classes on this #MxStylable object.
1387
1371
  * @param pseudo_class A pseudo-class name
1388
1372
  * @returns %TRUE if the given pseudo-class is set, %FALSE otherwise
1389
1373
  */
1390
- style_pseudo_class_contains(pseudo_class: string | null): boolean
1374
+ style_pseudo_class_contains(pseudo_class: string): boolean
1391
1375
  /**
1392
1376
  * Remove the specified pseudo class name from the list of pseudo classes
1393
1377
  * contained in the #MxStylable:style-pseudo-class property.
1394
1378
  * @param remove_class A pseudo class name to remove
1395
1379
  */
1396
- style_pseudo_class_remove(remove_class: string | null): void
1380
+ style_pseudo_class_remove(remove_class: string): void
1397
1381
 
1398
1382
  // Own virtual methods of Mx-2.0.Mx.Stylable
1399
1383
 
@@ -1409,14 +1393,14 @@ export interface Stylable {
1409
1393
  * @virtual
1410
1394
  * @returns the class name string. The string is owned by the #MxWidget and should not be modified or freed.
1411
1395
  */
1412
- vfunc_get_style_class(): string | null
1396
+ vfunc_get_style_class(): string
1413
1397
  /**
1414
1398
  * Get the current style pseudo class. This can contain multiple pseudo class
1415
1399
  * names, separated by ':'.
1416
1400
  * @virtual
1417
1401
  * @returns the pseudo class string. The string is owned by the #MxWidget and should not be modified or freed.
1418
1402
  */
1419
- vfunc_get_style_pseudo_class(): string | null
1403
+ vfunc_get_style_pseudo_class(): string
1420
1404
  /**
1421
1405
  * Sets `style` as the new #MxStyle to be used by `stylable`.
1422
1406
  *
@@ -1433,14 +1417,14 @@ export interface Stylable {
1433
1417
  * @virtual
1434
1418
  * @param style_class a new style class string
1435
1419
  */
1436
- vfunc_set_style_class(style_class: string | null): void
1420
+ vfunc_set_style_class(style_class: string): void
1437
1421
  /**
1438
1422
  * Set the style pseudo class. The string can contain multiple pseudo class
1439
1423
  * names, separated by ':'.
1440
1424
  * @virtual
1441
1425
  * @param pseudo_class a new pseudo class string
1442
1426
  */
1443
- vfunc_set_style_pseudo_class(pseudo_class: string | null): void
1427
+ vfunc_set_style_pseudo_class(pseudo_class: string): void
1444
1428
  /**
1445
1429
  * Emit the "style-changed" signal on `stylable` to notify it that one or more
1446
1430
  * of the style properties has changed.
@@ -1555,9 +1539,8 @@ export module Action {
1555
1539
  // Own constructor properties of Mx-2.0.Mx.Action
1556
1540
 
1557
1541
  active?: boolean | null
1558
- display_name?: string | null
1559
- icon?: string | null
1560
1542
  displayName?: string | null
1543
+ icon?: string | null
1561
1544
  }
1562
1545
 
1563
1546
  }
@@ -1567,7 +1550,6 @@ export interface Action extends Gio.Action {
1567
1550
  // Own properties of Mx-2.0.Mx.Action
1568
1551
 
1569
1552
  active: boolean
1570
- display_name: string | null
1571
1553
  displayName: string | null
1572
1554
  icon: string | null
1573
1555
 
@@ -1582,17 +1564,17 @@ export interface Action extends Gio.Action {
1582
1564
  * Get the display name of the action
1583
1565
  * @returns display-name of the action, owned by MxAction
1584
1566
  */
1585
- get_display_name(): string | null
1567
+ get_display_name(): string
1586
1568
  /**
1587
1569
  * Get the icon of the action
1588
1570
  * @returns icon of the action, owned by MxAction
1589
1571
  */
1590
- get_icon(): string | null
1572
+ get_icon(): string
1591
1573
  /**
1592
1574
  * Get the name of the action
1593
1575
  * @returns name of the action, owned by MxAction
1594
1576
  */
1595
- get_name(): string | null
1577
+ get_name(): string
1596
1578
  /**
1597
1579
  * Set the value of the active property
1598
1580
  * @param active the value to set
@@ -1602,17 +1584,17 @@ export interface Action extends Gio.Action {
1602
1584
  * Set the name of the action to display to the user
1603
1585
  * @param name new display name to set
1604
1586
  */
1605
- set_display_name(name: string | null): void
1587
+ set_display_name(name: string): void
1606
1588
  /**
1607
1589
  * The icon to be used in a visual representation of an action.
1608
1590
  * @param name new icon to set
1609
1591
  */
1610
- set_icon(name: string | null): void
1592
+ set_icon(name: string): void
1611
1593
  /**
1612
1594
  * Set the name of the action
1613
1595
  * @param name new name to set
1614
1596
  */
1615
- set_name(name: string | null): void
1597
+ set_name(name: string): void
1616
1598
 
1617
1599
  // Own virtual methods of Mx-2.0.Mx.Action
1618
1600
 
@@ -1694,7 +1676,7 @@ export class Action extends GObject.InitiallyUnowned {
1694
1676
  * @param activated_cb callback to connect to the activated signal
1695
1677
  * @returns a newly allocated #MxAction
1696
1678
  */
1697
- static new_full(name: string | null, display_name: string | null, activated_cb: ActionCallbackFunc | null): Action
1679
+ static new_full(name: string, display_name: string, activated_cb: ActionCallbackFunc | null): Action
1698
1680
  /**
1699
1681
  * Creates a new stateful action.
1700
1682
  *
@@ -1706,7 +1688,7 @@ export class Action extends GObject.InitiallyUnowned {
1706
1688
  * @param state the initial state of the action
1707
1689
  * @returns a new #MxAction
1708
1690
  */
1709
- static new_stateful(name: string | null, parameter_type: GLib.VariantType | null, state: GLib.Variant): Action
1691
+ static new_stateful(name: string, parameter_type: GLib.VariantType | null, state: GLib.Variant): Action
1710
1692
  /**
1711
1693
  * Creates a new action with a parameter.
1712
1694
  *
@@ -1716,7 +1698,7 @@ export class Action extends GObject.InitiallyUnowned {
1716
1698
  * @param parameter_type the type of parameter to the activate function
1717
1699
  * @returns a new #MxAction
1718
1700
  */
1719
- static new_with_parameter(name: string | null, parameter_type?: GLib.VariantType | null): Action
1701
+ static new_with_parameter(name: string, parameter_type?: GLib.VariantType | null): Action
1720
1702
  _init(config?: Action.ConstructorProperties): void
1721
1703
  }
1722
1704
 
@@ -1781,7 +1763,6 @@ export module ActorManager {
1781
1763
  // Own constructor properties of Mx-2.0.Mx.ActorManager
1782
1764
 
1783
1765
  stage?: Clutter.Stage | null
1784
- time_slice?: number | null
1785
1766
  timeSlice?: number | null
1786
1767
  }
1787
1768
 
@@ -1791,10 +1772,8 @@ export interface ActorManager {
1791
1772
 
1792
1773
  // Own properties of Mx-2.0.Mx.ActorManager
1793
1774
 
1794
- readonly n_operations: number
1795
1775
  readonly nOperations: number
1796
1776
  readonly stage: Clutter.Stage
1797
- time_slice: number
1798
1777
  timeSlice: number
1799
1778
 
1800
1779
  // Own fields of Mx-2.0.Mx.ActorManager
@@ -2012,18 +1991,14 @@ export module Adjustment {
2012
1991
 
2013
1992
  // Own constructor properties of Mx-2.0.Mx.Adjustment
2014
1993
 
2015
- clamp_value?: boolean | null
1994
+ clampValue?: boolean | null
2016
1995
  elastic?: boolean | null
2017
1996
  lower?: number | null
2018
- page_increment?: number | null
2019
- page_size?: number | null
2020
- step_increment?: number | null
2021
- upper?: number | null
2022
- value?: number | null
2023
- clampValue?: boolean | null
2024
1997
  pageIncrement?: number | null
2025
1998
  pageSize?: number | null
2026
1999
  stepIncrement?: number | null
2000
+ upper?: number | null
2001
+ value?: number | null
2027
2002
  }
2028
2003
 
2029
2004
  }
@@ -2032,15 +2007,11 @@ export interface Adjustment {
2032
2007
 
2033
2008
  // Own properties of Mx-2.0.Mx.Adjustment
2034
2009
 
2035
- clamp_value: boolean
2036
2010
  clampValue: boolean
2037
2011
  elastic: boolean
2038
2012
  lower: number
2039
- page_increment: number
2040
2013
  pageIncrement: number
2041
- page_size: number
2042
2014
  pageSize: number
2043
- step_increment: number
2044
2015
  stepIncrement: number
2045
2016
  upper: number
2046
2017
  value: number
@@ -2284,7 +2255,7 @@ export interface Application extends Gio.ActionGroup, Gio.ActionMap {
2284
2255
  * @param window_title Title for the new window
2285
2256
  * @returns The newly created MxWindow
2286
2257
  */
2287
- create_window(window_title: string | null): Window
2258
+ create_window(window_title: string): Window
2288
2259
  /**
2289
2260
  * Retrieves all windows added to `application`.
2290
2261
  * @returns a list of #MxWindow<!-- -->s. The returned list is owned by @application and must not be altered.
@@ -2352,7 +2323,7 @@ export class Application extends Gio.Application {
2352
2323
  * @param flags Application flags.
2353
2324
  * @returns the #MxApplication singleton.
2354
2325
  */
2355
- constructor(application_id: string | null, flags: Gio.ApplicationFlags)
2326
+ constructor(application_id: string, flags: Gio.ApplicationFlags)
2356
2327
  /**
2357
2328
  * Intialises everything needed to operate Clutter and use #MxApplication.
2358
2329
  * See clutter_init().
@@ -2361,7 +2332,7 @@ export class Application extends Gio.Application {
2361
2332
  * @param flags Application flags.
2362
2333
  * @returns the #MxApplication singleton.
2363
2334
  */
2364
- static new(application_id: string | null, flags: Gio.ApplicationFlags): Application
2335
+ static new(application_id: string, flags: Gio.ApplicationFlags): Application
2365
2336
 
2366
2337
  // Overloads of new
2367
2338
 
@@ -2394,22 +2365,6 @@ export module Bin {
2394
2365
  * The child #ClutterActor of the #MxBin container.
2395
2366
  */
2396
2367
  child?: Clutter.Actor | null
2397
- /**
2398
- * The horizontal alignment of the #MxBin child.
2399
- */
2400
- x_align: any
2401
- /**
2402
- * Whether the child should fill the horizontal allocation
2403
- */
2404
- x_fill?: boolean | null
2405
- /**
2406
- * The vertical alignment of the #MxBin child.
2407
- */
2408
- y_align: any
2409
- /**
2410
- * Whether the child should fill the vertical allocation
2411
- */
2412
- y_fill?: boolean | null
2413
2368
  /**
2414
2369
  * The horizontal alignment of the #MxBin child.
2415
2370
  */
@@ -2438,34 +2393,18 @@ export interface Bin extends Atk.ImplementorIface, Clutter.Animatable, Clutter.C
2438
2393
  * The child #ClutterActor of the #MxBin container.
2439
2394
  */
2440
2395
  child: Clutter.Actor
2441
- /**
2442
- * The horizontal alignment of the #MxBin child.
2443
- */
2444
- x_align: any
2445
2396
  /**
2446
2397
  * The horizontal alignment of the #MxBin child.
2447
2398
  */
2448
2399
  xAlign: any
2449
- /**
2450
- * Whether the child should fill the horizontal allocation
2451
- */
2452
- x_fill: boolean
2453
2400
  /**
2454
2401
  * Whether the child should fill the horizontal allocation
2455
2402
  */
2456
2403
  xFill: boolean
2457
- /**
2458
- * The vertical alignment of the #MxBin child.
2459
- */
2460
- y_align: any
2461
2404
  /**
2462
2405
  * The vertical alignment of the #MxBin child.
2463
2406
  */
2464
2407
  yAlign: any
2465
- /**
2466
- * Whether the child should fill the vertical allocation
2467
- */
2468
- y_fill: boolean
2469
2408
  /**
2470
2409
  * Whether the child should fill the vertical allocation
2471
2410
  */
@@ -2852,12 +2791,10 @@ export module BoxLayout {
2852
2791
 
2853
2792
  // Own constructor properties of Mx-2.0.Mx.BoxLayout
2854
2793
 
2855
- enable_animations?: boolean | null
2856
- orientation?: Orientation | null
2857
- scroll_to_focused?: boolean | null
2858
- spacing?: number | null
2859
2794
  enableAnimations?: boolean | null
2795
+ orientation?: Orientation | null
2860
2796
  scrollToFocused?: boolean | null
2797
+ spacing?: number | null
2861
2798
  }
2862
2799
 
2863
2800
  }
@@ -2866,10 +2803,8 @@ export interface BoxLayout extends Atk.ImplementorIface, Clutter.Animatable, Clu
2866
2803
 
2867
2804
  // Own properties of Mx-2.0.Mx.BoxLayout
2868
2805
 
2869
- enable_animations: boolean
2870
2806
  enableAnimations: boolean
2871
2807
  orientation: Orientation
2872
- scroll_to_focused: boolean
2873
2808
  scrollToFocused: boolean
2874
2809
  spacing: number
2875
2810
 
@@ -3336,10 +3271,6 @@ export module BoxLayoutChild {
3336
3271
  // Own constructor properties of Mx-2.0.Mx.BoxLayoutChild
3337
3272
 
3338
3273
  expand?: boolean | null
3339
- x_align?: Align | null
3340
- x_fill?: boolean | null
3341
- y_align?: Align | null
3342
- y_fill?: boolean | null
3343
3274
  xAlign?: Align | null
3344
3275
  xFill?: boolean | null
3345
3276
  yAlign?: Align | null
@@ -3353,13 +3284,9 @@ export interface BoxLayoutChild {
3353
3284
  // Own properties of Mx-2.0.Mx.BoxLayoutChild
3354
3285
 
3355
3286
  expand: boolean
3356
- x_align: Align
3357
3287
  xAlign: Align
3358
- x_fill: boolean
3359
3288
  xFill: boolean
3360
- y_align: Align
3361
3289
  yAlign: Align
3362
- y_fill: boolean
3363
3290
  yFill: boolean
3364
3291
 
3365
3292
  // Class property signals of Mx-2.0.Mx.BoxLayoutChild
@@ -3422,20 +3349,14 @@ export module Button {
3422
3349
  // Own constructor properties of Mx-2.0.Mx.Button
3423
3350
 
3424
3351
  action?: Action | null
3425
- icon_name?: string | null
3426
- icon_position?: Position | null
3427
- icon_size?: number | null
3428
- icon_visible?: boolean | null
3429
- is_toggle?: boolean | null
3430
- label?: string | null
3431
- label_visible?: boolean | null
3432
- toggled?: boolean | null
3433
3352
  iconName?: string | null
3434
3353
  iconPosition?: Position | null
3435
3354
  iconSize?: number | null
3436
3355
  iconVisible?: boolean | null
3437
3356
  isToggle?: boolean | null
3357
+ label?: string | null
3438
3358
  labelVisible?: boolean | null
3359
+ toggled?: boolean | null
3439
3360
  }
3440
3361
 
3441
3362
  }
@@ -3445,18 +3366,12 @@ export interface Button extends Atk.ImplementorIface, Clutter.Animatable, Clutte
3445
3366
  // Own properties of Mx-2.0.Mx.Button
3446
3367
 
3447
3368
  action: Action
3448
- icon_name: string | null
3449
3369
  iconName: string | null
3450
- icon_position: Position
3451
3370
  iconPosition: Position
3452
- icon_size: number
3453
3371
  iconSize: number
3454
- icon_visible: boolean
3455
3372
  iconVisible: boolean
3456
- is_toggle: boolean
3457
3373
  isToggle: boolean
3458
3374
  label: string | null
3459
- label_visible: boolean
3460
3375
  labelVisible: boolean
3461
3376
  toggled: boolean
3462
3377
 
@@ -3476,12 +3391,12 @@ export interface Button extends Atk.ImplementorIface, Clutter.Animatable, Clutte
3476
3391
  * @param name the name of the action to retrieve
3477
3392
  * @returns a #ClutterAction for the given name, or %NULL. The returned #ClutterAction is owned by the actor and it should not be unreferenced directly
3478
3393
  */
3479
- get_action(name: string | null): Clutter.Action
3394
+ get_action(name: string): Clutter.Action
3480
3395
  /**
3481
3396
  * Get the icon-name being used on the button.
3482
3397
  * @returns the icon-name. This must not be freed by the application. %NULL if no icon has been set
3483
3398
  */
3484
- get_icon_name(): string | null
3399
+ get_icon_name(): string
3485
3400
  /**
3486
3401
  * Retrieves the icon's relative position to the text.
3487
3402
  * @returns A #MxPosition
@@ -3506,7 +3421,7 @@ export interface Button extends Atk.ImplementorIface, Clutter.Animatable, Clutte
3506
3421
  * Get the text displayed on the button
3507
3422
  * @returns the text for the button. This must not be freed by the application
3508
3423
  */
3509
- get_label(): string | null
3424
+ get_label(): string
3510
3425
  /**
3511
3426
  * Retrieves the visibility of the text associated with the button's action.
3512
3427
  * @returns %TRUE if the text is visible, %FALSE otherwise
@@ -3557,7 +3472,7 @@ export interface Button extends Atk.ImplementorIface, Clutter.Animatable, Clutte
3557
3472
  * Sets the text displayed on the button
3558
3473
  * @param text text to set the label to
3559
3474
  */
3560
- set_label(text: string | null): void
3475
+ set_label(text: string): void
3561
3476
  /**
3562
3477
  * Sets the visibility of the text associated with the button's action.
3563
3478
  * @param visible %TRUE if the text should be visible
@@ -3936,7 +3851,7 @@ export class Button extends Widget {
3936
3851
  * @param text text to set the label to
3937
3852
  * @returns a new #MxButton
3938
3853
  */
3939
- static new_with_label(text: string | null): Button
3854
+ static new_with_label(text: string): Button
3940
3855
  _init(config?: Button.ConstructorProperties): void
3941
3856
  }
3942
3857
 
@@ -3948,8 +3863,6 @@ export module ButtonGroup {
3948
3863
 
3949
3864
  // Own constructor properties of Mx-2.0.Mx.ButtonGroup
3950
3865
 
3951
- active_button?: Button | null
3952
- allow_no_active?: boolean | null
3953
3866
  activeButton?: Button | null
3954
3867
  allowNoActive?: boolean | null
3955
3868
  }
@@ -3960,9 +3873,7 @@ export interface ButtonGroup {
3960
3873
 
3961
3874
  // Own properties of Mx-2.0.Mx.ButtonGroup
3962
3875
 
3963
- active_button: Button
3964
3876
  activeButton: Button
3965
- allow_no_active: boolean
3966
3877
  allowNoActive: boolean
3967
3878
 
3968
3879
  // Own fields of Mx-2.0.Mx.ButtonGroup
@@ -4081,7 +3992,7 @@ export interface Clipboard {
4081
3992
  * Sets text as the current contents of the clipboard.
4082
3993
  * @param text text to copy to the clipboard
4083
3994
  */
4084
- set_text(text: string | null): void
3995
+ set_text(text: string): void
4085
3996
 
4086
3997
  // Class property signals of Mx-2.0.Mx.Clipboard
4087
3998
 
@@ -4122,11 +4033,9 @@ export module ComboBox {
4122
4033
 
4123
4034
  // Own constructor properties of Mx-2.0.Mx.ComboBox
4124
4035
 
4125
- active_icon_name?: string | null
4126
- active_text?: string | null
4127
- index?: number | null
4128
4036
  activeIconName?: string | null
4129
4037
  activeText?: string | null
4038
+ index?: number | null
4130
4039
  }
4131
4040
 
4132
4041
  }
@@ -4135,9 +4044,7 @@ export interface ComboBox extends Atk.ImplementorIface, Clutter.Animatable, Clut
4135
4044
 
4136
4045
  // Own properties of Mx-2.0.Mx.ComboBox
4137
4046
 
4138
- active_icon_name: string | null
4139
4047
  activeIconName: string | null
4140
- active_text: string | null
4141
4048
  activeText: string | null
4142
4049
  index: number
4143
4050
 
@@ -4147,17 +4054,17 @@ export interface ComboBox extends Atk.ImplementorIface, Clutter.Animatable, Clut
4147
4054
  * Append an item to the combo box list
4148
4055
  * @param text name of the item
4149
4056
  */
4150
- append_text(text: string | null): void
4057
+ append_text(text: string): void
4151
4058
  /**
4152
4059
  * Get the name of the icon displayed in the combo box
4153
4060
  * @returns the text string of the name of the displayed icon, owned by the combo box, or %NULL if there is no active icon.
4154
4061
  */
4155
- get_active_icon_name(): string | null
4062
+ get_active_icon_name(): string
4156
4063
  /**
4157
4064
  * Get the text displayed in the combo box
4158
4065
  * @returns the text string, owned by the combo box
4159
4066
  */
4160
- get_active_text(): string | null
4067
+ get_active_text(): string
4161
4068
  /**
4162
4069
  * Get the index of the last item selected
4163
4070
  * @returns gint
@@ -4168,19 +4075,19 @@ export interface ComboBox extends Atk.ImplementorIface, Clutter.Animatable, Clut
4168
4075
  * @param position zero indexed position to insert the item at
4169
4076
  * @param text name of the item
4170
4077
  */
4171
- insert_text(position: number, text: string | null): void
4078
+ insert_text(position: number, text: string): void
4172
4079
  /**
4173
4080
  * Insert an item with text and an icon into the combo box list.
4174
4081
  * @param position zero indexed position to insert the item at
4175
4082
  * @param text name of the item
4176
4083
  * @param icon name of an icon from the icon theme
4177
4084
  */
4178
- insert_text_with_icon(position: number, text: string | null, icon: string | null): void
4085
+ insert_text_with_icon(position: number, text: string, icon: string): void
4179
4086
  /**
4180
4087
  * Prepend an item to the combo box list
4181
4088
  * @param text name of the item
4182
4089
  */
4183
- prepend_text(text: string | null): void
4090
+ prepend_text(text: string): void
4184
4091
  /**
4185
4092
  * Remove all the items of `box`
4186
4093
  */
@@ -4199,7 +4106,7 @@ export interface ComboBox extends Atk.ImplementorIface, Clutter.Animatable, Clut
4199
4106
  * Set the text displayed in the combo box
4200
4107
  * @param text text to display
4201
4108
  */
4202
- set_active_text(text: string | null): void
4109
+ set_active_text(text: string): void
4203
4110
  /**
4204
4111
  * Set the current combo box text from the item at `index` in the list.
4205
4112
  * @param index the index of the list item to set
@@ -4959,16 +4866,12 @@ export module Entry {
4959
4866
 
4960
4867
  // Own constructor properties of Mx-2.0.Mx.Entry
4961
4868
 
4962
- icon_highlight_suffix?: string | null
4963
- password_char?: number | null
4964
- placeholder?: string | null
4965
- primary_icon_tooltip_text?: string | null
4966
- secondary_icon_tooltip_text?: string | null
4967
- text?: string | null
4968
4869
  iconHighlightSuffix?: string | null
4969
4870
  passwordChar?: number | null
4871
+ placeholder?: string | null
4970
4872
  primaryIconTooltipText?: string | null
4971
4873
  secondaryIconTooltipText?: string | null
4874
+ text?: string | null
4972
4875
  }
4973
4876
 
4974
4877
  }
@@ -4977,16 +4880,11 @@ export interface Entry extends Atk.ImplementorIface, Clutter.Animatable, Clutter
4977
4880
 
4978
4881
  // Own properties of Mx-2.0.Mx.Entry
4979
4882
 
4980
- readonly clutter_text: Clutter.Text
4981
4883
  readonly clutterText: Clutter.Text
4982
- icon_highlight_suffix: string | null
4983
4884
  iconHighlightSuffix: string | null
4984
- password_char: number
4985
4885
  passwordChar: number
4986
4886
  placeholder: string | null
4987
- primary_icon_tooltip_text: string | null
4988
4887
  primaryIconTooltipText: string | null
4989
- secondary_icon_tooltip_text: string | null
4990
4888
  secondaryIconTooltipText: string | null
4991
4889
  text: string | null
4992
4890
 
@@ -5002,7 +4900,7 @@ export interface Entry extends Atk.ImplementorIface, Clutter.Animatable, Clutter
5002
4900
  * of the icon.
5003
4901
  * @returns the highlight filename suffix. This string is owned by the #MxEntry and should not be freed or modified.
5004
4902
  */
5005
- get_icon_highlight_suffix(): string | null
4903
+ get_icon_highlight_suffix(): string
5006
4904
  /**
5007
4905
  * Gets the character to display instead of the text.
5008
4906
  * @returns a character, or 0 if input should not be hidden.
@@ -5012,12 +4910,12 @@ export interface Entry extends Atk.ImplementorIface, Clutter.Animatable, Clutter
5012
4910
  * Gets the text that is displayed when the entry is empty and unfocused
5013
4911
  * @returns the current value of the placeholder property. This string is owned by the #MxEntry and should not be freed or modified.
5014
4912
  */
5015
- get_placeholder(): string | null
4913
+ get_placeholder(): string
5016
4914
  /**
5017
4915
  * Get the text displayed on the entry
5018
4916
  * @returns the text for the entry. This must not be freed by the application
5019
4917
  */
5020
- get_text(): string | null
4918
+ get_text(): string
5021
4919
  /**
5022
4920
  * Sets the suffix appended to the filename to use for the highlighted version
5023
4921
  * of the icon. e.g. if you have set your primay icon to "primary-icon.png"
@@ -5025,7 +4923,7 @@ export interface Entry extends Atk.ImplementorIface, Clutter.Animatable, Clutter
5025
4923
  * "primary-icon-highlight.png"
5026
4924
  * @param suffix the suffix to append to the filename for the highlight version
5027
4925
  */
5028
- set_icon_highlight_suffix(suffix: string | null): void
4926
+ set_icon_highlight_suffix(suffix: string): void
5029
4927
  /**
5030
4928
  * Sets the character to display instead of the text. Use 0 to display
5031
4929
  * the actual text.
@@ -5038,24 +4936,24 @@ export interface Entry extends Atk.ImplementorIface, Clutter.Animatable, Clutter
5038
4936
  * A value of NULL unsets the hint.
5039
4937
  * @param text text to set as the entry hint
5040
4938
  */
5041
- set_placeholder(text: string | null): void
4939
+ set_placeholder(text: string): void
5042
4940
  /**
5043
4941
  * Set the primary icon of the entry to the given filename
5044
4942
  * @param filename filename of an icon
5045
4943
  */
5046
- set_primary_icon_from_file(filename: string | null): void
5047
- set_primary_icon_tooltip_text(text: string | null): void
4944
+ set_primary_icon_from_file(filename: string): void
4945
+ set_primary_icon_tooltip_text(text: string): void
5048
4946
  /**
5049
4947
  * Set the primary icon of the entry to the given filename
5050
4948
  * @param filename filename of an icon
5051
4949
  */
5052
- set_secondary_icon_from_file(filename: string | null): void
5053
- set_secondary_icon_tooltip_text(text: string | null): void
4950
+ set_secondary_icon_from_file(filename: string): void
4951
+ set_secondary_icon_tooltip_text(text: string): void
5054
4952
  /**
5055
4953
  * Sets the text displayed on the entry
5056
4954
  * @param text text to set the entry to
5057
4955
  */
5058
- set_text(text: string | null): void
4956
+ set_text(text: string): void
5059
4957
 
5060
4958
  // Conflicting methods
5061
4959
 
@@ -5421,7 +5319,7 @@ export class Entry extends Widget {
5421
5319
  * @param text text to set the entry to
5422
5320
  * @returns a new #MxEntry
5423
5321
  */
5424
- static new_with_text(text: string | null): Entry
5322
+ static new_with_text(text: string): Entry
5425
5323
  _init(config?: Entry.ConstructorProperties): void
5426
5324
  }
5427
5325
 
@@ -5473,7 +5371,7 @@ export interface Expander extends Atk.ImplementorIface, Clutter.Animatable, Clut
5473
5371
  * Sets the text displayed as the title of the expander
5474
5372
  * @param label string to set as the expander label
5475
5373
  */
5476
- set_label(label: string | null): void
5374
+ set_label(label: string): void
5477
5375
 
5478
5376
  // Conflicting methods
5479
5377
 
@@ -5825,16 +5723,6 @@ export module FadeEffect {
5825
5723
 
5826
5724
  // Own constructor properties of Mx-2.0.Mx.FadeEffect
5827
5725
 
5828
- border_bottom?: number | null
5829
- border_left?: number | null
5830
- border_right?: number | null
5831
- border_top?: number | null
5832
- bounds_height?: number | null
5833
- bounds_width?: number | null
5834
- bounds_x?: number | null
5835
- bounds_y?: number | null
5836
- color?: Clutter.Color | null
5837
- freeze_update?: boolean | null
5838
5726
  borderBottom?: number | null
5839
5727
  borderLeft?: number | null
5840
5728
  borderRight?: number | null
@@ -5843,6 +5731,7 @@ export module FadeEffect {
5843
5731
  boundsWidth?: number | null
5844
5732
  boundsX?: number | null
5845
5733
  boundsY?: number | null
5734
+ color?: Clutter.Color | null
5846
5735
  freezeUpdate?: boolean | null
5847
5736
  }
5848
5737
 
@@ -5852,24 +5741,15 @@ export interface FadeEffect {
5852
5741
 
5853
5742
  // Own properties of Mx-2.0.Mx.FadeEffect
5854
5743
 
5855
- border_bottom: number
5856
5744
  borderBottom: number
5857
- border_left: number
5858
5745
  borderLeft: number
5859
- border_right: number
5860
5746
  borderRight: number
5861
- border_top: number
5862
5747
  borderTop: number
5863
- bounds_height: number
5864
5748
  boundsHeight: number
5865
- bounds_width: number
5866
5749
  boundsWidth: number
5867
- bounds_x: number
5868
5750
  boundsX: number
5869
- bounds_y: number
5870
5751
  boundsY: number
5871
5752
  color: Clutter.Color
5872
- freeze_update: boolean
5873
5753
  freezeUpdate: boolean
5874
5754
 
5875
5755
  // Own fields of Mx-2.0.Mx.FadeEffect
@@ -6771,15 +6651,6 @@ export module Grid {
6771
6651
 
6772
6652
  // Own constructor properties of Mx-2.0.Mx.Grid
6773
6653
 
6774
- child_x_align?: Align | null
6775
- child_y_align?: Align | null
6776
- column_spacing?: number | null
6777
- homogenous_columns?: boolean | null
6778
- homogenous_rows?: boolean | null
6779
- line_alignment?: Align | null
6780
- max_stride?: number | null
6781
- orientation?: Orientation | null
6782
- row_spacing?: number | null
6783
6654
  childXAlign?: Align | null
6784
6655
  childYAlign?: Align | null
6785
6656
  columnSpacing?: number | null
@@ -6787,6 +6658,7 @@ export module Grid {
6787
6658
  homogenousRows?: boolean | null
6788
6659
  lineAlignment?: Align | null
6789
6660
  maxStride?: number | null
6661
+ orientation?: Orientation | null
6790
6662
  rowSpacing?: number | null
6791
6663
  }
6792
6664
 
@@ -6796,22 +6668,14 @@ export interface Grid extends Atk.ImplementorIface, Clutter.Animatable, Clutter.
6796
6668
 
6797
6669
  // Own properties of Mx-2.0.Mx.Grid
6798
6670
 
6799
- child_x_align: Align
6800
6671
  childXAlign: Align
6801
- child_y_align: Align
6802
6672
  childYAlign: Align
6803
- column_spacing: number
6804
6673
  columnSpacing: number
6805
- homogenous_columns: boolean
6806
6674
  homogenousColumns: boolean
6807
- homogenous_rows: boolean
6808
6675
  homogenousRows: boolean
6809
- line_alignment: Align
6810
6676
  lineAlignment: Align
6811
- max_stride: number
6812
6677
  maxStride: number
6813
6678
  orientation: Orientation
6814
- row_spacing: number
6815
6679
  rowSpacing: number
6816
6680
 
6817
6681
  // Owm methods of Mx-2.0.Mx.Grid
@@ -7192,8 +7056,6 @@ export module Icon {
7192
7056
 
7193
7057
  // Own constructor properties of Mx-2.0.Mx.Icon
7194
7058
 
7195
- icon_name?: string | null
7196
- icon_size?: number | null
7197
7059
  iconName?: string | null
7198
7060
  iconSize?: number | null
7199
7061
  }
@@ -7204,16 +7066,14 @@ export interface Icon extends Atk.ImplementorIface, Clutter.Animatable, Clutter.
7204
7066
 
7205
7067
  // Own properties of Mx-2.0.Mx.Icon
7206
7068
 
7207
- icon_name: string | null
7208
7069
  iconName: string | null
7209
- icon_size: number
7210
7070
  iconSize: number
7211
7071
 
7212
7072
  // Owm methods of Mx-2.0.Mx.Icon
7213
7073
 
7214
- get_icon_name(): string | null
7074
+ get_icon_name(): string
7215
7075
  get_icon_size(): number
7216
- set_icon_name(icon_name: string | null): void
7076
+ set_icon_name(icon_name: string): void
7217
7077
  set_icon_size(size: number): void
7218
7078
 
7219
7079
  // Conflicting methods
@@ -7556,7 +7416,6 @@ export module IconTheme {
7556
7416
 
7557
7417
  // Own constructor properties of Mx-2.0.Mx.IconTheme
7558
7418
 
7559
- theme_name?: string | null
7560
7419
  themeName?: string | null
7561
7420
  }
7562
7421
 
@@ -7566,7 +7425,6 @@ export interface IconTheme {
7566
7425
 
7567
7426
  // Own properties of Mx-2.0.Mx.IconTheme
7568
7427
 
7569
- theme_name: string | null
7570
7428
  themeName: string | null
7571
7429
 
7572
7430
  // Own fields of Mx-2.0.Mx.IconTheme
@@ -7585,22 +7443,22 @@ export interface IconTheme {
7585
7443
  * Get the value of the #MxIconTheme:theme-name property.
7586
7444
  * @returns the current value of the "theme-name" property.
7587
7445
  */
7588
- get_theme_name(): string | null
7589
- has_icon(icon_name: string | null): boolean
7446
+ get_theme_name(): string
7447
+ has_icon(icon_name: string): boolean
7590
7448
  /**
7591
7449
  * If the icon is available, returns a #CoglHandle of the icon.
7592
7450
  * @param icon_name The name of the icon
7593
7451
  * @param size The desired size of the icon
7594
7452
  * @returns a #CoglHandle of the icon, or %NULL.
7595
7453
  */
7596
- lookup(icon_name: string | null, size: number): Cogl.Handle
7454
+ lookup(icon_name: string, size: number): Cogl.Handle
7597
7455
  /**
7598
7456
  * If the icon is available, returns a #ClutterTexture of the icon.
7599
7457
  * @param icon_name The name of the icon
7600
7458
  * @param size The desired size of the icon
7601
7459
  * @returns a #ClutterTexture of the icon, or %NULL.
7602
7460
  */
7603
- lookup_texture(icon_name: string | null, size: number): Clutter.Texture
7461
+ lookup_texture(icon_name: string, size: number): Clutter.Texture
7604
7462
  /**
7605
7463
  * Sets the directories the #MxIconTheme will search in to find icons.
7606
7464
  * By default, it will look in the default system and local icon
@@ -7618,7 +7476,7 @@ export interface IconTheme {
7618
7476
  * icon theme, this function can be called with a %NULL `theme_name` argument.
7619
7477
  * @param theme_name the name of an icon theme to load, or %NULL
7620
7478
  */
7621
- set_theme_name(theme_name: string | null): void
7479
+ set_theme_name(theme_name: string): void
7622
7480
 
7623
7481
  // Class property signals of Mx-2.0.Mx.IconTheme
7624
7482
 
@@ -7693,15 +7551,8 @@ export module Image {
7693
7551
 
7694
7552
  // Own constructor properties of Mx-2.0.Mx.Image
7695
7553
 
7696
- allow_upscale?: boolean | null
7697
- filename?: string | null
7698
- image_rotation?: number | null
7699
- load_async?: boolean | null
7700
- scale_height_threshold?: number | null
7701
- scale_mode?: ImageScaleMode | null
7702
- scale_width_threshold?: number | null
7703
- transition_duration?: number | null
7704
7554
  allowUpscale?: boolean | null
7555
+ filename?: string | null
7705
7556
  imageRotation?: number | null
7706
7557
  loadAsync?: boolean | null
7707
7558
  scaleHeightThreshold?: number | null
@@ -7716,20 +7567,13 @@ export interface Image extends Atk.ImplementorIface, Clutter.Animatable, Clutter
7716
7567
 
7717
7568
  // Own properties of Mx-2.0.Mx.Image
7718
7569
 
7719
- allow_upscale: boolean
7720
7570
  allowUpscale: boolean
7721
7571
  filename: string | null
7722
- image_rotation: number
7723
7572
  imageRotation: number
7724
- load_async: boolean
7725
7573
  loadAsync: boolean
7726
- scale_height_threshold: number
7727
7574
  scaleHeightThreshold: number
7728
- scale_mode: ImageScaleMode
7729
7575
  scaleMode: ImageScaleMode
7730
- scale_width_threshold: number
7731
7576
  scaleWidthThreshold: number
7732
- transition_duration: number
7733
7577
  transitionDuration: number
7734
7578
 
7735
7579
  // Owm methods of Mx-2.0.Mx.Image
@@ -7838,7 +7682,7 @@ export interface Image extends Atk.ImplementorIface, Clutter.Animatable, Clutter
7838
7682
  * @param filename Filename to read the file from
7839
7683
  * @returns #TRUE if the image was successfully updated
7840
7684
  */
7841
- set_from_file(filename: string | null): boolean
7685
+ set_from_file(filename: string): boolean
7842
7686
  /**
7843
7687
  * Set the image data from an image file, and scale the image during loading.
7844
7688
  * In case of failure, #FALSE is returned and `error` is set. The aspect ratio
@@ -7848,7 +7692,7 @@ export interface Image extends Atk.ImplementorIface, Clutter.Animatable, Clutter
7848
7692
  * @param height Height to scale the image to, or -1
7849
7693
  * @returns #TRUE if the image was successfully updated
7850
7694
  */
7851
- set_from_file_at_size(filename: string | null, width: number, height: number): boolean
7695
+ set_from_file_at_size(filename: string, width: number, height: number): boolean
7852
7696
  /**
7853
7697
  * Set the MxImage:image-rotation property.
7854
7698
  * @param rotation Rotation angle in degrees
@@ -8269,9 +8113,8 @@ export module ItemView {
8269
8113
  // Own constructor properties of Mx-2.0.Mx.ItemView
8270
8114
 
8271
8115
  factory?: GObject.Object | null
8272
- item_type?: GObject.GType | null
8273
- model?: Clutter.Model | null
8274
8116
  itemType?: GObject.GType | null
8117
+ model?: Clutter.Model | null
8275
8118
  }
8276
8119
 
8277
8120
  }
@@ -8281,7 +8124,6 @@ export interface ItemView extends Atk.ImplementorIface, Clutter.Animatable, Clut
8281
8124
  // Own properties of Mx-2.0.Mx.ItemView
8282
8125
 
8283
8126
  factory: GObject.Object
8284
- item_type: GObject.GType
8285
8127
  itemType: GObject.GType
8286
8128
  model: Clutter.Model
8287
8129
 
@@ -8293,7 +8135,7 @@ export interface ItemView extends Atk.ImplementorIface, Clutter.Animatable, Clut
8293
8135
  * @param attribute Name of the attribute
8294
8136
  * @param column Column number
8295
8137
  */
8296
- add_attribute(attribute: string | null, column: number): void
8138
+ add_attribute(attribute: string, column: number): void
8297
8139
  /**
8298
8140
  * Freeze the view. This means that the view will not act on changes to the
8299
8141
  * model until it is thawed. Call #mx_item_view_thaw to thaw the view
@@ -8712,22 +8554,13 @@ export module KineticScrollView {
8712
8554
 
8713
8555
  // Own constructor properties of Mx-2.0.Mx.KineticScrollView
8714
8556
 
8715
- acceleration_factor?: number | null
8716
- clamp_duration?: number | null
8717
- clamp_mode?: number | null
8718
- clamp_to_center?: boolean | null
8719
- deceleration?: number | null
8720
- mouse_button?: number | null
8721
- overshoot?: number | null
8722
- scroll_policy?: ScrollPolicy | null
8723
- snap_on_page?: boolean | null
8724
- use_captured?: boolean | null
8725
- use_grab?: boolean | null
8726
8557
  accelerationFactor?: number | null
8727
8558
  clampDuration?: number | null
8728
8559
  clampMode?: number | null
8729
8560
  clampToCenter?: boolean | null
8561
+ deceleration?: number | null
8730
8562
  mouseButton?: number | null
8563
+ overshoot?: number | null
8731
8564
  scrollPolicy?: ScrollPolicy | null
8732
8565
  snapOnPage?: boolean | null
8733
8566
  useCaptured?: boolean | null
@@ -8740,26 +8573,17 @@ export interface KineticScrollView extends Atk.ImplementorIface, Clutter.Animata
8740
8573
 
8741
8574
  // Own properties of Mx-2.0.Mx.KineticScrollView
8742
8575
 
8743
- acceleration_factor: number
8744
8576
  accelerationFactor: number
8745
- clamp_duration: number
8746
8577
  clampDuration: number
8747
- clamp_mode: number
8748
8578
  clampMode: number
8749
- clamp_to_center: boolean
8750
8579
  clampToCenter: boolean
8751
8580
  deceleration: number
8752
- mouse_button: number
8753
8581
  mouseButton: number
8754
8582
  overshoot: number
8755
- scroll_policy: ScrollPolicy
8756
8583
  scrollPolicy: ScrollPolicy
8757
- snap_on_page: boolean
8758
8584
  snapOnPage: boolean
8759
8585
  readonly state: KineticScrollViewState
8760
- use_captured: boolean
8761
8586
  useCaptured: boolean
8762
- use_grab: boolean
8763
8587
  useGrab: boolean
8764
8588
 
8765
8589
  // Owm methods of Mx-2.0.Mx.KineticScrollView
@@ -9279,22 +9103,6 @@ export module Label {
9279
9103
 
9280
9104
  // Own constructor properties of Mx-2.0.Mx.Label
9281
9105
 
9282
- fade_out?: boolean | null
9283
- /**
9284
- * Whether to wrap the lines of #MxLabel:text if the contents
9285
- * exceed the available allocation.
9286
- */
9287
- line_wrap?: boolean | null
9288
- /**
9289
- * Show a tooltip when there is not enough space to display the text. If set
9290
- * to %TRUE, this will also cause the #ClutterActor:reactive property to be
9291
- * enabled.
9292
- */
9293
- show_tooltip?: boolean | null
9294
- text?: string | null
9295
- use_markup?: boolean | null
9296
- x_align: any
9297
- y_align: any
9298
9106
  fadeOut?: boolean | null
9299
9107
  /**
9300
9108
  * Whether to wrap the lines of #MxLabel:text if the contents
@@ -9307,6 +9115,7 @@ export module Label {
9307
9115
  * enabled.
9308
9116
  */
9309
9117
  showTooltip?: boolean | null
9118
+ text?: string | null
9310
9119
  useMarkup?: boolean | null
9311
9120
  xAlign: any
9312
9121
  yAlign: any
@@ -9318,21 +9127,13 @@ export interface Label extends Atk.ImplementorIface, Clutter.Animatable, Clutter
9318
9127
 
9319
9128
  // Own properties of Mx-2.0.Mx.Label
9320
9129
 
9321
- readonly clutter_text: Clutter.Text
9322
9130
  readonly clutterText: Clutter.Text
9323
- fade_out: boolean
9324
9131
  fadeOut: boolean
9325
- /**
9326
- * Whether to wrap the lines of #MxLabel:text if the contents
9327
- * exceed the available allocation.
9328
- */
9329
- line_wrap: boolean
9330
9132
  /**
9331
9133
  * Whether to wrap the lines of #MxLabel:text if the contents
9332
9134
  * exceed the available allocation.
9333
9135
  */
9334
9136
  lineWrap: boolean
9335
- // Has conflict: show_tooltip: boolean
9336
9137
  /**
9337
9138
  * Show a tooltip when there is not enough space to display the text. If set
9338
9139
  * to %TRUE, this will also cause the #ClutterActor:reactive property to be
@@ -9340,11 +9141,8 @@ export interface Label extends Atk.ImplementorIface, Clutter.Animatable, Clutter
9340
9141
  */
9341
9142
  showTooltip: boolean
9342
9143
  text: string | null
9343
- use_markup: boolean
9344
9144
  useMarkup: boolean
9345
- x_align: any
9346
9145
  xAlign: any
9347
- y_align: any
9348
9146
  yAlign: any
9349
9147
 
9350
9148
  // Owm methods of Mx-2.0.Mx.Label
@@ -9378,7 +9176,7 @@ export interface Label extends Atk.ImplementorIface, Clutter.Animatable, Clutter
9378
9176
  * Get the text displayed on the label
9379
9177
  * @returns the text for the label. This must not be freed by the application
9380
9178
  */
9381
- get_text(): string | null
9179
+ get_text(): string
9382
9180
  /**
9383
9181
  * Determines whether the text of the label is being treated as Pango markup.
9384
9182
  * @returns %TRUE if the text of the label is treated as Pango markup, %FALSE otherwise.
@@ -9431,7 +9229,7 @@ export interface Label extends Atk.ImplementorIface, Clutter.Animatable, Clutter
9431
9229
  * Sets the text displayed on the label
9432
9230
  * @param text text to set the label to
9433
9231
  */
9434
- set_text(text: string | null): void
9232
+ set_text(text: string): void
9435
9233
  /**
9436
9234
  * Sets whether the text of the label should be treated as Pango markup.
9437
9235
  * @param use_markup %TRUE to use Pango markup, %FALSE otherwise
@@ -9809,7 +9607,7 @@ export class Label extends Widget {
9809
9607
  * @param text text to set the label to
9810
9608
  * @returns a new #MxLabel
9811
9609
  */
9812
- static new_with_text(text: string | null): Label
9610
+ static new_with_text(text: string): Label
9813
9611
  _init(config?: Label.ConstructorProperties): void
9814
9612
  }
9815
9613
 
@@ -9822,9 +9620,8 @@ export module ListView {
9822
9620
  // Own constructor properties of Mx-2.0.Mx.ListView
9823
9621
 
9824
9622
  factory?: GObject.Object | null
9825
- item_type?: GObject.GType | null
9826
- model?: Clutter.Model | null
9827
9623
  itemType?: GObject.GType | null
9624
+ model?: Clutter.Model | null
9828
9625
  }
9829
9626
 
9830
9627
  }
@@ -9834,7 +9631,6 @@ export interface ListView extends Atk.ImplementorIface, Clutter.Animatable, Clut
9834
9631
  // Own properties of Mx-2.0.Mx.ListView
9835
9632
 
9836
9633
  factory: GObject.Object
9837
- item_type: GObject.GType
9838
9634
  itemType: GObject.GType
9839
9635
  model: Clutter.Model
9840
9636
 
@@ -9846,7 +9642,7 @@ export interface ListView extends Atk.ImplementorIface, Clutter.Animatable, Clut
9846
9642
  * @param attribute Name of the attribute
9847
9643
  * @param column Column number
9848
9644
  */
9849
- add_attribute(attribute: string | null, column: number): void
9645
+ add_attribute(attribute: string, column: number): void
9850
9646
  /**
9851
9647
  * Freeze the view. This means that the view will not act on changes to the
9852
9648
  * model until it is thawed. Call #mx_list_view_thaw to thaw the view.
@@ -10654,7 +10450,6 @@ export module Notebook {
10654
10450
 
10655
10451
  // Own constructor properties of Mx-2.0.Mx.Notebook
10656
10452
 
10657
- current_page?: Clutter.Actor | null
10658
10453
  currentPage?: Clutter.Actor | null
10659
10454
  }
10660
10455
 
@@ -10664,7 +10459,6 @@ export interface Notebook extends Atk.ImplementorIface, Clutter.Animatable, Clut
10664
10459
 
10665
10460
  // Own properties of Mx-2.0.Mx.Notebook
10666
10461
 
10667
- current_page: Clutter.Actor
10668
10462
  currentPage: Clutter.Actor
10669
10463
 
10670
10464
  // Own fields of Mx-2.0.Mx.Notebook
@@ -11016,9 +10810,6 @@ export module Pager {
11016
10810
 
11017
10811
  // Own constructor properties of Mx-2.0.Mx.Pager
11018
10812
 
11019
- edge_previews?: boolean | null
11020
- page_actor?: Clutter.Actor | null
11021
- page_num?: number | null
11022
10813
  edgePreviews?: boolean | null
11023
10814
  pageActor?: Clutter.Actor | null
11024
10815
  pageNum?: number | null
@@ -11030,11 +10821,8 @@ export interface Pager extends Atk.ImplementorIface, Clutter.Animatable, Clutter
11030
10821
 
11031
10822
  // Own properties of Mx-2.0.Mx.Pager
11032
10823
 
11033
- edge_previews: boolean
11034
10824
  edgePreviews: boolean
11035
- page_actor: Clutter.Actor
11036
10825
  pageActor: Clutter.Actor
11037
- page_num: number
11038
10826
  pageNum: number
11039
10827
 
11040
10828
  // Owm methods of Mx-2.0.Mx.Pager
@@ -11413,9 +11201,8 @@ export module PathBar {
11413
11201
 
11414
11202
  // Own constructor properties of Mx-2.0.Mx.PathBar
11415
11203
 
11416
- clear_on_change?: boolean | null
11417
- editable?: boolean | null
11418
11204
  clearOnChange?: boolean | null
11205
+ editable?: boolean | null
11419
11206
  }
11420
11207
 
11421
11208
  }
@@ -11424,7 +11211,6 @@ export interface PathBar extends Atk.ImplementorIface, Clutter.Animatable, Clutt
11424
11211
 
11425
11212
  // Own properties of Mx-2.0.Mx.PathBar
11426
11213
 
11427
- clear_on_change: boolean
11428
11214
  clearOnChange: boolean
11429
11215
  editable: boolean
11430
11216
  readonly entry: Entry
@@ -11456,11 +11242,11 @@ export interface PathBar extends Atk.ImplementorIface, Clutter.Animatable, Clutt
11456
11242
  * @returns MxEntry *
11457
11243
  */
11458
11244
  get_entry(): Entry
11459
- get_label(level: number): string | null
11245
+ get_label(level: number): string
11460
11246
  get_level(): number
11461
- get_text(): string | null
11247
+ get_text(): string
11462
11248
  pop(): number
11463
- push(name: string | null): number
11249
+ push(name: string): number
11464
11250
  /**
11465
11251
  * Set theh value of the #MxPathBar:clear-on-change property
11466
11252
  * @param clear_on_change the new value of the property
@@ -11476,12 +11262,12 @@ export interface PathBar extends Atk.ImplementorIface, Clutter.Animatable, Clutt
11476
11262
  * @param level A #gint
11477
11263
  * @param label A #gchar
11478
11264
  */
11479
- set_label(level: number, label: string | null): void
11265
+ set_label(level: number, label: string): void
11480
11266
  /**
11481
11267
  * Set the text in the editable area of the #MxPathBar
11482
11268
  * @param text string to set the editable text to.
11483
11269
  */
11484
- set_text(text: string | null): void
11270
+ set_text(text: string): void
11485
11271
 
11486
11272
  // Conflicting methods
11487
11273
 
@@ -12583,9 +12369,6 @@ export module ScrollView {
12583
12369
 
12584
12370
  // Own constructor properties of Mx-2.0.Mx.ScrollView
12585
12371
 
12586
- enable_mouse_scrolling?: boolean | null
12587
- scroll_policy?: ScrollPolicy | null
12588
- scroll_visibility?: ScrollPolicy | null
12589
12372
  enableMouseScrolling?: boolean | null
12590
12373
  scrollPolicy?: ScrollPolicy | null
12591
12374
  scrollVisibility?: ScrollPolicy | null
@@ -12597,11 +12380,8 @@ export interface ScrollView extends Atk.ImplementorIface, Clutter.Animatable, Cl
12597
12380
 
12598
12381
  // Own properties of Mx-2.0.Mx.ScrollView
12599
12382
 
12600
- enable_mouse_scrolling: boolean
12601
12383
  enableMouseScrolling: boolean
12602
- scroll_policy: ScrollPolicy
12603
12384
  scrollPolicy: ScrollPolicy
12604
- scroll_visibility: ScrollPolicy
12605
12385
  scrollVisibility: ScrollPolicy
12606
12386
 
12607
12387
  // Owm methods of Mx-2.0.Mx.ScrollView
@@ -12952,12 +12732,6 @@ export module Settings {
12952
12732
 
12953
12733
  // Own constructor properties of Mx-2.0.Mx.Settings
12954
12734
 
12955
- drag_threshold?: number | null
12956
- font_name?: string | null
12957
- icon_theme?: string | null
12958
- long_press_timeout?: number | null
12959
- small_screen?: boolean | null
12960
- touch_mode?: boolean | null
12961
12735
  dragThreshold?: number | null
12962
12736
  fontName?: string | null
12963
12737
  iconTheme?: string | null
@@ -12972,17 +12746,11 @@ export interface Settings {
12972
12746
 
12973
12747
  // Own properties of Mx-2.0.Mx.Settings
12974
12748
 
12975
- drag_threshold: number
12976
12749
  dragThreshold: number
12977
- font_name: string | null
12978
12750
  fontName: string | null
12979
- icon_theme: string | null
12980
12751
  iconTheme: string | null
12981
- long_press_timeout: number
12982
12752
  longPressTimeout: number
12983
- small_screen: boolean
12984
12753
  smallScreen: boolean
12985
- touch_mode: boolean
12986
12754
  touchMode: boolean
12987
12755
 
12988
12756
  // Own fields of Mx-2.0.Mx.Settings
@@ -13059,9 +12827,8 @@ export module Slider {
13059
12827
 
13060
12828
  // Own constructor properties of Mx-2.0.Mx.Slider
13061
12829
 
13062
- buffer_value?: number | null
13063
- value?: number | null
13064
12830
  bufferValue?: number | null
12831
+ value?: number | null
13065
12832
  }
13066
12833
 
13067
12834
  }
@@ -13070,7 +12837,6 @@ export interface Slider extends Atk.ImplementorIface, Clutter.Animatable, Clutte
13070
12837
 
13071
12838
  // Own properties of Mx-2.0.Mx.Slider
13072
12839
 
13073
- buffer_value: number
13074
12840
  bufferValue: number
13075
12841
  value: number
13076
12842
 
@@ -14242,10 +14008,6 @@ export module StackChild {
14242
14008
 
14243
14009
  crop?: boolean | null
14244
14010
  fit?: boolean | null
14245
- x_align?: Align | null
14246
- x_fill?: boolean | null
14247
- y_align?: Align | null
14248
- y_fill?: boolean | null
14249
14011
  xAlign?: Align | null
14250
14012
  xFill?: boolean | null
14251
14013
  yAlign?: Align | null
@@ -14260,13 +14022,9 @@ export interface StackChild {
14260
14022
 
14261
14023
  crop: boolean
14262
14024
  fit: boolean
14263
- x_align: Align
14264
14025
  xAlign: Align
14265
- x_fill: boolean
14266
14026
  xFill: boolean
14267
- y_align: Align
14268
14027
  yAlign: Align
14269
- y_fill: boolean
14270
14028
  yFill: boolean
14271
14029
 
14272
14030
  // Class property signals of Mx-2.0.Mx.StackChild
@@ -14365,7 +14123,7 @@ export interface Style {
14365
14123
  * @param property_name the name of the property to get
14366
14124
  * @param value return location for the property value
14367
14125
  */
14368
- get_property(property_name: string | null, value: any): void
14126
+ get_property(property_name: string, value: any): void
14369
14127
  /**
14370
14128
  * Load style information from `data,` using `id` to identify the stylesheet.
14371
14129
  * `id` is usually the file name of the style sheet, which is used in the search
@@ -14374,14 +14132,14 @@ export interface Style {
14374
14132
  * @param data CSS data to parse
14375
14133
  * @returns TRUE if the style information was loaded successfully. Returns FALSE on error.
14376
14134
  */
14377
- load_from_data(id: string | null, data: string | null): boolean
14135
+ load_from_data(id: string, data: string): boolean
14378
14136
  /**
14379
14137
  * Load style information from the specified file.
14380
14138
  * @param filename filename of the style sheet to load
14381
14139
  * @returns TRUE if the style information was loaded successfully. Returns FALSE on error.
14382
14140
  */
14383
- load_from_file(filename: string | null): boolean
14384
- load_from_resource(path: string | null): boolean
14141
+ load_from_file(filename: string): boolean
14142
+ load_from_resource(path: string): boolean
14385
14143
 
14386
14144
  // Own virtual methods of Mx-2.0.Mx.Style
14387
14145
 
@@ -14447,8 +14205,6 @@ export module Table {
14447
14205
 
14448
14206
  // Own constructor properties of Mx-2.0.Mx.Table
14449
14207
 
14450
- column_spacing?: number | null
14451
- row_spacing?: number | null
14452
14208
  columnSpacing?: number | null
14453
14209
  rowSpacing?: number | null
14454
14210
  }
@@ -14459,13 +14215,9 @@ export interface Table extends Atk.ImplementorIface, Clutter.Animatable, Clutter
14459
14215
 
14460
14216
  // Own properties of Mx-2.0.Mx.Table
14461
14217
 
14462
- readonly column_count: number
14463
14218
  readonly columnCount: number
14464
- column_spacing: number
14465
14219
  columnSpacing: number
14466
- readonly row_count: number
14467
14220
  readonly rowCount: number
14468
- row_spacing: number
14469
14221
  rowSpacing: number
14470
14222
 
14471
14223
  // Owm methods of Mx-2.0.Mx.Table
@@ -14992,16 +14744,8 @@ export module TableChild {
14992
14744
  // Own constructor properties of Mx-2.0.Mx.TableChild
14993
14745
 
14994
14746
  column?: number | null
14995
- column_span?: number | null
14996
- row?: number | null
14997
- row_span?: number | null
14998
- x_align?: Align | null
14999
- x_expand?: boolean | null
15000
- x_fill?: boolean | null
15001
- y_align?: Align | null
15002
- y_expand?: boolean | null
15003
- y_fill?: boolean | null
15004
14747
  columnSpan?: number | null
14748
+ row?: number | null
15005
14749
  rowSpan?: number | null
15006
14750
  xAlign?: Align | null
15007
14751
  xExpand?: boolean | null
@@ -15018,22 +14762,14 @@ export interface TableChild {
15018
14762
  // Own properties of Mx-2.0.Mx.TableChild
15019
14763
 
15020
14764
  column: number
15021
- column_span: number
15022
14765
  columnSpan: number
15023
14766
  row: number
15024
- row_span: number
15025
14767
  rowSpan: number
15026
- x_align: Align
15027
14768
  xAlign: Align
15028
- x_expand: boolean
15029
14769
  xExpand: boolean
15030
- x_fill: boolean
15031
14770
  xFill: boolean
15032
- y_align: Align
15033
14771
  yAlign: Align
15034
- y_expand: boolean
15035
14772
  yExpand: boolean
15036
- y_fill: boolean
15037
14773
  yFill: boolean
15038
14774
 
15039
14775
  // Class property signals of Mx-2.0.Mx.TableChild
@@ -15111,7 +14847,7 @@ export interface TextureCache {
15111
14847
  * @param uri A URI or path to an image file
15112
14848
  * @returns %TRUE if the image exists, %FALSE otherwise
15113
14849
  */
15114
- contains(uri: string | null): boolean
14850
+ contains(uri: string): boolean
15115
14851
  /**
15116
14852
  * Checks whether there are any textures associated with the given URI by
15117
14853
  * the given identifier.
@@ -15119,14 +14855,14 @@ export interface TextureCache {
15119
14855
  * @param ident A unique identifier
15120
14856
  * @returns %TRUE if the data exists, %FALSE otherwise
15121
14857
  */
15122
- contains_meta(uri: string | null, ident: any): boolean
14858
+ contains_meta(uri: string, ident: any): boolean
15123
14859
  /**
15124
14860
  * This is a wrapper around mx_texture_cache_get_texture() which returns
15125
14861
  * a ClutterActor.
15126
14862
  * @param uri A URI or path to a image file
15127
14863
  * @returns a newly created ClutterTexture
15128
14864
  */
15129
- get_actor(uri: string | null): Clutter.Actor
14865
+ get_actor(uri: string): Clutter.Actor
15130
14866
  /**
15131
14867
  * Create a #CoglHandle representing a texture of the specified image. Adds
15132
14868
  * the image to the cache if the image had not been previously loaded.
@@ -15135,7 +14871,7 @@ export interface TextureCache {
15135
14871
  * @param uri A URI or path to an image file
15136
14872
  * @returns a #CoglHandle to the cached texture
15137
14873
  */
15138
- get_cogl_texture(uri: string | null): Cogl.Handle
14874
+ get_cogl_texture(uri: string): Cogl.Handle
15139
14875
  /**
15140
14876
  * Retrieves the #CoglHandle of the previously added image associated
15141
14877
  * with the given unique identifier.
@@ -15145,7 +14881,7 @@ export interface TextureCache {
15145
14881
  * @param ident A unique identifier
15146
14882
  * @returns A #CoglHandle to a texture, with an added reference. %NULL if no image was found.
15147
14883
  */
15148
- get_meta_cogl_texture(uri: string | null, ident: any): Cogl.Handle
14884
+ get_meta_cogl_texture(uri: string, ident: any): Cogl.Handle
15149
14885
  /**
15150
14886
  * Create a new ClutterTexture using the previously added image associated
15151
14887
  * with the given unique identifier.
@@ -15155,7 +14891,7 @@ export interface TextureCache {
15155
14891
  * @param ident A unique identifier
15156
14892
  * @returns A newly allocated #ClutterTexture, or %NULL if no image was found
15157
14893
  */
15158
- get_meta_texture(uri: string | null, ident: any): Clutter.Texture
14894
+ get_meta_texture(uri: string, ident: any): Clutter.Texture
15159
14895
  /**
15160
14896
  * Returns the number of items in the texture cache
15161
14897
  * @returns the current size of the cache
@@ -15169,7 +14905,7 @@ export interface TextureCache {
15169
14905
  * @param uri A URI or path to a image file
15170
14906
  * @returns a newly created ClutterTexture
15171
14907
  */
15172
- get_texture(uri: string | null): Clutter.Texture
14908
+ get_texture(uri: string): Clutter.Texture
15173
14909
  /**
15174
14910
  * Inserts a texture into the texture cache. This can be useful if you
15175
14911
  * want to cache a texture from a custom or unhandled URI type, or you
@@ -15180,7 +14916,7 @@ export interface TextureCache {
15180
14916
  * @param uri A URI or local file path
15181
14917
  * @param texture A #CoglHandle to a texture
15182
14918
  */
15183
- insert(uri: string | null, texture: Cogl.Handle): void
14919
+ insert(uri: string, texture: Cogl.Handle): void
15184
14920
  /**
15185
14921
  * Inserts a texture that's associated with a URI into the cache.
15186
14922
  * If the metadata already exists for this URI, it will be replaced.
@@ -15192,13 +14928,13 @@ export interface TextureCache {
15192
14928
  * @param texture A #CoglHandle to a texture
15193
14929
  * @param destroy_func An optional destruction function for `ident`
15194
14930
  */
15195
- insert_meta(uri: string | null, ident: any, texture: Cogl.Handle, destroy_func: GLib.DestroyNotify): void
15196
- load_cache(filename: string | null): void
14931
+ insert_meta(uri: string, ident: any, texture: Cogl.Handle, destroy_func: GLib.DestroyNotify): void
14932
+ load_cache(filename: string): void
15197
14933
 
15198
14934
  // Own virtual methods of Mx-2.0.Mx.TextureCache
15199
14935
 
15200
14936
  vfunc_error_loading(error: GLib.Error): void
15201
- vfunc_loaded(uri: string | null, texture: Clutter.Texture): void
14937
+ vfunc_loaded(uri: string, texture: Clutter.Texture): void
15202
14938
 
15203
14939
  // Class property signals of Mx-2.0.Mx.TextureCache
15204
14940
 
@@ -15242,10 +14978,9 @@ export module TextureFrame {
15242
14978
 
15243
14979
  bottom?: number | null
15244
14980
  left?: number | null
15245
- parent_texture?: Clutter.Texture | null
14981
+ parentTexture?: Clutter.Texture | null
15246
14982
  right?: number | null
15247
14983
  top?: number | null
15248
- parentTexture?: Clutter.Texture | null
15249
14984
  }
15250
14985
 
15251
14986
  }
@@ -15256,7 +14991,6 @@ export interface TextureFrame extends Atk.ImplementorIface, Clutter.Animatable,
15256
14991
 
15257
14992
  bottom: number
15258
14993
  left: number
15259
- parent_texture: Clutter.Texture
15260
14994
  parentTexture: Clutter.Texture
15261
14995
  right: number
15262
14996
  top: number
@@ -15990,7 +15724,6 @@ export module Toolbar {
15990
15724
 
15991
15725
  // Own constructor properties of Mx-2.0.Mx.Toolbar
15992
15726
 
15993
- has_close_button?: boolean | null
15994
15727
  hasCloseButton?: boolean | null
15995
15728
  }
15996
15729
 
@@ -16000,7 +15733,6 @@ export interface Toolbar extends Atk.ImplementorIface, Clutter.Animatable, Clutt
16000
15733
 
16001
15734
  // Own properties of Mx-2.0.Mx.Toolbar
16002
15735
 
16003
- has_close_button: boolean
16004
15736
  hasCloseButton: boolean
16005
15737
 
16006
15738
  // Own fields of Mx-2.0.Mx.Toolbar
@@ -16371,7 +16103,6 @@ export module Tooltip {
16371
16103
  // Own constructor properties of Mx-2.0.Mx.Tooltip
16372
16104
 
16373
16105
  text?: string | null
16374
- tip_area?: Clutter.Geometry | null
16375
16106
  tipArea?: Clutter.Geometry | null
16376
16107
  }
16377
16108
 
@@ -16382,7 +16113,6 @@ export interface Tooltip extends Atk.ImplementorIface, Clutter.Animatable, Clutt
16382
16113
  // Own properties of Mx-2.0.Mx.Tooltip
16383
16114
 
16384
16115
  text: string | null
16385
- tip_area: Clutter.Geometry
16386
16116
  tipArea: Clutter.Geometry
16387
16117
 
16388
16118
  // Owm methods of Mx-2.0.Mx.Tooltip
@@ -16391,7 +16121,7 @@ export interface Tooltip extends Atk.ImplementorIface, Clutter.Animatable, Clutt
16391
16121
  * Get the text displayed on the tooltip
16392
16122
  * @returns the text for the tooltip. This must not be freed by the application
16393
16123
  */
16394
- get_text(): string | null
16124
+ get_text(): string
16395
16125
  /**
16396
16126
  * Retrieve the area on the stage that the tooltip currently applies to
16397
16127
  * @returns the #ClutterGeometry, owned by the tooltip which must not be freed by the application.
@@ -16405,7 +16135,7 @@ export interface Tooltip extends Atk.ImplementorIface, Clutter.Animatable, Clutt
16405
16135
  * Sets the text displayed on the tooltip
16406
16136
  * @param text text to set the label to
16407
16137
  */
16408
- set_text(text: string | null): void
16138
+ set_text(text: string): void
16409
16139
  /**
16410
16140
  * Set the area on the stage that the tooltip applies to.
16411
16141
  * @param area A #ClutterGeometry
@@ -16759,10 +16489,6 @@ export module Viewport {
16759
16489
 
16760
16490
  // Own constructor properties of Mx-2.0.Mx.Viewport
16761
16491
 
16762
- sync_adjustments?: boolean | null
16763
- x_origin?: number | null
16764
- y_origin?: number | null
16765
- z_origin?: number | null
16766
16492
  syncAdjustments?: boolean | null
16767
16493
  xOrigin?: number | null
16768
16494
  yOrigin?: number | null
@@ -16775,20 +16501,14 @@ export interface Viewport extends Atk.ImplementorIface, Clutter.Animatable, Clut
16775
16501
 
16776
16502
  // Own properties of Mx-2.0.Mx.Viewport
16777
16503
 
16778
- sync_adjustments: boolean
16779
16504
  syncAdjustments: boolean
16780
- x_origin: number
16781
16505
  xOrigin: number
16782
- y_origin: number
16783
16506
  yOrigin: number
16784
- z_origin: number
16785
16507
  zOrigin: number
16786
16508
 
16787
16509
  // Conflicting properties
16788
16510
 
16789
- x_align: any
16790
16511
  xAlign: any
16791
- y_align: any
16792
16512
  yAlign: any
16793
16513
 
16794
16514
  // Owm methods of Mx-2.0.Mx.Viewport
@@ -17164,11 +16884,6 @@ export module Widget {
17164
16884
  * #MxMenu associated with the widget.
17165
16885
  */
17166
16886
  menu?: Menu | null
17167
- tooltip_delay?: number | null
17168
- /**
17169
- * text displayed on the tooltip
17170
- */
17171
- tooltip_text?: string | null
17172
16887
  tooltipDelay?: number | null
17173
16888
  /**
17174
16889
  * text displayed on the tooltip
@@ -17187,12 +16902,7 @@ export interface Widget extends Atk.ImplementorIface, Clutter.Animatable, Clutte
17187
16902
  * #MxMenu associated with the widget.
17188
16903
  */
17189
16904
  menu: Menu
17190
- tooltip_delay: number
17191
16905
  tooltipDelay: number
17192
- /**
17193
- * text displayed on the tooltip
17194
- */
17195
- tooltip_text: string | null
17196
16906
  /**
17197
16907
  * text displayed on the tooltip
17198
16908
  */
@@ -17258,7 +16968,7 @@ export interface Widget extends Atk.ImplementorIface, Clutter.Animatable, Clutte
17258
16968
  * Get the current tooltip string
17259
16969
  * @returns The current tooltip string, owned by the #MxWidget
17260
16970
  */
17261
- get_tooltip_text(): string | null
16971
+ get_tooltip_text(): string
17262
16972
  /**
17263
16973
  * Hide the tooltip for `widget`
17264
16974
  */
@@ -17297,7 +17007,7 @@ export interface Widget extends Atk.ImplementorIface, Clutter.Animatable, Clutte
17297
17007
  * %FALSE.
17298
17008
  * @param text text to set as the tooltip
17299
17009
  */
17300
- set_tooltip_text(text: string | null): void
17010
+ set_tooltip_text(text: string): void
17301
17011
  /**
17302
17012
  * Show the tooltip for `widget`
17303
17013
  */
@@ -17626,20 +17336,14 @@ export module Window {
17626
17336
  // Own constructor properties of Mx-2.0.Mx.Window
17627
17337
 
17628
17338
  child?: Clutter.Actor | null
17629
- clutter_stage?: Clutter.Stage | null
17630
- fullscreen?: boolean | null
17631
- has_toolbar?: boolean | null
17632
- icon_cogl_texture?: string | null
17633
- icon_name?: string | null
17634
- small_screen?: boolean | null
17635
- title?: string | null
17636
- toolbar?: Toolbar | null
17637
- window_rotation?: WindowRotation | null
17638
17339
  clutterStage?: Clutter.Stage | null
17340
+ fullscreen?: boolean | null
17639
17341
  hasToolbar?: boolean | null
17640
17342
  iconCoglTexture?: string | null
17641
17343
  iconName?: string | null
17642
17344
  smallScreen?: boolean | null
17345
+ title?: string | null
17346
+ toolbar?: Toolbar | null
17643
17347
  windowRotation?: WindowRotation | null
17644
17348
  }
17645
17349
 
@@ -17650,24 +17354,16 @@ export interface Window {
17650
17354
  // Own properties of Mx-2.0.Mx.Window
17651
17355
 
17652
17356
  child: Clutter.Actor
17653
- readonly clutter_stage: Clutter.Stage
17654
17357
  readonly clutterStage: Clutter.Stage
17655
17358
  fullscreen: boolean
17656
- has_toolbar: boolean
17657
17359
  hasToolbar: boolean
17658
- icon_cogl_texture: string | null
17659
17360
  iconCoglTexture: string | null
17660
- icon_name: string | null
17661
17361
  iconName: string | null
17662
- small_screen: boolean
17663
17362
  smallScreen: boolean
17664
17363
  title: string | null
17665
17364
  toolbar: Toolbar
17666
- window_rotation: WindowRotation
17667
17365
  windowRotation: WindowRotation
17668
- readonly window_rotation_angle: number
17669
17366
  readonly windowRotationAngle: number
17670
- readonly window_rotation_timeline: Clutter.Timeline
17671
17367
  readonly windowRotationTimeline: Clutter.Timeline
17672
17368
 
17673
17369
  // Own fields of Mx-2.0.Mx.Window
@@ -17703,7 +17399,7 @@ export interface Window {
17703
17399
  * set, or the icon was set with mx_window_set_icon_from_cogl_texture().
17704
17400
  * @returns The window icon name, or %NULL
17705
17401
  */
17706
- get_icon_name(): string | null
17402
+ get_icon_name(): string
17707
17403
  /**
17708
17404
  * Determines if the window is in small-screen mode.
17709
17405
  * See mx_window_set_small_screen().
@@ -17714,7 +17410,7 @@ export interface Window {
17714
17410
  * Retrieves the title used for the window.
17715
17411
  * @returns The title used for the window
17716
17412
  */
17717
- get_title(): string | null
17413
+ get_title(): string
17718
17414
  /**
17719
17415
  * Retrieves the toolbar associated with the window.
17720
17416
  * @returns A #MxToolbar
@@ -17792,7 +17488,7 @@ export interface Window {
17792
17488
  * window-system specific.
17793
17489
  * @param title A string to use for the window title name
17794
17490
  */
17795
- set_title(title: string | null): void
17491
+ set_title(title: string): void
17796
17492
  /**
17797
17493
  * Sets the toolbar associated with the window.
17798
17494
  * @param toolbar
@@ -18083,7 +17779,7 @@ export class BorderImage {
18083
17779
 
18084
17780
  // Constructors of Mx-2.0.Mx.BorderImage
18085
17781
 
18086
- static set_from_string(value: any, str: string | null, filename: string | null): void
17782
+ static set_from_string(value: any, str: string, filename: string): void
18087
17783
  }
18088
17784
 
18089
17785
  export interface BoxLayoutChildClass {
@@ -19022,10 +18718,10 @@ export interface StylableIface {
19022
18718
 
19023
18719
  get_style: (stylable: Stylable) => Style
19024
18720
  set_style: (stylable: Stylable, style: Style) => void
19025
- get_style_class: (stylable: Stylable) => string | null
19026
- set_style_class: (stylable: Stylable, style_class: string | null) => void
19027
- get_style_pseudo_class: (stylable: Stylable) => string | null
19028
- set_style_pseudo_class: (stylable: Stylable, pseudo_class: string | null) => void
18721
+ get_style_class: (stylable: Stylable) => string
18722
+ set_style_class: (stylable: Stylable, style_class: string) => void
18723
+ get_style_pseudo_class: (stylable: Stylable) => string
18724
+ set_style_pseudo_class: (stylable: Stylable, pseudo_class: string) => void
19029
18725
  style_changed: (stylable: Stylable, flags: StyleChangedFlags) => void
19030
18726
  }
19031
18727
 
@@ -19164,7 +18860,7 @@ export interface TextureCacheClass {
19164
18860
  // Own fields of Mx-2.0.Mx.TextureCacheClass
19165
18861
 
19166
18862
  parent_class: GObject.ObjectClass
19167
- loaded: (self: TextureCache, uri: string | null, texture: Clutter.Texture) => void
18863
+ loaded: (self: TextureCache, uri: string, texture: Clutter.Texture) => void
19168
18864
  error_loading: (self: TextureCache, error: GLib.Error) => void
19169
18865
  }
19170
18866