@girs/gladeui-2.0 2.0.0-3.2.6 → 2.0.0-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/gladeui-2.0.d.ts CHANGED
@@ -213,185 +213,185 @@ enum VerifyFlags {
213
213
  */
214
214
  UNRECOGNIZED,
215
215
  }
216
- const DEVHELP_FALLBACK_ICON_FILE: string | null
217
- const DEVHELP_ICON_NAME: string | null
218
- const ENV_BUNDLED: string | null
219
- const ENV_CATALOG_PATH: string | null
220
- const ENV_ICON_THEME_PATH: string | null
221
- const ENV_MODULE_PATH: string | null
222
- const ENV_PIXMAP_DIR: string | null
223
- const ENV_TESTING: string | null
216
+ const DEVHELP_FALLBACK_ICON_FILE: string
217
+ const DEVHELP_ICON_NAME: string
218
+ const ENV_BUNDLED: string
219
+ const ENV_CATALOG_PATH: string
220
+ const ENV_ICON_THEME_PATH: string
221
+ const ENV_MODULE_PATH: string
222
+ const ENV_PIXMAP_DIR: string
223
+ const ENV_TESTING: string
224
224
  const GTKBUILDER_VERSIONING_BASE_MAJOR: number
225
225
  const GTKBUILDER_VERSIONING_BASE_MINOR: number
226
- const PROPERTY_DEF_OBJECT_DELIMITER: string | null
227
- const TAG_ACTION: string | null
228
- const TAG_ACTIONS: string | null
229
- const TAG_ACTION_ACTIVATE_FUNCTION: string | null
230
- const TAG_ACTION_SUBMENU_FUNCTION: string | null
231
- const TAG_ADAPTOR: string | null
232
- const TAG_ADD_CHILD_FUNCTION: string | null
233
- const TAG_ADD_CHILD_VERIFY_FUNCTION: string | null
234
- const TAG_ANARCHIST: string | null
235
- const TAG_ATK_PROPERTY: string | null
236
- const TAG_BIND_FLAGS: string | null
237
- const TAG_BIND_PROPERTY: string | null
238
- const TAG_BIND_SOURCE: string | null
239
- const TAG_BOOK: string | null
240
- const TAG_BUILDER_SINCE: string | null
241
- const TAG_CHILD_ACTION_ACTIVATE_FUNCTION: string | null
242
- const TAG_CHILD_GET_PROP_FUNCTION: string | null
243
- const TAG_CHILD_PROPERTY: string | null
244
- const TAG_CHILD_SET_PROP_FUNCTION: string | null
245
- const TAG_CHILD_VERIFY_FUNCTION: string | null
246
- const TAG_COMMENT: string | null
247
- const TAG_COMMON: string | null
248
- const TAG_CONSTRUCTOR_FUNCTION: string | null
249
- const TAG_CONSTRUCT_OBJECT_FUNCTION: string | null
250
- const TAG_CONSTRUCT_ONLY: string | null
251
- const TAG_CONTEXT: string | null
252
- const TAG_CREATE_EDITABLE_FUNCTION: string | null
253
- const TAG_CREATE_EPROP_FUNCTION: string | null
254
- const TAG_CREATE_TYPE: string | null
255
- const TAG_CREATE_WIDGET_FUNCTION: string | null
256
- const TAG_CUSTOM_LAYOUT: string | null
257
- const TAG_DEEP_POST_CREATE_FUNCTION: string | null
258
- const TAG_DEFAULT: string | null
259
- const TAG_DEFAULT_HEIGHT: string | null
260
- const TAG_DEFAULT_PALETTE_STATE: string | null
261
- const TAG_DEFAULT_WIDTH: string | null
262
- const TAG_DEPENDS: string | null
263
- const TAG_DEPENDS_FUNCTION: string | null
264
- const TAG_DEPRECATED: string | null
265
- const TAG_DEPRECATED_SINCE: string | null
266
- const TAG_DESTROY_OBJECT_FUNCTION: string | null
267
- const TAG_DISABLED: string | null
268
- const TAG_DISPLAYABLE_VALUES: string | null
269
- const TAG_DOMAIN: string | null
270
- const TAG_EDITABLE: string | null
271
- const TAG_EVENT_HANDLER_CONNECTED: string | null
272
- const TAG_EXPANDED: string | null
273
- const TAG_FALSE: string | null
274
- const TAG_GENERIC_NAME: string | null
275
- const TAG_GET_CHILDREN_FUNCTION: string | null
276
- const TAG_GET_FUNCTION: string | null
277
- const TAG_GET_INTERNAL_CHILD_FUNCTION: string | null
278
- const TAG_GET_TYPE_FUNCTION: string | null
279
- const TAG_GLADE_CATALOG: string | null
280
- const TAG_GLADE_WIDGET_CLASS: string | null
281
- const TAG_GLADE_WIDGET_CLASSES: string | null
282
- const TAG_GLADE_WIDGET_CLASS_REF: string | null
283
- const TAG_GLADE_WIDGET_GROUP: string | null
284
- const TAG_HAS_CONTEXT: string | null
285
- const TAG_ICON_NAME: string | null
286
- const TAG_ICON_PREFIX: string | null
287
- const TAG_ID: string | null
288
- const TAG_IGNORE: string | null
289
- const TAG_IMPORTANT: string | null
290
- const TAG_INIT_FUNCTION: string | null
291
- const TAG_INTERNAL_CHILDREN: string | null
292
- const TAG_KEY: string | null
293
- const TAG_LIBRARY: string | null
294
- const TAG_MAX_VALUE: string | null
295
- const TAG_MIN_VALUE: string | null
296
- const TAG_MULTILINE: string | null
297
- const TAG_NAME: string | null
298
- const TAG_NEEDS_SYNC: string | null
299
- const TAG_NICK: string | null
300
- const TAG_NO: string | null
301
- const TAG_OPTIONAL: string | null
302
- const TAG_OPTIONAL_DEFAULT: string | null
303
- const TAG_PACKING_ACTIONS: string | null
304
- const TAG_PACKING_DEFAULTS: string | null
305
- const TAG_PACKING_PROPERTIES: string | null
306
- const TAG_PARENT: string | null
307
- const TAG_PARENTLESS_WIDGET: string | null
308
- const TAG_PARENT_CLASS: string | null
309
- const TAG_POST_CREATE_FUNCTION: string | null
310
- const TAG_PROPERTIES: string | null
311
- const TAG_PROPERTY: string | null
312
- const TAG_QUERY: string | null
313
- const TAG_READ_CHILD_FUNCTION: string | null
314
- const TAG_READ_WIDGET_FUNCTION: string | null
315
- const TAG_REMOVE_CHILD_FUNCTION: string | null
316
- const TAG_REPLACE_CHILD_FUNCTION: string | null
317
- const TAG_RESOURCE: string | null
318
- const TAG_SAVE: string | null
319
- const TAG_SAVE_ALWAYS: string | null
320
- const TAG_SET_FUNCTION: string | null
321
- const TAG_SIGNAL: string | null
322
- const TAG_SIGNALS: string | null
323
- const TAG_SPEC: string | null
324
- const TAG_SPECIAL_CHILD_TYPE: string | null
325
- const TAG_SPECIFICATIONS: string | null
326
- const TAG_STOCK: string | null
327
- const TAG_STOCK_ICON: string | null
328
- const TAG_STRING_FROM_VALUE_FUNCTION: string | null
329
- const TAG_TARGETABLE: string | null
330
- const TAG_TEMPLATE_PREFIX: string | null
331
- const TAG_THEMED_ICON: string | null
332
- const TAG_TITLE: string | null
333
- const TAG_TOOLTIP: string | null
334
- const TAG_TOPLEVEL: string | null
335
- const TAG_TRANSFER_ON_PASTE: string | null
336
- const TAG_TRANSLATABLE: string | null
337
- const TAG_TRUE: string | null
338
- const TAG_TYPE: string | null
339
- const TAG_USE_PLACEHOLDERS: string | null
340
- const TAG_VALUE: string | null
341
- const TAG_VALUE_TYPE: string | null
342
- const TAG_VERIFY_FUNCTION: string | null
343
- const TAG_VERSION: string | null
344
- const TAG_VERSION_SINCE: string | null
345
- const TAG_VISIBLE: string | null
346
- const TAG_WEIGHT: string | null
347
- const TAG_WRITE_CHILD_FUNCTION: string | null
348
- const TAG_WRITE_WIDGET_AFTER_FUNCTION: string | null
349
- const TAG_WRITE_WIDGET_FUNCTION: string | null
350
- const TAG_YES: string | null
351
- const UNNAMED_PREFIX: string | null
226
+ const PROPERTY_DEF_OBJECT_DELIMITER: string
227
+ const TAG_ACTION: string
228
+ const TAG_ACTIONS: string
229
+ const TAG_ACTION_ACTIVATE_FUNCTION: string
230
+ const TAG_ACTION_SUBMENU_FUNCTION: string
231
+ const TAG_ADAPTOR: string
232
+ const TAG_ADD_CHILD_FUNCTION: string
233
+ const TAG_ADD_CHILD_VERIFY_FUNCTION: string
234
+ const TAG_ANARCHIST: string
235
+ const TAG_ATK_PROPERTY: string
236
+ const TAG_BIND_FLAGS: string
237
+ const TAG_BIND_PROPERTY: string
238
+ const TAG_BIND_SOURCE: string
239
+ const TAG_BOOK: string
240
+ const TAG_BUILDER_SINCE: string
241
+ const TAG_CHILD_ACTION_ACTIVATE_FUNCTION: string
242
+ const TAG_CHILD_GET_PROP_FUNCTION: string
243
+ const TAG_CHILD_PROPERTY: string
244
+ const TAG_CHILD_SET_PROP_FUNCTION: string
245
+ const TAG_CHILD_VERIFY_FUNCTION: string
246
+ const TAG_COMMENT: string
247
+ const TAG_COMMON: string
248
+ const TAG_CONSTRUCTOR_FUNCTION: string
249
+ const TAG_CONSTRUCT_OBJECT_FUNCTION: string
250
+ const TAG_CONSTRUCT_ONLY: string
251
+ const TAG_CONTEXT: string
252
+ const TAG_CREATE_EDITABLE_FUNCTION: string
253
+ const TAG_CREATE_EPROP_FUNCTION: string
254
+ const TAG_CREATE_TYPE: string
255
+ const TAG_CREATE_WIDGET_FUNCTION: string
256
+ const TAG_CUSTOM_LAYOUT: string
257
+ const TAG_DEEP_POST_CREATE_FUNCTION: string
258
+ const TAG_DEFAULT: string
259
+ const TAG_DEFAULT_HEIGHT: string
260
+ const TAG_DEFAULT_PALETTE_STATE: string
261
+ const TAG_DEFAULT_WIDTH: string
262
+ const TAG_DEPENDS: string
263
+ const TAG_DEPENDS_FUNCTION: string
264
+ const TAG_DEPRECATED: string
265
+ const TAG_DEPRECATED_SINCE: string
266
+ const TAG_DESTROY_OBJECT_FUNCTION: string
267
+ const TAG_DISABLED: string
268
+ const TAG_DISPLAYABLE_VALUES: string
269
+ const TAG_DOMAIN: string
270
+ const TAG_EDITABLE: string
271
+ const TAG_EVENT_HANDLER_CONNECTED: string
272
+ const TAG_EXPANDED: string
273
+ const TAG_FALSE: string
274
+ const TAG_GENERIC_NAME: string
275
+ const TAG_GET_CHILDREN_FUNCTION: string
276
+ const TAG_GET_FUNCTION: string
277
+ const TAG_GET_INTERNAL_CHILD_FUNCTION: string
278
+ const TAG_GET_TYPE_FUNCTION: string
279
+ const TAG_GLADE_CATALOG: string
280
+ const TAG_GLADE_WIDGET_CLASS: string
281
+ const TAG_GLADE_WIDGET_CLASSES: string
282
+ const TAG_GLADE_WIDGET_CLASS_REF: string
283
+ const TAG_GLADE_WIDGET_GROUP: string
284
+ const TAG_HAS_CONTEXT: string
285
+ const TAG_ICON_NAME: string
286
+ const TAG_ICON_PREFIX: string
287
+ const TAG_ID: string
288
+ const TAG_IGNORE: string
289
+ const TAG_IMPORTANT: string
290
+ const TAG_INIT_FUNCTION: string
291
+ const TAG_INTERNAL_CHILDREN: string
292
+ const TAG_KEY: string
293
+ const TAG_LIBRARY: string
294
+ const TAG_MAX_VALUE: string
295
+ const TAG_MIN_VALUE: string
296
+ const TAG_MULTILINE: string
297
+ const TAG_NAME: string
298
+ const TAG_NEEDS_SYNC: string
299
+ const TAG_NICK: string
300
+ const TAG_NO: string
301
+ const TAG_OPTIONAL: string
302
+ const TAG_OPTIONAL_DEFAULT: string
303
+ const TAG_PACKING_ACTIONS: string
304
+ const TAG_PACKING_DEFAULTS: string
305
+ const TAG_PACKING_PROPERTIES: string
306
+ const TAG_PARENT: string
307
+ const TAG_PARENTLESS_WIDGET: string
308
+ const TAG_PARENT_CLASS: string
309
+ const TAG_POST_CREATE_FUNCTION: string
310
+ const TAG_PROPERTIES: string
311
+ const TAG_PROPERTY: string
312
+ const TAG_QUERY: string
313
+ const TAG_READ_CHILD_FUNCTION: string
314
+ const TAG_READ_WIDGET_FUNCTION: string
315
+ const TAG_REMOVE_CHILD_FUNCTION: string
316
+ const TAG_REPLACE_CHILD_FUNCTION: string
317
+ const TAG_RESOURCE: string
318
+ const TAG_SAVE: string
319
+ const TAG_SAVE_ALWAYS: string
320
+ const TAG_SET_FUNCTION: string
321
+ const TAG_SIGNAL: string
322
+ const TAG_SIGNALS: string
323
+ const TAG_SPEC: string
324
+ const TAG_SPECIAL_CHILD_TYPE: string
325
+ const TAG_SPECIFICATIONS: string
326
+ const TAG_STOCK: string
327
+ const TAG_STOCK_ICON: string
328
+ const TAG_STRING_FROM_VALUE_FUNCTION: string
329
+ const TAG_TARGETABLE: string
330
+ const TAG_TEMPLATE_PREFIX: string
331
+ const TAG_THEMED_ICON: string
332
+ const TAG_TITLE: string
333
+ const TAG_TOOLTIP: string
334
+ const TAG_TOPLEVEL: string
335
+ const TAG_TRANSFER_ON_PASTE: string
336
+ const TAG_TRANSLATABLE: string
337
+ const TAG_TRUE: string
338
+ const TAG_TYPE: string
339
+ const TAG_USE_PLACEHOLDERS: string
340
+ const TAG_VALUE: string
341
+ const TAG_VALUE_TYPE: string
342
+ const TAG_VERIFY_FUNCTION: string
343
+ const TAG_VERSION: string
344
+ const TAG_VERSION_SINCE: string
345
+ const TAG_VISIBLE: string
346
+ const TAG_WEIGHT: string
347
+ const TAG_WRITE_CHILD_FUNCTION: string
348
+ const TAG_WRITE_WIDGET_AFTER_FUNCTION: string
349
+ const TAG_WRITE_WIDGET_FUNCTION: string
350
+ const TAG_YES: string
351
+ const UNNAMED_PREFIX: string
352
352
  /**
353
353
  * Class prefix used for abstract classes (ie GtkBin -> GladeInstantiableGtkBin)
354
354
  */
355
- const WIDGET_ADAPTOR_INSTANTIABLE_PREFIX: string | null
356
- const XML_TAG_AFTER: string | null
357
- const XML_TAG_CHILD: string | null
358
- const XML_TAG_CLASS: string | null
359
- const XML_TAG_FILENAME: string | null
360
- const XML_TAG_HANDLER: string | null
361
- const XML_TAG_I18N_TRUE: string | null
362
- const XML_TAG_ID: string | null
363
- const XML_TAG_INTERNAL_CHILD: string | null
364
- const XML_TAG_LIB: string | null
365
- const XML_TAG_NAME: string | null
366
- const XML_TAG_OBJECT: string | null
367
- const XML_TAG_PACKING: string | null
368
- const XML_TAG_PLACEHOLDER: string | null
369
- const XML_TAG_PROJECT: string | null
370
- const XML_TAG_PROPERTY: string | null
371
- const XML_TAG_REQUIRES: string | null
372
- const XML_TAG_SIGNAL: string | null
373
- const XML_TAG_SIGNAL_FALSE: string | null
374
- const XML_TAG_SIGNAL_TRUE: string | null
375
- const XML_TAG_SOURCE: string | null
376
- const XML_TAG_SOURCES: string | null
377
- const XML_TAG_STOCK_ID: string | null
378
- const XML_TAG_SWAPPED: string | null
379
- const XML_TAG_TEMPLATE: string | null
380
- const XML_TAG_TYPE: string | null
381
- const XML_TAG_TYPE_FUNC: string | null
382
- const XML_TAG_VERSION: string | null
383
- const XML_TAG_WIDGET: string | null
355
+ const WIDGET_ADAPTOR_INSTANTIABLE_PREFIX: string
356
+ const XML_TAG_AFTER: string
357
+ const XML_TAG_CHILD: string
358
+ const XML_TAG_CLASS: string
359
+ const XML_TAG_FILENAME: string
360
+ const XML_TAG_HANDLER: string
361
+ const XML_TAG_I18N_TRUE: string
362
+ const XML_TAG_ID: string
363
+ const XML_TAG_INTERNAL_CHILD: string
364
+ const XML_TAG_LIB: string
365
+ const XML_TAG_NAME: string
366
+ const XML_TAG_OBJECT: string
367
+ const XML_TAG_PACKING: string
368
+ const XML_TAG_PLACEHOLDER: string
369
+ const XML_TAG_PROJECT: string
370
+ const XML_TAG_PROPERTY: string
371
+ const XML_TAG_REQUIRES: string
372
+ const XML_TAG_SIGNAL: string
373
+ const XML_TAG_SIGNAL_FALSE: string
374
+ const XML_TAG_SIGNAL_TRUE: string
375
+ const XML_TAG_SOURCE: string
376
+ const XML_TAG_SOURCES: string
377
+ const XML_TAG_STOCK_ID: string
378
+ const XML_TAG_SWAPPED: string
379
+ const XML_TAG_TEMPLATE: string
380
+ const XML_TAG_TYPE: string
381
+ const XML_TAG_TYPE_FUNC: string
382
+ const XML_TAG_VERSION: string
383
+ const XML_TAG_WIDGET: string
384
384
  /**
385
385
  * Adds a new path to the list of path to look catalogs for.
386
386
  * @param path the new path containing catalogs
387
387
  */
388
- function catalog_add_path(path: string | null): void
388
+ function catalog_add_path(path: string): void
389
389
  /**
390
390
  * Destroy and free all resources related with every loaded catalog.
391
391
  */
392
392
  function catalog_destroy_all(): void
393
393
  function catalog_get_extra_paths(): string[]
394
- function catalog_is_loaded(name: string | null): boolean
394
+ function catalog_is_loaded(name: string): boolean
395
395
  /**
396
396
  * Loads all available catalogs in the system.
397
397
  * First loads catalogs from GLADE_ENV_CATALOG_PATH,
@@ -419,21 +419,21 @@ function cursor_init(): void
419
419
  * @param type a #GladeCursorType
420
420
  */
421
421
  function cursor_set(project: Project, window: Gdk.Window, type: CursorType): void
422
- function displayable_value_is_disabled(type: GObject.GType, value: string | null): boolean
423
- function displayable_value_set_disabled(type: GObject.GType, value: string | null, disabled: boolean): void
422
+ function displayable_value_is_disabled(type: GObject.GType, value: string): boolean
423
+ function displayable_value_set_disabled(type: GObject.GType, value: string, disabled: boolean): void
424
424
  function get_debug_flags(): number
425
- function get_displayable_value(type: GObject.GType, value: string | null): string | null
426
- function get_value_from_displayable(type: GObject.GType, displayabe: string | null): string | null
425
+ function get_displayable_value(type: GObject.GType, value: string): string
426
+ function get_value_from_displayable(type: GObject.GType, displayabe: string): string
427
427
  /**
428
428
  * Initialization function for libgladeui (not #GladeApp)
429
429
  * It builds paths, bind text domain, and register icons
430
430
  */
431
431
  function init(): void
432
432
  function init_debug_flags(): void
433
- function param_spec_objects(name: string | null, nick: string | null, blurb: string | null, accepted_type: GObject.GType, flags: GObject.ParamFlags): GObject.ParamSpec
434
- function propert_get_insensitive_tooltip(property: Property): string | null
433
+ function param_spec_objects(name: string, nick: string, blurb: string, accepted_type: GObject.GType, flags: GObject.ParamFlags): GObject.ParamSpec
434
+ function propert_get_insensitive_tooltip(property: Property): string
435
435
  function property_def_get_default_from_spec(spec: GObject.ParamSpec): any
436
- function property_def_make_flags_from_string(type: GObject.GType, string: string | null): number
436
+ function property_def_make_flags_from_string(type: GObject.GType, string: string): number
437
437
  /**
438
438
  * This function assigns "weight" to each property in its natural order staring from 1.
439
439
  * If parent is 0 weight will be set for every #GladePropertyDef in the list.
@@ -451,9 +451,9 @@ function property_def_set_weights(properties: PropertyDef[], parent: GObject.GTy
451
451
  * @param domain the domain to translate catalog strings from
452
452
  * @returns %TRUE on success. @property_def_ref is set to NULL if the property has Disabled="TRUE".
453
453
  */
454
- function property_def_update_from_node(node: XmlNode, object_type: GObject.GType, property_def_ref: PropertyDef | null, domain: string | null): [ /* returnType */ boolean, /* property_def_ref */ PropertyDef | null ]
455
- function register_displayable_value(type: GObject.GType, value: string | null, domain: string | null, string: string | null): void
456
- function register_translated_value(type: GObject.GType, value: string | null, string: string | null): void
454
+ function property_def_update_from_node(node: XmlNode, object_type: GObject.GType, property_def_ref: PropertyDef | null, domain: string): [ /* returnType */ boolean, /* property_def_ref */ PropertyDef | null ]
455
+ function register_displayable_value(type: GObject.GType, value: string, domain: string, string: string): void
456
+ function register_translated_value(type: GObject.GType, value: string, string: string): void
457
457
  /**
458
458
  * Sets up a log handler to manage all %G_LOG_LEVEL_MASK errors of domain:
459
459
  * GLib, GLib-GObject, Gtk, Gdk, and domainless.
@@ -471,14 +471,14 @@ function standard_int_spec(): GObject.ParamSpec
471
471
  */
472
472
  function standard_objects_spec(): GObject.ParamSpec
473
473
  function standard_pixbuf_spec(): GObject.ParamSpec
474
- function standard_stock_append_prefix(prefix: string | null): void
474
+ function standard_stock_append_prefix(prefix: string): void
475
475
  function standard_stock_image_spec(): GObject.ParamSpec
476
476
  function standard_stock_spec(): GObject.ParamSpec
477
477
  function standard_string_spec(): GObject.ParamSpec
478
478
  function standard_strv_spec(): GObject.ParamSpec
479
479
  function standard_uint_spec(): GObject.ParamSpec
480
480
  function type_has_displayable_values(type: GObject.GType): boolean
481
- function util_canonical_path(path: string | null): string | null
481
+ function util_canonical_path(path: string): string | null
482
482
  function util_check_and_warn_scrollable(parent: Widget, child_adaptor: WidgetAdaptor, parent_widget: Gtk.Widget): boolean
483
483
  /**
484
484
  * This is a #GCompareFunc that compares the labels of two stock items,
@@ -503,15 +503,15 @@ function util_count_placeholders(parent: Widget): number
503
503
  * @param name a string
504
504
  * @returns a newly allocated string
505
505
  */
506
- function util_duplicate_underscores(name: string | null): string | null
507
- function util_file_dialog_new(title: string | null, project: Project, parent: Gtk.Window, action: UtilFileDialogType): Gtk.Widget
506
+ function util_duplicate_underscores(name: string): string | null
507
+ function util_file_dialog_new(title: string, project: Project, parent: Gtk.Window, action: UtilFileDialogType): Gtk.Widget
508
508
  /**
509
509
  * Checks whether the file at `path` is writeable
510
510
  * @param path the path to the file
511
511
  * @returns TRUE if file is writeable
512
512
  */
513
- function util_file_is_writeable(path: string | null): boolean
514
- function util_filename_to_icon_name(value: string | null): string | null
513
+ function util_file_is_writeable(path: string): boolean
514
+ function util_filename_to_icon_name(value: string): string | null
515
515
  /**
516
516
  * Looks through `model` for the #GtkTreeIter corresponding to
517
517
  * `findme` under `column`.
@@ -532,7 +532,7 @@ function util_get_devhelp_icon(size: Gtk.IconSize): Gtk.Widget
532
532
  * @param filename A filename
533
533
  * @returns The mtime of the file, or %0 if the file attributes could not be read.
534
534
  */
535
- function util_get_file_mtime(filename: string | null): number
535
+ function util_get_file_mtime(filename: string): number
536
536
  function util_get_placeholder_from_pointer(container: Gtk.Container): Gtk.Widget
537
537
  /**
538
538
  * Returns the type using the "get type" function name based on `name`.
@@ -542,16 +542,16 @@ function util_get_placeholder_from_pointer(container: Gtk.Container): Gtk.Widget
542
542
  * @param have_func function-name flag -- true if the name is a "get-type" function.
543
543
  * @returns the new #GType
544
544
  */
545
- function util_get_type_from_name(name: string | null, have_func: boolean): GObject.GType
545
+ function util_get_type_from_name(name: string, have_func: boolean): GObject.GType
546
546
  function util_have_devhelp(): boolean
547
- function util_icon_name_to_filename(value: string | null): string | null
547
+ function util_icon_name_to_filename(value: string): string | null
548
548
  function util_object_is_loading(object: GObject.Object): boolean
549
549
  /**
550
550
  * Return a usable version of a property identifier as found
551
551
  * in a freshly parserd #GladeInterface
552
552
  * @param str a string
553
553
  */
554
- function util_read_prop_name(str: string | null): string | null
554
+ function util_read_prop_name(str: string): string | null
555
555
  function util_remove_scroll_events(widget: Gtk.Widget): void
556
556
  /**
557
557
  * Replaces each occurrence of the character `a` in `str` to `b`.
@@ -560,27 +560,27 @@ function util_remove_scroll_events(widget: Gtk.Widget): void
560
560
  * @param b a #gchar
561
561
  */
562
562
  function util_replace(str: string | null, a: number, b: number): void
563
- function util_search_devhelp(book: string | null, page: string | null, search: string | null): void
563
+ function util_search_devhelp(book: string, page: string, search: string): void
564
564
  /**
565
565
  * Portable function for showing an URL `url` in a web browser.
566
566
  * @param url An URL to display
567
567
  * @returns TRUE if a web browser was successfully launched, or FALSE
568
568
  */
569
- function util_url_show(url: string | null): boolean
569
+ function util_url_show(url: string): boolean
570
570
  /**
571
571
  * Parse a boolean value
572
572
  * @param string the string to convert
573
573
  * @returns %TRUE if there was an error on the conversion, %FALSE otherwise.
574
574
  */
575
- function utils_boolean_from_string(string: string | null): [ /* returnType */ boolean, /* value */ boolean ]
575
+ function utils_boolean_from_string(string: string): [ /* returnType */ boolean, /* value */ boolean ]
576
576
  function utils_cairo_draw_line(cr: cairo.Context, color: Gdk.Color, x1: number, y1: number, x2: number, y2: number): void
577
577
  function utils_cairo_draw_rectangle(cr: cairo.Context, color: Gdk.Color, filled: boolean, x: number, y: number, width: number, height: number): void
578
578
  function utils_enum_string_from_value(enum_type: GObject.GType, value: number): string | null
579
579
  function utils_enum_string_from_value_displayable(flags_type: GObject.GType, value: number): string | null
580
- function utils_enum_value_from_string(enum_type: GObject.GType, strval: string | null): number
580
+ function utils_enum_value_from_string(enum_type: GObject.GType, strval: string): number
581
581
  function utils_flags_string_from_value(enum_type: GObject.GType, value: number): string | null
582
582
  function utils_flags_string_from_value_displayable(flags_type: GObject.GType, value: number): string | null
583
- function utils_flags_value_from_string(enum_type: GObject.GType, strval: string | null): number
583
+ function utils_flags_value_from_string(enum_type: GObject.GType, strval: string): number
584
584
  /**
585
585
  * Get's the pointer position relative to `widget,` while `window` and `device`
586
586
  * are not absolutely needed, they should be passed wherever possible.
@@ -591,7 +591,7 @@ function utils_flags_value_from_string(enum_type: GObject.GType, strval: string
591
591
  * @param y The location to store the mouse pointer Y position
592
592
  */
593
593
  function utils_get_pointer(widget: Gtk.Widget, window: Gdk.Window, device: Gdk.Device, x: number, y: number): void
594
- function utils_get_pspec_from_funcname(funcname: string | null): GObject.ParamSpec | null
594
+ function utils_get_pspec_from_funcname(funcname: string): GObject.ParamSpec | null
595
595
  /**
596
596
  * This function is meant to be attached to key-press-event of a toplevel,
597
597
  * it simply allows the window contents to treat key events /before/
@@ -621,7 +621,7 @@ function utils_liststore_from_enum_type(enum_type: GObject.GType, include_empty:
621
621
  * @returns the rendered #GdkPixbuf
622
622
  */
623
623
  function utils_pointer_mode_render_icon(mode: PointerMode, size: Gtk.IconSize): GdkPixbuf.Pixbuf
624
- function utils_replace_home_dir_with_tilde(path: string | null): string | null
624
+ function utils_replace_home_dir_with_tilde(path: string): string | null
625
625
  /**
626
626
  * Serializes #GValue into a string
627
627
  * (using glade conversion routines)
@@ -637,33 +637,33 @@ function utils_string_from_value(value: any): string | null
637
637
  * @param project the #GladeProject to look for formats of object names when needed
638
638
  * @returns A newly allocated and set #GValue
639
639
  */
640
- function utils_value_from_string(type: GObject.GType, string: string | null, project: Project): any
640
+ function utils_value_from_string(type: GObject.GType, string: string, project: Project): any
641
641
  /**
642
642
  * Dump the XML string from the context.
643
643
  * @param context a #GladeXmlContext
644
644
  * @returns the XML string, free the allocated memory with g_free() after use
645
645
  */
646
646
  function xml_dump_from_context(context: XmlContext): string | null
647
- function xml_get_boolean(node: XmlNode, name: string | null, _default: boolean): boolean
647
+ function xml_get_boolean(node: XmlNode, name: string, _default: boolean): boolean
648
648
  /**
649
649
  * Gets a string containing the content of `node_in`.
650
650
  * @param node_in a #GladeXmlNode
651
651
  * @returns A newly allocated string
652
652
  */
653
653
  function xml_get_content(node_in: XmlNode): string | null
654
- function xml_get_property_boolean(node_in: XmlNode, name: string | null, _default: boolean): boolean
655
- function xml_get_property_double(node_in: XmlNode, name: string | null, _default: number): number
656
- function xml_get_property_int(node_in: XmlNode, name: string | null, _default: number): number
657
- function xml_get_property_string(node_in: XmlNode, name: string | null): string | null
658
- function xml_get_property_string_required(node_in: XmlNode, name: string | null, xtra: string | null): string | null
654
+ function xml_get_property_boolean(node_in: XmlNode, name: string, _default: boolean): boolean
655
+ function xml_get_property_double(node_in: XmlNode, name: string, _default: number): number
656
+ function xml_get_property_int(node_in: XmlNode, name: string, _default: number): number
657
+ function xml_get_property_string(node_in: XmlNode, name: string): string | null
658
+ function xml_get_property_string_required(node_in: XmlNode, name: string, xtra: string): string | null
659
659
  /**
660
660
  * Get the list of targetable versions for a property
661
661
  * @param node_in a #GladeXmlNode
662
662
  * @param name a property name
663
663
  * @returns a list of #GladeTargetableVersion
664
664
  */
665
- function xml_get_property_targetable_versions(node_in: XmlNode, name: string | null): TargetableVersion[]
666
- function xml_get_property_version(node_in: XmlNode, name: string | null, major: number, minor: number): boolean
665
+ function xml_get_property_targetable_versions(node_in: XmlNode, name: string): TargetableVersion[]
666
+ function xml_get_property_version(node_in: XmlNode, name: string, major: number, minor: number): boolean
667
667
  /**
668
668
  * Gets an integer value for a node either carried as an attribute or as
669
669
  * the content of a child.
@@ -672,7 +672,7 @@ function xml_get_property_version(node_in: XmlNode, name: string | null, major:
672
672
  * @param val a pointer to an #int
673
673
  * @returns %TRUE if the node is found, %FALSE otherwise
674
674
  */
675
- function xml_get_value_int(node_in: XmlNode, name: string | null, val: number): boolean
675
+ function xml_get_value_int(node_in: XmlNode, name: string, val: number): boolean
676
676
  /**
677
677
  * This is a wrapper around glade_xml_get_value_int(), only it emits
678
678
  * a g_warning() if `node` did not contain the requested tag
@@ -681,11 +681,11 @@ function xml_get_value_int(node_in: XmlNode, name: string | null, val: number):
681
681
  * @param val a pointer to an #int
682
682
  * @returns %FALSE if @name is not in @node
683
683
  */
684
- function xml_get_value_int_required(node: XmlNode, name: string | null, val: number): boolean
685
- function xml_get_value_string(node: XmlNode, name: string | null): string | null
686
- function xml_get_value_string_required(node: XmlNode, name: string | null, xtra_info: string | null): string | null
684
+ function xml_get_value_int_required(node: XmlNode, name: string, val: number): boolean
685
+ function xml_get_value_string(node: XmlNode, name: string): string | null
686
+ function xml_get_value_string_required(node: XmlNode, name: string, xtra_info: string): string | null
687
687
  function xml_load_sym_from_node(node_in: XmlNode, module: GModule.Module, tagname: string | null, sym_location: any | null): boolean
688
- function xml_search_child(node: XmlNode, name: string | null): XmlNode
688
+ function xml_search_child(node: XmlNode, name: string): XmlNode
689
689
  /**
690
690
  * just a small wrapper around glade_xml_search_child that displays
691
691
  * an error if the child was not found
@@ -693,20 +693,20 @@ function xml_search_child(node: XmlNode, name: string | null): XmlNode
693
693
  * @param name the name of the child
694
694
  * @returns the requested #GladeXmlNode
695
695
  */
696
- function xml_search_child_required(tree: XmlNode, name: string | null): XmlNode | null
696
+ function xml_search_child_required(tree: XmlNode, name: string): XmlNode | null
697
697
  /**
698
698
  * Sets the content of `node` to `content`.
699
699
  * @param node_in a #GladeXmlNode
700
700
  * @param content a string
701
701
  */
702
- function xml_set_content(node_in: XmlNode, content: string | null): void
702
+ function xml_set_content(node_in: XmlNode, content: string): void
703
703
  /**
704
704
  * Sets the property `name` in `node_in` to `val`
705
705
  * @param node_in a #GladeXmlNode
706
706
  * @param name a string
707
707
  * @param val a string
708
708
  */
709
- function xml_set_value(node_in: XmlNode, name: string | null, val: string | null): void
709
+ function xml_set_value(node_in: XmlNode, name: string, val: string): void
710
710
  /**
711
711
  * This delegate function is used to catch actions from the core.
712
712
  * @callback
@@ -715,7 +715,7 @@ function xml_set_value(node_in: XmlNode, name: string | null, val: string | null
715
715
  * @param action_path The action identifier in the action tree
716
716
  */
717
717
  interface ActionActivateFunc {
718
- (adaptor: WidgetAdaptor, object: GObject.Object, action_path: string | null): void
718
+ (adaptor: WidgetAdaptor, object: GObject.Object, action_path: string): void
719
719
  }
720
720
  /**
721
721
  * This delegate function is used to create dynamically customized
@@ -727,7 +727,7 @@ interface ActionActivateFunc {
727
727
  * @returns A newly created #GtkMenu or %NULL
728
728
  */
729
729
  interface ActionSubmenuFunc {
730
- (adaptor: WidgetAdaptor, object: GObject.Object, action_path: string | null): Gtk.Widget | null
730
+ (adaptor: WidgetAdaptor, object: GObject.Object, action_path: string): Gtk.Widget | null
731
731
  }
732
732
  /**
733
733
  * Called to add `child` to `container`.
@@ -762,7 +762,7 @@ interface AddChildVerifyFunc {
762
762
  * @param name The name of the catalog
763
763
  */
764
764
  interface CatalogInitFunc {
765
- (name: string | null): void
765
+ (name: string): void
766
766
  }
767
767
  /**
768
768
  * This delegate function is used to catch packing actions from the core.
@@ -773,7 +773,7 @@ interface CatalogInitFunc {
773
773
  * @param action_path The action identifier in the action tree
774
774
  */
775
775
  interface ChildActionActivateFunc {
776
- (adaptor: WidgetAdaptor, container: GObject.Object, object: GObject.Object, action_path: string | null): void
776
+ (adaptor: WidgetAdaptor, container: GObject.Object, object: GObject.Object, action_path: string): void
777
777
  }
778
778
  /**
779
779
  * Called to get the packing property `property_name`
@@ -786,7 +786,7 @@ interface ChildActionActivateFunc {
786
786
  * @param value The `GValue`
787
787
  */
788
788
  interface ChildGetPropertyFunc {
789
- (adaptor: WidgetAdaptor, container: GObject.Object, child: GObject.Object, property_name: string | null, value: any): void
789
+ (adaptor: WidgetAdaptor, container: GObject.Object, child: GObject.Object, property_name: string, value: any): void
790
790
  }
791
791
  /**
792
792
  * Called to set the packing property `property_name` to `value`
@@ -799,7 +799,7 @@ interface ChildGetPropertyFunc {
799
799
  * @param value The `GValue`
800
800
  */
801
801
  interface ChildSetPropertyFunc {
802
- (adaptor: WidgetAdaptor, container: GObject.Object, child: GObject.Object, property_name: string | null, value: any): void
802
+ (adaptor: WidgetAdaptor, container: GObject.Object, child: GObject.Object, property_name: string, value: any): void
803
803
  }
804
804
  /**
805
805
  * This delegate function is always called whenever setting any
@@ -816,7 +816,7 @@ interface ChildSetPropertyFunc {
816
816
  * @returns whether or not its OK to set @value on @object, this function will silently return TRUE if the class did not provide a verify function.
817
817
  */
818
818
  interface ChildVerifyPropertyFunc {
819
- (adaptor: WidgetAdaptor, container: GObject.Object, child: GObject.Object, property_name: string | null, value: any): boolean
819
+ (adaptor: WidgetAdaptor, container: GObject.Object, child: GObject.Object, property_name: string, value: any): boolean
820
820
  }
821
821
  /**
822
822
  * This function is called to construct a GObject instance.
@@ -905,7 +905,7 @@ interface GetChildrenFunc {
905
905
  * @returns The internal #GObject
906
906
  */
907
907
  interface GetInternalFunc {
908
- (adaptor: WidgetAdaptor, object: GObject.Object, internal_name: string | null): GObject.Object | null
908
+ (adaptor: WidgetAdaptor, object: GObject.Object, internal_name: string): GObject.Object | null
909
909
  }
910
910
  /**
911
911
  * Gets `value` on `object` for a given #GladePropertyDef
@@ -916,7 +916,7 @@ interface GetInternalFunc {
916
916
  * @param value The #GValue
917
917
  */
918
918
  interface GetPropertyFunc {
919
- (adaptor: WidgetAdaptor, object: GObject.Object, property_name: string | null, value: any): void
919
+ (adaptor: WidgetAdaptor, object: GObject.Object, property_name: string, value: any): void
920
920
  }
921
921
  /**
922
922
  * This function is called exactly once for any project object
@@ -973,7 +973,7 @@ interface ReplaceChildFunc {
973
973
  * @param value The #GValue
974
974
  */
975
975
  interface SetPropertyFunc {
976
- (adaptor: WidgetAdaptor, object: GObject.Object, property_name: string | null, value: any): void
976
+ (adaptor: WidgetAdaptor, object: GObject.Object, property_name: string, value: any): void
977
977
  }
978
978
  /**
979
979
  * For normal properties this is used to serialize
@@ -1003,7 +1003,7 @@ interface StringFromValueFunc {
1003
1003
  * @returns whether or not its OK to set @value on @object, this function will silently return TRUE if the class did not provide a verify function.
1004
1004
  */
1005
1005
  interface VerifyPropertyFunc {
1006
- (adaptor: WidgetAdaptor, object: GObject.Object, property_name: string | null, value: any): boolean
1006
+ (adaptor: WidgetAdaptor, object: GObject.Object, property_name: string, value: any): boolean
1007
1007
  }
1008
1008
  /**
1009
1009
  * This function is called to fill in `node` from `widget`.
@@ -1244,7 +1244,7 @@ interface AdaptorChooser extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orient
1244
1244
  * @param child the child widget
1245
1245
  * @param child_property the name of a child property installed on the class of `container`
1246
1246
  */
1247
- child_notify(child: Gtk.Widget, child_property: string | null): void
1247
+ child_notify(child: Gtk.Widget, child_property: string): void
1248
1248
 
1249
1249
  // Overloads of child_notify
1250
1250
 
@@ -1258,7 +1258,7 @@ interface AdaptorChooser extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orient
1258
1258
  * Also see gtk_container_child_notify().
1259
1259
  * @param child_property the name of a child property installed on the class of `widget’`s parent
1260
1260
  */
1261
- child_notify(child_property: string | null): void
1261
+ child_notify(child_property: string): void
1262
1262
  /**
1263
1263
  * Emits a #GtkWidget::child-notify signal for the
1264
1264
  * [child property][child-properties] `child_property`
@@ -1269,7 +1269,7 @@ interface AdaptorChooser extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orient
1269
1269
  * Also see gtk_container_child_notify().
1270
1270
  * @param child_property the name of a child property installed on the class of `widget’`s parent
1271
1271
  */
1272
- child_notify(child_property: string | null): void
1272
+ child_notify(child_property: string): void
1273
1273
 
1274
1274
  // Class property signals of Gladeui-2.0.Gladeui.AdaptorChooser
1275
1275
 
@@ -1533,26 +1533,26 @@ class App extends GObject.Object {
1533
1533
  static do_event(event: Gdk.Event): boolean
1534
1534
  static get(): App
1535
1535
  static get_accel_group(): Gtk.AccelGroup
1536
- static get_bin_dir(): string | null
1537
- static get_catalog(name: string | null): Catalog | null
1538
- static get_catalog_version(name: string | null): [ /* returnType */ boolean, /* major */ number, /* minor */ number ]
1536
+ static get_bin_dir(): string
1537
+ static get_catalog(name: string): Catalog | null
1538
+ static get_catalog_version(name: string): [ /* returnType */ boolean, /* major */ number, /* minor */ number ]
1539
1539
  static get_catalogs(): Catalog[]
1540
- static get_catalogs_dir(): string | null
1540
+ static get_catalogs_dir(): string
1541
1541
  static get_clipboard(): Clipboard
1542
1542
  static get_config(): GLib.KeyFile
1543
- static get_lib_dir(): string | null
1544
- static get_locale_dir(): string | null
1545
- static get_modules_dir(): string | null
1546
- static get_pixmaps_dir(): string | null
1543
+ static get_lib_dir(): string
1544
+ static get_locale_dir(): string
1545
+ static get_modules_dir(): string
1546
+ static get_pixmaps_dir(): string
1547
1547
  /**
1548
1548
  * Finds an open project with `path`
1549
1549
  * @param project_path The path of an open project
1550
1550
  * @returns A #GladeProject, or NULL if no such open project was found
1551
1551
  */
1552
- static get_project_by_path(project_path: string | null): Project | null
1552
+ static get_project_by_path(project_path: string): Project | null
1553
1553
  static get_projects(): Catalog[]
1554
1554
  static get_window(): Gtk.Widget
1555
- static is_project_loaded(project_path: string | null): boolean
1555
+ static is_project_loaded(project_path: string): boolean
1556
1556
  static remove_project(project: Project): void
1557
1557
  /**
1558
1558
  * Searches for `book,` `page` and `search` in the documentation.
@@ -1560,7 +1560,7 @@ class App extends GObject.Object {
1560
1560
  * @param page the name of a page
1561
1561
  * @param search the search query
1562
1562
  */
1563
- static search_docs(book: string | null, page: string | null, search: string | null): void
1563
+ static search_docs(book: string, page: string, search: string): void
1564
1564
  /**
1565
1565
  * Sets `accel_group` to app.
1566
1566
  * The acceleration group will made available for editor dialog windows
@@ -1693,7 +1693,7 @@ interface BaseEditor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
1693
1693
  * @param child the child widget
1694
1694
  * @param child_property the name of a child property installed on the class of `container`
1695
1695
  */
1696
- child_notify(child: Gtk.Widget, child_property: string | null): void
1696
+ child_notify(child: Gtk.Widget, child_property: string): void
1697
1697
 
1698
1698
  // Overloads of child_notify
1699
1699
 
@@ -1707,7 +1707,7 @@ interface BaseEditor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
1707
1707
  * Also see gtk_container_child_notify().
1708
1708
  * @param child_property the name of a child property installed on the class of `widget’`s parent
1709
1709
  */
1710
- child_notify(child_property: string | null): void
1710
+ child_notify(child_property: string): void
1711
1711
  /**
1712
1712
  * Emits a #GtkWidget::child-notify signal for the
1713
1713
  * [child property][child-properties] `child_property`
@@ -1718,7 +1718,7 @@ interface BaseEditor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
1718
1718
  * Also see gtk_container_child_notify().
1719
1719
  * @param child_property the name of a child property installed on the class of `widget’`s parent
1720
1720
  */
1721
- child_notify(child_property: string | null): void
1721
+ child_notify(child_property: string): void
1722
1722
 
1723
1723
  // Own virtual methods of Gladeui-2.0.Gladeui.BaseEditor
1724
1724
 
@@ -1955,7 +1955,7 @@ interface CellRendererIcon {
1955
1955
 
1956
1956
  // Own virtual methods of Gladeui-2.0.Gladeui.CellRendererIcon
1957
1957
 
1958
- vfunc_activate(path: string | null): void
1958
+ vfunc_activate(path: string): void
1959
1959
 
1960
1960
  // Overloads of vfunc_activate
1961
1961
 
@@ -1972,7 +1972,7 @@ interface CellRendererIcon {
1972
1972
  * @param flags render flags
1973
1973
  * @returns %TRUE if the event was consumed/handled
1974
1974
  */
1975
- vfunc_activate(event: Gdk.Event, widget: Gtk.Widget, path: string | null, background_area: Gdk.Rectangle, cell_area: Gdk.Rectangle, flags: Gtk.CellRendererState): boolean
1975
+ vfunc_activate(event: Gdk.Event, widget: Gtk.Widget, path: string, background_area: Gdk.Rectangle, cell_area: Gdk.Rectangle, flags: Gtk.CellRendererState): boolean
1976
1976
 
1977
1977
  // Own signals of Gladeui-2.0.Gladeui.CellRendererIcon
1978
1978
 
@@ -2100,7 +2100,6 @@ interface Clipboard {
2100
2100
 
2101
2101
  // Own properties of Gladeui-2.0.Gladeui.Clipboard
2102
2102
 
2103
- readonly has_selection: boolean
2104
2103
  readonly hasSelection: boolean
2105
2104
 
2106
2105
  // Own fields of Gladeui-2.0.Gladeui.Clipboard
@@ -2171,7 +2170,7 @@ interface Command {
2171
2170
  * @param other another #GladeCommand
2172
2171
  */
2173
2172
  collapse(other: Command): void
2174
- description(): string | null
2173
+ description(): string
2175
2174
  /**
2176
2175
  * Executes `command`
2177
2176
  * @returns whether the command was successfully executed
@@ -2331,26 +2330,26 @@ class Command extends GObject.Object {
2331
2330
  * @param context a #const gchar *
2332
2331
  * @param comment a #const gchar *
2333
2332
  */
2334
- static set_i18n(property: Property, translatable: boolean, context: string | null, comment: string | null): void
2335
- static set_name(glade_widget: Widget, name: string | null): void
2333
+ static set_i18n(property: Property, translatable: boolean, context: string, comment: string): void
2334
+ static set_name(glade_widget: Widget, name: string): void
2336
2335
  /**
2337
2336
  * Sets `domain` as the translation domain for `project`.
2338
2337
  * @param project A #GladeProject
2339
2338
  * @param domain The translation domain for `project`
2340
2339
  */
2341
- static set_project_domain(project: Project, domain: string | null): void
2340
+ static set_project_domain(project: Project, domain: string): void
2342
2341
  /**
2343
2342
  * Sets the license agreement for `project`. It will be saved in the xml as comment.
2344
2343
  * @param project A #GladeProject
2345
2344
  * @param license License of `project`
2346
2345
  */
2347
- static set_project_license(project: Project, license: string | null): void
2346
+ static set_project_license(project: Project, license: string): void
2348
2347
  /**
2349
2348
  * Sets a resource path `project`.
2350
2349
  * @param project A #GladeProject
2351
2350
  * @param path path to load resources from.
2352
2351
  */
2353
- static set_project_resource_path(project: Project, path: string | null): void
2352
+ static set_project_resource_path(project: Project, path: string): void
2354
2353
  /**
2355
2354
  * Sets the target of `catalog` to `major`.`minor` in `project`.
2356
2355
  * @param project A #GladeProject
@@ -2358,7 +2357,7 @@ class Command extends GObject.Object {
2358
2357
  * @param major The new major version of `catalog` to target
2359
2358
  * @param minor The new minor version of `catalog` to target
2360
2359
  */
2361
- static set_project_target(project: Project, catalog: string | null, major: number, minor: number): void
2360
+ static set_project_target(project: Project, catalog: string, major: number, minor: number): void
2362
2361
  /**
2363
2362
  * Sets `widget` to be the template widget in `project`.
2364
2363
  * @param project A #GladeProject
@@ -2423,7 +2422,7 @@ interface DesignView extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
2423
2422
  * @param child the child widget
2424
2423
  * @param child_property the name of a child property installed on the class of `container`
2425
2424
  */
2426
- child_notify(child: Gtk.Widget, child_property: string | null): void
2425
+ child_notify(child: Gtk.Widget, child_property: string): void
2427
2426
 
2428
2427
  // Overloads of child_notify
2429
2428
 
@@ -2437,7 +2436,7 @@ interface DesignView extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
2437
2436
  * Also see gtk_container_child_notify().
2438
2437
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2439
2438
  */
2440
- child_notify(child_property: string | null): void
2439
+ child_notify(child_property: string): void
2441
2440
  /**
2442
2441
  * Emits a #GtkWidget::child-notify signal for the
2443
2442
  * [child property][child-properties] `child_property`
@@ -2448,7 +2447,7 @@ interface DesignView extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
2448
2447
  * Also see gtk_container_child_notify().
2449
2448
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2450
2449
  */
2451
- child_notify(child_property: string | null): void
2450
+ child_notify(child_property: string): void
2452
2451
 
2453
2452
  // Class property signals of Gladeui-2.0.Gladeui.DesignView
2454
2453
 
@@ -2667,7 +2666,7 @@ interface EPropBool extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.O
2667
2666
  * @param property_name the name of the property to get
2668
2667
  * @param value return location for the property value
2669
2668
  */
2670
- get_property(property_name: string | null, value: any): void
2669
+ get_property(property_name: string, value: any): void
2671
2670
  /**
2672
2671
  * Gets a property of an object.
2673
2672
  *
@@ -2688,7 +2687,7 @@ interface EPropBool extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.O
2688
2687
  * @param property_name the name of the property to get
2689
2688
  * @param value return location for the property value
2690
2689
  */
2691
- get_property(property_name: string | null, value: any): void
2690
+ get_property(property_name: string, value: any): void
2692
2691
  /**
2693
2692
  * Loads `widget` property values into `editable`
2694
2693
  * (the editable will watch the widgets properties
@@ -2723,7 +2722,7 @@ interface EPropBool extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.O
2723
2722
  * Also see gtk_container_child_notify().
2724
2723
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2725
2724
  */
2726
- child_notify(child_property: string | null): void
2725
+ child_notify(child_property: string): void
2727
2726
  /**
2728
2727
  * Emits a #GtkWidget::child-notify signal for the
2729
2728
  * [child property][child-properties]
@@ -2735,7 +2734,7 @@ interface EPropBool extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.O
2735
2734
  * @param child the child widget
2736
2735
  * @param child_property the name of a child property installed on the class of `container`
2737
2736
  */
2738
- child_notify(child: Gtk.Widget, child_property: string | null): void
2737
+ child_notify(child: Gtk.Widget, child_property: string): void
2739
2738
 
2740
2739
  // Overloads of child_notify
2741
2740
 
@@ -2749,7 +2748,7 @@ interface EPropBool extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.O
2749
2748
  * Also see gtk_container_child_notify().
2750
2749
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2751
2750
  */
2752
- child_notify(child_property: string | null): void
2751
+ child_notify(child_property: string): void
2753
2752
  /**
2754
2753
  * Loads `widget` property values into `editable`
2755
2754
  * (the editable will watch the widgets properties
@@ -2990,7 +2989,7 @@ interface EPropCheck extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.
2990
2989
  * @param property_name the name of the property to get
2991
2990
  * @param value return location for the property value
2992
2991
  */
2993
- get_property(property_name: string | null, value: any): void
2992
+ get_property(property_name: string, value: any): void
2994
2993
  /**
2995
2994
  * Gets a property of an object.
2996
2995
  *
@@ -3011,7 +3010,7 @@ interface EPropCheck extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.
3011
3010
  * @param property_name the name of the property to get
3012
3011
  * @param value return location for the property value
3013
3012
  */
3014
- get_property(property_name: string | null, value: any): void
3013
+ get_property(property_name: string, value: any): void
3015
3014
  /**
3016
3015
  * Loads `widget` property values into `editable`
3017
3016
  * (the editable will watch the widgets properties
@@ -3046,7 +3045,7 @@ interface EPropCheck extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.
3046
3045
  * Also see gtk_container_child_notify().
3047
3046
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3048
3047
  */
3049
- child_notify(child_property: string | null): void
3048
+ child_notify(child_property: string): void
3050
3049
  /**
3051
3050
  * Emits a #GtkWidget::child-notify signal for the
3052
3051
  * [child property][child-properties]
@@ -3058,7 +3057,7 @@ interface EPropCheck extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.
3058
3057
  * @param child the child widget
3059
3058
  * @param child_property the name of a child property installed on the class of `container`
3060
3059
  */
3061
- child_notify(child: Gtk.Widget, child_property: string | null): void
3060
+ child_notify(child: Gtk.Widget, child_property: string): void
3062
3061
 
3063
3062
  // Overloads of child_notify
3064
3063
 
@@ -3072,7 +3071,7 @@ interface EPropCheck extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.
3072
3071
  * Also see gtk_container_child_notify().
3073
3072
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3074
3073
  */
3075
- child_notify(child_property: string | null): void
3074
+ child_notify(child_property: string): void
3076
3075
  /**
3077
3076
  * Loads `widget` property values into `editable`
3078
3077
  * (the editable will watch the widgets properties
@@ -3313,7 +3312,7 @@ interface EPropColor extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.
3313
3312
  * @param property_name the name of the property to get
3314
3313
  * @param value return location for the property value
3315
3314
  */
3316
- get_property(property_name: string | null, value: any): void
3315
+ get_property(property_name: string, value: any): void
3317
3316
  /**
3318
3317
  * Gets a property of an object.
3319
3318
  *
@@ -3334,7 +3333,7 @@ interface EPropColor extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.
3334
3333
  * @param property_name the name of the property to get
3335
3334
  * @param value return location for the property value
3336
3335
  */
3337
- get_property(property_name: string | null, value: any): void
3336
+ get_property(property_name: string, value: any): void
3338
3337
  /**
3339
3338
  * Loads `widget` property values into `editable`
3340
3339
  * (the editable will watch the widgets properties
@@ -3369,7 +3368,7 @@ interface EPropColor extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.
3369
3368
  * Also see gtk_container_child_notify().
3370
3369
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3371
3370
  */
3372
- child_notify(child_property: string | null): void
3371
+ child_notify(child_property: string): void
3373
3372
  /**
3374
3373
  * Emits a #GtkWidget::child-notify signal for the
3375
3374
  * [child property][child-properties]
@@ -3381,7 +3380,7 @@ interface EPropColor extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.
3381
3380
  * @param child the child widget
3382
3381
  * @param child_property the name of a child property installed on the class of `container`
3383
3382
  */
3384
- child_notify(child: Gtk.Widget, child_property: string | null): void
3383
+ child_notify(child: Gtk.Widget, child_property: string): void
3385
3384
 
3386
3385
  // Overloads of child_notify
3387
3386
 
@@ -3395,7 +3394,7 @@ interface EPropColor extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.
3395
3394
  * Also see gtk_container_child_notify().
3396
3395
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3397
3396
  */
3398
- child_notify(child_property: string | null): void
3397
+ child_notify(child_property: string): void
3399
3398
  /**
3400
3399
  * Loads `widget` property values into `editable`
3401
3400
  * (the editable will watch the widgets properties
@@ -3636,7 +3635,7 @@ interface EPropEnum extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.O
3636
3635
  * @param property_name the name of the property to get
3637
3636
  * @param value return location for the property value
3638
3637
  */
3639
- get_property(property_name: string | null, value: any): void
3638
+ get_property(property_name: string, value: any): void
3640
3639
  /**
3641
3640
  * Gets a property of an object.
3642
3641
  *
@@ -3657,7 +3656,7 @@ interface EPropEnum extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.O
3657
3656
  * @param property_name the name of the property to get
3658
3657
  * @param value return location for the property value
3659
3658
  */
3660
- get_property(property_name: string | null, value: any): void
3659
+ get_property(property_name: string, value: any): void
3661
3660
  /**
3662
3661
  * Loads `widget` property values into `editable`
3663
3662
  * (the editable will watch the widgets properties
@@ -3692,7 +3691,7 @@ interface EPropEnum extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.O
3692
3691
  * Also see gtk_container_child_notify().
3693
3692
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3694
3693
  */
3695
- child_notify(child_property: string | null): void
3694
+ child_notify(child_property: string): void
3696
3695
  /**
3697
3696
  * Emits a #GtkWidget::child-notify signal for the
3698
3697
  * [child property][child-properties]
@@ -3704,7 +3703,7 @@ interface EPropEnum extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.O
3704
3703
  * @param child the child widget
3705
3704
  * @param child_property the name of a child property installed on the class of `container`
3706
3705
  */
3707
- child_notify(child: Gtk.Widget, child_property: string | null): void
3706
+ child_notify(child: Gtk.Widget, child_property: string): void
3708
3707
 
3709
3708
  // Overloads of child_notify
3710
3709
 
@@ -3718,7 +3717,7 @@ interface EPropEnum extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.O
3718
3717
  * Also see gtk_container_child_notify().
3719
3718
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3720
3719
  */
3721
- child_notify(child_property: string | null): void
3720
+ child_notify(child_property: string): void
3722
3721
  /**
3723
3722
  * Loads `widget` property values into `editable`
3724
3723
  * (the editable will watch the widgets properties
@@ -3959,7 +3958,7 @@ interface EPropFlags extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.
3959
3958
  * @param property_name the name of the property to get
3960
3959
  * @param value return location for the property value
3961
3960
  */
3962
- get_property(property_name: string | null, value: any): void
3961
+ get_property(property_name: string, value: any): void
3963
3962
  /**
3964
3963
  * Gets a property of an object.
3965
3964
  *
@@ -3980,7 +3979,7 @@ interface EPropFlags extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.
3980
3979
  * @param property_name the name of the property to get
3981
3980
  * @param value return location for the property value
3982
3981
  */
3983
- get_property(property_name: string | null, value: any): void
3982
+ get_property(property_name: string, value: any): void
3984
3983
  /**
3985
3984
  * Loads `widget` property values into `editable`
3986
3985
  * (the editable will watch the widgets properties
@@ -4015,7 +4014,7 @@ interface EPropFlags extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.
4015
4014
  * Also see gtk_container_child_notify().
4016
4015
  * @param child_property the name of a child property installed on the class of `widget’`s parent
4017
4016
  */
4018
- child_notify(child_property: string | null): void
4017
+ child_notify(child_property: string): void
4019
4018
  /**
4020
4019
  * Emits a #GtkWidget::child-notify signal for the
4021
4020
  * [child property][child-properties]
@@ -4027,7 +4026,7 @@ interface EPropFlags extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.
4027
4026
  * @param child the child widget
4028
4027
  * @param child_property the name of a child property installed on the class of `container`
4029
4028
  */
4030
- child_notify(child: Gtk.Widget, child_property: string | null): void
4029
+ child_notify(child: Gtk.Widget, child_property: string): void
4031
4030
 
4032
4031
  // Overloads of child_notify
4033
4032
 
@@ -4041,7 +4040,7 @@ interface EPropFlags extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.
4041
4040
  * Also see gtk_container_child_notify().
4042
4041
  * @param child_property the name of a child property installed on the class of `widget’`s parent
4043
4042
  */
4044
- child_notify(child_property: string | null): void
4043
+ child_notify(child_property: string): void
4045
4044
  /**
4046
4045
  * Loads `widget` property values into `editable`
4047
4046
  * (the editable will watch the widgets properties
@@ -4282,7 +4281,7 @@ interface EPropNamedIcon extends Atk.ImplementorIface, Editable, Gtk.Buildable,
4282
4281
  * @param property_name the name of the property to get
4283
4282
  * @param value return location for the property value
4284
4283
  */
4285
- get_property(property_name: string | null, value: any): void
4284
+ get_property(property_name: string, value: any): void
4286
4285
  /**
4287
4286
  * Gets a property of an object.
4288
4287
  *
@@ -4303,7 +4302,7 @@ interface EPropNamedIcon extends Atk.ImplementorIface, Editable, Gtk.Buildable,
4303
4302
  * @param property_name the name of the property to get
4304
4303
  * @param value return location for the property value
4305
4304
  */
4306
- get_property(property_name: string | null, value: any): void
4305
+ get_property(property_name: string, value: any): void
4307
4306
  /**
4308
4307
  * Loads `widget` property values into `editable`
4309
4308
  * (the editable will watch the widgets properties
@@ -4338,7 +4337,7 @@ interface EPropNamedIcon extends Atk.ImplementorIface, Editable, Gtk.Buildable,
4338
4337
  * Also see gtk_container_child_notify().
4339
4338
  * @param child_property the name of a child property installed on the class of `widget’`s parent
4340
4339
  */
4341
- child_notify(child_property: string | null): void
4340
+ child_notify(child_property: string): void
4342
4341
  /**
4343
4342
  * Emits a #GtkWidget::child-notify signal for the
4344
4343
  * [child property][child-properties]
@@ -4350,7 +4349,7 @@ interface EPropNamedIcon extends Atk.ImplementorIface, Editable, Gtk.Buildable,
4350
4349
  * @param child the child widget
4351
4350
  * @param child_property the name of a child property installed on the class of `container`
4352
4351
  */
4353
- child_notify(child: Gtk.Widget, child_property: string | null): void
4352
+ child_notify(child: Gtk.Widget, child_property: string): void
4354
4353
 
4355
4354
  // Overloads of child_notify
4356
4355
 
@@ -4364,7 +4363,7 @@ interface EPropNamedIcon extends Atk.ImplementorIface, Editable, Gtk.Buildable,
4364
4363
  * Also see gtk_container_child_notify().
4365
4364
  * @param child_property the name of a child property installed on the class of `widget’`s parent
4366
4365
  */
4367
- child_notify(child_property: string | null): void
4366
+ child_notify(child_property: string): void
4368
4367
  /**
4369
4368
  * Loads `widget` property values into `editable`
4370
4369
  * (the editable will watch the widgets properties
@@ -4605,7 +4604,7 @@ interface EPropNumeric extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gt
4605
4604
  * @param property_name the name of the property to get
4606
4605
  * @param value return location for the property value
4607
4606
  */
4608
- get_property(property_name: string | null, value: any): void
4607
+ get_property(property_name: string, value: any): void
4609
4608
  /**
4610
4609
  * Gets a property of an object.
4611
4610
  *
@@ -4626,7 +4625,7 @@ interface EPropNumeric extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gt
4626
4625
  * @param property_name the name of the property to get
4627
4626
  * @param value return location for the property value
4628
4627
  */
4629
- get_property(property_name: string | null, value: any): void
4628
+ get_property(property_name: string, value: any): void
4630
4629
  /**
4631
4630
  * Loads `widget` property values into `editable`
4632
4631
  * (the editable will watch the widgets properties
@@ -4661,7 +4660,7 @@ interface EPropNumeric extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gt
4661
4660
  * Also see gtk_container_child_notify().
4662
4661
  * @param child_property the name of a child property installed on the class of `widget’`s parent
4663
4662
  */
4664
- child_notify(child_property: string | null): void
4663
+ child_notify(child_property: string): void
4665
4664
  /**
4666
4665
  * Emits a #GtkWidget::child-notify signal for the
4667
4666
  * [child property][child-properties]
@@ -4673,7 +4672,7 @@ interface EPropNumeric extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gt
4673
4672
  * @param child the child widget
4674
4673
  * @param child_property the name of a child property installed on the class of `container`
4675
4674
  */
4676
- child_notify(child: Gtk.Widget, child_property: string | null): void
4675
+ child_notify(child: Gtk.Widget, child_property: string): void
4677
4676
 
4678
4677
  // Overloads of child_notify
4679
4678
 
@@ -4687,7 +4686,7 @@ interface EPropNumeric extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gt
4687
4686
  * Also see gtk_container_child_notify().
4688
4687
  * @param child_property the name of a child property installed on the class of `widget’`s parent
4689
4688
  */
4690
- child_notify(child_property: string | null): void
4689
+ child_notify(child_property: string): void
4691
4690
  /**
4692
4691
  * Loads `widget` property values into `editable`
4693
4692
  * (the editable will watch the widgets properties
@@ -4928,7 +4927,7 @@ interface EPropObject extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk
4928
4927
  * @param property_name the name of the property to get
4929
4928
  * @param value return location for the property value
4930
4929
  */
4931
- get_property(property_name: string | null, value: any): void
4930
+ get_property(property_name: string, value: any): void
4932
4931
  /**
4933
4932
  * Gets a property of an object.
4934
4933
  *
@@ -4949,7 +4948,7 @@ interface EPropObject extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk
4949
4948
  * @param property_name the name of the property to get
4950
4949
  * @param value return location for the property value
4951
4950
  */
4952
- get_property(property_name: string | null, value: any): void
4951
+ get_property(property_name: string, value: any): void
4953
4952
  /**
4954
4953
  * Loads `widget` property values into `editable`
4955
4954
  * (the editable will watch the widgets properties
@@ -4984,7 +4983,7 @@ interface EPropObject extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk
4984
4983
  * Also see gtk_container_child_notify().
4985
4984
  * @param child_property the name of a child property installed on the class of `widget’`s parent
4986
4985
  */
4987
- child_notify(child_property: string | null): void
4986
+ child_notify(child_property: string): void
4988
4987
  /**
4989
4988
  * Emits a #GtkWidget::child-notify signal for the
4990
4989
  * [child property][child-properties]
@@ -4996,7 +4995,7 @@ interface EPropObject extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk
4996
4995
  * @param child the child widget
4997
4996
  * @param child_property the name of a child property installed on the class of `container`
4998
4997
  */
4999
- child_notify(child: Gtk.Widget, child_property: string | null): void
4998
+ child_notify(child: Gtk.Widget, child_property: string): void
5000
4999
 
5001
5000
  // Overloads of child_notify
5002
5001
 
@@ -5010,7 +5009,7 @@ interface EPropObject extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk
5010
5009
  * Also see gtk_container_child_notify().
5011
5010
  * @param child_property the name of a child property installed on the class of `widget’`s parent
5012
5011
  */
5013
- child_notify(child_property: string | null): void
5012
+ child_notify(child_property: string): void
5014
5013
  /**
5015
5014
  * Loads `widget` property values into `editable`
5016
5015
  * (the editable will watch the widgets properties
@@ -5251,7 +5250,7 @@ interface EPropObjects extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gt
5251
5250
  * @param property_name the name of the property to get
5252
5251
  * @param value return location for the property value
5253
5252
  */
5254
- get_property(property_name: string | null, value: any): void
5253
+ get_property(property_name: string, value: any): void
5255
5254
  /**
5256
5255
  * Gets a property of an object.
5257
5256
  *
@@ -5272,7 +5271,7 @@ interface EPropObjects extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gt
5272
5271
  * @param property_name the name of the property to get
5273
5272
  * @param value return location for the property value
5274
5273
  */
5275
- get_property(property_name: string | null, value: any): void
5274
+ get_property(property_name: string, value: any): void
5276
5275
  /**
5277
5276
  * Loads `widget` property values into `editable`
5278
5277
  * (the editable will watch the widgets properties
@@ -5307,7 +5306,7 @@ interface EPropObjects extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gt
5307
5306
  * Also see gtk_container_child_notify().
5308
5307
  * @param child_property the name of a child property installed on the class of `widget’`s parent
5309
5308
  */
5310
- child_notify(child_property: string | null): void
5309
+ child_notify(child_property: string): void
5311
5310
  /**
5312
5311
  * Emits a #GtkWidget::child-notify signal for the
5313
5312
  * [child property][child-properties]
@@ -5319,7 +5318,7 @@ interface EPropObjects extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gt
5319
5318
  * @param child the child widget
5320
5319
  * @param child_property the name of a child property installed on the class of `container`
5321
5320
  */
5322
- child_notify(child: Gtk.Widget, child_property: string | null): void
5321
+ child_notify(child: Gtk.Widget, child_property: string): void
5323
5322
 
5324
5323
  // Overloads of child_notify
5325
5324
 
@@ -5333,7 +5332,7 @@ interface EPropObjects extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gt
5333
5332
  * Also see gtk_container_child_notify().
5334
5333
  * @param child_property the name of a child property installed on the class of `widget’`s parent
5335
5334
  */
5336
- child_notify(child_property: string | null): void
5335
+ child_notify(child_property: string): void
5337
5336
  /**
5338
5337
  * Loads `widget` property values into `editable`
5339
5338
  * (the editable will watch the widgets properties
@@ -5574,7 +5573,7 @@ interface EPropText extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.O
5574
5573
  * @param property_name the name of the property to get
5575
5574
  * @param value return location for the property value
5576
5575
  */
5577
- get_property(property_name: string | null, value: any): void
5576
+ get_property(property_name: string, value: any): void
5578
5577
  /**
5579
5578
  * Gets a property of an object.
5580
5579
  *
@@ -5595,7 +5594,7 @@ interface EPropText extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.O
5595
5594
  * @param property_name the name of the property to get
5596
5595
  * @param value return location for the property value
5597
5596
  */
5598
- get_property(property_name: string | null, value: any): void
5597
+ get_property(property_name: string, value: any): void
5599
5598
  /**
5600
5599
  * Loads `widget` property values into `editable`
5601
5600
  * (the editable will watch the widgets properties
@@ -5630,7 +5629,7 @@ interface EPropText extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.O
5630
5629
  * Also see gtk_container_child_notify().
5631
5630
  * @param child_property the name of a child property installed on the class of `widget’`s parent
5632
5631
  */
5633
- child_notify(child_property: string | null): void
5632
+ child_notify(child_property: string): void
5634
5633
  /**
5635
5634
  * Emits a #GtkWidget::child-notify signal for the
5636
5635
  * [child property][child-properties]
@@ -5642,7 +5641,7 @@ interface EPropText extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.O
5642
5641
  * @param child the child widget
5643
5642
  * @param child_property the name of a child property installed on the class of `container`
5644
5643
  */
5645
- child_notify(child: Gtk.Widget, child_property: string | null): void
5644
+ child_notify(child: Gtk.Widget, child_property: string): void
5646
5645
 
5647
5646
  // Overloads of child_notify
5648
5647
 
@@ -5656,7 +5655,7 @@ interface EPropText extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.O
5656
5655
  * Also see gtk_container_child_notify().
5657
5656
  * @param child_property the name of a child property installed on the class of `widget’`s parent
5658
5657
  */
5659
- child_notify(child_property: string | null): void
5658
+ child_notify(child_property: string): void
5660
5659
  /**
5661
5660
  * Loads `widget` property values into `editable`
5662
5661
  * (the editable will watch the widgets properties
@@ -5897,7 +5896,7 @@ interface EPropUnichar extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gt
5897
5896
  * @param property_name the name of the property to get
5898
5897
  * @param value return location for the property value
5899
5898
  */
5900
- get_property(property_name: string | null, value: any): void
5899
+ get_property(property_name: string, value: any): void
5901
5900
  /**
5902
5901
  * Gets a property of an object.
5903
5902
  *
@@ -5918,7 +5917,7 @@ interface EPropUnichar extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gt
5918
5917
  * @param property_name the name of the property to get
5919
5918
  * @param value return location for the property value
5920
5919
  */
5921
- get_property(property_name: string | null, value: any): void
5920
+ get_property(property_name: string, value: any): void
5922
5921
  /**
5923
5922
  * Loads `widget` property values into `editable`
5924
5923
  * (the editable will watch the widgets properties
@@ -5953,7 +5952,7 @@ interface EPropUnichar extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gt
5953
5952
  * Also see gtk_container_child_notify().
5954
5953
  * @param child_property the name of a child property installed on the class of `widget’`s parent
5955
5954
  */
5956
- child_notify(child_property: string | null): void
5955
+ child_notify(child_property: string): void
5957
5956
  /**
5958
5957
  * Emits a #GtkWidget::child-notify signal for the
5959
5958
  * [child property][child-properties]
@@ -5965,7 +5964,7 @@ interface EPropUnichar extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gt
5965
5964
  * @param child the child widget
5966
5965
  * @param child_property the name of a child property installed on the class of `container`
5967
5966
  */
5968
- child_notify(child: Gtk.Widget, child_property: string | null): void
5967
+ child_notify(child: Gtk.Widget, child_property: string): void
5969
5968
 
5970
5969
  // Overloads of child_notify
5971
5970
 
@@ -5979,7 +5978,7 @@ interface EPropUnichar extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gt
5979
5978
  * Also see gtk_container_child_notify().
5980
5979
  * @param child_property the name of a child property installed on the class of `widget’`s parent
5981
5980
  */
5982
- child_notify(child_property: string | null): void
5981
+ child_notify(child_property: string): void
5983
5982
  /**
5984
5983
  * Loads `widget` property values into `editable`
5985
5984
  * (the editable will watch the widgets properties
@@ -6187,11 +6186,9 @@ module Editor {
6187
6186
 
6188
6187
  // Own constructor properties of Gladeui-2.0.Gladeui.Editor
6189
6188
 
6190
- show_boder?: boolean | null
6191
- show_class_field?: boolean | null
6192
- widget?: Widget | null
6193
6189
  showBoder?: boolean | null
6194
6190
  showClassField?: boolean | null
6191
+ widget?: Widget | null
6195
6192
  }
6196
6193
 
6197
6194
  }
@@ -6200,15 +6197,10 @@ interface Editor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
6200
6197
 
6201
6198
  // Own properties of Gladeui-2.0.Gladeui.Editor
6202
6199
 
6203
- readonly class_field: string | null
6204
6200
  readonly classField: string | null
6205
- show_boder: boolean
6206
6201
  showBoder: boolean
6207
- show_class_field: boolean
6208
6202
  showClassField: boolean
6209
- readonly show_info: boolean
6210
6203
  readonly showInfo: boolean
6211
- readonly signal_editor: SignalEditor
6212
6204
  readonly signalEditor: SignalEditor
6213
6205
  widget: any
6214
6206
 
@@ -6225,6 +6217,8 @@ interface Editor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
6225
6217
  * @param widget a #GladeWidget
6226
6218
  */
6227
6219
  load_widget(widget: Widget): void
6220
+ show_class_field(): void
6221
+ show_info(): void
6228
6222
 
6229
6223
  // Conflicting methods
6230
6224
 
@@ -6239,7 +6233,7 @@ interface Editor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
6239
6233
  * @param child the child widget
6240
6234
  * @param child_property the name of a child property installed on the class of `container`
6241
6235
  */
6242
- child_notify(child: Gtk.Widget, child_property: string | null): void
6236
+ child_notify(child: Gtk.Widget, child_property: string): void
6243
6237
 
6244
6238
  // Overloads of child_notify
6245
6239
 
@@ -6253,7 +6247,7 @@ interface Editor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
6253
6247
  * Also see gtk_container_child_notify().
6254
6248
  * @param child_property the name of a child property installed on the class of `widget’`s parent
6255
6249
  */
6256
- child_notify(child_property: string | null): void
6250
+ child_notify(child_property: string): void
6257
6251
  /**
6258
6252
  * Emits a #GtkWidget::child-notify signal for the
6259
6253
  * [child property][child-properties] `child_property`
@@ -6264,7 +6258,7 @@ interface Editor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
6264
6258
  * Also see gtk_container_child_notify().
6265
6259
  * @param child_property the name of a child property installed on the class of `widget’`s parent
6266
6260
  */
6267
- child_notify(child_property: string | null): void
6261
+ child_notify(child_property: string): void
6268
6262
 
6269
6263
  // Class property signals of Gladeui-2.0.Gladeui.Editor
6270
6264
 
@@ -6490,10 +6484,6 @@ module EditorProperty {
6490
6484
 
6491
6485
  // Own constructor properties of Gladeui-2.0.Gladeui.EditorProperty
6492
6486
 
6493
- custom_text?: string | null
6494
- disable_check?: boolean | null
6495
- property_def?: any | null
6496
- use_command?: boolean | null
6497
6487
  customText?: string | null
6498
6488
  disableCheck?: boolean | null
6499
6489
  propertyDef?: any | null
@@ -6506,13 +6496,9 @@ interface EditorProperty extends Atk.ImplementorIface, Editable, Gtk.Buildable,
6506
6496
 
6507
6497
  // Own properties of Gladeui-2.0.Gladeui.EditorProperty
6508
6498
 
6509
- custom_text: string | null
6510
6499
  customText: string | null
6511
- disable_check: boolean
6512
6500
  disableCheck: boolean
6513
- readonly property_def: any
6514
6501
  readonly propertyDef: any
6515
- use_command: boolean
6516
6502
  useCommand: boolean
6517
6503
 
6518
6504
  // Own fields of Gladeui-2.0.Gladeui.EditorProperty
@@ -6527,7 +6513,7 @@ interface EditorProperty extends Atk.ImplementorIface, Editable, Gtk.Buildable,
6527
6513
  */
6528
6514
  commit(value: any): void
6529
6515
  commit_no_callback(value: any): void
6530
- get_custom_text(): string | null
6516
+ get_custom_text(): string
6531
6517
  get_disable_check(): boolean
6532
6518
  get_item_label(): Gtk.Widget
6533
6519
  get_property(): Property
@@ -6554,7 +6540,7 @@ interface EditorProperty extends Atk.ImplementorIface, Editable, Gtk.Buildable,
6554
6540
  * @param property_name the name of the property to get
6555
6541
  * @param value return location for the property value
6556
6542
  */
6557
- get_property(property_name: string | null, value: any): void
6543
+ get_property(property_name: string, value: any): void
6558
6544
  get_property_def(): PropertyDef
6559
6545
  /**
6560
6546
  * Loads `property` values into `eprop` and connects.
@@ -6580,7 +6566,7 @@ interface EditorProperty extends Atk.ImplementorIface, Editable, Gtk.Buildable,
6580
6566
  */
6581
6567
  load_by_widget(widget: Widget): void
6582
6568
  loading(): boolean
6583
- set_custom_text(custom_text: string | null): void
6569
+ set_custom_text(custom_text: string): void
6584
6570
  set_disable_check(disable_check: boolean): void
6585
6571
 
6586
6572
  // Conflicting methods
@@ -6595,7 +6581,7 @@ interface EditorProperty extends Atk.ImplementorIface, Editable, Gtk.Buildable,
6595
6581
  * Also see gtk_container_child_notify().
6596
6582
  * @param child_property the name of a child property installed on the class of `widget’`s parent
6597
6583
  */
6598
- child_notify(child_property: string | null): void
6584
+ child_notify(child_property: string): void
6599
6585
  /**
6600
6586
  * Emits a #GtkWidget::child-notify signal for the
6601
6587
  * [child property][child-properties]
@@ -6607,7 +6593,7 @@ interface EditorProperty extends Atk.ImplementorIface, Editable, Gtk.Buildable,
6607
6593
  * @param child the child widget
6608
6594
  * @param child_property the name of a child property installed on the class of `container`
6609
6595
  */
6610
- child_notify(child: Gtk.Widget, child_property: string | null): void
6596
+ child_notify(child: Gtk.Widget, child_property: string): void
6611
6597
 
6612
6598
  // Overloads of child_notify
6613
6599
 
@@ -6621,7 +6607,7 @@ interface EditorProperty extends Atk.ImplementorIface, Editable, Gtk.Buildable,
6621
6607
  * Also see gtk_container_child_notify().
6622
6608
  * @param child_property the name of a child property installed on the class of `widget’`s parent
6623
6609
  */
6624
- child_notify(child_property: string | null): void
6610
+ child_notify(child_property: string): void
6625
6611
 
6626
6612
  // Own virtual methods of Gladeui-2.0.Gladeui.EditorProperty
6627
6613
 
@@ -6840,7 +6826,7 @@ class EditorProperty extends Gtk.Box {
6840
6826
  * @returns %TRUE if OK was selected.
6841
6827
  */
6842
6828
  static show_i18n_dialog(parent: Gtk.Widget, text: string | null, context: string | null, comment: string | null, translatable: boolean): boolean
6843
- static show_object_dialog(project: Project, title: string | null, parent: Gtk.Widget, object_type: GObject.GType, exception: Widget, object: Widget): boolean
6829
+ static show_object_dialog(project: Project, title: string, parent: Gtk.Widget, object_type: GObject.GType, exception: Widget, object: Widget): boolean
6844
6830
  static show_resource_dialog(project: Project, parent: Gtk.Widget, filename: string | null): boolean
6845
6831
  }
6846
6832
 
@@ -6875,7 +6861,7 @@ interface EditorSkeleton extends Atk.ImplementorIface, Editable, Gtk.Buildable,
6875
6861
  * Also see gtk_container_child_notify().
6876
6862
  * @param child_property the name of a child property installed on the class of `widget’`s parent
6877
6863
  */
6878
- child_notify(child_property: string | null): void
6864
+ child_notify(child_property: string): void
6879
6865
  /**
6880
6866
  * Emits a #GtkWidget::child-notify signal for the
6881
6867
  * [child property][child-properties]
@@ -6887,7 +6873,7 @@ interface EditorSkeleton extends Atk.ImplementorIface, Editable, Gtk.Buildable,
6887
6873
  * @param child the child widget
6888
6874
  * @param child_property the name of a child property installed on the class of `container`
6889
6875
  */
6890
- child_notify(child: Gtk.Widget, child_property: string | null): void
6876
+ child_notify(child: Gtk.Widget, child_property: string): void
6891
6877
 
6892
6878
  // Overloads of child_notify
6893
6879
 
@@ -6901,7 +6887,7 @@ interface EditorSkeleton extends Atk.ImplementorIface, Editable, Gtk.Buildable,
6901
6887
  * Also see gtk_container_child_notify().
6902
6888
  * @param child_property the name of a child property installed on the class of `widget’`s parent
6903
6889
  */
6904
- child_notify(child_property: string | null): void
6890
+ child_notify(child_property: string): void
6905
6891
 
6906
6892
  // Class property signals of Gladeui-2.0.Gladeui.EditorSkeleton
6907
6893
 
@@ -7083,7 +7069,6 @@ module EditorTable {
7083
7069
 
7084
7070
  // Own constructor properties of Gladeui-2.0.Gladeui.EditorTable
7085
7071
 
7086
- page_type?: EditorPageType | null
7087
7072
  pageType?: EditorPageType | null
7088
7073
  }
7089
7074
 
@@ -7093,7 +7078,6 @@ interface EditorTable extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk
7093
7078
 
7094
7079
  // Own properties of Gladeui-2.0.Gladeui.EditorTable
7095
7080
 
7096
- readonly page_type: EditorPageType
7097
7081
  readonly pageType: EditorPageType
7098
7082
 
7099
7083
  // Own fields of Gladeui-2.0.Gladeui.EditorTable
@@ -7112,7 +7096,7 @@ interface EditorTable extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk
7112
7096
  * Also see gtk_container_child_notify().
7113
7097
  * @param child_property the name of a child property installed on the class of `widget’`s parent
7114
7098
  */
7115
- child_notify(child_property: string | null): void
7099
+ child_notify(child_property: string): void
7116
7100
  /**
7117
7101
  * Emits a #GtkWidget::child-notify signal for the
7118
7102
  * [child property][child-properties]
@@ -7124,7 +7108,7 @@ interface EditorTable extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk
7124
7108
  * @param child the child widget
7125
7109
  * @param child_property the name of a child property installed on the class of `container`
7126
7110
  */
7127
- child_notify(child: Gtk.Widget, child_property: string | null): void
7111
+ child_notify(child: Gtk.Widget, child_property: string): void
7128
7112
 
7129
7113
  // Overloads of child_notify
7130
7114
 
@@ -7138,7 +7122,7 @@ interface EditorTable extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk
7138
7122
  * Also see gtk_container_child_notify().
7139
7123
  * @param child_property the name of a child property installed on the class of `widget’`s parent
7140
7124
  */
7141
- child_notify(child_property: string | null): void
7125
+ child_notify(child_property: string): void
7142
7126
 
7143
7127
  // Class property signals of Gladeui-2.0.Gladeui.EditorTable
7144
7128
 
@@ -7405,7 +7389,7 @@ interface Inspector extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
7405
7389
  * @param child the child widget
7406
7390
  * @param child_property the name of a child property installed on the class of `container`
7407
7391
  */
7408
- child_notify(child: Gtk.Widget, child_property: string | null): void
7392
+ child_notify(child: Gtk.Widget, child_property: string): void
7409
7393
 
7410
7394
  // Overloads of child_notify
7411
7395
 
@@ -7419,7 +7403,7 @@ interface Inspector extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
7419
7403
  * Also see gtk_container_child_notify().
7420
7404
  * @param child_property the name of a child property installed on the class of `widget’`s parent
7421
7405
  */
7422
- child_notify(child_property: string | null): void
7406
+ child_notify(child_property: string): void
7423
7407
  /**
7424
7408
  * Emits a #GtkWidget::child-notify signal for the
7425
7409
  * [child property][child-properties] `child_property`
@@ -7430,7 +7414,7 @@ interface Inspector extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
7430
7414
  * Also see gtk_container_child_notify().
7431
7415
  * @param child_property the name of a child property installed on the class of `widget’`s parent
7432
7416
  */
7433
- child_notify(child_property: string | null): void
7417
+ child_notify(child_property: string): void
7434
7418
 
7435
7419
  // Own virtual methods of Gladeui-2.0.Gladeui.Inspector
7436
7420
 
@@ -7682,8 +7666,21 @@ interface NamedIconChooserDialog extends Atk.ImplementorIface, Gtk.Buildable {
7682
7666
 
7683
7667
  get_context(): string | null
7684
7668
  get_icon_name(): string | null
7685
- set_context(context: string | null): boolean
7686
- set_icon_name(icon_name: string | null): void
7669
+ set_context(context: string): boolean
7670
+ set_icon_name(icon_name: string): void
7671
+
7672
+ // Overloads of set_icon_name
7673
+
7674
+ /**
7675
+ * Sets the icon for the window from a named themed icon.
7676
+ * See the docs for #GtkIconTheme for more details.
7677
+ * On some platforms, the window icon is not used at all.
7678
+ *
7679
+ * Note that this has nothing to do with the WM_ICON_NAME
7680
+ * property which is mentioned in the ICCCM.
7681
+ * @param name the name of the themed icon
7682
+ */
7683
+ set_icon_name(name: string | null): void
7687
7684
 
7688
7685
  // Conflicting methods
7689
7686
 
@@ -7720,7 +7717,7 @@ interface NamedIconChooserDialog extends Atk.ImplementorIface, Gtk.Buildable {
7720
7717
  * @param child the child widget
7721
7718
  * @param child_property the name of a child property installed on the class of `container`
7722
7719
  */
7723
- child_notify(child: Gtk.Widget, child_property: string | null): void
7720
+ child_notify(child: Gtk.Widget, child_property: string): void
7724
7721
 
7725
7722
  // Overloads of child_notify
7726
7723
 
@@ -7734,7 +7731,7 @@ interface NamedIconChooserDialog extends Atk.ImplementorIface, Gtk.Buildable {
7734
7731
  * Also see gtk_container_child_notify().
7735
7732
  * @param child_property the name of a child property installed on the class of `widget’`s parent
7736
7733
  */
7737
- child_notify(child_property: string | null): void
7734
+ child_notify(child_property: string): void
7738
7735
  /**
7739
7736
  * Emits a #GtkWidget::child-notify signal for the
7740
7737
  * [child property][child-properties] `child_property`
@@ -7745,7 +7742,7 @@ interface NamedIconChooserDialog extends Atk.ImplementorIface, Gtk.Buildable {
7745
7742
  * Also see gtk_container_child_notify().
7746
7743
  * @param child_property the name of a child property installed on the class of `widget’`s parent
7747
7744
  */
7748
- child_notify(child_property: string | null): void
7745
+ child_notify(child_property: string): void
7749
7746
 
7750
7747
  // Own virtual methods of Gladeui-2.0.Gladeui.NamedIconChooserDialog
7751
7748
 
@@ -8032,11 +8029,8 @@ module Palette {
8032
8029
 
8033
8030
  // Own constructor properties of Gladeui-2.0.Gladeui.Palette
8034
8031
 
8035
- item_appearance?: ItemAppearance | null
8036
- project?: Project | null
8037
- show_selector_button?: boolean | null
8038
- use_small_item_icons?: boolean | null
8039
8032
  itemAppearance?: ItemAppearance | null
8033
+ project?: Project | null
8040
8034
  showSelectorButton?: boolean | null
8041
8035
  useSmallItemIcons?: boolean | null
8042
8036
  }
@@ -8047,12 +8041,9 @@ interface Palette extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
8047
8041
 
8048
8042
  // Own properties of Gladeui-2.0.Gladeui.Palette
8049
8043
 
8050
- item_appearance: ItemAppearance
8051
8044
  itemAppearance: ItemAppearance
8052
8045
  project: Project
8053
- show_selector_button: boolean
8054
8046
  showSelectorButton: boolean
8055
- use_small_item_icons: boolean
8056
8047
  useSmallItemIcons: boolean
8057
8048
 
8058
8049
  // Own fields of Gladeui-2.0.Gladeui.Palette
@@ -8097,7 +8088,7 @@ interface Palette extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
8097
8088
  * @param child the child widget
8098
8089
  * @param child_property the name of a child property installed on the class of `container`
8099
8090
  */
8100
- child_notify(child: Gtk.Widget, child_property: string | null): void
8091
+ child_notify(child: Gtk.Widget, child_property: string): void
8101
8092
 
8102
8093
  // Overloads of child_notify
8103
8094
 
@@ -8111,7 +8102,7 @@ interface Palette extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
8111
8102
  * Also see gtk_container_child_notify().
8112
8103
  * @param child_property the name of a child property installed on the class of `widget’`s parent
8113
8104
  */
8114
- child_notify(child_property: string | null): void
8105
+ child_notify(child_property: string): void
8115
8106
  /**
8116
8107
  * Emits a #GtkWidget::child-notify signal for the
8117
8108
  * [child property][child-properties] `child_property`
@@ -8122,7 +8113,7 @@ interface Palette extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
8122
8113
  * Also see gtk_container_child_notify().
8123
8114
  * @param child_property the name of a child property installed on the class of `widget’`s parent
8124
8115
  */
8125
- child_notify(child_property: string | null): void
8116
+ child_notify(child_property: string): void
8126
8117
 
8127
8118
  // Own virtual methods of Gladeui-2.0.Gladeui.Palette
8128
8119
 
@@ -8636,13 +8627,10 @@ module Project {
8636
8627
 
8637
8628
  // Own constructor properties of Gladeui-2.0.Gladeui.Project
8638
8629
 
8639
- css_provider_path?: string | null
8640
- license?: string | null
8641
- resource_path?: string | null
8642
- template?: Widget | null
8643
- translation_domain?: string | null
8644
8630
  cssProviderPath?: string | null
8631
+ license?: string | null
8645
8632
  resourcePath?: string | null
8633
+ template?: Widget | null
8646
8634
  translationDomain?: string | null
8647
8635
  }
8648
8636
 
@@ -8652,23 +8640,16 @@ interface Project extends Gtk.TreeDragSource, Gtk.TreeModel {
8652
8640
 
8653
8641
  // Own properties of Gladeui-2.0.Gladeui.Project
8654
8642
 
8655
- readonly add_item: WidgetAdaptor
8656
8643
  readonly addItem: WidgetAdaptor
8657
- css_provider_path: string | null
8658
8644
  cssProviderPath: string | null
8659
- readonly has_selection: boolean
8660
8645
  readonly hasSelection: boolean
8661
8646
  license: string | null
8662
8647
  readonly modified: boolean
8663
8648
  readonly path: string | null
8664
- readonly pointer_mode: PointerMode
8665
8649
  readonly pointerMode: PointerMode
8666
- readonly read_only: boolean
8667
8650
  readonly readOnly: boolean
8668
- resource_path: string | null
8669
8651
  resourcePath: string | null
8670
8652
  template: Widget
8671
- translation_domain: string | null
8672
8653
  translationDomain: string | null
8673
8654
 
8674
8655
  // Own fields of Gladeui-2.0.Gladeui.Project
@@ -8696,7 +8677,7 @@ interface Project extends Gtk.TreeDragSource, Gtk.TreeModel {
8696
8677
  * @param name base name of the widget to create
8697
8678
  * @returns whether the name is available or not.
8698
8679
  */
8699
- available_widget_name(widget: Widget, name: string | null): boolean
8680
+ available_widget_name(widget: Widget, name: string): boolean
8700
8681
  /**
8701
8682
  * Backup the last file which `project` has saved to
8702
8683
  * or was loaded from.
@@ -8710,7 +8691,7 @@ interface Project extends Gtk.TreeDragSource, Gtk.TreeModel {
8710
8691
  * @param path location to save glade file
8711
8692
  * @returns %TRUE on success, %FALSE on failure
8712
8693
  */
8713
- backup(path: string | null): boolean
8694
+ backup(path: string): boolean
8714
8695
  cancel_load(): void
8715
8696
  check_reordered(parent: Widget, old_order: GObject.Object[]): void
8716
8697
  command_cut(): void
@@ -8719,10 +8700,10 @@ interface Project extends Gtk.TreeDragSource, Gtk.TreeModel {
8719
8700
  copy_selection(): void
8720
8701
  display_dependencies(): string | null
8721
8702
  get_add_item(): WidgetAdaptor
8722
- get_css_provider_path(): string | null
8703
+ get_css_provider_path(): string
8723
8704
  get_file_mtime(): number
8724
8705
  get_has_selection(): boolean
8725
- get_license(): string | null
8706
+ get_license(): string
8726
8707
  /**
8727
8708
  * Get's whether the project has been modified since it was last saved.
8728
8709
  * @returns %TRUE if the project has been modified since it was last saved
@@ -8730,7 +8711,7 @@ interface Project extends Gtk.TreeDragSource, Gtk.TreeModel {
8730
8711
  get_modified(): boolean
8731
8712
  get_name(): string | null
8732
8713
  get_objects(): GObject.Object[]
8733
- get_path(): string | null
8714
+ get_path(): string
8734
8715
 
8735
8716
  // Overloads of get_path
8736
8717
 
@@ -8748,27 +8729,27 @@ interface Project extends Gtk.TreeDragSource, Gtk.TreeModel {
8748
8729
  * @returns TRUE if project is read only
8749
8730
  */
8750
8731
  get_readonly(): boolean
8751
- get_resource_path(): string | null
8732
+ get_resource_path(): string
8752
8733
  /**
8753
8734
  * Fetches the target version of the `project` for `catalog`.
8754
8735
  * @param catalog the name of the catalog `project` includes
8755
8736
  * @param major the return location for the target major version
8756
8737
  * @param minor the return location for the target minor version
8757
8738
  */
8758
- get_target_version(catalog: string | null, major: number, minor: number): void
8739
+ get_target_version(catalog: string, major: number, minor: number): void
8759
8740
  get_template(): Widget
8760
- get_translation_domain(): string | null
8741
+ get_translation_domain(): string
8761
8742
  /**
8762
8743
  * Searches under `ancestor` in `project` looking for a #GladeWidget named `name`.
8763
8744
  * @param name The user visible name of the widget we are looking for
8764
8745
  * @returns a pointer to the widget, %NULL if the widget does not exist
8765
8746
  */
8766
- get_widget_by_name(name: string | null): Widget | null
8747
+ get_widget_by_name(name: string): Widget | null
8767
8748
  has_object(object: GObject.Object): boolean
8768
8749
  is_loading(): boolean
8769
8750
  is_selected(object: GObject.Object): boolean
8770
8751
  load_cancelled(): boolean
8771
- load_from_file(path: string | null): boolean
8752
+ load_from_file(path: string): boolean
8772
8753
  /**
8773
8754
  * Creates a new name for a widget that doesn't collide with any of the names
8774
8755
  * already in `project`. This name will start with `base_name`.
@@ -8778,7 +8759,7 @@ interface Project extends Gtk.TreeDragSource, Gtk.TreeModel {
8778
8759
  * @param base_name base name of the widget to create
8779
8760
  * @returns a string containing the new name, %NULL if there is not enough memory for this string
8780
8761
  */
8781
- new_widget_name(widget: Widget, base_name: string | null): string | null
8762
+ new_widget_name(widget: Widget, base_name: string): string | null
8782
8763
  /**
8783
8764
  * Gets the next redo item on `project'`s command stack.
8784
8765
  * @returns the #GladeCommand
@@ -8834,20 +8815,20 @@ interface Project extends Gtk.TreeDragSource, Gtk.TreeModel {
8834
8815
  * @param resource The resource basename
8835
8816
  * @returns A newly allocated string holding the full path to the resource.
8836
8817
  */
8837
- resource_fullpath(resource: string | null): string | null
8818
+ resource_fullpath(resource: string): string | null
8838
8819
  /**
8839
8820
  * Saves `project` to the given path.
8840
8821
  * @param path location to save glade file
8841
8822
  * @returns %TRUE on success, %FALSE on failure
8842
8823
  */
8843
- save(path: string | null): boolean
8824
+ save(path: string): boolean
8844
8825
  /**
8845
8826
  * Saves `project` to the given path.
8846
8827
  * @param path location to save glade file
8847
8828
  * @param flags the #GladeVerifyFlags to warn about
8848
8829
  * @returns %TRUE on success, %FALSE on failure
8849
8830
  */
8850
- save_verify(path: string | null, flags: VerifyFlags): boolean
8831
+ save_verify(path: string, flags: VerifyFlags): boolean
8851
8832
  /**
8852
8833
  * Adds `object` to the selection chain of `project`
8853
8834
  *
@@ -8889,24 +8870,24 @@ interface Project extends Gtk.TreeDragSource, Gtk.TreeModel {
8889
8870
  * Set the custom CSS provider path to use in `project`
8890
8871
  * @param path a CSS file path
8891
8872
  */
8892
- set_css_provider_path(path: string | null): void
8893
- set_license(license: string | null): void
8873
+ set_css_provider_path(path: string): void
8874
+ set_license(license: string): void
8894
8875
  set_pointer_mode(mode: PointerMode): void
8895
- set_resource_path(path: string | null): void
8896
- set_target_version(catalog: string | null, major: number, minor: number): void
8876
+ set_resource_path(path: string): void
8877
+ set_target_version(catalog: string, major: number, minor: number): void
8897
8878
  set_template(widget: Widget): void
8898
8879
  /**
8899
8880
  * Set the project translation domain.
8900
8881
  * @param domain the translation domain
8901
8882
  */
8902
- set_translation_domain(domain: string | null): void
8883
+ set_translation_domain(domain: string): void
8903
8884
  /**
8904
8885
  * Sets `name` on `widget` in `project,` if `name` is not
8905
8886
  * available then a new name will be used.
8906
8887
  * @param widget the #GladeWidget to set a name on
8907
8888
  * @param name the name to set.
8908
8889
  */
8909
- set_widget_name(widget: Widget, name: string | null): void
8890
+ set_widget_name(widget: Widget, name: string): void
8910
8891
  toplevels(): Gtk.Widget[]
8911
8892
  /**
8912
8893
  * Undoes a #GladeCommand in this project.
@@ -9108,7 +9089,7 @@ class Project extends GObject.Object {
9108
9089
  * @param path the path of the project to load
9109
9090
  * @returns a new #GladeProject for the opened project on success, %NULL on failure
9110
9091
  */
9111
- static load(path: string | null): Project | null
9092
+ static load(path: string): Project | null
9112
9093
  static verify_property(property: Property): void
9113
9094
  static verify_signal(widget: Widget, signal: Signal): void
9114
9095
  }
@@ -9140,14 +9121,11 @@ module Property {
9140
9121
 
9141
9122
  "class"?: any | null
9142
9123
  enabled?: boolean | null
9143
- i18n_comment?: string | null
9144
- i18n_context?: string | null
9145
- i18n_translatable?: boolean | null
9146
- precision?: number | null
9147
- sensitive?: boolean | null
9148
9124
  i18nComment?: string | null
9149
9125
  i18nContext?: string | null
9150
9126
  i18nTranslatable?: boolean | null
9127
+ precision?: number | null
9128
+ sensitive?: boolean | null
9151
9129
  }
9152
9130
 
9153
9131
  }
@@ -9158,11 +9136,8 @@ interface Property {
9158
9136
 
9159
9137
  readonly "class": any
9160
9138
  enabled: boolean
9161
- i18n_comment: string | null
9162
9139
  i18nComment: string | null
9163
- i18n_context: string | null
9164
9140
  i18nContext: string | null
9165
- i18n_translatable: boolean
9166
9141
  i18nTranslatable: boolean
9167
9142
  precision: number
9168
9143
  sensitive: boolean
@@ -9200,18 +9175,18 @@ interface Property {
9200
9175
  get_save_always(): boolean
9201
9176
  get_sensitive(): boolean
9202
9177
  get_state(): PropertyState
9203
- get_support_warning(): string | null
9178
+ get_support_warning(): string
9204
9179
  /**
9205
9180
  * Retrieve the property value
9206
9181
  * @param value a #GValue
9207
9182
  */
9208
9183
  get_value(value: any): void
9209
9184
  get_widget(): Widget
9210
- i18n_get_comment(): string | null
9211
- i18n_get_context(): string | null
9185
+ i18n_get_comment(): string
9186
+ i18n_get_context(): string
9212
9187
  i18n_get_translatable(): boolean
9213
- i18n_set_comment(str: string | null): void
9214
- i18n_set_context(str: string | null): void
9188
+ i18n_set_comment(str: string): void
9189
+ i18n_set_context(str: string): void
9215
9190
  i18n_set_translatable(translatable: boolean): void
9216
9191
  inline_value(): any
9217
9192
  /**
@@ -9256,8 +9231,8 @@ interface Property {
9256
9231
  * @param setting the value to set
9257
9232
  */
9258
9233
  set_save_always(setting: boolean): void
9259
- set_sensitive(sensitive: boolean, reason: string | null): void
9260
- set_support_warning(disable: boolean, reason: string | null): void
9234
+ set_sensitive(sensitive: boolean, reason: string): void
9235
+ set_support_warning(disable: boolean, reason: string): void
9261
9236
  /**
9262
9237
  * Sets the property's value
9263
9238
  * @param value a #GValue
@@ -9304,7 +9279,7 @@ interface Property {
9304
9279
  * @virtual
9305
9280
  */
9306
9281
  vfunc_sync(): void
9307
- vfunc_tooltip_changed(tooltip: string | null, insensitive_tooltip: string | null, support_warning: string | null): void
9282
+ vfunc_tooltip_changed(tooltip: string, insensitive_tooltip: string, support_warning: string): void
9308
9283
  vfunc_value_changed(old_value: any, new_value: any): void
9309
9284
 
9310
9285
  // Own signals of Gladeui-2.0.Gladeui.Property
@@ -9394,15 +9369,11 @@ module PropertyLabel {
9394
9369
 
9395
9370
  // Own constructor properties of Gladeui-2.0.Gladeui.PropertyLabel
9396
9371
 
9397
- append_colon?: boolean | null
9398
- custom_text?: string | null
9399
- custom_tooltip?: string | null
9400
- packing?: boolean | null
9401
- property?: Property | null
9402
- property_name?: string | null
9403
9372
  appendColon?: boolean | null
9404
9373
  customText?: string | null
9405
9374
  customTooltip?: string | null
9375
+ packing?: boolean | null
9376
+ property?: Property | null
9406
9377
  propertyName?: string | null
9407
9378
  }
9408
9379
 
@@ -9412,22 +9383,18 @@ interface PropertyLabel extends Atk.ImplementorIface, Editable, Gtk.Buildable {
9412
9383
 
9413
9384
  // Own properties of Gladeui-2.0.Gladeui.PropertyLabel
9414
9385
 
9415
- append_colon: boolean
9416
9386
  appendColon: boolean
9417
- custom_text: string | null
9418
9387
  customText: string | null
9419
- custom_tooltip: string | null
9420
9388
  customTooltip: string | null
9421
9389
  packing: boolean
9422
9390
  property: Property
9423
- property_name: string | null
9424
9391
  propertyName: string | null
9425
9392
 
9426
9393
  // Owm methods of Gladeui-2.0.Gladeui.PropertyLabel
9427
9394
 
9428
9395
  get_append_colon(): boolean
9429
- get_custom_text(): string | null
9430
- get_custom_tooltip(): string | null
9396
+ get_custom_text(): string
9397
+ get_custom_tooltip(): string
9431
9398
  get_packing(): boolean
9432
9399
  get_property(): Property
9433
9400
 
@@ -9453,11 +9420,11 @@ interface PropertyLabel extends Atk.ImplementorIface, Editable, Gtk.Buildable {
9453
9420
  * @param property_name the name of the property to get
9454
9421
  * @param value return location for the property value
9455
9422
  */
9456
- get_property(property_name: string | null, value: any): void
9457
- get_property_name(): string | null
9423
+ get_property(property_name: string, value: any): void
9424
+ get_property_name(): string
9458
9425
  set_append_colon(append_colon: boolean): void
9459
- set_custom_text(custom_text: string | null): void
9460
- set_custom_tooltip(custom_tooltip: string | null): void
9426
+ set_custom_text(custom_text: string): void
9427
+ set_custom_tooltip(custom_tooltip: string): void
9461
9428
  set_packing(packing: boolean): void
9462
9429
  set_property(property: Property): void
9463
9430
 
@@ -9468,8 +9435,8 @@ interface PropertyLabel extends Atk.ImplementorIface, Editable, Gtk.Buildable {
9468
9435
  * @param property_name the name of the property to set
9469
9436
  * @param value the value
9470
9437
  */
9471
- set_property(property_name: string | null, value: any): void
9472
- set_property_name(property_name: string | null): void
9438
+ set_property(property_name: string, value: any): void
9439
+ set_property_name(property_name: string): void
9473
9440
 
9474
9441
  // Conflicting methods
9475
9442
 
@@ -9483,7 +9450,7 @@ interface PropertyLabel extends Atk.ImplementorIface, Editable, Gtk.Buildable {
9483
9450
  * Also see gtk_container_child_notify().
9484
9451
  * @param child_property the name of a child property installed on the class of `widget’`s parent
9485
9452
  */
9486
- child_notify(child_property: string | null): void
9453
+ child_notify(child_property: string): void
9487
9454
  /**
9488
9455
  * Emits a #GtkWidget::child-notify signal for the
9489
9456
  * [child property][child-properties]
@@ -9495,7 +9462,7 @@ interface PropertyLabel extends Atk.ImplementorIface, Editable, Gtk.Buildable {
9495
9462
  * @param child the child widget
9496
9463
  * @param child_property the name of a child property installed on the class of `container`
9497
9464
  */
9498
- child_notify(child: Gtk.Widget, child_property: string | null): void
9465
+ child_notify(child: Gtk.Widget, child_property: string): void
9499
9466
 
9500
9467
  // Overloads of child_notify
9501
9468
 
@@ -9509,7 +9476,7 @@ interface PropertyLabel extends Atk.ImplementorIface, Editable, Gtk.Buildable {
9509
9476
  * Also see gtk_container_child_notify().
9510
9477
  * @param child_property the name of a child property installed on the class of `widget’`s parent
9511
9478
  */
9512
- child_notify(child_property: string | null): void
9479
+ child_notify(child_property: string): void
9513
9480
 
9514
9481
  // Class property signals of Gladeui-2.0.Gladeui.PropertyLabel
9515
9482
 
@@ -9709,15 +9676,10 @@ module PropertyShell {
9709
9676
 
9710
9677
  // Own constructor properties of Gladeui-2.0.Gladeui.PropertyShell
9711
9678
 
9712
- custom_text?: string | null
9713
- disable_check?: boolean | null
9714
- editor_type?: string | null
9715
- packing?: boolean | null
9716
- property_name?: string | null
9717
- use_command?: boolean | null
9718
9679
  customText?: string | null
9719
9680
  disableCheck?: boolean | null
9720
9681
  editorType?: string | null
9682
+ packing?: boolean | null
9721
9683
  propertyName?: string | null
9722
9684
  useCommand?: boolean | null
9723
9685
  }
@@ -9728,29 +9690,24 @@ interface PropertyShell extends Atk.ImplementorIface, Editable, Gtk.Buildable, G
9728
9690
 
9729
9691
  // Own properties of Gladeui-2.0.Gladeui.PropertyShell
9730
9692
 
9731
- custom_text: string | null
9732
9693
  customText: string | null
9733
- disable_check: boolean
9734
9694
  disableCheck: boolean
9735
- readonly editor_type: string | null
9736
9695
  readonly editorType: string | null
9737
9696
  packing: boolean
9738
- property_name: string | null
9739
9697
  propertyName: string | null
9740
- use_command: boolean
9741
9698
  useCommand: boolean
9742
9699
 
9743
9700
  // Owm methods of Gladeui-2.0.Gladeui.PropertyShell
9744
9701
 
9745
- get_custom_text(): string | null
9702
+ get_custom_text(): string
9746
9703
  get_disable_check(): boolean
9747
9704
  get_packing(): boolean
9748
- get_property_name(): string | null
9705
+ get_property_name(): string
9749
9706
  get_use_command(): boolean
9750
- set_custom_text(custom_text: string | null): void
9707
+ set_custom_text(custom_text: string): void
9751
9708
  set_disable_check(disable_check: boolean): void
9752
9709
  set_packing(packing: boolean): void
9753
- set_property_name(property_name: string | null): void
9710
+ set_property_name(property_name: string): void
9754
9711
  set_use_command(use_command: boolean): void
9755
9712
 
9756
9713
  // Conflicting methods
@@ -9765,7 +9722,7 @@ interface PropertyShell extends Atk.ImplementorIface, Editable, Gtk.Buildable, G
9765
9722
  * Also see gtk_container_child_notify().
9766
9723
  * @param child_property the name of a child property installed on the class of `widget’`s parent
9767
9724
  */
9768
- child_notify(child_property: string | null): void
9725
+ child_notify(child_property: string): void
9769
9726
  /**
9770
9727
  * Emits a #GtkWidget::child-notify signal for the
9771
9728
  * [child property][child-properties]
@@ -9777,7 +9734,7 @@ interface PropertyShell extends Atk.ImplementorIface, Editable, Gtk.Buildable, G
9777
9734
  * @param child the child widget
9778
9735
  * @param child_property the name of a child property installed on the class of `container`
9779
9736
  */
9780
- child_notify(child: Gtk.Widget, child_property: string | null): void
9737
+ child_notify(child: Gtk.Widget, child_property: string): void
9781
9738
 
9782
9739
  // Overloads of child_notify
9783
9740
 
@@ -9791,7 +9748,7 @@ interface PropertyShell extends Atk.ImplementorIface, Editable, Gtk.Buildable, G
9791
9748
  * Also see gtk_container_child_notify().
9792
9749
  * @param child_property the name of a child property installed on the class of `widget’`s parent
9793
9750
  */
9794
- child_notify(child_property: string | null): void
9751
+ child_notify(child_property: string): void
9795
9752
 
9796
9753
  // Own signals of Gladeui-2.0.Gladeui.PropertyShell
9797
9754
 
@@ -10004,10 +9961,9 @@ module Signal {
10004
9961
  "class"?: any | null
10005
9962
  detail?: string | null
10006
9963
  handler?: string | null
10007
- support_warning?: string | null
9964
+ supportWarning?: string | null
10008
9965
  swapped?: boolean | null
10009
9966
  userdata?: string | null
10010
- supportWarning?: string | null
10011
9967
  }
10012
9968
 
10013
9969
  }
@@ -10020,7 +9976,6 @@ interface Signal {
10020
9976
  readonly "class": any
10021
9977
  detail: string | null
10022
9978
  handler: string | null
10023
- support_warning: string | null
10024
9979
  supportWarning: string | null
10025
9980
  swapped: boolean
10026
9981
  userdata: string | null
@@ -10049,18 +10004,18 @@ interface Signal {
10049
10004
  * Get the signal detail.
10050
10005
  * @returns the detail of the signal
10051
10006
  */
10052
- get_detail(): string | null
10007
+ get_detail(): string
10053
10008
  /**
10054
10009
  * Get the signal handler.
10055
10010
  * @returns the handler of the signal
10056
10011
  */
10057
- get_handler(): string | null
10012
+ get_handler(): string
10058
10013
  /**
10059
10014
  * Get the name of the signal from the signal definition.
10060
10015
  * @returns The name of the signal
10061
10016
  */
10062
- get_name(): string | null
10063
- get_support_warning(): string | null
10017
+ get_name(): string
10018
+ get_support_warning(): string
10064
10019
  /**
10065
10020
  * Get whether the instance and userdata arguments should be swapped.
10066
10021
  * @returns whether the instance and userdata arguments should be swapped
@@ -10070,7 +10025,7 @@ interface Signal {
10070
10025
  * Get the userdata handler.
10071
10026
  * @returns the userdata of the signal
10072
10027
  */
10073
- get_userdata(): string | null
10028
+ get_userdata(): string
10074
10029
  /**
10075
10030
  * Set whether the handler should be called before or after the default handler
10076
10031
  * of the signal.
@@ -10081,13 +10036,13 @@ interface Signal {
10081
10036
  * Set the detail of the signal.
10082
10037
  * @param detail the detail of the signal
10083
10038
  */
10084
- set_detail(detail: string | null): void
10039
+ set_detail(detail: string): void
10085
10040
  /**
10086
10041
  * Set the handler of the signal.
10087
10042
  * @param handler the handler of the signal
10088
10043
  */
10089
- set_handler(handler: string | null): void
10090
- set_support_warning(support_warning: string | null): void
10044
+ set_handler(handler: string): void
10045
+ set_support_warning(support_warning: string): void
10091
10046
  /**
10092
10047
  * Set whether the instance and userdata arguments should be swapped.
10093
10048
  * @param swapped if the instance and userdata arguments should be swapped
@@ -10097,7 +10052,7 @@ interface Signal {
10097
10052
  * Set the userdata of the signal.
10098
10053
  * @param userdata the userdata of the signal
10099
10054
  */
10100
- set_userdata(userdata: string | null): void
10055
+ set_userdata(userdata: string): void
10101
10056
  /**
10102
10057
  * Writes `signal` to `node`
10103
10058
  * @param context A #GladeXmlContext
@@ -10154,7 +10109,7 @@ class Signal extends GObject.Object {
10154
10109
  * @param swapped whether the handler's user data should be swapped with the emitter instance.
10155
10110
  * @returns the new #GladeSignal
10156
10111
  */
10157
- constructor(sig_def: SignalDef, handler: string | null, userdata: string | null, after: boolean, swapped: boolean)
10112
+ constructor(sig_def: SignalDef, handler: string, userdata: string, after: boolean, swapped: boolean)
10158
10113
  /**
10159
10114
  * Creates a new #GladeSignal with the given parameters.
10160
10115
  * @constructor
@@ -10165,7 +10120,7 @@ class Signal extends GObject.Object {
10165
10120
  * @param swapped whether the handler's user data should be swapped with the emitter instance.
10166
10121
  * @returns the new #GladeSignal
10167
10122
  */
10168
- static new(sig_def: SignalDef, handler: string | null, userdata: string | null, after: boolean, swapped: boolean): Signal
10123
+ static new(sig_def: SignalDef, handler: string, userdata: string, after: boolean, swapped: boolean): Signal
10169
10124
  _init(config?: Signal.ConstructorProperties): void
10170
10125
  /**
10171
10126
  * Reads and creates a ner #GladeSignal based on `node`
@@ -10208,7 +10163,6 @@ module SignalEditor {
10208
10163
 
10209
10164
  // Own constructor properties of Gladeui-2.0.Gladeui.SignalEditor
10210
10165
 
10211
- glade_widget?: Gtk.TreeModel | null
10212
10166
  gladeWidget?: Gtk.TreeModel | null
10213
10167
  }
10214
10168
 
@@ -10218,7 +10172,6 @@ interface SignalEditor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientab
10218
10172
 
10219
10173
  // Own properties of Gladeui-2.0.Gladeui.SignalEditor
10220
10174
 
10221
- glade_widget: Gtk.TreeModel
10222
10175
  gladeWidget: Gtk.TreeModel
10223
10176
 
10224
10177
  // Own fields of Gladeui-2.0.Gladeui.SignalEditor
@@ -10256,7 +10209,7 @@ interface SignalEditor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientab
10256
10209
  * @param child the child widget
10257
10210
  * @param child_property the name of a child property installed on the class of `container`
10258
10211
  */
10259
- child_notify(child: Gtk.Widget, child_property: string | null): void
10212
+ child_notify(child: Gtk.Widget, child_property: string): void
10260
10213
 
10261
10214
  // Overloads of child_notify
10262
10215
 
@@ -10270,7 +10223,7 @@ interface SignalEditor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientab
10270
10223
  * Also see gtk_container_child_notify().
10271
10224
  * @param child_property the name of a child property installed on the class of `widget’`s parent
10272
10225
  */
10273
- child_notify(child_property: string | null): void
10226
+ child_notify(child_property: string): void
10274
10227
  /**
10275
10228
  * Emits a #GtkWidget::child-notify signal for the
10276
10229
  * [child property][child-properties] `child_property`
@@ -10281,7 +10234,7 @@ interface SignalEditor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientab
10281
10234
  * Also see gtk_container_child_notify().
10282
10235
  * @param child_property the name of a child property installed on the class of `widget’`s parent
10283
10236
  */
10284
- child_notify(child_property: string | null): void
10237
+ child_notify(child_property: string): void
10285
10238
 
10286
10239
  // Own signals of Gladeui-2.0.Gladeui.SignalEditor
10287
10240
 
@@ -10595,7 +10548,7 @@ module Widget {
10595
10548
  anarchist?: boolean | null
10596
10549
  composite?: boolean | null
10597
10550
  internal?: string | null
10598
- internal_name?: string | null
10551
+ internalName?: string | null
10599
10552
  name?: string | null
10600
10553
  object?: GObject.Object | null
10601
10554
  parent?: Widget | null
@@ -10603,10 +10556,6 @@ module Widget {
10603
10556
  properties?: any | null
10604
10557
  reason?: number | null
10605
10558
  template?: Widget | null
10606
- template_exact?: boolean | null
10607
- toplevel_height?: number | null
10608
- toplevel_width?: number | null
10609
- internalName?: string | null
10610
10559
  templateExact?: boolean | null
10611
10560
  toplevelHeight?: number | null
10612
10561
  toplevelWidth?: number | null
@@ -10622,7 +10571,6 @@ interface Widget {
10622
10571
  readonly anarchist: boolean
10623
10572
  composite: boolean
10624
10573
  internal: string | null
10625
- readonly internal_name: string | null
10626
10574
  readonly internalName: string | null
10627
10575
  name: string | null
10628
10576
  object: GObject.Object
@@ -10630,14 +10578,10 @@ interface Widget {
10630
10578
  project: Project
10631
10579
  readonly properties: any
10632
10580
  readonly reason: number
10633
- readonly support_warning: string | null
10634
10581
  readonly supportWarning: string | null
10635
10582
  readonly template: Widget
10636
- readonly template_exact: boolean
10637
10583
  readonly templateExact: boolean
10638
- toplevel_height: number
10639
10584
  toplevelHeight: number
10640
- toplevel_width: number
10641
10585
  toplevelWidth: number
10642
10586
  readonly visible: boolean
10643
10587
 
@@ -10658,7 +10602,7 @@ interface Widget {
10658
10602
  * @param reason The #GladeCreateReason for which this internal widget was created (usually just pass the reason from the post_create function; note also this is used only by the plugin code so pass something useful here).
10659
10603
  * @returns a freshly created #GladeWidget wrapper object for the @internal_object of name @internal_name
10660
10604
  */
10661
- adaptor_create_internal(internal_object: GObject.Object, internal_name: string | null, parent_name: string | null, anarchist: boolean, reason: CreateReason): Widget
10605
+ adaptor_create_internal(internal_object: GObject.Object, internal_name: string, parent_name: string, anarchist: boolean, reason: CreateReason): Widget
10662
10606
  /**
10663
10607
  * Adds `child` to `parent` in a generic way for this #GladeWidget parent.
10664
10608
  * @param child the #GladeWidget to add
@@ -10701,14 +10645,14 @@ interface Widget {
10701
10645
  * @param property_name The id of the property
10702
10646
  * @param value The `GValue`
10703
10647
  */
10704
- child_get_property(child: Widget, property_name: string | null, value: any): void
10648
+ child_get_property(child: Widget, property_name: string, value: any): void
10705
10649
  /**
10706
10650
  * Sets `child'`s packing property identified by `property_name` to `value`.
10707
10651
  * @param child The #GladeWidget child
10708
10652
  * @param property_name The id of the property
10709
10653
  * @param value The `GValue`
10710
10654
  */
10711
- child_set_property(child: Widget, property_name: string | null, value: any): void
10655
+ child_set_property(child: Widget, property_name: string, value: any): void
10712
10656
  /**
10713
10657
  * Sets properties in `widget` based on the values of
10714
10658
  * matching properties in `template_widget`
@@ -10731,7 +10675,7 @@ interface Widget {
10731
10675
  * @param use_command Whether the undo/redo stack applies here.
10732
10676
  * @returns A newly created and connected GladeEditorProperty
10733
10677
  */
10734
- create_editor_property(property: string | null, packing: boolean, use_command: boolean): EditorProperty
10678
+ create_editor_property(property: string, packing: boolean, use_command: boolean): EditorProperty
10735
10679
  /**
10736
10680
  * Determines whether `widget` is somehow dependent on `other,` in
10737
10681
  * which case it should be serialized after `other`.
@@ -10774,7 +10718,7 @@ interface Widget {
10774
10718
  * @param name child name
10775
10719
  * @returns The child of widget or %NULL if it was not found.
10776
10720
  */
10777
- find_child(name: string | null): Widget | null
10721
+ find_child(name: string): Widget | null
10778
10722
  /**
10779
10723
  * Creates a user friendly name to describe project widgets
10780
10724
  * @returns A newly allocated string
@@ -10785,7 +10729,7 @@ interface Widget {
10785
10729
  * @param action_path a full action path including groups
10786
10730
  * @returns the action or %NULL if not found.
10787
10731
  */
10788
- get_action(action_path: string | null): WidgetAction | null
10732
+ get_action(action_path: string): WidgetAction | null
10789
10733
  get_actions(): WidgetAction[]
10790
10734
  get_adaptor(): WidgetAdaptor
10791
10735
  /**
@@ -10793,8 +10737,8 @@ interface Widget {
10793
10737
  * @returns The children of widget <note><para>This differs from a direct call to glade_widget_adaptor_get_children() as it only returns children which have an associated GladeWidget. This function will not return any placeholders or internal composite children that have not been exposed for Glade configuration</para></note>
10794
10738
  */
10795
10739
  get_children(): GObject.Object[]
10796
- get_display_name(): string | null
10797
- get_internal(): string | null
10740
+ get_display_name(): string
10741
+ get_internal(): string
10798
10742
  /**
10799
10743
  * Checks if `widget` is a composite template to be used
10800
10744
  * with gtk_widget_class_set_template().
@@ -10807,23 +10751,23 @@ interface Widget {
10807
10751
  * @returns a #GladeWidget or %NULL if none is locked
10808
10752
  */
10809
10753
  get_locker(): Widget | null
10810
- get_name(): string | null
10754
+ get_name(): string
10811
10755
  get_object(): GObject.Object
10812
10756
  /**
10813
10757
  * Returns a #GladeWidgetAction object indentified by `action_path`.
10814
10758
  * @param action_path a full action path including groups
10815
10759
  * @returns the action or %NULL if not found.
10816
10760
  */
10817
- get_pack_action(action_path: string | null): WidgetAction | null
10761
+ get_pack_action(action_path: string): WidgetAction | null
10818
10762
  get_pack_actions(): WidgetAction[]
10819
- get_pack_property(id_property: string | null): Property | null
10763
+ get_pack_property(id_property: string): Property | null
10820
10764
  get_packing_properties(): Property[]
10821
10765
  get_parent(): Widget
10822
10766
  get_parentless_reffed_widgets(): Property[]
10823
10767
  get_parentless_widget_ref(): Property
10824
10768
  get_project(): Project
10825
10769
  get_properties(): Property[]
10826
- get_property(id_property: string | null): Property | null
10770
+ get_property(id_property: string): Property | null
10827
10771
 
10828
10772
  // Overloads of get_property
10829
10773
 
@@ -10847,7 +10791,7 @@ interface Widget {
10847
10791
  * @param property_name the name of the property to get
10848
10792
  * @param value return location for the property value
10849
10793
  */
10850
- get_property(property_name: string | null, value: any): void
10794
+ get_property(property_name: string, value: any): void
10851
10795
  /**
10852
10796
  * Compiles a list of #GladeSignal elements
10853
10797
  * @returns a newly allocated #GList of #GladeSignal, the caller must call g_list_free() to free the list.
@@ -10872,7 +10816,7 @@ interface Widget {
10872
10816
  is_ancestor(ancestor: Widget): boolean
10873
10817
  list_locked_widgets(): Widget[]
10874
10818
  list_prop_refs(): Property[]
10875
- list_signal_handlers(signal_name: string | null): Signal[]
10819
+ list_signal_handlers(signal_name: string): Signal[]
10876
10820
  /**
10877
10821
  * Sets `locked` to be in a locked up state
10878
10822
  * spoken for by `widget,` locked widgets cannot
@@ -10886,21 +10830,21 @@ interface Widget {
10886
10830
  * @param property_name The property identifier
10887
10831
  * @param value The #GValue
10888
10832
  */
10889
- object_get_property(property_name: string | null, value: any): void
10833
+ object_get_property(property_name: string, value: any): void
10890
10834
  /**
10891
10835
  * This function applies `value` to the property `property_name` on
10892
10836
  * the runtime object of `widget`.
10893
10837
  * @param property_name The property identifier
10894
10838
  * @param value The #GValue
10895
10839
  */
10896
- object_set_property(property_name: string | null, value: any): void
10897
- pack_property_default(id_property: string | null): boolean
10840
+ object_set_property(property_name: string, value: any): void
10841
+ pack_property_default(id_property: string): boolean
10898
10842
  /**
10899
10843
  * Resets `id_property` in `widget'`s packing properties to it's default value
10900
10844
  * @param id_property a string naming a #GladeProperty
10901
10845
  * @returns whether @id_property was found or not.
10902
10846
  */
10903
- pack_property_reset(id_property: string | null): boolean
10847
+ pack_property_reset(id_property: string): boolean
10904
10848
  /**
10905
10849
  * Sets the enabled state of `id_property` in `widget'`s packing
10906
10850
  * properties; this is used for optional properties.
@@ -10908,7 +10852,7 @@ interface Widget {
10908
10852
  * @param enabled setting enabled or disabled
10909
10853
  * @returns whether @id_property was found or not.
10910
10854
  */
10911
- pack_property_set_enabled(id_property: string | null, enabled: boolean): boolean
10855
+ pack_property_set_enabled(id_property: string, enabled: boolean): boolean
10912
10856
  /**
10913
10857
  * Sets whether `id_property` in `widget` should be special cased
10914
10858
  * to always be saved regardless of its default value.
@@ -10919,7 +10863,7 @@ interface Widget {
10919
10863
  * @param setting the setting
10920
10864
  * @returns whether @id_property was found or not.
10921
10865
  */
10922
- pack_property_set_save_always(id_property: string | null, setting: boolean): boolean
10866
+ pack_property_set_save_always(id_property: string, setting: boolean): boolean
10923
10867
  /**
10924
10868
  * Sets the sensitivity of `id_property` in `widget'`s packing properties.
10925
10869
  * @param id_property a string naming a #GladeProperty
@@ -10927,7 +10871,7 @@ interface Widget {
10927
10871
  * @param reason a description of why the user cant edit this property which will be used as a tooltip
10928
10872
  * @returns whether @id_property was found or not.
10929
10873
  */
10930
- pack_property_set_sensitive(id_property: string | null, sensitive: boolean, reason: string | null): boolean
10874
+ pack_property_set_sensitive(id_property: string, sensitive: boolean, reason: string): boolean
10931
10875
  /**
10932
10876
  * Same as glade_widget_property_string() but for packing
10933
10877
  * properties.
@@ -10935,7 +10879,7 @@ interface Widget {
10935
10879
  * @param value the #GValue to print or %NULL
10936
10880
  * @returns A newly allocated string representing @id_property
10937
10881
  */
10938
- pack_property_string(id_property: string | null, value: any): string | null
10882
+ pack_property_string(id_property: string, value: any): string | null
10939
10883
  /**
10940
10884
  * Returns whether placeholders should be used
10941
10885
  * in operations concerning this parent & child.
@@ -10947,14 +10891,14 @@ interface Widget {
10947
10891
  * @returns whether to use placeholders for this relationship.
10948
10892
  */
10949
10893
  placeholder_relation(widget: Widget): boolean
10950
- property_default(id_property: string | null): boolean
10951
- property_original_default(id_property: string | null): boolean
10894
+ property_default(id_property: string): boolean
10895
+ property_original_default(id_property: string): boolean
10952
10896
  /**
10953
10897
  * Resets `id_property` in `widget` to it's default value
10954
10898
  * @param id_property a string naming a #GladeProperty
10955
10899
  * @returns whether @id_property was found or not.
10956
10900
  */
10957
- property_reset(id_property: string | null): boolean
10901
+ property_reset(id_property: string): boolean
10958
10902
  /**
10959
10903
  * Sets the enabled state of `id_property` in `widget;` this is
10960
10904
  * used for optional properties.
@@ -10962,7 +10906,7 @@ interface Widget {
10962
10906
  * @param enabled setting enabled or disabled
10963
10907
  * @returns whether @id_property was found or not.
10964
10908
  */
10965
- property_set_enabled(id_property: string | null, enabled: boolean): boolean
10909
+ property_set_enabled(id_property: string, enabled: boolean): boolean
10966
10910
  /**
10967
10911
  * Sets whether `id_property` in `widget` should be special cased
10968
10912
  * to always be saved regardless of its default value.
@@ -10973,7 +10917,7 @@ interface Widget {
10973
10917
  * @param setting the setting
10974
10918
  * @returns whether @id_property was found or not.
10975
10919
  */
10976
- property_set_save_always(id_property: string | null, setting: boolean): boolean
10920
+ property_set_save_always(id_property: string, setting: boolean): boolean
10977
10921
  /**
10978
10922
  * Sets the sensitivity of `id_property` in `widget`
10979
10923
  * @param id_property a string naming a #GladeProperty
@@ -10981,7 +10925,7 @@ interface Widget {
10981
10925
  * @param reason a description of why the user cant edit this property which will be used as a tooltip
10982
10926
  * @returns whether @id_property was found or not.
10983
10927
  */
10984
- property_set_sensitive(id_property: string | null, sensitive: boolean, reason: string | null): boolean
10928
+ property_set_sensitive(id_property: string, sensitive: boolean, reason: string): boolean
10985
10929
  /**
10986
10930
  * Creates a printable string representing `id_property` in
10987
10931
  * `widget,` if `value` is specified it will be used in place
@@ -10992,7 +10936,7 @@ interface Widget {
10992
10936
  * @param value the #GValue to print or %NULL
10993
10937
  * @returns A newly allocated string representing @id_property
10994
10938
  */
10995
- property_string(id_property: string | null, value: any): string | null
10939
+ property_string(id_property: string, value: any): string | null
10996
10940
  /**
10997
10941
  * Reads in a child widget from the xml (handles 'child' tag)
10998
10942
  * @param node a #GladeXmlNode
@@ -11026,7 +10970,7 @@ interface Widget {
11026
10970
  * style properties).
11027
10971
  * @param id_property the name of the property
11028
10972
  */
11029
- remove_property(id_property: string | null): void
10973
+ remove_property(id_property: string): void
11030
10974
  /**
11031
10975
  * Removes a signal handler from `widget`
11032
10976
  * @param signal_handler The #GladeSignal
@@ -11047,21 +10991,21 @@ interface Widget {
11047
10991
  * @param sensitive setting sensitive or insensitive
11048
10992
  * @returns whether @action_path was found or not.
11049
10993
  */
11050
- set_action_sensitive(action_path: string | null, sensitive: boolean): boolean
10994
+ set_action_sensitive(action_path: string, sensitive: boolean): boolean
11051
10995
  /**
11052
10996
  * Sets the visibility of `action_path` in `widget`
11053
10997
  * @param action_path a full action path including groups
11054
10998
  * @param visible setting visible or invisible
11055
10999
  * @returns whether @action_path was found or not.
11056
11000
  */
11057
- set_action_visible(action_path: string | null, visible: boolean): boolean
11001
+ set_action_visible(action_path: string, visible: boolean): boolean
11058
11002
  set_child_type_from_node(child: GObject.Object, node: XmlNode): void
11059
11003
  set_in_project(in_project: boolean): void
11060
11004
  /**
11061
11005
  * Sets the internal name of `widget` to `internal`
11062
11006
  * @param internal The internal name
11063
11007
  */
11064
- set_internal(internal: string | null): void
11008
+ set_internal(internal: string): void
11065
11009
  /**
11066
11010
  * Set's this widget to be toplevel composite object to be
11067
11011
  * eventually used with gtk_widget_class_set_template()
@@ -11074,21 +11018,21 @@ interface Widget {
11074
11018
  * Sets `widget'`s name to `name`.
11075
11019
  * @param name a string
11076
11020
  */
11077
- set_name(name: string | null): void
11021
+ set_name(name: string): void
11078
11022
  /**
11079
11023
  * Sets the sensitivity of `action_path` in `widget`
11080
11024
  * @param action_path a full action path including groups
11081
11025
  * @param sensitive setting sensitive or insensitive
11082
11026
  * @returns whether @action_path was found or not.
11083
11027
  */
11084
- set_pack_action_sensitive(action_path: string | null, sensitive: boolean): boolean
11028
+ set_pack_action_sensitive(action_path: string, sensitive: boolean): boolean
11085
11029
  /**
11086
11030
  * Sets the visibility of `action_path` in `widget`
11087
11031
  * @param action_path a full action path including groups
11088
11032
  * @param visible setting visible or invisible
11089
11033
  * @returns whether @action_path was found or not.
11090
11034
  */
11091
- set_pack_action_visible(action_path: string | null, visible: boolean): boolean
11035
+ set_pack_action_visible(action_path: string, visible: boolean): boolean
11092
11036
  /**
11093
11037
  * Generates the packing_properties list of the widget, given
11094
11038
  * the class of the container we are adding the widget to.
@@ -11107,7 +11051,7 @@ interface Widget {
11107
11051
  * @param project a #GladeProject
11108
11052
  */
11109
11053
  set_project(project: Project): void
11110
- set_support_warning(warning: string | null): void
11054
+ set_support_warning(warning: string): void
11111
11055
  /**
11112
11056
  * Display `widget` in it's project's GladeDesignView
11113
11057
  */
@@ -11116,6 +11060,7 @@ interface Widget {
11116
11060
  * Notifies that support metadata has changed on the widget.
11117
11061
  */
11118
11062
  support_changed(): void
11063
+ support_warning(): string
11119
11064
  /**
11120
11065
  * Unlocks `widget` so that it can be removed
11121
11066
  * from the project again
@@ -11413,16 +11358,13 @@ module WidgetAdaptor {
11413
11358
 
11414
11359
  book?: string | null
11415
11360
  catalog?: string | null
11416
- generic_name?: string | null
11417
- icon_name?: string | null
11361
+ genericName?: string | null
11362
+ iconName?: string | null
11418
11363
  name?: string | null
11419
11364
  query?: boolean | null
11420
- special_child_type?: string | null
11365
+ specialChildType?: string | null
11421
11366
  title?: string | null
11422
11367
  type?: GObject.GType | null
11423
- genericName?: string | null
11424
- iconName?: string | null
11425
- specialChildType?: string | null
11426
11368
  }
11427
11369
 
11428
11370
  }
@@ -11434,13 +11376,10 @@ interface WidgetAdaptor {
11434
11376
  readonly book: string | null
11435
11377
  readonly catalog: string | null
11436
11378
  readonly cursor: any
11437
- readonly generic_name: string | null
11438
11379
  readonly genericName: string | null
11439
- readonly icon_name: string | null
11440
11380
  readonly iconName: string | null
11441
11381
  readonly name: string | null
11442
11382
  query: boolean
11443
- readonly special_child_type: string | null
11444
11383
  readonly specialChildType: string | null
11445
11384
  title: string | null
11446
11385
  readonly type: GObject.GType
@@ -11456,7 +11395,7 @@ interface WidgetAdaptor {
11456
11395
  * @param object The #GObject
11457
11396
  * @param action_path The action identifier in the action tree
11458
11397
  */
11459
- action_activate(object: GObject.Object, action_path: string | null): void
11398
+ action_activate(object: GObject.Object, action_path: string): void
11460
11399
  /**
11461
11400
  * Add an action to `adaptor`.
11462
11401
  * If the action is present then it overrides label and stock
@@ -11466,13 +11405,13 @@ interface WidgetAdaptor {
11466
11405
  * @param important if this action is important.
11467
11406
  * @returns whether or not the action was added/updated.
11468
11407
  */
11469
- action_add(action_path: string | null, label: string | null, stock: string | null, important: boolean): boolean
11408
+ action_add(action_path: string, label: string, stock: string, important: boolean): boolean
11470
11409
  /**
11471
11410
  * Remove an `adaptor'`s action.
11472
11411
  * @param action_path The identifier of this action in the action tree
11473
11412
  * @returns whether or not the action was removed.
11474
11413
  */
11475
- action_remove(action_path: string | null): boolean
11414
+ action_remove(action_path: string): boolean
11476
11415
  /**
11477
11416
  * This delegate function is used to create dynamically customized
11478
11417
  * submenus. Called only for actions that don't have children.
@@ -11480,7 +11419,7 @@ interface WidgetAdaptor {
11480
11419
  * @param action_path The action identifier in the action tree
11481
11420
  * @returns A newly created #GtkMenu or %NULL
11482
11421
  */
11483
- action_submenu(object: GObject.Object, action_path: string | null): Gtk.Widget | null
11422
+ action_submenu(object: GObject.Object, action_path: string): Gtk.Widget | null
11484
11423
  /**
11485
11424
  * Create a list of actions.
11486
11425
  * @returns a new list of GladeWidgetAction.
@@ -11510,7 +11449,7 @@ interface WidgetAdaptor {
11510
11449
  * @param object The #GObject
11511
11450
  * @param action_path The action identifier in the action tree
11512
11451
  */
11513
- child_action_activate(container: GObject.Object, object: GObject.Object, action_path: string | null): void
11452
+ child_action_activate(container: GObject.Object, object: GObject.Object, action_path: string): void
11514
11453
  /**
11515
11454
  * Gets `child'`s packing property identified by `property_name`.
11516
11455
  * @param container The #GObject container
@@ -11518,7 +11457,7 @@ interface WidgetAdaptor {
11518
11457
  * @param property_name The id of the property
11519
11458
  * @param value The `GValue`
11520
11459
  */
11521
- child_get_property(container: GObject.Object, child: GObject.Object, property_name: string | null, value: any): void
11460
+ child_get_property(container: GObject.Object, child: GObject.Object, property_name: string, value: any): void
11522
11461
  /**
11523
11462
  * Sets `child'`s packing property identified by `property_name` to `value`.
11524
11463
  * @param container The #GObject container
@@ -11526,7 +11465,7 @@ interface WidgetAdaptor {
11526
11465
  * @param property_name The id of the property
11527
11466
  * @param value The `GValue`
11528
11467
  */
11529
- child_set_property(container: GObject.Object, child: GObject.Object, property_name: string | null, value: any): void
11468
+ child_set_property(container: GObject.Object, child: GObject.Object, property_name: string, value: any): void
11530
11469
  /**
11531
11470
  * This delegate function is always called whenever setting any
11532
11471
  * properties with the exception of load time, and copy/paste time
@@ -11539,7 +11478,7 @@ interface WidgetAdaptor {
11539
11478
  * @param value The `GValue`
11540
11479
  * @returns whether or not its OK to set @value on @object, this function will silently return TRUE if the class did not provide a verify function.
11541
11480
  */
11542
- child_verify_property(container: GObject.Object, child: GObject.Object, property_name: string | null, value: any): boolean
11481
+ child_verify_property(container: GObject.Object, child: GObject.Object, property_name: string, value: any): boolean
11543
11482
  /**
11544
11483
  * This function is called to construct a GObject instance for
11545
11484
  * a #GladeWidget of the said `adaptor`. (provided for language
@@ -11571,7 +11510,7 @@ interface WidgetAdaptor {
11571
11510
  * @param use_command whether to use the GladeCommand interface to commit property changes
11572
11511
  * @returns A newly created #GladeEditorProperty
11573
11512
  */
11574
- create_eprop_by_name(property_id: string | null, packing: boolean, use_command: boolean): EditorProperty
11513
+ create_eprop_by_name(property_id: string, packing: boolean, use_command: boolean): EditorProperty
11575
11514
  default_params(construct: boolean): GObject.Parameter[]
11576
11515
  /**
11577
11516
  * Checks whether `widget` depends on `another` to be placed earlier in
@@ -11594,33 +11533,33 @@ interface WidgetAdaptor {
11594
11533
  * @returns the closest #GladeWidgetAdaptor in the ancestry to @adaptor which is responsable for introducing @pspec.
11595
11534
  */
11596
11535
  from_pspec(pspec: GObject.ParamSpec): WidgetAdaptor
11597
- get_book(): string | null
11598
- get_catalog(): string | null
11536
+ get_book(): string
11537
+ get_catalog(): string
11599
11538
  /**
11600
11539
  * Lists the children of `container`.
11601
11540
  * @param container The #GObject container
11602
11541
  * @returns A #GList of children
11603
11542
  */
11604
11543
  get_children(container: GObject.Object): GObject.Object[]
11605
- get_display_name(): string | null
11606
- get_generic_name(): string | null
11607
- get_icon_name(): string | null
11544
+ get_display_name(): string
11545
+ get_generic_name(): string
11546
+ get_icon_name(): string
11608
11547
  /**
11609
11548
  * Retrieves the internal object `internal_name` from `object`
11610
11549
  * @param object The #GObject
11611
11550
  * @param internal_name The string identifier of the internal object
11612
11551
  * @returns The internal #GObject
11613
11552
  */
11614
- get_internal_child(object: GObject.Object, internal_name: string | null): GObject.Object | null
11615
- get_missing_icon(): string | null
11616
- get_name(): string | null
11553
+ get_internal_child(object: GObject.Object, internal_name: string): GObject.Object | null
11554
+ get_missing_icon(): string
11555
+ get_name(): string
11617
11556
  get_object_type(): GObject.GType
11618
11557
  /**
11619
11558
  * Retrieves the #GladePropertyDef for `name` in `adaptor'`s child properties
11620
11559
  * @param name a string
11621
11560
  * @returns A #GladePropertyDef object
11622
11561
  */
11623
- get_pack_property_def(name: string | null): PropertyDef | null
11562
+ get_pack_property_def(name: string): PropertyDef | null
11624
11563
  /**
11625
11564
  * Gets the default value for `property_id` on a widget governed by
11626
11565
  * `child_adaptor` when parented in a widget governed by `parent_adaptor`
@@ -11628,7 +11567,7 @@ interface WidgetAdaptor {
11628
11567
  * @param id The string property identifier
11629
11568
  * @returns a string representing the default value for @property_id
11630
11569
  */
11631
- get_packing_default(container_adaptor: WidgetAdaptor, id: string | null): string | null
11570
+ get_packing_default(container_adaptor: WidgetAdaptor, id: string): string
11632
11571
  get_packing_props(): PropertyDef[]
11633
11572
  get_parent_adaptor(): WidgetAdaptor
11634
11573
  get_properties(): PropertyDef[]
@@ -11638,7 +11577,7 @@ interface WidgetAdaptor {
11638
11577
  * @param property_name The property identifier
11639
11578
  * @param value The #GValue
11640
11579
  */
11641
- get_property(object: GObject.Object, property_name: string | null, value: any): void
11580
+ get_property(object: GObject.Object, property_name: string, value: any): void
11642
11581
 
11643
11582
  // Overloads of get_property
11644
11583
 
@@ -11662,21 +11601,21 @@ interface WidgetAdaptor {
11662
11601
  * @param property_name the name of the property to get
11663
11602
  * @param value return location for the property value
11664
11603
  */
11665
- get_property(property_name: string | null, value: any): void
11604
+ get_property(property_name: string, value: any): void
11666
11605
  /**
11667
11606
  * Retrieves the #GladePropertyDef for `name` in `adaptor`
11668
11607
  * @param name a string
11669
11608
  * @returns A #GladePropertyDef object
11670
11609
  */
11671
- get_property_def(name: string | null): PropertyDef | null
11610
+ get_property_def(name: string): PropertyDef | null
11672
11611
  /**
11673
11612
  * Looks up signal class `name` on `adaptor`.
11674
11613
  * @param name the name of the signal class.
11675
11614
  * @returns a #GladeSignalDef or %NULL
11676
11615
  */
11677
- get_signal_def(name: string | null): SignalDef | null
11616
+ get_signal_def(name: string): SignalDef | null
11678
11617
  get_signals(): SignalDef[]
11679
- get_title(): string | null
11618
+ get_title(): string
11680
11619
  /**
11681
11620
  * Get the _get_type () function name if it is set, a %NULL value means that the
11682
11621
  * default heuristic for getting the GType is enough for both Glade and GtkBuilder.
@@ -11700,13 +11639,13 @@ interface WidgetAdaptor {
11700
11639
  * @param important if this action is important.
11701
11640
  * @returns whether or not the action was added/updated.
11702
11641
  */
11703
- pack_action_add(action_path: string | null, label: string | null, stock: string | null, important: boolean): boolean
11642
+ pack_action_add(action_path: string, label: string, stock: string, important: boolean): boolean
11704
11643
  /**
11705
11644
  * Remove an `adaptor'`s packing action.
11706
11645
  * @param action_path The identifier of this action in the action tree
11707
11646
  * @returns whether or not the action was removed.
11708
11647
  */
11709
- pack_action_remove(action_path: string | null): boolean
11648
+ pack_action_remove(action_path: string): boolean
11710
11649
  /**
11711
11650
  * Create a list of packing actions.
11712
11651
  * @returns a new list of GladeWidgetAction.
@@ -11760,7 +11699,7 @@ interface WidgetAdaptor {
11760
11699
  * @param property_name The property identifier
11761
11700
  * @param value The #GValue
11762
11701
  */
11763
- set_property(object: GObject.Object, property_name: string | null, value: any): void
11702
+ set_property(object: GObject.Object, property_name: string, value: any): void
11764
11703
 
11765
11704
  // Overloads of set_property
11766
11705
 
@@ -11769,7 +11708,7 @@ interface WidgetAdaptor {
11769
11708
  * @param property_name the name of the property to set
11770
11709
  * @param value the value
11771
11710
  */
11772
- set_property(property_name: string | null, value: any): void
11711
+ set_property(property_name: string, value: any): void
11773
11712
  /**
11774
11713
  * For normal properties this is used to serialize
11775
11714
  * property values, for custom properties its still
@@ -11790,7 +11729,7 @@ interface WidgetAdaptor {
11790
11729
  * @param value The #GValue
11791
11730
  * @returns whether or not its OK to set @value on @object, this function will silently return TRUE if the class did not provide a verify function.
11792
11731
  */
11793
- verify_property(object: GObject.Object, property_name: string | null, value: any): boolean
11732
+ verify_property(object: GObject.Object, property_name: string, value: any): boolean
11794
11733
  /**
11795
11734
  * This function is called to write the child `widget` to `node`
11796
11735
  * when writing xml files (takes care of packing and recurses
@@ -11825,7 +11764,7 @@ interface WidgetAdaptor {
11825
11764
  * @param object The #GObject
11826
11765
  * @param action_path The action identifier in the action tree
11827
11766
  */
11828
- vfunc_action_activate(object: GObject.Object, action_path: string | null): void
11767
+ vfunc_action_activate(object: GObject.Object, action_path: string): void
11829
11768
  /**
11830
11769
  * This delegate function is used to create dynamically customized
11831
11770
  * submenus. Called only for actions that don't have children.
@@ -11834,7 +11773,7 @@ interface WidgetAdaptor {
11834
11773
  * @param action_path The action identifier in the action tree
11835
11774
  * @returns A newly created #GtkMenu or %NULL
11836
11775
  */
11837
- vfunc_action_submenu(object: GObject.Object, action_path: string | null): Gtk.Widget | null
11776
+ vfunc_action_submenu(object: GObject.Object, action_path: string): Gtk.Widget | null
11838
11777
  /**
11839
11778
  * Adds `child` to `container`.
11840
11779
  * @virtual
@@ -11862,7 +11801,7 @@ interface WidgetAdaptor {
11862
11801
  * @param object The #GObject
11863
11802
  * @param action_path The action identifier in the action tree
11864
11803
  */
11865
- vfunc_child_action_activate(container: GObject.Object, object: GObject.Object, action_path: string | null): void
11804
+ vfunc_child_action_activate(container: GObject.Object, object: GObject.Object, action_path: string): void
11866
11805
  /**
11867
11806
  * Gets `child'`s packing property identified by `property_name`.
11868
11807
  * @virtual
@@ -11871,7 +11810,7 @@ interface WidgetAdaptor {
11871
11810
  * @param property_name The id of the property
11872
11811
  * @param value The `GValue`
11873
11812
  */
11874
- vfunc_child_get_property(container: GObject.Object, child: GObject.Object, property_name: string | null, value: any): void
11813
+ vfunc_child_get_property(container: GObject.Object, child: GObject.Object, property_name: string, value: any): void
11875
11814
  /**
11876
11815
  * Sets `child'`s packing property identified by `property_name` to `value`.
11877
11816
  * @virtual
@@ -11880,7 +11819,7 @@ interface WidgetAdaptor {
11880
11819
  * @param property_name The id of the property
11881
11820
  * @param value The `GValue`
11882
11821
  */
11883
- vfunc_child_set_property(container: GObject.Object, child: GObject.Object, property_name: string | null, value: any): void
11822
+ vfunc_child_set_property(container: GObject.Object, child: GObject.Object, property_name: string, value: any): void
11884
11823
  /**
11885
11824
  * This delegate function is always called whenever setting any
11886
11825
  * properties with the exception of load time, and copy/paste time
@@ -11894,7 +11833,7 @@ interface WidgetAdaptor {
11894
11833
  * @param value The `GValue`
11895
11834
  * @returns whether or not its OK to set @value on @object, this function will silently return TRUE if the class did not provide a verify function.
11896
11835
  */
11897
- vfunc_child_verify_property(container: GObject.Object, child: GObject.Object, property_name: string | null, value: any): boolean
11836
+ vfunc_child_verify_property(container: GObject.Object, child: GObject.Object, property_name: string, value: any): boolean
11898
11837
  /**
11899
11838
  * This function is called to construct a GObject instance for
11900
11839
  * a #GladeWidget of the said `adaptor`. (provided for language
@@ -11952,7 +11891,7 @@ interface WidgetAdaptor {
11952
11891
  * @param internal_name The string identifier of the internal object
11953
11892
  * @returns The internal #GObject
11954
11893
  */
11955
- vfunc_get_internal_child(object: GObject.Object, internal_name: string | null): GObject.Object | null
11894
+ vfunc_get_internal_child(object: GObject.Object, internal_name: string): GObject.Object | null
11956
11895
  /**
11957
11896
  * Gets `value` of `property_name` on `object`.
11958
11897
  * @virtual
@@ -11960,7 +11899,7 @@ interface WidgetAdaptor {
11960
11899
  * @param property_name The property identifier
11961
11900
  * @param value The #GValue
11962
11901
  */
11963
- vfunc_get_property(object: GObject.Object, property_name: string | null, value: any): void
11902
+ vfunc_get_property(object: GObject.Object, property_name: string, value: any): void
11964
11903
 
11965
11904
  // Overloads of vfunc_get_property
11966
11905
 
@@ -12014,7 +11953,7 @@ interface WidgetAdaptor {
12014
11953
  * @param property_name The property identifier
12015
11954
  * @param value The #GValue
12016
11955
  */
12017
- vfunc_set_property(object: GObject.Object, property_name: string | null, value: any): void
11956
+ vfunc_set_property(object: GObject.Object, property_name: string, value: any): void
12018
11957
 
12019
11958
  // Overloads of vfunc_set_property
12020
11959
 
@@ -12041,7 +11980,7 @@ interface WidgetAdaptor {
12041
11980
  * @param value The #GValue
12042
11981
  * @returns whether or not its OK to set @value on @object, this function will silently return TRUE if the class did not provide a verify function.
12043
11982
  */
12044
- vfunc_verify_property(object: GObject.Object, property_name: string | null, value: any): boolean
11983
+ vfunc_verify_property(object: GObject.Object, property_name: string, value: any): boolean
12045
11984
  /**
12046
11985
  * This function is called to write the child `widget` to `node`
12047
11986
  * when writing xml files (takes care of packing and recurses
@@ -12131,7 +12070,7 @@ class WidgetAdaptor extends GObject.Object {
12131
12070
  * @returns a newly allocated #GladeWidgetAdaptor
12132
12071
  */
12133
12072
  static from_catalog(catalog: Catalog, class_node: XmlNode, module: GModule.Module): WidgetAdaptor
12134
- static get_by_name(name: string | null): WidgetAdaptor | null
12073
+ static get_by_name(name: string): WidgetAdaptor | null
12135
12074
  static get_by_type(type: GObject.GType): WidgetAdaptor | null
12136
12075
  /**
12137
12076
  * Compiles a list of all registered adaptors.
@@ -12194,13 +12133,13 @@ interface Catalog {
12194
12133
  // Owm methods of Gladeui-2.0.Gladeui.Catalog
12195
12134
 
12196
12135
  get_adaptors(): WidgetAdaptor[]
12197
- get_book(): string | null
12198
- get_domain(): string | null
12199
- get_icon_prefix(): string | null
12136
+ get_book(): string
12137
+ get_domain(): string
12138
+ get_icon_prefix(): string
12200
12139
  get_major_version(): number
12201
12140
  get_minor_version(): number
12202
- get_name(): string | null
12203
- get_prefix(): string | null
12141
+ get_name(): string
12142
+ get_prefix(): string
12204
12143
  get_targets(): TargetableVersion[]
12205
12144
  get_widget_groups(): WidgetGroup[]
12206
12145
  }
@@ -12217,13 +12156,13 @@ class Catalog {
12217
12156
  * Adds a new path to the list of path to look catalogs for.
12218
12157
  * @param path the new path containing catalogs
12219
12158
  */
12220
- static add_path(path: string | null): void
12159
+ static add_path(path: string): void
12221
12160
  /**
12222
12161
  * Destroy and free all resources related with every loaded catalog.
12223
12162
  */
12224
12163
  static destroy_all(): void
12225
12164
  static get_extra_paths(): string[]
12226
- static is_loaded(name: string | null): boolean
12165
+ static is_loaded(name: string): boolean
12227
12166
  /**
12228
12167
  * Loads all available catalogs in the system.
12229
12168
  * First loads catalogs from GLADE_ENV_CATALOG_PATH,
@@ -12245,7 +12184,7 @@ interface CellRendererIconClass {
12245
12184
  // Own fields of Gladeui-2.0.Gladeui.CellRendererIconClass
12246
12185
 
12247
12186
  parent_class: Gtk.CellRendererPixbufClass
12248
- activate: (cell_renderer_icon: CellRendererIcon, path: string | null) => void
12187
+ activate: (cell_renderer_icon: CellRendererIcon, path: string) => void
12249
12188
  }
12250
12189
 
12251
12190
  abstract class CellRendererIconClass {
@@ -12508,12 +12447,12 @@ interface NameContext {
12508
12447
 
12509
12448
  // Owm methods of Gladeui-2.0.Gladeui.NameContext
12510
12449
 
12511
- add_name(name: string | null): boolean
12450
+ add_name(name: string): boolean
12512
12451
  destroy(): void
12513
- has_name(name: string | null): boolean
12452
+ has_name(name: string): boolean
12514
12453
  n_names(): number
12515
- new_name(base_name: string | null): string | null
12516
- release_name(name: string | null): void
12454
+ new_name(base_name: string): string | null
12455
+ release_name(name: string): void
12517
12456
  }
12518
12457
 
12519
12458
  class NameContext {
@@ -12668,7 +12607,7 @@ interface PropertyClass {
12668
12607
  sync: (property: Property) => void
12669
12608
  load: (property: Property) => void
12670
12609
  value_changed: (property: Property, old_value: any, new_value: any) => void
12671
- tooltip_changed: (property: Property, tooltip: string | null, insensitive_tooltip: string | null, support_warning: string | null) => void
12610
+ tooltip_changed: (property: Property, tooltip: string, insensitive_tooltip: string, support_warning: string) => void
12672
12611
  glade_reserved1: () => void
12673
12612
  glade_reserved2: () => void
12674
12613
  glade_reserved3: () => void
@@ -12698,7 +12637,7 @@ interface PropertyDef {
12698
12637
  * @returns -1, 0 or +1, if value1 is found to be less than, equal to or greater than value2, respectively.
12699
12638
  */
12700
12639
  compare(value1: any, value2: any): number
12701
- create_type(): string | null
12640
+ create_type(): string
12702
12641
  custom_layout(): boolean
12703
12642
  deprecated(): boolean
12704
12643
  deprecated_since_major(): number
@@ -12712,12 +12651,12 @@ interface PropertyDef {
12712
12651
  get_default(): any
12713
12652
  get_ignore(): boolean
12714
12653
  get_is_packing(): boolean
12715
- get_name(): string | null
12654
+ get_name(): string
12716
12655
  get_original_default(): any
12717
12656
  get_pspec(): GObject.ParamSpec
12718
- get_tooltip(): string | null
12657
+ get_tooltip(): string
12719
12658
  get_virtual(): boolean
12720
- id(): string | null
12659
+ id(): string
12721
12660
  is_object(): boolean
12722
12661
  is_visible(): boolean
12723
12662
  load_defaults_from_spec(): void
@@ -12726,7 +12665,7 @@ interface PropertyDef {
12726
12665
  * @returns An appropriate #GtkAdjustment for use in the Property editor
12727
12666
  */
12728
12667
  make_adjustment(): Gtk.Adjustment
12729
- make_gvalue_from_string(string: string | null, project: Project): any
12668
+ make_gvalue_from_string(string: string, project: Project): any
12730
12669
  make_string_from_gvalue(value: any): string | null
12731
12670
  match(comp: PropertyDef): boolean
12732
12671
  multiline(): boolean
@@ -12741,9 +12680,9 @@ interface PropertyDef {
12741
12680
  set_construct_only(construct_only: boolean): void
12742
12681
  set_ignore(ignore: boolean): void
12743
12682
  set_is_packing(is_packing: boolean): void
12744
- set_name(name: string | null): void
12683
+ set_name(name: string): void
12745
12684
  set_pspec(pspec: GObject.ParamSpec): void
12746
- set_tooltip(tooltip: string | null): void
12685
+ set_tooltip(tooltip: string): void
12747
12686
  set_virtual(value: boolean): void
12748
12687
  since_major(): number
12749
12688
  since_minor(): number
@@ -12764,12 +12703,12 @@ class PropertyDef {
12764
12703
 
12765
12704
  // Constructors of Gladeui-2.0.Gladeui.PropertyDef
12766
12705
 
12767
- constructor(adaptor: WidgetAdaptor, id: string | null)
12768
- static new(adaptor: WidgetAdaptor, id: string | null): PropertyDef
12706
+ constructor(adaptor: WidgetAdaptor, id: string)
12707
+ static new(adaptor: WidgetAdaptor, id: string): PropertyDef
12769
12708
  static new_from_spec(adaptor: WidgetAdaptor, spec: GObject.ParamSpec): PropertyDef
12770
12709
  static new_from_spec_full(adaptor: WidgetAdaptor, spec: GObject.ParamSpec, need_handle: boolean): PropertyDef
12771
12710
  static get_default_from_spec(spec: GObject.ParamSpec): any
12772
- static make_flags_from_string(type: GObject.GType, string: string | null): number
12711
+ static make_flags_from_string(type: GObject.GType, string: string): number
12773
12712
  /**
12774
12713
  * This function assigns "weight" to each property in its natural order staring from 1.
12775
12714
  * If parent is 0 weight will be set for every #GladePropertyDef in the list.
@@ -12787,7 +12726,7 @@ class PropertyDef {
12787
12726
  * @param domain the domain to translate catalog strings from
12788
12727
  * @returns %TRUE on success. @property_def_ref is set to NULL if the property has Disabled="TRUE".
12789
12728
  */
12790
- static update_from_node(node: XmlNode, object_type: GObject.GType, property_def_ref: PropertyDef | null, domain: string | null): [ /* returnType */ boolean, /* property_def_ref */ PropertyDef | null ]
12729
+ static update_from_node(node: XmlNode, object_type: GObject.GType, property_def_ref: PropertyDef | null, domain: string): [ /* returnType */ boolean, /* property_def_ref */ PropertyDef | null ]
12791
12730
  }
12792
12731
 
12793
12732
  interface PropertyLabelClass {
@@ -12909,12 +12848,12 @@ interface SignalDef {
12909
12848
  * Get the name of the signal.
12910
12849
  * @returns the name of the signal
12911
12850
  */
12912
- get_name(): string | null
12851
+ get_name(): string
12913
12852
  /**
12914
12853
  * Get the name of the object class that this signal belongs to.
12915
12854
  * @returns the type name of the signal
12916
12855
  */
12917
- get_object_type_name(): string | null
12856
+ get_object_type_name(): string
12918
12857
  /**
12919
12858
  * Set if the signal is deprecated.
12920
12859
  * @param deprecated %TRUE if the signal is deprecated
@@ -12936,7 +12875,7 @@ interface SignalDef {
12936
12875
  * @returns the minor version
12937
12876
  */
12938
12877
  since_minor(): number
12939
- update_from_node(node: XmlNode, domain: string | null): void
12878
+ update_from_node(node: XmlNode, domain: string): void
12940
12879
  }
12941
12880
 
12942
12881
  class SignalDef {
@@ -13053,7 +12992,7 @@ interface WidgetActionDef {
13053
12992
 
13054
12993
  // Own fields of Gladeui-2.0.Gladeui.WidgetActionDef
13055
12994
 
13056
- id: string | null
12995
+ id: string
13057
12996
  path: string | null
13058
12997
  label: string | null
13059
12998
  stock: string | null
@@ -13068,8 +13007,8 @@ interface WidgetActionDef {
13068
13007
  */
13069
13008
  free(): void
13070
13009
  set_important(important: boolean): void
13071
- set_label(label: string | null): void
13072
- set_stock(stock: string | null): void
13010
+ set_label(label: string): void
13011
+ set_stock(stock: string): void
13073
13012
  }
13074
13013
 
13075
13014
  class WidgetActionDef {
@@ -13080,8 +13019,8 @@ class WidgetActionDef {
13080
13019
 
13081
13020
  // Constructors of Gladeui-2.0.Gladeui.WidgetActionDef
13082
13021
 
13083
- constructor(path: string | null)
13084
- static new(path: string | null): WidgetActionDef
13022
+ constructor(path: string)
13023
+ static new(path: string): WidgetActionDef
13085
13024
  }
13086
13025
 
13087
13026
  interface WidgetActionPrivate {
@@ -13188,8 +13127,8 @@ interface WidgetGroup {
13188
13127
 
13189
13128
  get_adaptors(): WidgetAdaptor[]
13190
13129
  get_expanded(): boolean
13191
- get_name(): string | null
13192
- get_title(): string | null
13130
+ get_name(): string
13131
+ get_title(): string
13193
13132
  }
13194
13133
 
13195
13134
  class WidgetGroup {
@@ -13243,7 +13182,7 @@ class XmlContext {
13243
13182
  * @param root_name the expected root name
13244
13183
  * @returns a new #GladeXmlContext or %NULL on failure
13245
13184
  */
13246
- static new_from_path(full_path: string | null, nspace: string | null, root_name: string | null): XmlContext
13185
+ static new_from_path(full_path: string, nspace: string | null, root_name: string | null): XmlContext
13247
13186
  }
13248
13187
 
13249
13188
  interface XmlDoc {
@@ -13251,13 +13190,13 @@ interface XmlDoc {
13251
13190
  // Owm methods of Gladeui-2.0.Gladeui.XmlDoc
13252
13191
 
13253
13192
  get_root(): XmlNode
13254
- new_comment(comment: string | null): XmlNode
13193
+ new_comment(comment: string): XmlNode
13255
13194
  /**
13256
13195
  * Increases the reference of the #GladeXmlDoc.
13257
13196
  * @returns the given #GladeXmlDoc
13258
13197
  */
13259
13198
  ref(): XmlDoc
13260
- save(full_path: string | null): number
13199
+ save(full_path: string): number
13261
13200
  set_root(node: XmlNode): void
13262
13201
  /**
13263
13202
  * Decreases the reference of the #GladeXmlDoc.
@@ -13298,29 +13237,29 @@ interface XmlNode {
13298
13237
  delete(): void
13299
13238
  get_children(): XmlNode
13300
13239
  get_children_with_comments(): XmlNode
13301
- get_name(): string | null
13240
+ get_name(): string
13302
13241
  get_parent(): XmlNode
13303
13242
  is_comment(): boolean
13304
13243
  next(): XmlNode
13305
13244
  next_with_comments(): XmlNode
13306
13245
  prev_with_comments(): XmlNode
13307
13246
  remove(): void
13308
- set_property_boolean(name: string | null, value: boolean): void
13247
+ set_property_boolean(name: string, value: boolean): void
13309
13248
  /**
13310
13249
  * Set a property as a string in the `node_in`. Note that %NULL `string` value
13311
13250
  * Are simply ignored and not written in the XML.
13312
13251
  * @param name the name of the property to set
13313
13252
  * @param string the string value of the property to set
13314
13253
  */
13315
- set_property_string(name: string | null, string: string | null): void
13254
+ set_property_string(name: string, string: string | null): void
13316
13255
  /**
13317
13256
  * This is a wrapper around glade_xml_node_verify_silent(), only it emits
13318
13257
  * a g_warning() if `node_in` has a name different than `name`.
13319
13258
  * @param name a string
13320
13259
  * @returns %TRUE if @node_in's name is equal to @name, %FALSE otherwise
13321
13260
  */
13322
- verify(name: string | null): boolean
13323
- verify_silent(name: string | null): boolean
13261
+ verify(name: string): boolean
13262
+ verify_silent(name: string): boolean
13324
13263
  }
13325
13264
 
13326
13265
  class XmlNode {
@@ -13331,9 +13270,9 @@ class XmlNode {
13331
13270
 
13332
13271
  // Constructors of Gladeui-2.0.Gladeui.XmlNode
13333
13272
 
13334
- constructor(context: XmlContext, name: string | null)
13335
- static new(context: XmlContext, name: string | null): XmlNode
13336
- static new_comment(context: XmlContext, comment: string | null): XmlNode
13273
+ constructor(context: XmlContext, name: string)
13274
+ static new(context: XmlContext, name: string): XmlNode
13275
+ static new_comment(context: XmlContext, comment: string): XmlNode
13337
13276
  }
13338
13277
 
13339
13278
  /**