@girs/gladeui-2.0 2.0.0-3.2.6 → 2.0.0-3.2.7

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.cts CHANGED
@@ -211,185 +211,185 @@ export enum VerifyFlags {
211
211
  */
212
212
  UNRECOGNIZED,
213
213
  }
214
- export const DEVHELP_FALLBACK_ICON_FILE: string | null
215
- export const DEVHELP_ICON_NAME: string | null
216
- export const ENV_BUNDLED: string | null
217
- export const ENV_CATALOG_PATH: string | null
218
- export const ENV_ICON_THEME_PATH: string | null
219
- export const ENV_MODULE_PATH: string | null
220
- export const ENV_PIXMAP_DIR: string | null
221
- export const ENV_TESTING: string | null
214
+ export const DEVHELP_FALLBACK_ICON_FILE: string
215
+ export const DEVHELP_ICON_NAME: string
216
+ export const ENV_BUNDLED: string
217
+ export const ENV_CATALOG_PATH: string
218
+ export const ENV_ICON_THEME_PATH: string
219
+ export const ENV_MODULE_PATH: string
220
+ export const ENV_PIXMAP_DIR: string
221
+ export const ENV_TESTING: string
222
222
  export const GTKBUILDER_VERSIONING_BASE_MAJOR: number
223
223
  export const GTKBUILDER_VERSIONING_BASE_MINOR: number
224
- export const PROPERTY_DEF_OBJECT_DELIMITER: string | null
225
- export const TAG_ACTION: string | null
226
- export const TAG_ACTIONS: string | null
227
- export const TAG_ACTION_ACTIVATE_FUNCTION: string | null
228
- export const TAG_ACTION_SUBMENU_FUNCTION: string | null
229
- export const TAG_ADAPTOR: string | null
230
- export const TAG_ADD_CHILD_FUNCTION: string | null
231
- export const TAG_ADD_CHILD_VERIFY_FUNCTION: string | null
232
- export const TAG_ANARCHIST: string | null
233
- export const TAG_ATK_PROPERTY: string | null
234
- export const TAG_BIND_FLAGS: string | null
235
- export const TAG_BIND_PROPERTY: string | null
236
- export const TAG_BIND_SOURCE: string | null
237
- export const TAG_BOOK: string | null
238
- export const TAG_BUILDER_SINCE: string | null
239
- export const TAG_CHILD_ACTION_ACTIVATE_FUNCTION: string | null
240
- export const TAG_CHILD_GET_PROP_FUNCTION: string | null
241
- export const TAG_CHILD_PROPERTY: string | null
242
- export const TAG_CHILD_SET_PROP_FUNCTION: string | null
243
- export const TAG_CHILD_VERIFY_FUNCTION: string | null
244
- export const TAG_COMMENT: string | null
245
- export const TAG_COMMON: string | null
246
- export const TAG_CONSTRUCTOR_FUNCTION: string | null
247
- export const TAG_CONSTRUCT_OBJECT_FUNCTION: string | null
248
- export const TAG_CONSTRUCT_ONLY: string | null
249
- export const TAG_CONTEXT: string | null
250
- export const TAG_CREATE_EDITABLE_FUNCTION: string | null
251
- export const TAG_CREATE_EPROP_FUNCTION: string | null
252
- export const TAG_CREATE_TYPE: string | null
253
- export const TAG_CREATE_WIDGET_FUNCTION: string | null
254
- export const TAG_CUSTOM_LAYOUT: string | null
255
- export const TAG_DEEP_POST_CREATE_FUNCTION: string | null
256
- export const TAG_DEFAULT: string | null
257
- export const TAG_DEFAULT_HEIGHT: string | null
258
- export const TAG_DEFAULT_PALETTE_STATE: string | null
259
- export const TAG_DEFAULT_WIDTH: string | null
260
- export const TAG_DEPENDS: string | null
261
- export const TAG_DEPENDS_FUNCTION: string | null
262
- export const TAG_DEPRECATED: string | null
263
- export const TAG_DEPRECATED_SINCE: string | null
264
- export const TAG_DESTROY_OBJECT_FUNCTION: string | null
265
- export const TAG_DISABLED: string | null
266
- export const TAG_DISPLAYABLE_VALUES: string | null
267
- export const TAG_DOMAIN: string | null
268
- export const TAG_EDITABLE: string | null
269
- export const TAG_EVENT_HANDLER_CONNECTED: string | null
270
- export const TAG_EXPANDED: string | null
271
- export const TAG_FALSE: string | null
272
- export const TAG_GENERIC_NAME: string | null
273
- export const TAG_GET_CHILDREN_FUNCTION: string | null
274
- export const TAG_GET_FUNCTION: string | null
275
- export const TAG_GET_INTERNAL_CHILD_FUNCTION: string | null
276
- export const TAG_GET_TYPE_FUNCTION: string | null
277
- export const TAG_GLADE_CATALOG: string | null
278
- export const TAG_GLADE_WIDGET_CLASS: string | null
279
- export const TAG_GLADE_WIDGET_CLASSES: string | null
280
- export const TAG_GLADE_WIDGET_CLASS_REF: string | null
281
- export const TAG_GLADE_WIDGET_GROUP: string | null
282
- export const TAG_HAS_CONTEXT: string | null
283
- export const TAG_ICON_NAME: string | null
284
- export const TAG_ICON_PREFIX: string | null
285
- export const TAG_ID: string | null
286
- export const TAG_IGNORE: string | null
287
- export const TAG_IMPORTANT: string | null
288
- export const TAG_INIT_FUNCTION: string | null
289
- export const TAG_INTERNAL_CHILDREN: string | null
290
- export const TAG_KEY: string | null
291
- export const TAG_LIBRARY: string | null
292
- export const TAG_MAX_VALUE: string | null
293
- export const TAG_MIN_VALUE: string | null
294
- export const TAG_MULTILINE: string | null
295
- export const TAG_NAME: string | null
296
- export const TAG_NEEDS_SYNC: string | null
297
- export const TAG_NICK: string | null
298
- export const TAG_NO: string | null
299
- export const TAG_OPTIONAL: string | null
300
- export const TAG_OPTIONAL_DEFAULT: string | null
301
- export const TAG_PACKING_ACTIONS: string | null
302
- export const TAG_PACKING_DEFAULTS: string | null
303
- export const TAG_PACKING_PROPERTIES: string | null
304
- export const TAG_PARENT: string | null
305
- export const TAG_PARENTLESS_WIDGET: string | null
306
- export const TAG_PARENT_CLASS: string | null
307
- export const TAG_POST_CREATE_FUNCTION: string | null
308
- export const TAG_PROPERTIES: string | null
309
- export const TAG_PROPERTY: string | null
310
- export const TAG_QUERY: string | null
311
- export const TAG_READ_CHILD_FUNCTION: string | null
312
- export const TAG_READ_WIDGET_FUNCTION: string | null
313
- export const TAG_REMOVE_CHILD_FUNCTION: string | null
314
- export const TAG_REPLACE_CHILD_FUNCTION: string | null
315
- export const TAG_RESOURCE: string | null
316
- export const TAG_SAVE: string | null
317
- export const TAG_SAVE_ALWAYS: string | null
318
- export const TAG_SET_FUNCTION: string | null
319
- export const TAG_SIGNAL: string | null
320
- export const TAG_SIGNALS: string | null
321
- export const TAG_SPEC: string | null
322
- export const TAG_SPECIAL_CHILD_TYPE: string | null
323
- export const TAG_SPECIFICATIONS: string | null
324
- export const TAG_STOCK: string | null
325
- export const TAG_STOCK_ICON: string | null
326
- export const TAG_STRING_FROM_VALUE_FUNCTION: string | null
327
- export const TAG_TARGETABLE: string | null
328
- export const TAG_TEMPLATE_PREFIX: string | null
329
- export const TAG_THEMED_ICON: string | null
330
- export const TAG_TITLE: string | null
331
- export const TAG_TOOLTIP: string | null
332
- export const TAG_TOPLEVEL: string | null
333
- export const TAG_TRANSFER_ON_PASTE: string | null
334
- export const TAG_TRANSLATABLE: string | null
335
- export const TAG_TRUE: string | null
336
- export const TAG_TYPE: string | null
337
- export const TAG_USE_PLACEHOLDERS: string | null
338
- export const TAG_VALUE: string | null
339
- export const TAG_VALUE_TYPE: string | null
340
- export const TAG_VERIFY_FUNCTION: string | null
341
- export const TAG_VERSION: string | null
342
- export const TAG_VERSION_SINCE: string | null
343
- export const TAG_VISIBLE: string | null
344
- export const TAG_WEIGHT: string | null
345
- export const TAG_WRITE_CHILD_FUNCTION: string | null
346
- export const TAG_WRITE_WIDGET_AFTER_FUNCTION: string | null
347
- export const TAG_WRITE_WIDGET_FUNCTION: string | null
348
- export const TAG_YES: string | null
349
- export const UNNAMED_PREFIX: string | null
224
+ export const PROPERTY_DEF_OBJECT_DELIMITER: string
225
+ export const TAG_ACTION: string
226
+ export const TAG_ACTIONS: string
227
+ export const TAG_ACTION_ACTIVATE_FUNCTION: string
228
+ export const TAG_ACTION_SUBMENU_FUNCTION: string
229
+ export const TAG_ADAPTOR: string
230
+ export const TAG_ADD_CHILD_FUNCTION: string
231
+ export const TAG_ADD_CHILD_VERIFY_FUNCTION: string
232
+ export const TAG_ANARCHIST: string
233
+ export const TAG_ATK_PROPERTY: string
234
+ export const TAG_BIND_FLAGS: string
235
+ export const TAG_BIND_PROPERTY: string
236
+ export const TAG_BIND_SOURCE: string
237
+ export const TAG_BOOK: string
238
+ export const TAG_BUILDER_SINCE: string
239
+ export const TAG_CHILD_ACTION_ACTIVATE_FUNCTION: string
240
+ export const TAG_CHILD_GET_PROP_FUNCTION: string
241
+ export const TAG_CHILD_PROPERTY: string
242
+ export const TAG_CHILD_SET_PROP_FUNCTION: string
243
+ export const TAG_CHILD_VERIFY_FUNCTION: string
244
+ export const TAG_COMMENT: string
245
+ export const TAG_COMMON: string
246
+ export const TAG_CONSTRUCTOR_FUNCTION: string
247
+ export const TAG_CONSTRUCT_OBJECT_FUNCTION: string
248
+ export const TAG_CONSTRUCT_ONLY: string
249
+ export const TAG_CONTEXT: string
250
+ export const TAG_CREATE_EDITABLE_FUNCTION: string
251
+ export const TAG_CREATE_EPROP_FUNCTION: string
252
+ export const TAG_CREATE_TYPE: string
253
+ export const TAG_CREATE_WIDGET_FUNCTION: string
254
+ export const TAG_CUSTOM_LAYOUT: string
255
+ export const TAG_DEEP_POST_CREATE_FUNCTION: string
256
+ export const TAG_DEFAULT: string
257
+ export const TAG_DEFAULT_HEIGHT: string
258
+ export const TAG_DEFAULT_PALETTE_STATE: string
259
+ export const TAG_DEFAULT_WIDTH: string
260
+ export const TAG_DEPENDS: string
261
+ export const TAG_DEPENDS_FUNCTION: string
262
+ export const TAG_DEPRECATED: string
263
+ export const TAG_DEPRECATED_SINCE: string
264
+ export const TAG_DESTROY_OBJECT_FUNCTION: string
265
+ export const TAG_DISABLED: string
266
+ export const TAG_DISPLAYABLE_VALUES: string
267
+ export const TAG_DOMAIN: string
268
+ export const TAG_EDITABLE: string
269
+ export const TAG_EVENT_HANDLER_CONNECTED: string
270
+ export const TAG_EXPANDED: string
271
+ export const TAG_FALSE: string
272
+ export const TAG_GENERIC_NAME: string
273
+ export const TAG_GET_CHILDREN_FUNCTION: string
274
+ export const TAG_GET_FUNCTION: string
275
+ export const TAG_GET_INTERNAL_CHILD_FUNCTION: string
276
+ export const TAG_GET_TYPE_FUNCTION: string
277
+ export const TAG_GLADE_CATALOG: string
278
+ export const TAG_GLADE_WIDGET_CLASS: string
279
+ export const TAG_GLADE_WIDGET_CLASSES: string
280
+ export const TAG_GLADE_WIDGET_CLASS_REF: string
281
+ export const TAG_GLADE_WIDGET_GROUP: string
282
+ export const TAG_HAS_CONTEXT: string
283
+ export const TAG_ICON_NAME: string
284
+ export const TAG_ICON_PREFIX: string
285
+ export const TAG_ID: string
286
+ export const TAG_IGNORE: string
287
+ export const TAG_IMPORTANT: string
288
+ export const TAG_INIT_FUNCTION: string
289
+ export const TAG_INTERNAL_CHILDREN: string
290
+ export const TAG_KEY: string
291
+ export const TAG_LIBRARY: string
292
+ export const TAG_MAX_VALUE: string
293
+ export const TAG_MIN_VALUE: string
294
+ export const TAG_MULTILINE: string
295
+ export const TAG_NAME: string
296
+ export const TAG_NEEDS_SYNC: string
297
+ export const TAG_NICK: string
298
+ export const TAG_NO: string
299
+ export const TAG_OPTIONAL: string
300
+ export const TAG_OPTIONAL_DEFAULT: string
301
+ export const TAG_PACKING_ACTIONS: string
302
+ export const TAG_PACKING_DEFAULTS: string
303
+ export const TAG_PACKING_PROPERTIES: string
304
+ export const TAG_PARENT: string
305
+ export const TAG_PARENTLESS_WIDGET: string
306
+ export const TAG_PARENT_CLASS: string
307
+ export const TAG_POST_CREATE_FUNCTION: string
308
+ export const TAG_PROPERTIES: string
309
+ export const TAG_PROPERTY: string
310
+ export const TAG_QUERY: string
311
+ export const TAG_READ_CHILD_FUNCTION: string
312
+ export const TAG_READ_WIDGET_FUNCTION: string
313
+ export const TAG_REMOVE_CHILD_FUNCTION: string
314
+ export const TAG_REPLACE_CHILD_FUNCTION: string
315
+ export const TAG_RESOURCE: string
316
+ export const TAG_SAVE: string
317
+ export const TAG_SAVE_ALWAYS: string
318
+ export const TAG_SET_FUNCTION: string
319
+ export const TAG_SIGNAL: string
320
+ export const TAG_SIGNALS: string
321
+ export const TAG_SPEC: string
322
+ export const TAG_SPECIAL_CHILD_TYPE: string
323
+ export const TAG_SPECIFICATIONS: string
324
+ export const TAG_STOCK: string
325
+ export const TAG_STOCK_ICON: string
326
+ export const TAG_STRING_FROM_VALUE_FUNCTION: string
327
+ export const TAG_TARGETABLE: string
328
+ export const TAG_TEMPLATE_PREFIX: string
329
+ export const TAG_THEMED_ICON: string
330
+ export const TAG_TITLE: string
331
+ export const TAG_TOOLTIP: string
332
+ export const TAG_TOPLEVEL: string
333
+ export const TAG_TRANSFER_ON_PASTE: string
334
+ export const TAG_TRANSLATABLE: string
335
+ export const TAG_TRUE: string
336
+ export const TAG_TYPE: string
337
+ export const TAG_USE_PLACEHOLDERS: string
338
+ export const TAG_VALUE: string
339
+ export const TAG_VALUE_TYPE: string
340
+ export const TAG_VERIFY_FUNCTION: string
341
+ export const TAG_VERSION: string
342
+ export const TAG_VERSION_SINCE: string
343
+ export const TAG_VISIBLE: string
344
+ export const TAG_WEIGHT: string
345
+ export const TAG_WRITE_CHILD_FUNCTION: string
346
+ export const TAG_WRITE_WIDGET_AFTER_FUNCTION: string
347
+ export const TAG_WRITE_WIDGET_FUNCTION: string
348
+ export const TAG_YES: string
349
+ export const UNNAMED_PREFIX: string
350
350
  /**
351
351
  * Class prefix used for abstract classes (ie GtkBin -> GladeInstantiableGtkBin)
352
352
  */
353
- export const WIDGET_ADAPTOR_INSTANTIABLE_PREFIX: string | null
354
- export const XML_TAG_AFTER: string | null
355
- export const XML_TAG_CHILD: string | null
356
- export const XML_TAG_CLASS: string | null
357
- export const XML_TAG_FILENAME: string | null
358
- export const XML_TAG_HANDLER: string | null
359
- export const XML_TAG_I18N_TRUE: string | null
360
- export const XML_TAG_ID: string | null
361
- export const XML_TAG_INTERNAL_CHILD: string | null
362
- export const XML_TAG_LIB: string | null
363
- export const XML_TAG_NAME: string | null
364
- export const XML_TAG_OBJECT: string | null
365
- export const XML_TAG_PACKING: string | null
366
- export const XML_TAG_PLACEHOLDER: string | null
367
- export const XML_TAG_PROJECT: string | null
368
- export const XML_TAG_PROPERTY: string | null
369
- export const XML_TAG_REQUIRES: string | null
370
- export const XML_TAG_SIGNAL: string | null
371
- export const XML_TAG_SIGNAL_FALSE: string | null
372
- export const XML_TAG_SIGNAL_TRUE: string | null
373
- export const XML_TAG_SOURCE: string | null
374
- export const XML_TAG_SOURCES: string | null
375
- export const XML_TAG_STOCK_ID: string | null
376
- export const XML_TAG_SWAPPED: string | null
377
- export const XML_TAG_TEMPLATE: string | null
378
- export const XML_TAG_TYPE: string | null
379
- export const XML_TAG_TYPE_FUNC: string | null
380
- export const XML_TAG_VERSION: string | null
381
- export const XML_TAG_WIDGET: string | null
353
+ export const WIDGET_ADAPTOR_INSTANTIABLE_PREFIX: string
354
+ export const XML_TAG_AFTER: string
355
+ export const XML_TAG_CHILD: string
356
+ export const XML_TAG_CLASS: string
357
+ export const XML_TAG_FILENAME: string
358
+ export const XML_TAG_HANDLER: string
359
+ export const XML_TAG_I18N_TRUE: string
360
+ export const XML_TAG_ID: string
361
+ export const XML_TAG_INTERNAL_CHILD: string
362
+ export const XML_TAG_LIB: string
363
+ export const XML_TAG_NAME: string
364
+ export const XML_TAG_OBJECT: string
365
+ export const XML_TAG_PACKING: string
366
+ export const XML_TAG_PLACEHOLDER: string
367
+ export const XML_TAG_PROJECT: string
368
+ export const XML_TAG_PROPERTY: string
369
+ export const XML_TAG_REQUIRES: string
370
+ export const XML_TAG_SIGNAL: string
371
+ export const XML_TAG_SIGNAL_FALSE: string
372
+ export const XML_TAG_SIGNAL_TRUE: string
373
+ export const XML_TAG_SOURCE: string
374
+ export const XML_TAG_SOURCES: string
375
+ export const XML_TAG_STOCK_ID: string
376
+ export const XML_TAG_SWAPPED: string
377
+ export const XML_TAG_TEMPLATE: string
378
+ export const XML_TAG_TYPE: string
379
+ export const XML_TAG_TYPE_FUNC: string
380
+ export const XML_TAG_VERSION: string
381
+ export const XML_TAG_WIDGET: string
382
382
  /**
383
383
  * Adds a new path to the list of path to look catalogs for.
384
384
  * @param path the new path containing catalogs
385
385
  */
386
- export function catalog_add_path(path: string | null): void
386
+ export function catalog_add_path(path: string): void
387
387
  /**
388
388
  * Destroy and free all resources related with every loaded catalog.
389
389
  */
390
390
  export function catalog_destroy_all(): void
391
391
  export function catalog_get_extra_paths(): string[]
392
- export function catalog_is_loaded(name: string | null): boolean
392
+ export function catalog_is_loaded(name: string): boolean
393
393
  /**
394
394
  * Loads all available catalogs in the system.
395
395
  * First loads catalogs from GLADE_ENV_CATALOG_PATH,
@@ -417,21 +417,21 @@ export function cursor_init(): void
417
417
  * @param type a #GladeCursorType
418
418
  */
419
419
  export function cursor_set(project: Project, window: Gdk.Window, type: CursorType): void
420
- export function displayable_value_is_disabled(type: GObject.GType, value: string | null): boolean
421
- export function displayable_value_set_disabled(type: GObject.GType, value: string | null, disabled: boolean): void
420
+ export function displayable_value_is_disabled(type: GObject.GType, value: string): boolean
421
+ export function displayable_value_set_disabled(type: GObject.GType, value: string, disabled: boolean): void
422
422
  export function get_debug_flags(): number
423
- export function get_displayable_value(type: GObject.GType, value: string | null): string | null
424
- export function get_value_from_displayable(type: GObject.GType, displayabe: string | null): string | null
423
+ export function get_displayable_value(type: GObject.GType, value: string): string
424
+ export function get_value_from_displayable(type: GObject.GType, displayabe: string): string
425
425
  /**
426
426
  * Initialization function for libgladeui (not #GladeApp)
427
427
  * It builds paths, bind text domain, and register icons
428
428
  */
429
429
  export function init(): void
430
430
  export function init_debug_flags(): void
431
- export function param_spec_objects(name: string | null, nick: string | null, blurb: string | null, accepted_type: GObject.GType, flags: GObject.ParamFlags): GObject.ParamSpec
432
- export function propert_get_insensitive_tooltip(property: Property): string | null
431
+ export function param_spec_objects(name: string, nick: string, blurb: string, accepted_type: GObject.GType, flags: GObject.ParamFlags): GObject.ParamSpec
432
+ export function propert_get_insensitive_tooltip(property: Property): string
433
433
  export function property_def_get_default_from_spec(spec: GObject.ParamSpec): any
434
- export function property_def_make_flags_from_string(type: GObject.GType, string: string | null): number
434
+ export function property_def_make_flags_from_string(type: GObject.GType, string: string): number
435
435
  /**
436
436
  * This function assigns "weight" to each property in its natural order staring from 1.
437
437
  * If parent is 0 weight will be set for every #GladePropertyDef in the list.
@@ -449,9 +449,9 @@ export function property_def_set_weights(properties: PropertyDef[], parent: GObj
449
449
  * @param domain the domain to translate catalog strings from
450
450
  * @returns %TRUE on success. @property_def_ref is set to NULL if the property has Disabled="TRUE".
451
451
  */
452
- export 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 ]
453
- export function register_displayable_value(type: GObject.GType, value: string | null, domain: string | null, string: string | null): void
454
- export function register_translated_value(type: GObject.GType, value: string | null, string: string | null): void
452
+ export 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 ]
453
+ export function register_displayable_value(type: GObject.GType, value: string, domain: string, string: string): void
454
+ export function register_translated_value(type: GObject.GType, value: string, string: string): void
455
455
  /**
456
456
  * Sets up a log handler to manage all %G_LOG_LEVEL_MASK errors of domain:
457
457
  * GLib, GLib-GObject, Gtk, Gdk, and domainless.
@@ -469,14 +469,14 @@ export function standard_int_spec(): GObject.ParamSpec
469
469
  */
470
470
  export function standard_objects_spec(): GObject.ParamSpec
471
471
  export function standard_pixbuf_spec(): GObject.ParamSpec
472
- export function standard_stock_append_prefix(prefix: string | null): void
472
+ export function standard_stock_append_prefix(prefix: string): void
473
473
  export function standard_stock_image_spec(): GObject.ParamSpec
474
474
  export function standard_stock_spec(): GObject.ParamSpec
475
475
  export function standard_string_spec(): GObject.ParamSpec
476
476
  export function standard_strv_spec(): GObject.ParamSpec
477
477
  export function standard_uint_spec(): GObject.ParamSpec
478
478
  export function type_has_displayable_values(type: GObject.GType): boolean
479
- export function util_canonical_path(path: string | null): string | null
479
+ export function util_canonical_path(path: string): string | null
480
480
  export function util_check_and_warn_scrollable(parent: Widget, child_adaptor: WidgetAdaptor, parent_widget: Gtk.Widget): boolean
481
481
  /**
482
482
  * This is a #GCompareFunc that compares the labels of two stock items,
@@ -501,15 +501,15 @@ export function util_count_placeholders(parent: Widget): number
501
501
  * @param name a string
502
502
  * @returns a newly allocated string
503
503
  */
504
- export function util_duplicate_underscores(name: string | null): string | null
505
- export function util_file_dialog_new(title: string | null, project: Project, parent: Gtk.Window, action: UtilFileDialogType): Gtk.Widget
504
+ export function util_duplicate_underscores(name: string): string | null
505
+ export function util_file_dialog_new(title: string, project: Project, parent: Gtk.Window, action: UtilFileDialogType): Gtk.Widget
506
506
  /**
507
507
  * Checks whether the file at `path` is writeable
508
508
  * @param path the path to the file
509
509
  * @returns TRUE if file is writeable
510
510
  */
511
- export function util_file_is_writeable(path: string | null): boolean
512
- export function util_filename_to_icon_name(value: string | null): string | null
511
+ export function util_file_is_writeable(path: string): boolean
512
+ export function util_filename_to_icon_name(value: string): string | null
513
513
  /**
514
514
  * Looks through `model` for the #GtkTreeIter corresponding to
515
515
  * `findme` under `column`.
@@ -530,7 +530,7 @@ export function util_get_devhelp_icon(size: Gtk.IconSize): Gtk.Widget
530
530
  * @param filename A filename
531
531
  * @returns The mtime of the file, or %0 if the file attributes could not be read.
532
532
  */
533
- export function util_get_file_mtime(filename: string | null): number
533
+ export function util_get_file_mtime(filename: string): number
534
534
  export function util_get_placeholder_from_pointer(container: Gtk.Container): Gtk.Widget
535
535
  /**
536
536
  * Returns the type using the "get type" function name based on `name`.
@@ -540,16 +540,16 @@ export function util_get_placeholder_from_pointer(container: Gtk.Container): Gtk
540
540
  * @param have_func function-name flag -- true if the name is a "get-type" function.
541
541
  * @returns the new #GType
542
542
  */
543
- export function util_get_type_from_name(name: string | null, have_func: boolean): GObject.GType
543
+ export function util_get_type_from_name(name: string, have_func: boolean): GObject.GType
544
544
  export function util_have_devhelp(): boolean
545
- export function util_icon_name_to_filename(value: string | null): string | null
545
+ export function util_icon_name_to_filename(value: string): string | null
546
546
  export function util_object_is_loading(object: GObject.Object): boolean
547
547
  /**
548
548
  * Return a usable version of a property identifier as found
549
549
  * in a freshly parserd #GladeInterface
550
550
  * @param str a string
551
551
  */
552
- export function util_read_prop_name(str: string | null): string | null
552
+ export function util_read_prop_name(str: string): string | null
553
553
  export function util_remove_scroll_events(widget: Gtk.Widget): void
554
554
  /**
555
555
  * Replaces each occurrence of the character `a` in `str` to `b`.
@@ -558,27 +558,27 @@ export function util_remove_scroll_events(widget: Gtk.Widget): void
558
558
  * @param b a #gchar
559
559
  */
560
560
  export function util_replace(str: string | null, a: number, b: number): void
561
- export function util_search_devhelp(book: string | null, page: string | null, search: string | null): void
561
+ export function util_search_devhelp(book: string, page: string, search: string): void
562
562
  /**
563
563
  * Portable function for showing an URL `url` in a web browser.
564
564
  * @param url An URL to display
565
565
  * @returns TRUE if a web browser was successfully launched, or FALSE
566
566
  */
567
- export function util_url_show(url: string | null): boolean
567
+ export function util_url_show(url: string): boolean
568
568
  /**
569
569
  * Parse a boolean value
570
570
  * @param string the string to convert
571
571
  * @returns %TRUE if there was an error on the conversion, %FALSE otherwise.
572
572
  */
573
- export function utils_boolean_from_string(string: string | null): [ /* returnType */ boolean, /* value */ boolean ]
573
+ export function utils_boolean_from_string(string: string): [ /* returnType */ boolean, /* value */ boolean ]
574
574
  export function utils_cairo_draw_line(cr: cairo.Context, color: Gdk.Color, x1: number, y1: number, x2: number, y2: number): void
575
575
  export function utils_cairo_draw_rectangle(cr: cairo.Context, color: Gdk.Color, filled: boolean, x: number, y: number, width: number, height: number): void
576
576
  export function utils_enum_string_from_value(enum_type: GObject.GType, value: number): string | null
577
577
  export function utils_enum_string_from_value_displayable(flags_type: GObject.GType, value: number): string | null
578
- export function utils_enum_value_from_string(enum_type: GObject.GType, strval: string | null): number
578
+ export function utils_enum_value_from_string(enum_type: GObject.GType, strval: string): number
579
579
  export function utils_flags_string_from_value(enum_type: GObject.GType, value: number): string | null
580
580
  export function utils_flags_string_from_value_displayable(flags_type: GObject.GType, value: number): string | null
581
- export function utils_flags_value_from_string(enum_type: GObject.GType, strval: string | null): number
581
+ export function utils_flags_value_from_string(enum_type: GObject.GType, strval: string): number
582
582
  /**
583
583
  * Get's the pointer position relative to `widget,` while `window` and `device`
584
584
  * are not absolutely needed, they should be passed wherever possible.
@@ -589,7 +589,7 @@ export function utils_flags_value_from_string(enum_type: GObject.GType, strval:
589
589
  * @param y The location to store the mouse pointer Y position
590
590
  */
591
591
  export function utils_get_pointer(widget: Gtk.Widget, window: Gdk.Window, device: Gdk.Device, x: number, y: number): void
592
- export function utils_get_pspec_from_funcname(funcname: string | null): GObject.ParamSpec | null
592
+ export function utils_get_pspec_from_funcname(funcname: string): GObject.ParamSpec | null
593
593
  /**
594
594
  * This function is meant to be attached to key-press-event of a toplevel,
595
595
  * it simply allows the window contents to treat key events /before/
@@ -619,7 +619,7 @@ export function utils_liststore_from_enum_type(enum_type: GObject.GType, include
619
619
  * @returns the rendered #GdkPixbuf
620
620
  */
621
621
  export function utils_pointer_mode_render_icon(mode: PointerMode, size: Gtk.IconSize): GdkPixbuf.Pixbuf
622
- export function utils_replace_home_dir_with_tilde(path: string | null): string | null
622
+ export function utils_replace_home_dir_with_tilde(path: string): string | null
623
623
  /**
624
624
  * Serializes #GValue into a string
625
625
  * (using glade conversion routines)
@@ -635,33 +635,33 @@ export function utils_string_from_value(value: any): string | null
635
635
  * @param project the #GladeProject to look for formats of object names when needed
636
636
  * @returns A newly allocated and set #GValue
637
637
  */
638
- export function utils_value_from_string(type: GObject.GType, string: string | null, project: Project): any
638
+ export function utils_value_from_string(type: GObject.GType, string: string, project: Project): any
639
639
  /**
640
640
  * Dump the XML string from the context.
641
641
  * @param context a #GladeXmlContext
642
642
  * @returns the XML string, free the allocated memory with g_free() after use
643
643
  */
644
644
  export function xml_dump_from_context(context: XmlContext): string | null
645
- export function xml_get_boolean(node: XmlNode, name: string | null, _default: boolean): boolean
645
+ export function xml_get_boolean(node: XmlNode, name: string, _default: boolean): boolean
646
646
  /**
647
647
  * Gets a string containing the content of `node_in`.
648
648
  * @param node_in a #GladeXmlNode
649
649
  * @returns A newly allocated string
650
650
  */
651
651
  export function xml_get_content(node_in: XmlNode): string | null
652
- export function xml_get_property_boolean(node_in: XmlNode, name: string | null, _default: boolean): boolean
653
- export function xml_get_property_double(node_in: XmlNode, name: string | null, _default: number): number
654
- export function xml_get_property_int(node_in: XmlNode, name: string | null, _default: number): number
655
- export function xml_get_property_string(node_in: XmlNode, name: string | null): string | null
656
- export function xml_get_property_string_required(node_in: XmlNode, name: string | null, xtra: string | null): string | null
652
+ export function xml_get_property_boolean(node_in: XmlNode, name: string, _default: boolean): boolean
653
+ export function xml_get_property_double(node_in: XmlNode, name: string, _default: number): number
654
+ export function xml_get_property_int(node_in: XmlNode, name: string, _default: number): number
655
+ export function xml_get_property_string(node_in: XmlNode, name: string): string | null
656
+ export function xml_get_property_string_required(node_in: XmlNode, name: string, xtra: string): string | null
657
657
  /**
658
658
  * Get the list of targetable versions for a property
659
659
  * @param node_in a #GladeXmlNode
660
660
  * @param name a property name
661
661
  * @returns a list of #GladeTargetableVersion
662
662
  */
663
- export function xml_get_property_targetable_versions(node_in: XmlNode, name: string | null): TargetableVersion[]
664
- export function xml_get_property_version(node_in: XmlNode, name: string | null, major: number, minor: number): boolean
663
+ export function xml_get_property_targetable_versions(node_in: XmlNode, name: string): TargetableVersion[]
664
+ export function xml_get_property_version(node_in: XmlNode, name: string, major: number, minor: number): boolean
665
665
  /**
666
666
  * Gets an integer value for a node either carried as an attribute or as
667
667
  * the content of a child.
@@ -670,7 +670,7 @@ export function xml_get_property_version(node_in: XmlNode, name: string | null,
670
670
  * @param val a pointer to an #int
671
671
  * @returns %TRUE if the node is found, %FALSE otherwise
672
672
  */
673
- export function xml_get_value_int(node_in: XmlNode, name: string | null, val: number): boolean
673
+ export function xml_get_value_int(node_in: XmlNode, name: string, val: number): boolean
674
674
  /**
675
675
  * This is a wrapper around glade_xml_get_value_int(), only it emits
676
676
  * a g_warning() if `node` did not contain the requested tag
@@ -679,11 +679,11 @@ export function xml_get_value_int(node_in: XmlNode, name: string | null, val: nu
679
679
  * @param val a pointer to an #int
680
680
  * @returns %FALSE if @name is not in @node
681
681
  */
682
- export function xml_get_value_int_required(node: XmlNode, name: string | null, val: number): boolean
683
- export function xml_get_value_string(node: XmlNode, name: string | null): string | null
684
- export function xml_get_value_string_required(node: XmlNode, name: string | null, xtra_info: string | null): string | null
682
+ export function xml_get_value_int_required(node: XmlNode, name: string, val: number): boolean
683
+ export function xml_get_value_string(node: XmlNode, name: string): string | null
684
+ export function xml_get_value_string_required(node: XmlNode, name: string, xtra_info: string): string | null
685
685
  export function xml_load_sym_from_node(node_in: XmlNode, module: GModule.Module, tagname: string | null, sym_location: any | null): boolean
686
- export function xml_search_child(node: XmlNode, name: string | null): XmlNode
686
+ export function xml_search_child(node: XmlNode, name: string): XmlNode
687
687
  /**
688
688
  * just a small wrapper around glade_xml_search_child that displays
689
689
  * an error if the child was not found
@@ -691,20 +691,20 @@ export function xml_search_child(node: XmlNode, name: string | null): XmlNode
691
691
  * @param name the name of the child
692
692
  * @returns the requested #GladeXmlNode
693
693
  */
694
- export function xml_search_child_required(tree: XmlNode, name: string | null): XmlNode | null
694
+ export function xml_search_child_required(tree: XmlNode, name: string): XmlNode | null
695
695
  /**
696
696
  * Sets the content of `node` to `content`.
697
697
  * @param node_in a #GladeXmlNode
698
698
  * @param content a string
699
699
  */
700
- export function xml_set_content(node_in: XmlNode, content: string | null): void
700
+ export function xml_set_content(node_in: XmlNode, content: string): void
701
701
  /**
702
702
  * Sets the property `name` in `node_in` to `val`
703
703
  * @param node_in a #GladeXmlNode
704
704
  * @param name a string
705
705
  * @param val a string
706
706
  */
707
- export function xml_set_value(node_in: XmlNode, name: string | null, val: string | null): void
707
+ export function xml_set_value(node_in: XmlNode, name: string, val: string): void
708
708
  /**
709
709
  * This delegate function is used to catch actions from the core.
710
710
  * @callback
@@ -713,7 +713,7 @@ export function xml_set_value(node_in: XmlNode, name: string | null, val: string
713
713
  * @param action_path The action identifier in the action tree
714
714
  */
715
715
  export interface ActionActivateFunc {
716
- (adaptor: WidgetAdaptor, object: GObject.Object, action_path: string | null): void
716
+ (adaptor: WidgetAdaptor, object: GObject.Object, action_path: string): void
717
717
  }
718
718
  /**
719
719
  * This delegate function is used to create dynamically customized
@@ -725,7 +725,7 @@ export interface ActionActivateFunc {
725
725
  * @returns A newly created #GtkMenu or %NULL
726
726
  */
727
727
  export interface ActionSubmenuFunc {
728
- (adaptor: WidgetAdaptor, object: GObject.Object, action_path: string | null): Gtk.Widget | null
728
+ (adaptor: WidgetAdaptor, object: GObject.Object, action_path: string): Gtk.Widget | null
729
729
  }
730
730
  /**
731
731
  * Called to add `child` to `container`.
@@ -760,7 +760,7 @@ export interface AddChildVerifyFunc {
760
760
  * @param name The name of the catalog
761
761
  */
762
762
  export interface CatalogInitFunc {
763
- (name: string | null): void
763
+ (name: string): void
764
764
  }
765
765
  /**
766
766
  * This delegate function is used to catch packing actions from the core.
@@ -771,7 +771,7 @@ export interface CatalogInitFunc {
771
771
  * @param action_path The action identifier in the action tree
772
772
  */
773
773
  export interface ChildActionActivateFunc {
774
- (adaptor: WidgetAdaptor, container: GObject.Object, object: GObject.Object, action_path: string | null): void
774
+ (adaptor: WidgetAdaptor, container: GObject.Object, object: GObject.Object, action_path: string): void
775
775
  }
776
776
  /**
777
777
  * Called to get the packing property `property_name`
@@ -784,7 +784,7 @@ export interface ChildActionActivateFunc {
784
784
  * @param value The `GValue`
785
785
  */
786
786
  export interface ChildGetPropertyFunc {
787
- (adaptor: WidgetAdaptor, container: GObject.Object, child: GObject.Object, property_name: string | null, value: any): void
787
+ (adaptor: WidgetAdaptor, container: GObject.Object, child: GObject.Object, property_name: string, value: any): void
788
788
  }
789
789
  /**
790
790
  * Called to set the packing property `property_name` to `value`
@@ -797,7 +797,7 @@ export interface ChildGetPropertyFunc {
797
797
  * @param value The `GValue`
798
798
  */
799
799
  export interface ChildSetPropertyFunc {
800
- (adaptor: WidgetAdaptor, container: GObject.Object, child: GObject.Object, property_name: string | null, value: any): void
800
+ (adaptor: WidgetAdaptor, container: GObject.Object, child: GObject.Object, property_name: string, value: any): void
801
801
  }
802
802
  /**
803
803
  * This delegate function is always called whenever setting any
@@ -814,7 +814,7 @@ export interface ChildSetPropertyFunc {
814
814
  * @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.
815
815
  */
816
816
  export interface ChildVerifyPropertyFunc {
817
- (adaptor: WidgetAdaptor, container: GObject.Object, child: GObject.Object, property_name: string | null, value: any): boolean
817
+ (adaptor: WidgetAdaptor, container: GObject.Object, child: GObject.Object, property_name: string, value: any): boolean
818
818
  }
819
819
  /**
820
820
  * This function is called to construct a GObject instance.
@@ -903,7 +903,7 @@ export interface GetChildrenFunc {
903
903
  * @returns The internal #GObject
904
904
  */
905
905
  export interface GetInternalFunc {
906
- (adaptor: WidgetAdaptor, object: GObject.Object, internal_name: string | null): GObject.Object | null
906
+ (adaptor: WidgetAdaptor, object: GObject.Object, internal_name: string): GObject.Object | null
907
907
  }
908
908
  /**
909
909
  * Gets `value` on `object` for a given #GladePropertyDef
@@ -914,7 +914,7 @@ export interface GetInternalFunc {
914
914
  * @param value The #GValue
915
915
  */
916
916
  export interface GetPropertyFunc {
917
- (adaptor: WidgetAdaptor, object: GObject.Object, property_name: string | null, value: any): void
917
+ (adaptor: WidgetAdaptor, object: GObject.Object, property_name: string, value: any): void
918
918
  }
919
919
  /**
920
920
  * This function is called exactly once for any project object
@@ -971,7 +971,7 @@ export interface ReplaceChildFunc {
971
971
  * @param value The #GValue
972
972
  */
973
973
  export interface SetPropertyFunc {
974
- (adaptor: WidgetAdaptor, object: GObject.Object, property_name: string | null, value: any): void
974
+ (adaptor: WidgetAdaptor, object: GObject.Object, property_name: string, value: any): void
975
975
  }
976
976
  /**
977
977
  * For normal properties this is used to serialize
@@ -1001,7 +1001,7 @@ export interface StringFromValueFunc {
1001
1001
  * @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.
1002
1002
  */
1003
1003
  export interface VerifyPropertyFunc {
1004
- (adaptor: WidgetAdaptor, object: GObject.Object, property_name: string | null, value: any): boolean
1004
+ (adaptor: WidgetAdaptor, object: GObject.Object, property_name: string, value: any): boolean
1005
1005
  }
1006
1006
  /**
1007
1007
  * This function is called to fill in `node` from `widget`.
@@ -1242,7 +1242,7 @@ export interface AdaptorChooser extends Atk.ImplementorIface, Gtk.Buildable, Gtk
1242
1242
  * @param child the child widget
1243
1243
  * @param child_property the name of a child property installed on the class of `container`
1244
1244
  */
1245
- child_notify(child: Gtk.Widget, child_property: string | null): void
1245
+ child_notify(child: Gtk.Widget, child_property: string): void
1246
1246
 
1247
1247
  // Overloads of child_notify
1248
1248
 
@@ -1256,7 +1256,7 @@ export interface AdaptorChooser extends Atk.ImplementorIface, Gtk.Buildable, Gtk
1256
1256
  * Also see gtk_container_child_notify().
1257
1257
  * @param child_property the name of a child property installed on the class of `widget’`s parent
1258
1258
  */
1259
- child_notify(child_property: string | null): void
1259
+ child_notify(child_property: string): void
1260
1260
  /**
1261
1261
  * Emits a #GtkWidget::child-notify signal for the
1262
1262
  * [child property][child-properties] `child_property`
@@ -1267,7 +1267,7 @@ export interface AdaptorChooser extends Atk.ImplementorIface, Gtk.Buildable, Gtk
1267
1267
  * Also see gtk_container_child_notify().
1268
1268
  * @param child_property the name of a child property installed on the class of `widget’`s parent
1269
1269
  */
1270
- child_notify(child_property: string | null): void
1270
+ child_notify(child_property: string): void
1271
1271
 
1272
1272
  // Class property signals of Gladeui-2.0.Gladeui.AdaptorChooser
1273
1273
 
@@ -1531,26 +1531,26 @@ export class App extends GObject.Object {
1531
1531
  static do_event(event: Gdk.Event): boolean
1532
1532
  static get(): App
1533
1533
  static get_accel_group(): Gtk.AccelGroup
1534
- static get_bin_dir(): string | null
1535
- static get_catalog(name: string | null): Catalog | null
1536
- static get_catalog_version(name: string | null): [ /* returnType */ boolean, /* major */ number, /* minor */ number ]
1534
+ static get_bin_dir(): string
1535
+ static get_catalog(name: string): Catalog | null
1536
+ static get_catalog_version(name: string): [ /* returnType */ boolean, /* major */ number, /* minor */ number ]
1537
1537
  static get_catalogs(): Catalog[]
1538
- static get_catalogs_dir(): string | null
1538
+ static get_catalogs_dir(): string
1539
1539
  static get_clipboard(): Clipboard
1540
1540
  static get_config(): GLib.KeyFile
1541
- static get_lib_dir(): string | null
1542
- static get_locale_dir(): string | null
1543
- static get_modules_dir(): string | null
1544
- static get_pixmaps_dir(): string | null
1541
+ static get_lib_dir(): string
1542
+ static get_locale_dir(): string
1543
+ static get_modules_dir(): string
1544
+ static get_pixmaps_dir(): string
1545
1545
  /**
1546
1546
  * Finds an open project with `path`
1547
1547
  * @param project_path The path of an open project
1548
1548
  * @returns A #GladeProject, or NULL if no such open project was found
1549
1549
  */
1550
- static get_project_by_path(project_path: string | null): Project | null
1550
+ static get_project_by_path(project_path: string): Project | null
1551
1551
  static get_projects(): Catalog[]
1552
1552
  static get_window(): Gtk.Widget
1553
- static is_project_loaded(project_path: string | null): boolean
1553
+ static is_project_loaded(project_path: string): boolean
1554
1554
  static remove_project(project: Project): void
1555
1555
  /**
1556
1556
  * Searches for `book,` `page` and `search` in the documentation.
@@ -1558,7 +1558,7 @@ export class App extends GObject.Object {
1558
1558
  * @param page the name of a page
1559
1559
  * @param search the search query
1560
1560
  */
1561
- static search_docs(book: string | null, page: string | null, search: string | null): void
1561
+ static search_docs(book: string, page: string, search: string): void
1562
1562
  /**
1563
1563
  * Sets `accel_group` to app.
1564
1564
  * The acceleration group will made available for editor dialog windows
@@ -1691,7 +1691,7 @@ export interface BaseEditor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Ori
1691
1691
  * @param child the child widget
1692
1692
  * @param child_property the name of a child property installed on the class of `container`
1693
1693
  */
1694
- child_notify(child: Gtk.Widget, child_property: string | null): void
1694
+ child_notify(child: Gtk.Widget, child_property: string): void
1695
1695
 
1696
1696
  // Overloads of child_notify
1697
1697
 
@@ -1705,7 +1705,7 @@ export interface BaseEditor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Ori
1705
1705
  * Also see gtk_container_child_notify().
1706
1706
  * @param child_property the name of a child property installed on the class of `widget’`s parent
1707
1707
  */
1708
- child_notify(child_property: string | null): void
1708
+ child_notify(child_property: string): void
1709
1709
  /**
1710
1710
  * Emits a #GtkWidget::child-notify signal for the
1711
1711
  * [child property][child-properties] `child_property`
@@ -1716,7 +1716,7 @@ export interface BaseEditor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Ori
1716
1716
  * Also see gtk_container_child_notify().
1717
1717
  * @param child_property the name of a child property installed on the class of `widget’`s parent
1718
1718
  */
1719
- child_notify(child_property: string | null): void
1719
+ child_notify(child_property: string): void
1720
1720
 
1721
1721
  // Own virtual methods of Gladeui-2.0.Gladeui.BaseEditor
1722
1722
 
@@ -1953,7 +1953,7 @@ export interface CellRendererIcon {
1953
1953
 
1954
1954
  // Own virtual methods of Gladeui-2.0.Gladeui.CellRendererIcon
1955
1955
 
1956
- vfunc_activate(path: string | null): void
1956
+ vfunc_activate(path: string): void
1957
1957
 
1958
1958
  // Overloads of vfunc_activate
1959
1959
 
@@ -1970,7 +1970,7 @@ export interface CellRendererIcon {
1970
1970
  * @param flags render flags
1971
1971
  * @returns %TRUE if the event was consumed/handled
1972
1972
  */
1973
- vfunc_activate(event: Gdk.Event, widget: Gtk.Widget, path: string | null, background_area: Gdk.Rectangle, cell_area: Gdk.Rectangle, flags: Gtk.CellRendererState): boolean
1973
+ vfunc_activate(event: Gdk.Event, widget: Gtk.Widget, path: string, background_area: Gdk.Rectangle, cell_area: Gdk.Rectangle, flags: Gtk.CellRendererState): boolean
1974
1974
 
1975
1975
  // Own signals of Gladeui-2.0.Gladeui.CellRendererIcon
1976
1976
 
@@ -2169,7 +2169,7 @@ export interface Command {
2169
2169
  * @param other another #GladeCommand
2170
2170
  */
2171
2171
  collapse(other: Command): void
2172
- description(): string | null
2172
+ description(): string
2173
2173
  /**
2174
2174
  * Executes `command`
2175
2175
  * @returns whether the command was successfully executed
@@ -2329,26 +2329,26 @@ export class Command extends GObject.Object {
2329
2329
  * @param context a #const gchar *
2330
2330
  * @param comment a #const gchar *
2331
2331
  */
2332
- static set_i18n(property: Property, translatable: boolean, context: string | null, comment: string | null): void
2333
- static set_name(glade_widget: Widget, name: string | null): void
2332
+ static set_i18n(property: Property, translatable: boolean, context: string, comment: string): void
2333
+ static set_name(glade_widget: Widget, name: string): void
2334
2334
  /**
2335
2335
  * Sets `domain` as the translation domain for `project`.
2336
2336
  * @param project A #GladeProject
2337
2337
  * @param domain The translation domain for `project`
2338
2338
  */
2339
- static set_project_domain(project: Project, domain: string | null): void
2339
+ static set_project_domain(project: Project, domain: string): void
2340
2340
  /**
2341
2341
  * Sets the license agreement for `project`. It will be saved in the xml as comment.
2342
2342
  * @param project A #GladeProject
2343
2343
  * @param license License of `project`
2344
2344
  */
2345
- static set_project_license(project: Project, license: string | null): void
2345
+ static set_project_license(project: Project, license: string): void
2346
2346
  /**
2347
2347
  * Sets a resource path `project`.
2348
2348
  * @param project A #GladeProject
2349
2349
  * @param path path to load resources from.
2350
2350
  */
2351
- static set_project_resource_path(project: Project, path: string | null): void
2351
+ static set_project_resource_path(project: Project, path: string): void
2352
2352
  /**
2353
2353
  * Sets the target of `catalog` to `major`.`minor` in `project`.
2354
2354
  * @param project A #GladeProject
@@ -2356,7 +2356,7 @@ export class Command extends GObject.Object {
2356
2356
  * @param major The new major version of `catalog` to target
2357
2357
  * @param minor The new minor version of `catalog` to target
2358
2358
  */
2359
- static set_project_target(project: Project, catalog: string | null, major: number, minor: number): void
2359
+ static set_project_target(project: Project, catalog: string, major: number, minor: number): void
2360
2360
  /**
2361
2361
  * Sets `widget` to be the template widget in `project`.
2362
2362
  * @param project A #GladeProject
@@ -2421,7 +2421,7 @@ export interface DesignView extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Ori
2421
2421
  * @param child the child widget
2422
2422
  * @param child_property the name of a child property installed on the class of `container`
2423
2423
  */
2424
- child_notify(child: Gtk.Widget, child_property: string | null): void
2424
+ child_notify(child: Gtk.Widget, child_property: string): void
2425
2425
 
2426
2426
  // Overloads of child_notify
2427
2427
 
@@ -2435,7 +2435,7 @@ export interface DesignView extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Ori
2435
2435
  * Also see gtk_container_child_notify().
2436
2436
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2437
2437
  */
2438
- child_notify(child_property: string | null): void
2438
+ child_notify(child_property: string): void
2439
2439
  /**
2440
2440
  * Emits a #GtkWidget::child-notify signal for the
2441
2441
  * [child property][child-properties] `child_property`
@@ -2446,7 +2446,7 @@ export interface DesignView extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Ori
2446
2446
  * Also see gtk_container_child_notify().
2447
2447
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2448
2448
  */
2449
- child_notify(child_property: string | null): void
2449
+ child_notify(child_property: string): void
2450
2450
 
2451
2451
  // Class property signals of Gladeui-2.0.Gladeui.DesignView
2452
2452
 
@@ -2665,7 +2665,7 @@ export interface EPropBool extends Atk.ImplementorIface, Editable, Gtk.Buildable
2665
2665
  * @param property_name the name of the property to get
2666
2666
  * @param value return location for the property value
2667
2667
  */
2668
- get_property(property_name: string | null, value: any): void
2668
+ get_property(property_name: string, value: any): void
2669
2669
  /**
2670
2670
  * Gets a property of an object.
2671
2671
  *
@@ -2686,7 +2686,7 @@ export interface EPropBool extends Atk.ImplementorIface, Editable, Gtk.Buildable
2686
2686
  * @param property_name the name of the property to get
2687
2687
  * @param value return location for the property value
2688
2688
  */
2689
- get_property(property_name: string | null, value: any): void
2689
+ get_property(property_name: string, value: any): void
2690
2690
  /**
2691
2691
  * Loads `widget` property values into `editable`
2692
2692
  * (the editable will watch the widgets properties
@@ -2721,7 +2721,7 @@ export interface EPropBool extends Atk.ImplementorIface, Editable, Gtk.Buildable
2721
2721
  * Also see gtk_container_child_notify().
2722
2722
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2723
2723
  */
2724
- child_notify(child_property: string | null): void
2724
+ child_notify(child_property: string): void
2725
2725
  /**
2726
2726
  * Emits a #GtkWidget::child-notify signal for the
2727
2727
  * [child property][child-properties]
@@ -2733,7 +2733,7 @@ export interface EPropBool extends Atk.ImplementorIface, Editable, Gtk.Buildable
2733
2733
  * @param child the child widget
2734
2734
  * @param child_property the name of a child property installed on the class of `container`
2735
2735
  */
2736
- child_notify(child: Gtk.Widget, child_property: string | null): void
2736
+ child_notify(child: Gtk.Widget, child_property: string): void
2737
2737
 
2738
2738
  // Overloads of child_notify
2739
2739
 
@@ -2747,7 +2747,7 @@ export interface EPropBool extends Atk.ImplementorIface, Editable, Gtk.Buildable
2747
2747
  * Also see gtk_container_child_notify().
2748
2748
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2749
2749
  */
2750
- child_notify(child_property: string | null): void
2750
+ child_notify(child_property: string): void
2751
2751
  /**
2752
2752
  * Loads `widget` property values into `editable`
2753
2753
  * (the editable will watch the widgets properties
@@ -2988,7 +2988,7 @@ export interface EPropCheck extends Atk.ImplementorIface, Editable, Gtk.Buildabl
2988
2988
  * @param property_name the name of the property to get
2989
2989
  * @param value return location for the property value
2990
2990
  */
2991
- get_property(property_name: string | null, value: any): void
2991
+ get_property(property_name: string, value: any): void
2992
2992
  /**
2993
2993
  * Gets a property of an object.
2994
2994
  *
@@ -3009,7 +3009,7 @@ export interface EPropCheck extends Atk.ImplementorIface, Editable, Gtk.Buildabl
3009
3009
  * @param property_name the name of the property to get
3010
3010
  * @param value return location for the property value
3011
3011
  */
3012
- get_property(property_name: string | null, value: any): void
3012
+ get_property(property_name: string, value: any): void
3013
3013
  /**
3014
3014
  * Loads `widget` property values into `editable`
3015
3015
  * (the editable will watch the widgets properties
@@ -3044,7 +3044,7 @@ export interface EPropCheck extends Atk.ImplementorIface, Editable, Gtk.Buildabl
3044
3044
  * Also see gtk_container_child_notify().
3045
3045
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3046
3046
  */
3047
- child_notify(child_property: string | null): void
3047
+ child_notify(child_property: string): void
3048
3048
  /**
3049
3049
  * Emits a #GtkWidget::child-notify signal for the
3050
3050
  * [child property][child-properties]
@@ -3056,7 +3056,7 @@ export interface EPropCheck extends Atk.ImplementorIface, Editable, Gtk.Buildabl
3056
3056
  * @param child the child widget
3057
3057
  * @param child_property the name of a child property installed on the class of `container`
3058
3058
  */
3059
- child_notify(child: Gtk.Widget, child_property: string | null): void
3059
+ child_notify(child: Gtk.Widget, child_property: string): void
3060
3060
 
3061
3061
  // Overloads of child_notify
3062
3062
 
@@ -3070,7 +3070,7 @@ export interface EPropCheck extends Atk.ImplementorIface, Editable, Gtk.Buildabl
3070
3070
  * Also see gtk_container_child_notify().
3071
3071
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3072
3072
  */
3073
- child_notify(child_property: string | null): void
3073
+ child_notify(child_property: string): void
3074
3074
  /**
3075
3075
  * Loads `widget` property values into `editable`
3076
3076
  * (the editable will watch the widgets properties
@@ -3311,7 +3311,7 @@ export interface EPropColor extends Atk.ImplementorIface, Editable, Gtk.Buildabl
3311
3311
  * @param property_name the name of the property to get
3312
3312
  * @param value return location for the property value
3313
3313
  */
3314
- get_property(property_name: string | null, value: any): void
3314
+ get_property(property_name: string, value: any): void
3315
3315
  /**
3316
3316
  * Gets a property of an object.
3317
3317
  *
@@ -3332,7 +3332,7 @@ export interface EPropColor extends Atk.ImplementorIface, Editable, Gtk.Buildabl
3332
3332
  * @param property_name the name of the property to get
3333
3333
  * @param value return location for the property value
3334
3334
  */
3335
- get_property(property_name: string | null, value: any): void
3335
+ get_property(property_name: string, value: any): void
3336
3336
  /**
3337
3337
  * Loads `widget` property values into `editable`
3338
3338
  * (the editable will watch the widgets properties
@@ -3367,7 +3367,7 @@ export interface EPropColor extends Atk.ImplementorIface, Editable, Gtk.Buildabl
3367
3367
  * Also see gtk_container_child_notify().
3368
3368
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3369
3369
  */
3370
- child_notify(child_property: string | null): void
3370
+ child_notify(child_property: string): void
3371
3371
  /**
3372
3372
  * Emits a #GtkWidget::child-notify signal for the
3373
3373
  * [child property][child-properties]
@@ -3379,7 +3379,7 @@ export interface EPropColor extends Atk.ImplementorIface, Editable, Gtk.Buildabl
3379
3379
  * @param child the child widget
3380
3380
  * @param child_property the name of a child property installed on the class of `container`
3381
3381
  */
3382
- child_notify(child: Gtk.Widget, child_property: string | null): void
3382
+ child_notify(child: Gtk.Widget, child_property: string): void
3383
3383
 
3384
3384
  // Overloads of child_notify
3385
3385
 
@@ -3393,7 +3393,7 @@ export interface EPropColor extends Atk.ImplementorIface, Editable, Gtk.Buildabl
3393
3393
  * Also see gtk_container_child_notify().
3394
3394
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3395
3395
  */
3396
- child_notify(child_property: string | null): void
3396
+ child_notify(child_property: string): void
3397
3397
  /**
3398
3398
  * Loads `widget` property values into `editable`
3399
3399
  * (the editable will watch the widgets properties
@@ -3634,7 +3634,7 @@ export interface EPropEnum extends Atk.ImplementorIface, Editable, Gtk.Buildable
3634
3634
  * @param property_name the name of the property to get
3635
3635
  * @param value return location for the property value
3636
3636
  */
3637
- get_property(property_name: string | null, value: any): void
3637
+ get_property(property_name: string, value: any): void
3638
3638
  /**
3639
3639
  * Gets a property of an object.
3640
3640
  *
@@ -3655,7 +3655,7 @@ export interface EPropEnum extends Atk.ImplementorIface, Editable, Gtk.Buildable
3655
3655
  * @param property_name the name of the property to get
3656
3656
  * @param value return location for the property value
3657
3657
  */
3658
- get_property(property_name: string | null, value: any): void
3658
+ get_property(property_name: string, value: any): void
3659
3659
  /**
3660
3660
  * Loads `widget` property values into `editable`
3661
3661
  * (the editable will watch the widgets properties
@@ -3690,7 +3690,7 @@ export interface EPropEnum extends Atk.ImplementorIface, Editable, Gtk.Buildable
3690
3690
  * Also see gtk_container_child_notify().
3691
3691
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3692
3692
  */
3693
- child_notify(child_property: string | null): void
3693
+ child_notify(child_property: string): void
3694
3694
  /**
3695
3695
  * Emits a #GtkWidget::child-notify signal for the
3696
3696
  * [child property][child-properties]
@@ -3702,7 +3702,7 @@ export interface EPropEnum extends Atk.ImplementorIface, Editable, Gtk.Buildable
3702
3702
  * @param child the child widget
3703
3703
  * @param child_property the name of a child property installed on the class of `container`
3704
3704
  */
3705
- child_notify(child: Gtk.Widget, child_property: string | null): void
3705
+ child_notify(child: Gtk.Widget, child_property: string): void
3706
3706
 
3707
3707
  // Overloads of child_notify
3708
3708
 
@@ -3716,7 +3716,7 @@ export interface EPropEnum extends Atk.ImplementorIface, Editable, Gtk.Buildable
3716
3716
  * Also see gtk_container_child_notify().
3717
3717
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3718
3718
  */
3719
- child_notify(child_property: string | null): void
3719
+ child_notify(child_property: string): void
3720
3720
  /**
3721
3721
  * Loads `widget` property values into `editable`
3722
3722
  * (the editable will watch the widgets properties
@@ -3957,7 +3957,7 @@ export interface EPropFlags extends Atk.ImplementorIface, Editable, Gtk.Buildabl
3957
3957
  * @param property_name the name of the property to get
3958
3958
  * @param value return location for the property value
3959
3959
  */
3960
- get_property(property_name: string | null, value: any): void
3960
+ get_property(property_name: string, value: any): void
3961
3961
  /**
3962
3962
  * Gets a property of an object.
3963
3963
  *
@@ -3978,7 +3978,7 @@ export interface EPropFlags extends Atk.ImplementorIface, Editable, Gtk.Buildabl
3978
3978
  * @param property_name the name of the property to get
3979
3979
  * @param value return location for the property value
3980
3980
  */
3981
- get_property(property_name: string | null, value: any): void
3981
+ get_property(property_name: string, value: any): void
3982
3982
  /**
3983
3983
  * Loads `widget` property values into `editable`
3984
3984
  * (the editable will watch the widgets properties
@@ -4013,7 +4013,7 @@ export interface EPropFlags extends Atk.ImplementorIface, Editable, Gtk.Buildabl
4013
4013
  * Also see gtk_container_child_notify().
4014
4014
  * @param child_property the name of a child property installed on the class of `widget’`s parent
4015
4015
  */
4016
- child_notify(child_property: string | null): void
4016
+ child_notify(child_property: string): void
4017
4017
  /**
4018
4018
  * Emits a #GtkWidget::child-notify signal for the
4019
4019
  * [child property][child-properties]
@@ -4025,7 +4025,7 @@ export interface EPropFlags extends Atk.ImplementorIface, Editable, Gtk.Buildabl
4025
4025
  * @param child the child widget
4026
4026
  * @param child_property the name of a child property installed on the class of `container`
4027
4027
  */
4028
- child_notify(child: Gtk.Widget, child_property: string | null): void
4028
+ child_notify(child: Gtk.Widget, child_property: string): void
4029
4029
 
4030
4030
  // Overloads of child_notify
4031
4031
 
@@ -4039,7 +4039,7 @@ export interface EPropFlags extends Atk.ImplementorIface, Editable, Gtk.Buildabl
4039
4039
  * Also see gtk_container_child_notify().
4040
4040
  * @param child_property the name of a child property installed on the class of `widget’`s parent
4041
4041
  */
4042
- child_notify(child_property: string | null): void
4042
+ child_notify(child_property: string): void
4043
4043
  /**
4044
4044
  * Loads `widget` property values into `editable`
4045
4045
  * (the editable will watch the widgets properties
@@ -4280,7 +4280,7 @@ export interface EPropNamedIcon extends Atk.ImplementorIface, Editable, Gtk.Buil
4280
4280
  * @param property_name the name of the property to get
4281
4281
  * @param value return location for the property value
4282
4282
  */
4283
- get_property(property_name: string | null, value: any): void
4283
+ get_property(property_name: string, value: any): void
4284
4284
  /**
4285
4285
  * Gets a property of an object.
4286
4286
  *
@@ -4301,7 +4301,7 @@ export interface EPropNamedIcon extends Atk.ImplementorIface, Editable, Gtk.Buil
4301
4301
  * @param property_name the name of the property to get
4302
4302
  * @param value return location for the property value
4303
4303
  */
4304
- get_property(property_name: string | null, value: any): void
4304
+ get_property(property_name: string, value: any): void
4305
4305
  /**
4306
4306
  * Loads `widget` property values into `editable`
4307
4307
  * (the editable will watch the widgets properties
@@ -4336,7 +4336,7 @@ export interface EPropNamedIcon extends Atk.ImplementorIface, Editable, Gtk.Buil
4336
4336
  * Also see gtk_container_child_notify().
4337
4337
  * @param child_property the name of a child property installed on the class of `widget’`s parent
4338
4338
  */
4339
- child_notify(child_property: string | null): void
4339
+ child_notify(child_property: string): void
4340
4340
  /**
4341
4341
  * Emits a #GtkWidget::child-notify signal for the
4342
4342
  * [child property][child-properties]
@@ -4348,7 +4348,7 @@ export interface EPropNamedIcon extends Atk.ImplementorIface, Editable, Gtk.Buil
4348
4348
  * @param child the child widget
4349
4349
  * @param child_property the name of a child property installed on the class of `container`
4350
4350
  */
4351
- child_notify(child: Gtk.Widget, child_property: string | null): void
4351
+ child_notify(child: Gtk.Widget, child_property: string): void
4352
4352
 
4353
4353
  // Overloads of child_notify
4354
4354
 
@@ -4362,7 +4362,7 @@ export interface EPropNamedIcon extends Atk.ImplementorIface, Editable, Gtk.Buil
4362
4362
  * Also see gtk_container_child_notify().
4363
4363
  * @param child_property the name of a child property installed on the class of `widget’`s parent
4364
4364
  */
4365
- child_notify(child_property: string | null): void
4365
+ child_notify(child_property: string): void
4366
4366
  /**
4367
4367
  * Loads `widget` property values into `editable`
4368
4368
  * (the editable will watch the widgets properties
@@ -4603,7 +4603,7 @@ export interface EPropNumeric extends Atk.ImplementorIface, Editable, Gtk.Builda
4603
4603
  * @param property_name the name of the property to get
4604
4604
  * @param value return location for the property value
4605
4605
  */
4606
- get_property(property_name: string | null, value: any): void
4606
+ get_property(property_name: string, value: any): void
4607
4607
  /**
4608
4608
  * Gets a property of an object.
4609
4609
  *
@@ -4624,7 +4624,7 @@ export interface EPropNumeric extends Atk.ImplementorIface, Editable, Gtk.Builda
4624
4624
  * @param property_name the name of the property to get
4625
4625
  * @param value return location for the property value
4626
4626
  */
4627
- get_property(property_name: string | null, value: any): void
4627
+ get_property(property_name: string, value: any): void
4628
4628
  /**
4629
4629
  * Loads `widget` property values into `editable`
4630
4630
  * (the editable will watch the widgets properties
@@ -4659,7 +4659,7 @@ export interface EPropNumeric extends Atk.ImplementorIface, Editable, Gtk.Builda
4659
4659
  * Also see gtk_container_child_notify().
4660
4660
  * @param child_property the name of a child property installed on the class of `widget’`s parent
4661
4661
  */
4662
- child_notify(child_property: string | null): void
4662
+ child_notify(child_property: string): void
4663
4663
  /**
4664
4664
  * Emits a #GtkWidget::child-notify signal for the
4665
4665
  * [child property][child-properties]
@@ -4671,7 +4671,7 @@ export interface EPropNumeric extends Atk.ImplementorIface, Editable, Gtk.Builda
4671
4671
  * @param child the child widget
4672
4672
  * @param child_property the name of a child property installed on the class of `container`
4673
4673
  */
4674
- child_notify(child: Gtk.Widget, child_property: string | null): void
4674
+ child_notify(child: Gtk.Widget, child_property: string): void
4675
4675
 
4676
4676
  // Overloads of child_notify
4677
4677
 
@@ -4685,7 +4685,7 @@ export interface EPropNumeric extends Atk.ImplementorIface, Editable, Gtk.Builda
4685
4685
  * Also see gtk_container_child_notify().
4686
4686
  * @param child_property the name of a child property installed on the class of `widget’`s parent
4687
4687
  */
4688
- child_notify(child_property: string | null): void
4688
+ child_notify(child_property: string): void
4689
4689
  /**
4690
4690
  * Loads `widget` property values into `editable`
4691
4691
  * (the editable will watch the widgets properties
@@ -4926,7 +4926,7 @@ export interface EPropObject extends Atk.ImplementorIface, Editable, Gtk.Buildab
4926
4926
  * @param property_name the name of the property to get
4927
4927
  * @param value return location for the property value
4928
4928
  */
4929
- get_property(property_name: string | null, value: any): void
4929
+ get_property(property_name: string, value: any): void
4930
4930
  /**
4931
4931
  * Gets a property of an object.
4932
4932
  *
@@ -4947,7 +4947,7 @@ export interface EPropObject extends Atk.ImplementorIface, Editable, Gtk.Buildab
4947
4947
  * @param property_name the name of the property to get
4948
4948
  * @param value return location for the property value
4949
4949
  */
4950
- get_property(property_name: string | null, value: any): void
4950
+ get_property(property_name: string, value: any): void
4951
4951
  /**
4952
4952
  * Loads `widget` property values into `editable`
4953
4953
  * (the editable will watch the widgets properties
@@ -4982,7 +4982,7 @@ export interface EPropObject extends Atk.ImplementorIface, Editable, Gtk.Buildab
4982
4982
  * Also see gtk_container_child_notify().
4983
4983
  * @param child_property the name of a child property installed on the class of `widget’`s parent
4984
4984
  */
4985
- child_notify(child_property: string | null): void
4985
+ child_notify(child_property: string): void
4986
4986
  /**
4987
4987
  * Emits a #GtkWidget::child-notify signal for the
4988
4988
  * [child property][child-properties]
@@ -4994,7 +4994,7 @@ export interface EPropObject extends Atk.ImplementorIface, Editable, Gtk.Buildab
4994
4994
  * @param child the child widget
4995
4995
  * @param child_property the name of a child property installed on the class of `container`
4996
4996
  */
4997
- child_notify(child: Gtk.Widget, child_property: string | null): void
4997
+ child_notify(child: Gtk.Widget, child_property: string): void
4998
4998
 
4999
4999
  // Overloads of child_notify
5000
5000
 
@@ -5008,7 +5008,7 @@ export interface EPropObject extends Atk.ImplementorIface, Editable, Gtk.Buildab
5008
5008
  * Also see gtk_container_child_notify().
5009
5009
  * @param child_property the name of a child property installed on the class of `widget’`s parent
5010
5010
  */
5011
- child_notify(child_property: string | null): void
5011
+ child_notify(child_property: string): void
5012
5012
  /**
5013
5013
  * Loads `widget` property values into `editable`
5014
5014
  * (the editable will watch the widgets properties
@@ -5249,7 +5249,7 @@ export interface EPropObjects extends Atk.ImplementorIface, Editable, Gtk.Builda
5249
5249
  * @param property_name the name of the property to get
5250
5250
  * @param value return location for the property value
5251
5251
  */
5252
- get_property(property_name: string | null, value: any): void
5252
+ get_property(property_name: string, value: any): void
5253
5253
  /**
5254
5254
  * Gets a property of an object.
5255
5255
  *
@@ -5270,7 +5270,7 @@ export interface EPropObjects extends Atk.ImplementorIface, Editable, Gtk.Builda
5270
5270
  * @param property_name the name of the property to get
5271
5271
  * @param value return location for the property value
5272
5272
  */
5273
- get_property(property_name: string | null, value: any): void
5273
+ get_property(property_name: string, value: any): void
5274
5274
  /**
5275
5275
  * Loads `widget` property values into `editable`
5276
5276
  * (the editable will watch the widgets properties
@@ -5305,7 +5305,7 @@ export interface EPropObjects extends Atk.ImplementorIface, Editable, Gtk.Builda
5305
5305
  * Also see gtk_container_child_notify().
5306
5306
  * @param child_property the name of a child property installed on the class of `widget’`s parent
5307
5307
  */
5308
- child_notify(child_property: string | null): void
5308
+ child_notify(child_property: string): void
5309
5309
  /**
5310
5310
  * Emits a #GtkWidget::child-notify signal for the
5311
5311
  * [child property][child-properties]
@@ -5317,7 +5317,7 @@ export interface EPropObjects extends Atk.ImplementorIface, Editable, Gtk.Builda
5317
5317
  * @param child the child widget
5318
5318
  * @param child_property the name of a child property installed on the class of `container`
5319
5319
  */
5320
- child_notify(child: Gtk.Widget, child_property: string | null): void
5320
+ child_notify(child: Gtk.Widget, child_property: string): void
5321
5321
 
5322
5322
  // Overloads of child_notify
5323
5323
 
@@ -5331,7 +5331,7 @@ export interface EPropObjects extends Atk.ImplementorIface, Editable, Gtk.Builda
5331
5331
  * Also see gtk_container_child_notify().
5332
5332
  * @param child_property the name of a child property installed on the class of `widget’`s parent
5333
5333
  */
5334
- child_notify(child_property: string | null): void
5334
+ child_notify(child_property: string): void
5335
5335
  /**
5336
5336
  * Loads `widget` property values into `editable`
5337
5337
  * (the editable will watch the widgets properties
@@ -5572,7 +5572,7 @@ export interface EPropText extends Atk.ImplementorIface, Editable, Gtk.Buildable
5572
5572
  * @param property_name the name of the property to get
5573
5573
  * @param value return location for the property value
5574
5574
  */
5575
- get_property(property_name: string | null, value: any): void
5575
+ get_property(property_name: string, value: any): void
5576
5576
  /**
5577
5577
  * Gets a property of an object.
5578
5578
  *
@@ -5593,7 +5593,7 @@ export interface EPropText extends Atk.ImplementorIface, Editable, Gtk.Buildable
5593
5593
  * @param property_name the name of the property to get
5594
5594
  * @param value return location for the property value
5595
5595
  */
5596
- get_property(property_name: string | null, value: any): void
5596
+ get_property(property_name: string, value: any): void
5597
5597
  /**
5598
5598
  * Loads `widget` property values into `editable`
5599
5599
  * (the editable will watch the widgets properties
@@ -5628,7 +5628,7 @@ export interface EPropText extends Atk.ImplementorIface, Editable, Gtk.Buildable
5628
5628
  * Also see gtk_container_child_notify().
5629
5629
  * @param child_property the name of a child property installed on the class of `widget’`s parent
5630
5630
  */
5631
- child_notify(child_property: string | null): void
5631
+ child_notify(child_property: string): void
5632
5632
  /**
5633
5633
  * Emits a #GtkWidget::child-notify signal for the
5634
5634
  * [child property][child-properties]
@@ -5640,7 +5640,7 @@ export interface EPropText extends Atk.ImplementorIface, Editable, Gtk.Buildable
5640
5640
  * @param child the child widget
5641
5641
  * @param child_property the name of a child property installed on the class of `container`
5642
5642
  */
5643
- child_notify(child: Gtk.Widget, child_property: string | null): void
5643
+ child_notify(child: Gtk.Widget, child_property: string): void
5644
5644
 
5645
5645
  // Overloads of child_notify
5646
5646
 
@@ -5654,7 +5654,7 @@ export interface EPropText extends Atk.ImplementorIface, Editable, Gtk.Buildable
5654
5654
  * Also see gtk_container_child_notify().
5655
5655
  * @param child_property the name of a child property installed on the class of `widget’`s parent
5656
5656
  */
5657
- child_notify(child_property: string | null): void
5657
+ child_notify(child_property: string): void
5658
5658
  /**
5659
5659
  * Loads `widget` property values into `editable`
5660
5660
  * (the editable will watch the widgets properties
@@ -5895,7 +5895,7 @@ export interface EPropUnichar extends Atk.ImplementorIface, Editable, Gtk.Builda
5895
5895
  * @param property_name the name of the property to get
5896
5896
  * @param value return location for the property value
5897
5897
  */
5898
- get_property(property_name: string | null, value: any): void
5898
+ get_property(property_name: string, value: any): void
5899
5899
  /**
5900
5900
  * Gets a property of an object.
5901
5901
  *
@@ -5916,7 +5916,7 @@ export interface EPropUnichar extends Atk.ImplementorIface, Editable, Gtk.Builda
5916
5916
  * @param property_name the name of the property to get
5917
5917
  * @param value return location for the property value
5918
5918
  */
5919
- get_property(property_name: string | null, value: any): void
5919
+ get_property(property_name: string, value: any): void
5920
5920
  /**
5921
5921
  * Loads `widget` property values into `editable`
5922
5922
  * (the editable will watch the widgets properties
@@ -5951,7 +5951,7 @@ export interface EPropUnichar extends Atk.ImplementorIface, Editable, Gtk.Builda
5951
5951
  * Also see gtk_container_child_notify().
5952
5952
  * @param child_property the name of a child property installed on the class of `widget’`s parent
5953
5953
  */
5954
- child_notify(child_property: string | null): void
5954
+ child_notify(child_property: string): void
5955
5955
  /**
5956
5956
  * Emits a #GtkWidget::child-notify signal for the
5957
5957
  * [child property][child-properties]
@@ -5963,7 +5963,7 @@ export interface EPropUnichar extends Atk.ImplementorIface, Editable, Gtk.Builda
5963
5963
  * @param child the child widget
5964
5964
  * @param child_property the name of a child property installed on the class of `container`
5965
5965
  */
5966
- child_notify(child: Gtk.Widget, child_property: string | null): void
5966
+ child_notify(child: Gtk.Widget, child_property: string): void
5967
5967
 
5968
5968
  // Overloads of child_notify
5969
5969
 
@@ -5977,7 +5977,7 @@ export interface EPropUnichar extends Atk.ImplementorIface, Editable, Gtk.Builda
5977
5977
  * Also see gtk_container_child_notify().
5978
5978
  * @param child_property the name of a child property installed on the class of `widget’`s parent
5979
5979
  */
5980
- child_notify(child_property: string | null): void
5980
+ child_notify(child_property: string): void
5981
5981
  /**
5982
5982
  * Loads `widget` property values into `editable`
5983
5983
  * (the editable will watch the widgets properties
@@ -6237,7 +6237,7 @@ export interface Editor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orienta
6237
6237
  * @param child the child widget
6238
6238
  * @param child_property the name of a child property installed on the class of `container`
6239
6239
  */
6240
- child_notify(child: Gtk.Widget, child_property: string | null): void
6240
+ child_notify(child: Gtk.Widget, child_property: string): void
6241
6241
 
6242
6242
  // Overloads of child_notify
6243
6243
 
@@ -6251,7 +6251,7 @@ export interface Editor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orienta
6251
6251
  * Also see gtk_container_child_notify().
6252
6252
  * @param child_property the name of a child property installed on the class of `widget’`s parent
6253
6253
  */
6254
- child_notify(child_property: string | null): void
6254
+ child_notify(child_property: string): void
6255
6255
  /**
6256
6256
  * Emits a #GtkWidget::child-notify signal for the
6257
6257
  * [child property][child-properties] `child_property`
@@ -6262,7 +6262,7 @@ export interface Editor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orienta
6262
6262
  * Also see gtk_container_child_notify().
6263
6263
  * @param child_property the name of a child property installed on the class of `widget’`s parent
6264
6264
  */
6265
- child_notify(child_property: string | null): void
6265
+ child_notify(child_property: string): void
6266
6266
 
6267
6267
  // Class property signals of Gladeui-2.0.Gladeui.Editor
6268
6268
 
@@ -6525,7 +6525,7 @@ export interface EditorProperty extends Atk.ImplementorIface, Editable, Gtk.Buil
6525
6525
  */
6526
6526
  commit(value: any): void
6527
6527
  commit_no_callback(value: any): void
6528
- get_custom_text(): string | null
6528
+ get_custom_text(): string
6529
6529
  get_disable_check(): boolean
6530
6530
  get_item_label(): Gtk.Widget
6531
6531
  get_property(): Property
@@ -6552,7 +6552,7 @@ export interface EditorProperty extends Atk.ImplementorIface, Editable, Gtk.Buil
6552
6552
  * @param property_name the name of the property to get
6553
6553
  * @param value return location for the property value
6554
6554
  */
6555
- get_property(property_name: string | null, value: any): void
6555
+ get_property(property_name: string, value: any): void
6556
6556
  get_property_def(): PropertyDef
6557
6557
  /**
6558
6558
  * Loads `property` values into `eprop` and connects.
@@ -6578,7 +6578,7 @@ export interface EditorProperty extends Atk.ImplementorIface, Editable, Gtk.Buil
6578
6578
  */
6579
6579
  load_by_widget(widget: Widget): void
6580
6580
  loading(): boolean
6581
- set_custom_text(custom_text: string | null): void
6581
+ set_custom_text(custom_text: string): void
6582
6582
  set_disable_check(disable_check: boolean): void
6583
6583
 
6584
6584
  // Conflicting methods
@@ -6593,7 +6593,7 @@ export interface EditorProperty extends Atk.ImplementorIface, Editable, Gtk.Buil
6593
6593
  * Also see gtk_container_child_notify().
6594
6594
  * @param child_property the name of a child property installed on the class of `widget’`s parent
6595
6595
  */
6596
- child_notify(child_property: string | null): void
6596
+ child_notify(child_property: string): void
6597
6597
  /**
6598
6598
  * Emits a #GtkWidget::child-notify signal for the
6599
6599
  * [child property][child-properties]
@@ -6605,7 +6605,7 @@ export interface EditorProperty extends Atk.ImplementorIface, Editable, Gtk.Buil
6605
6605
  * @param child the child widget
6606
6606
  * @param child_property the name of a child property installed on the class of `container`
6607
6607
  */
6608
- child_notify(child: Gtk.Widget, child_property: string | null): void
6608
+ child_notify(child: Gtk.Widget, child_property: string): void
6609
6609
 
6610
6610
  // Overloads of child_notify
6611
6611
 
@@ -6619,7 +6619,7 @@ export interface EditorProperty extends Atk.ImplementorIface, Editable, Gtk.Buil
6619
6619
  * Also see gtk_container_child_notify().
6620
6620
  * @param child_property the name of a child property installed on the class of `widget’`s parent
6621
6621
  */
6622
- child_notify(child_property: string | null): void
6622
+ child_notify(child_property: string): void
6623
6623
 
6624
6624
  // Own virtual methods of Gladeui-2.0.Gladeui.EditorProperty
6625
6625
 
@@ -6838,7 +6838,7 @@ export class EditorProperty extends Gtk.Box {
6838
6838
  * @returns %TRUE if OK was selected.
6839
6839
  */
6840
6840
  static show_i18n_dialog(parent: Gtk.Widget, text: string | null, context: string | null, comment: string | null, translatable: boolean): boolean
6841
- static show_object_dialog(project: Project, title: string | null, parent: Gtk.Widget, object_type: GObject.GType, exception: Widget, object: Widget): boolean
6841
+ static show_object_dialog(project: Project, title: string, parent: Gtk.Widget, object_type: GObject.GType, exception: Widget, object: Widget): boolean
6842
6842
  static show_resource_dialog(project: Project, parent: Gtk.Widget, filename: string | null): boolean
6843
6843
  }
6844
6844
 
@@ -6873,7 +6873,7 @@ export interface EditorSkeleton extends Atk.ImplementorIface, Editable, Gtk.Buil
6873
6873
  * Also see gtk_container_child_notify().
6874
6874
  * @param child_property the name of a child property installed on the class of `widget’`s parent
6875
6875
  */
6876
- child_notify(child_property: string | null): void
6876
+ child_notify(child_property: string): void
6877
6877
  /**
6878
6878
  * Emits a #GtkWidget::child-notify signal for the
6879
6879
  * [child property][child-properties]
@@ -6885,7 +6885,7 @@ export interface EditorSkeleton extends Atk.ImplementorIface, Editable, Gtk.Buil
6885
6885
  * @param child the child widget
6886
6886
  * @param child_property the name of a child property installed on the class of `container`
6887
6887
  */
6888
- child_notify(child: Gtk.Widget, child_property: string | null): void
6888
+ child_notify(child: Gtk.Widget, child_property: string): void
6889
6889
 
6890
6890
  // Overloads of child_notify
6891
6891
 
@@ -6899,7 +6899,7 @@ export interface EditorSkeleton extends Atk.ImplementorIface, Editable, Gtk.Buil
6899
6899
  * Also see gtk_container_child_notify().
6900
6900
  * @param child_property the name of a child property installed on the class of `widget’`s parent
6901
6901
  */
6902
- child_notify(child_property: string | null): void
6902
+ child_notify(child_property: string): void
6903
6903
 
6904
6904
  // Class property signals of Gladeui-2.0.Gladeui.EditorSkeleton
6905
6905
 
@@ -7110,7 +7110,7 @@ export interface EditorTable extends Atk.ImplementorIface, Editable, Gtk.Buildab
7110
7110
  * Also see gtk_container_child_notify().
7111
7111
  * @param child_property the name of a child property installed on the class of `widget’`s parent
7112
7112
  */
7113
- child_notify(child_property: string | null): void
7113
+ child_notify(child_property: string): void
7114
7114
  /**
7115
7115
  * Emits a #GtkWidget::child-notify signal for the
7116
7116
  * [child property][child-properties]
@@ -7122,7 +7122,7 @@ export interface EditorTable extends Atk.ImplementorIface, Editable, Gtk.Buildab
7122
7122
  * @param child the child widget
7123
7123
  * @param child_property the name of a child property installed on the class of `container`
7124
7124
  */
7125
- child_notify(child: Gtk.Widget, child_property: string | null): void
7125
+ child_notify(child: Gtk.Widget, child_property: string): void
7126
7126
 
7127
7127
  // Overloads of child_notify
7128
7128
 
@@ -7136,7 +7136,7 @@ export interface EditorTable extends Atk.ImplementorIface, Editable, Gtk.Buildab
7136
7136
  * Also see gtk_container_child_notify().
7137
7137
  * @param child_property the name of a child property installed on the class of `widget’`s parent
7138
7138
  */
7139
- child_notify(child_property: string | null): void
7139
+ child_notify(child_property: string): void
7140
7140
 
7141
7141
  // Class property signals of Gladeui-2.0.Gladeui.EditorTable
7142
7142
 
@@ -7403,7 +7403,7 @@ export interface Inspector extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orie
7403
7403
  * @param child the child widget
7404
7404
  * @param child_property the name of a child property installed on the class of `container`
7405
7405
  */
7406
- child_notify(child: Gtk.Widget, child_property: string | null): void
7406
+ child_notify(child: Gtk.Widget, child_property: string): void
7407
7407
 
7408
7408
  // Overloads of child_notify
7409
7409
 
@@ -7417,7 +7417,7 @@ export interface Inspector extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orie
7417
7417
  * Also see gtk_container_child_notify().
7418
7418
  * @param child_property the name of a child property installed on the class of `widget’`s parent
7419
7419
  */
7420
- child_notify(child_property: string | null): void
7420
+ child_notify(child_property: string): void
7421
7421
  /**
7422
7422
  * Emits a #GtkWidget::child-notify signal for the
7423
7423
  * [child property][child-properties] `child_property`
@@ -7428,7 +7428,7 @@ export interface Inspector extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orie
7428
7428
  * Also see gtk_container_child_notify().
7429
7429
  * @param child_property the name of a child property installed on the class of `widget’`s parent
7430
7430
  */
7431
- child_notify(child_property: string | null): void
7431
+ child_notify(child_property: string): void
7432
7432
 
7433
7433
  // Own virtual methods of Gladeui-2.0.Gladeui.Inspector
7434
7434
 
@@ -7680,8 +7680,21 @@ export interface NamedIconChooserDialog extends Atk.ImplementorIface, Gtk.Builda
7680
7680
 
7681
7681
  get_context(): string | null
7682
7682
  get_icon_name(): string | null
7683
- set_context(context: string | null): boolean
7684
- set_icon_name(icon_name: string | null): void
7683
+ set_context(context: string): boolean
7684
+ set_icon_name(icon_name: string): void
7685
+
7686
+ // Overloads of set_icon_name
7687
+
7688
+ /**
7689
+ * Sets the icon for the window from a named themed icon.
7690
+ * See the docs for #GtkIconTheme for more details.
7691
+ * On some platforms, the window icon is not used at all.
7692
+ *
7693
+ * Note that this has nothing to do with the WM_ICON_NAME
7694
+ * property which is mentioned in the ICCCM.
7695
+ * @param name the name of the themed icon
7696
+ */
7697
+ set_icon_name(name: string | null): void
7685
7698
 
7686
7699
  // Conflicting methods
7687
7700
 
@@ -7718,7 +7731,7 @@ export interface NamedIconChooserDialog extends Atk.ImplementorIface, Gtk.Builda
7718
7731
  * @param child the child widget
7719
7732
  * @param child_property the name of a child property installed on the class of `container`
7720
7733
  */
7721
- child_notify(child: Gtk.Widget, child_property: string | null): void
7734
+ child_notify(child: Gtk.Widget, child_property: string): void
7722
7735
 
7723
7736
  // Overloads of child_notify
7724
7737
 
@@ -7732,7 +7745,7 @@ export interface NamedIconChooserDialog extends Atk.ImplementorIface, Gtk.Builda
7732
7745
  * Also see gtk_container_child_notify().
7733
7746
  * @param child_property the name of a child property installed on the class of `widget’`s parent
7734
7747
  */
7735
- child_notify(child_property: string | null): void
7748
+ child_notify(child_property: string): void
7736
7749
  /**
7737
7750
  * Emits a #GtkWidget::child-notify signal for the
7738
7751
  * [child property][child-properties] `child_property`
@@ -7743,7 +7756,7 @@ export interface NamedIconChooserDialog extends Atk.ImplementorIface, Gtk.Builda
7743
7756
  * Also see gtk_container_child_notify().
7744
7757
  * @param child_property the name of a child property installed on the class of `widget’`s parent
7745
7758
  */
7746
- child_notify(child_property: string | null): void
7759
+ child_notify(child_property: string): void
7747
7760
 
7748
7761
  // Own virtual methods of Gladeui-2.0.Gladeui.NamedIconChooserDialog
7749
7762
 
@@ -8095,7 +8108,7 @@ export interface Palette extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orient
8095
8108
  * @param child the child widget
8096
8109
  * @param child_property the name of a child property installed on the class of `container`
8097
8110
  */
8098
- child_notify(child: Gtk.Widget, child_property: string | null): void
8111
+ child_notify(child: Gtk.Widget, child_property: string): void
8099
8112
 
8100
8113
  // Overloads of child_notify
8101
8114
 
@@ -8109,7 +8122,7 @@ export interface Palette extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orient
8109
8122
  * Also see gtk_container_child_notify().
8110
8123
  * @param child_property the name of a child property installed on the class of `widget’`s parent
8111
8124
  */
8112
- child_notify(child_property: string | null): void
8125
+ child_notify(child_property: string): void
8113
8126
  /**
8114
8127
  * Emits a #GtkWidget::child-notify signal for the
8115
8128
  * [child property][child-properties] `child_property`
@@ -8120,7 +8133,7 @@ export interface Palette extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orient
8120
8133
  * Also see gtk_container_child_notify().
8121
8134
  * @param child_property the name of a child property installed on the class of `widget’`s parent
8122
8135
  */
8123
- child_notify(child_property: string | null): void
8136
+ child_notify(child_property: string): void
8124
8137
 
8125
8138
  // Own virtual methods of Gladeui-2.0.Gladeui.Palette
8126
8139
 
@@ -8694,7 +8707,7 @@ export interface Project extends Gtk.TreeDragSource, Gtk.TreeModel {
8694
8707
  * @param name base name of the widget to create
8695
8708
  * @returns whether the name is available or not.
8696
8709
  */
8697
- available_widget_name(widget: Widget, name: string | null): boolean
8710
+ available_widget_name(widget: Widget, name: string): boolean
8698
8711
  /**
8699
8712
  * Backup the last file which `project` has saved to
8700
8713
  * or was loaded from.
@@ -8708,7 +8721,7 @@ export interface Project extends Gtk.TreeDragSource, Gtk.TreeModel {
8708
8721
  * @param path location to save glade file
8709
8722
  * @returns %TRUE on success, %FALSE on failure
8710
8723
  */
8711
- backup(path: string | null): boolean
8724
+ backup(path: string): boolean
8712
8725
  cancel_load(): void
8713
8726
  check_reordered(parent: Widget, old_order: GObject.Object[]): void
8714
8727
  command_cut(): void
@@ -8717,10 +8730,10 @@ export interface Project extends Gtk.TreeDragSource, Gtk.TreeModel {
8717
8730
  copy_selection(): void
8718
8731
  display_dependencies(): string | null
8719
8732
  get_add_item(): WidgetAdaptor
8720
- get_css_provider_path(): string | null
8733
+ get_css_provider_path(): string
8721
8734
  get_file_mtime(): number
8722
8735
  get_has_selection(): boolean
8723
- get_license(): string | null
8736
+ get_license(): string
8724
8737
  /**
8725
8738
  * Get's whether the project has been modified since it was last saved.
8726
8739
  * @returns %TRUE if the project has been modified since it was last saved
@@ -8728,7 +8741,7 @@ export interface Project extends Gtk.TreeDragSource, Gtk.TreeModel {
8728
8741
  get_modified(): boolean
8729
8742
  get_name(): string | null
8730
8743
  get_objects(): GObject.Object[]
8731
- get_path(): string | null
8744
+ get_path(): string
8732
8745
 
8733
8746
  // Overloads of get_path
8734
8747
 
@@ -8746,27 +8759,27 @@ export interface Project extends Gtk.TreeDragSource, Gtk.TreeModel {
8746
8759
  * @returns TRUE if project is read only
8747
8760
  */
8748
8761
  get_readonly(): boolean
8749
- get_resource_path(): string | null
8762
+ get_resource_path(): string
8750
8763
  /**
8751
8764
  * Fetches the target version of the `project` for `catalog`.
8752
8765
  * @param catalog the name of the catalog `project` includes
8753
8766
  * @param major the return location for the target major version
8754
8767
  * @param minor the return location for the target minor version
8755
8768
  */
8756
- get_target_version(catalog: string | null, major: number, minor: number): void
8769
+ get_target_version(catalog: string, major: number, minor: number): void
8757
8770
  get_template(): Widget
8758
- get_translation_domain(): string | null
8771
+ get_translation_domain(): string
8759
8772
  /**
8760
8773
  * Searches under `ancestor` in `project` looking for a #GladeWidget named `name`.
8761
8774
  * @param name The user visible name of the widget we are looking for
8762
8775
  * @returns a pointer to the widget, %NULL if the widget does not exist
8763
8776
  */
8764
- get_widget_by_name(name: string | null): Widget | null
8777
+ get_widget_by_name(name: string): Widget | null
8765
8778
  has_object(object: GObject.Object): boolean
8766
8779
  is_loading(): boolean
8767
8780
  is_selected(object: GObject.Object): boolean
8768
8781
  load_cancelled(): boolean
8769
- load_from_file(path: string | null): boolean
8782
+ load_from_file(path: string): boolean
8770
8783
  /**
8771
8784
  * Creates a new name for a widget that doesn't collide with any of the names
8772
8785
  * already in `project`. This name will start with `base_name`.
@@ -8776,7 +8789,7 @@ export interface Project extends Gtk.TreeDragSource, Gtk.TreeModel {
8776
8789
  * @param base_name base name of the widget to create
8777
8790
  * @returns a string containing the new name, %NULL if there is not enough memory for this string
8778
8791
  */
8779
- new_widget_name(widget: Widget, base_name: string | null): string | null
8792
+ new_widget_name(widget: Widget, base_name: string): string | null
8780
8793
  /**
8781
8794
  * Gets the next redo item on `project'`s command stack.
8782
8795
  * @returns the #GladeCommand
@@ -8832,20 +8845,20 @@ export interface Project extends Gtk.TreeDragSource, Gtk.TreeModel {
8832
8845
  * @param resource The resource basename
8833
8846
  * @returns A newly allocated string holding the full path to the resource.
8834
8847
  */
8835
- resource_fullpath(resource: string | null): string | null
8848
+ resource_fullpath(resource: string): string | null
8836
8849
  /**
8837
8850
  * Saves `project` to the given path.
8838
8851
  * @param path location to save glade file
8839
8852
  * @returns %TRUE on success, %FALSE on failure
8840
8853
  */
8841
- save(path: string | null): boolean
8854
+ save(path: string): boolean
8842
8855
  /**
8843
8856
  * Saves `project` to the given path.
8844
8857
  * @param path location to save glade file
8845
8858
  * @param flags the #GladeVerifyFlags to warn about
8846
8859
  * @returns %TRUE on success, %FALSE on failure
8847
8860
  */
8848
- save_verify(path: string | null, flags: VerifyFlags): boolean
8861
+ save_verify(path: string, flags: VerifyFlags): boolean
8849
8862
  /**
8850
8863
  * Adds `object` to the selection chain of `project`
8851
8864
  *
@@ -8887,24 +8900,24 @@ export interface Project extends Gtk.TreeDragSource, Gtk.TreeModel {
8887
8900
  * Set the custom CSS provider path to use in `project`
8888
8901
  * @param path a CSS file path
8889
8902
  */
8890
- set_css_provider_path(path: string | null): void
8891
- set_license(license: string | null): void
8903
+ set_css_provider_path(path: string): void
8904
+ set_license(license: string): void
8892
8905
  set_pointer_mode(mode: PointerMode): void
8893
- set_resource_path(path: string | null): void
8894
- set_target_version(catalog: string | null, major: number, minor: number): void
8906
+ set_resource_path(path: string): void
8907
+ set_target_version(catalog: string, major: number, minor: number): void
8895
8908
  set_template(widget: Widget): void
8896
8909
  /**
8897
8910
  * Set the project translation domain.
8898
8911
  * @param domain the translation domain
8899
8912
  */
8900
- set_translation_domain(domain: string | null): void
8913
+ set_translation_domain(domain: string): void
8901
8914
  /**
8902
8915
  * Sets `name` on `widget` in `project,` if `name` is not
8903
8916
  * available then a new name will be used.
8904
8917
  * @param widget the #GladeWidget to set a name on
8905
8918
  * @param name the name to set.
8906
8919
  */
8907
- set_widget_name(widget: Widget, name: string | null): void
8920
+ set_widget_name(widget: Widget, name: string): void
8908
8921
  toplevels(): Gtk.Widget[]
8909
8922
  /**
8910
8923
  * Undoes a #GladeCommand in this project.
@@ -9106,7 +9119,7 @@ export class Project extends GObject.Object {
9106
9119
  * @param path the path of the project to load
9107
9120
  * @returns a new #GladeProject for the opened project on success, %NULL on failure
9108
9121
  */
9109
- static load(path: string | null): Project | null
9122
+ static load(path: string): Project | null
9110
9123
  static verify_property(property: Property): void
9111
9124
  static verify_signal(widget: Widget, signal: Signal): void
9112
9125
  }
@@ -9198,18 +9211,18 @@ export interface Property {
9198
9211
  get_save_always(): boolean
9199
9212
  get_sensitive(): boolean
9200
9213
  get_state(): PropertyState
9201
- get_support_warning(): string | null
9214
+ get_support_warning(): string
9202
9215
  /**
9203
9216
  * Retrieve the property value
9204
9217
  * @param value a #GValue
9205
9218
  */
9206
9219
  get_value(value: any): void
9207
9220
  get_widget(): Widget
9208
- i18n_get_comment(): string | null
9209
- i18n_get_context(): string | null
9221
+ i18n_get_comment(): string
9222
+ i18n_get_context(): string
9210
9223
  i18n_get_translatable(): boolean
9211
- i18n_set_comment(str: string | null): void
9212
- i18n_set_context(str: string | null): void
9224
+ i18n_set_comment(str: string): void
9225
+ i18n_set_context(str: string): void
9213
9226
  i18n_set_translatable(translatable: boolean): void
9214
9227
  inline_value(): any
9215
9228
  /**
@@ -9254,8 +9267,8 @@ export interface Property {
9254
9267
  * @param setting the value to set
9255
9268
  */
9256
9269
  set_save_always(setting: boolean): void
9257
- set_sensitive(sensitive: boolean, reason: string | null): void
9258
- set_support_warning(disable: boolean, reason: string | null): void
9270
+ set_sensitive(sensitive: boolean, reason: string): void
9271
+ set_support_warning(disable: boolean, reason: string): void
9259
9272
  /**
9260
9273
  * Sets the property's value
9261
9274
  * @param value a #GValue
@@ -9302,7 +9315,7 @@ export interface Property {
9302
9315
  * @virtual
9303
9316
  */
9304
9317
  vfunc_sync(): void
9305
- vfunc_tooltip_changed(tooltip: string | null, insensitive_tooltip: string | null, support_warning: string | null): void
9318
+ vfunc_tooltip_changed(tooltip: string, insensitive_tooltip: string, support_warning: string): void
9306
9319
  vfunc_value_changed(old_value: any, new_value: any): void
9307
9320
 
9308
9321
  // Own signals of Gladeui-2.0.Gladeui.Property
@@ -9424,8 +9437,8 @@ export interface PropertyLabel extends Atk.ImplementorIface, Editable, Gtk.Build
9424
9437
  // Owm methods of Gladeui-2.0.Gladeui.PropertyLabel
9425
9438
 
9426
9439
  get_append_colon(): boolean
9427
- get_custom_text(): string | null
9428
- get_custom_tooltip(): string | null
9440
+ get_custom_text(): string
9441
+ get_custom_tooltip(): string
9429
9442
  get_packing(): boolean
9430
9443
  get_property(): Property
9431
9444
 
@@ -9451,11 +9464,11 @@ export interface PropertyLabel extends Atk.ImplementorIface, Editable, Gtk.Build
9451
9464
  * @param property_name the name of the property to get
9452
9465
  * @param value return location for the property value
9453
9466
  */
9454
- get_property(property_name: string | null, value: any): void
9455
- get_property_name(): string | null
9467
+ get_property(property_name: string, value: any): void
9468
+ get_property_name(): string
9456
9469
  set_append_colon(append_colon: boolean): void
9457
- set_custom_text(custom_text: string | null): void
9458
- set_custom_tooltip(custom_tooltip: string | null): void
9470
+ set_custom_text(custom_text: string): void
9471
+ set_custom_tooltip(custom_tooltip: string): void
9459
9472
  set_packing(packing: boolean): void
9460
9473
  set_property(property: Property): void
9461
9474
 
@@ -9466,8 +9479,8 @@ export interface PropertyLabel extends Atk.ImplementorIface, Editable, Gtk.Build
9466
9479
  * @param property_name the name of the property to set
9467
9480
  * @param value the value
9468
9481
  */
9469
- set_property(property_name: string | null, value: any): void
9470
- set_property_name(property_name: string | null): void
9482
+ set_property(property_name: string, value: any): void
9483
+ set_property_name(property_name: string): void
9471
9484
 
9472
9485
  // Conflicting methods
9473
9486
 
@@ -9481,7 +9494,7 @@ export interface PropertyLabel extends Atk.ImplementorIface, Editable, Gtk.Build
9481
9494
  * Also see gtk_container_child_notify().
9482
9495
  * @param child_property the name of a child property installed on the class of `widget’`s parent
9483
9496
  */
9484
- child_notify(child_property: string | null): void
9497
+ child_notify(child_property: string): void
9485
9498
  /**
9486
9499
  * Emits a #GtkWidget::child-notify signal for the
9487
9500
  * [child property][child-properties]
@@ -9493,7 +9506,7 @@ export interface PropertyLabel extends Atk.ImplementorIface, Editable, Gtk.Build
9493
9506
  * @param child the child widget
9494
9507
  * @param child_property the name of a child property installed on the class of `container`
9495
9508
  */
9496
- child_notify(child: Gtk.Widget, child_property: string | null): void
9509
+ child_notify(child: Gtk.Widget, child_property: string): void
9497
9510
 
9498
9511
  // Overloads of child_notify
9499
9512
 
@@ -9507,7 +9520,7 @@ export interface PropertyLabel extends Atk.ImplementorIface, Editable, Gtk.Build
9507
9520
  * Also see gtk_container_child_notify().
9508
9521
  * @param child_property the name of a child property installed on the class of `widget’`s parent
9509
9522
  */
9510
- child_notify(child_property: string | null): void
9523
+ child_notify(child_property: string): void
9511
9524
 
9512
9525
  // Class property signals of Gladeui-2.0.Gladeui.PropertyLabel
9513
9526
 
@@ -9740,15 +9753,15 @@ export interface PropertyShell extends Atk.ImplementorIface, Editable, Gtk.Build
9740
9753
 
9741
9754
  // Owm methods of Gladeui-2.0.Gladeui.PropertyShell
9742
9755
 
9743
- get_custom_text(): string | null
9756
+ get_custom_text(): string
9744
9757
  get_disable_check(): boolean
9745
9758
  get_packing(): boolean
9746
- get_property_name(): string | null
9759
+ get_property_name(): string
9747
9760
  get_use_command(): boolean
9748
- set_custom_text(custom_text: string | null): void
9761
+ set_custom_text(custom_text: string): void
9749
9762
  set_disable_check(disable_check: boolean): void
9750
9763
  set_packing(packing: boolean): void
9751
- set_property_name(property_name: string | null): void
9764
+ set_property_name(property_name: string): void
9752
9765
  set_use_command(use_command: boolean): void
9753
9766
 
9754
9767
  // Conflicting methods
@@ -9763,7 +9776,7 @@ export interface PropertyShell extends Atk.ImplementorIface, Editable, Gtk.Build
9763
9776
  * Also see gtk_container_child_notify().
9764
9777
  * @param child_property the name of a child property installed on the class of `widget’`s parent
9765
9778
  */
9766
- child_notify(child_property: string | null): void
9779
+ child_notify(child_property: string): void
9767
9780
  /**
9768
9781
  * Emits a #GtkWidget::child-notify signal for the
9769
9782
  * [child property][child-properties]
@@ -9775,7 +9788,7 @@ export interface PropertyShell extends Atk.ImplementorIface, Editable, Gtk.Build
9775
9788
  * @param child the child widget
9776
9789
  * @param child_property the name of a child property installed on the class of `container`
9777
9790
  */
9778
- child_notify(child: Gtk.Widget, child_property: string | null): void
9791
+ child_notify(child: Gtk.Widget, child_property: string): void
9779
9792
 
9780
9793
  // Overloads of child_notify
9781
9794
 
@@ -9789,7 +9802,7 @@ export interface PropertyShell extends Atk.ImplementorIface, Editable, Gtk.Build
9789
9802
  * Also see gtk_container_child_notify().
9790
9803
  * @param child_property the name of a child property installed on the class of `widget’`s parent
9791
9804
  */
9792
- child_notify(child_property: string | null): void
9805
+ child_notify(child_property: string): void
9793
9806
 
9794
9807
  // Own signals of Gladeui-2.0.Gladeui.PropertyShell
9795
9808
 
@@ -10047,18 +10060,18 @@ export interface Signal {
10047
10060
  * Get the signal detail.
10048
10061
  * @returns the detail of the signal
10049
10062
  */
10050
- get_detail(): string | null
10063
+ get_detail(): string
10051
10064
  /**
10052
10065
  * Get the signal handler.
10053
10066
  * @returns the handler of the signal
10054
10067
  */
10055
- get_handler(): string | null
10068
+ get_handler(): string
10056
10069
  /**
10057
10070
  * Get the name of the signal from the signal definition.
10058
10071
  * @returns The name of the signal
10059
10072
  */
10060
- get_name(): string | null
10061
- get_support_warning(): string | null
10073
+ get_name(): string
10074
+ get_support_warning(): string
10062
10075
  /**
10063
10076
  * Get whether the instance and userdata arguments should be swapped.
10064
10077
  * @returns whether the instance and userdata arguments should be swapped
@@ -10068,7 +10081,7 @@ export interface Signal {
10068
10081
  * Get the userdata handler.
10069
10082
  * @returns the userdata of the signal
10070
10083
  */
10071
- get_userdata(): string | null
10084
+ get_userdata(): string
10072
10085
  /**
10073
10086
  * Set whether the handler should be called before or after the default handler
10074
10087
  * of the signal.
@@ -10079,13 +10092,13 @@ export interface Signal {
10079
10092
  * Set the detail of the signal.
10080
10093
  * @param detail the detail of the signal
10081
10094
  */
10082
- set_detail(detail: string | null): void
10095
+ set_detail(detail: string): void
10083
10096
  /**
10084
10097
  * Set the handler of the signal.
10085
10098
  * @param handler the handler of the signal
10086
10099
  */
10087
- set_handler(handler: string | null): void
10088
- set_support_warning(support_warning: string | null): void
10100
+ set_handler(handler: string): void
10101
+ set_support_warning(support_warning: string): void
10089
10102
  /**
10090
10103
  * Set whether the instance and userdata arguments should be swapped.
10091
10104
  * @param swapped if the instance and userdata arguments should be swapped
@@ -10095,7 +10108,7 @@ export interface Signal {
10095
10108
  * Set the userdata of the signal.
10096
10109
  * @param userdata the userdata of the signal
10097
10110
  */
10098
- set_userdata(userdata: string | null): void
10111
+ set_userdata(userdata: string): void
10099
10112
  /**
10100
10113
  * Writes `signal` to `node`
10101
10114
  * @param context A #GladeXmlContext
@@ -10152,7 +10165,7 @@ export class Signal extends GObject.Object {
10152
10165
  * @param swapped whether the handler's user data should be swapped with the emitter instance.
10153
10166
  * @returns the new #GladeSignal
10154
10167
  */
10155
- constructor(sig_def: SignalDef, handler: string | null, userdata: string | null, after: boolean, swapped: boolean)
10168
+ constructor(sig_def: SignalDef, handler: string, userdata: string, after: boolean, swapped: boolean)
10156
10169
  /**
10157
10170
  * Creates a new #GladeSignal with the given parameters.
10158
10171
  * @constructor
@@ -10163,7 +10176,7 @@ export class Signal extends GObject.Object {
10163
10176
  * @param swapped whether the handler's user data should be swapped with the emitter instance.
10164
10177
  * @returns the new #GladeSignal
10165
10178
  */
10166
- static new(sig_def: SignalDef, handler: string | null, userdata: string | null, after: boolean, swapped: boolean): Signal
10179
+ static new(sig_def: SignalDef, handler: string, userdata: string, after: boolean, swapped: boolean): Signal
10167
10180
  _init(config?: Signal.ConstructorProperties): void
10168
10181
  /**
10169
10182
  * Reads and creates a ner #GladeSignal based on `node`
@@ -10254,7 +10267,7 @@ export interface SignalEditor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.O
10254
10267
  * @param child the child widget
10255
10268
  * @param child_property the name of a child property installed on the class of `container`
10256
10269
  */
10257
- child_notify(child: Gtk.Widget, child_property: string | null): void
10270
+ child_notify(child: Gtk.Widget, child_property: string): void
10258
10271
 
10259
10272
  // Overloads of child_notify
10260
10273
 
@@ -10268,7 +10281,7 @@ export interface SignalEditor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.O
10268
10281
  * Also see gtk_container_child_notify().
10269
10282
  * @param child_property the name of a child property installed on the class of `widget’`s parent
10270
10283
  */
10271
- child_notify(child_property: string | null): void
10284
+ child_notify(child_property: string): void
10272
10285
  /**
10273
10286
  * Emits a #GtkWidget::child-notify signal for the
10274
10287
  * [child property][child-properties] `child_property`
@@ -10279,7 +10292,7 @@ export interface SignalEditor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.O
10279
10292
  * Also see gtk_container_child_notify().
10280
10293
  * @param child_property the name of a child property installed on the class of `widget’`s parent
10281
10294
  */
10282
- child_notify(child_property: string | null): void
10295
+ child_notify(child_property: string): void
10283
10296
 
10284
10297
  // Own signals of Gladeui-2.0.Gladeui.SignalEditor
10285
10298
 
@@ -10656,7 +10669,7 @@ export interface Widget {
10656
10669
  * @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).
10657
10670
  * @returns a freshly created #GladeWidget wrapper object for the @internal_object of name @internal_name
10658
10671
  */
10659
- adaptor_create_internal(internal_object: GObject.Object, internal_name: string | null, parent_name: string | null, anarchist: boolean, reason: CreateReason): Widget
10672
+ adaptor_create_internal(internal_object: GObject.Object, internal_name: string, parent_name: string, anarchist: boolean, reason: CreateReason): Widget
10660
10673
  /**
10661
10674
  * Adds `child` to `parent` in a generic way for this #GladeWidget parent.
10662
10675
  * @param child the #GladeWidget to add
@@ -10699,14 +10712,14 @@ export interface Widget {
10699
10712
  * @param property_name The id of the property
10700
10713
  * @param value The `GValue`
10701
10714
  */
10702
- child_get_property(child: Widget, property_name: string | null, value: any): void
10715
+ child_get_property(child: Widget, property_name: string, value: any): void
10703
10716
  /**
10704
10717
  * Sets `child'`s packing property identified by `property_name` to `value`.
10705
10718
  * @param child The #GladeWidget child
10706
10719
  * @param property_name The id of the property
10707
10720
  * @param value The `GValue`
10708
10721
  */
10709
- child_set_property(child: Widget, property_name: string | null, value: any): void
10722
+ child_set_property(child: Widget, property_name: string, value: any): void
10710
10723
  /**
10711
10724
  * Sets properties in `widget` based on the values of
10712
10725
  * matching properties in `template_widget`
@@ -10729,7 +10742,7 @@ export interface Widget {
10729
10742
  * @param use_command Whether the undo/redo stack applies here.
10730
10743
  * @returns A newly created and connected GladeEditorProperty
10731
10744
  */
10732
- create_editor_property(property: string | null, packing: boolean, use_command: boolean): EditorProperty
10745
+ create_editor_property(property: string, packing: boolean, use_command: boolean): EditorProperty
10733
10746
  /**
10734
10747
  * Determines whether `widget` is somehow dependent on `other,` in
10735
10748
  * which case it should be serialized after `other`.
@@ -10772,7 +10785,7 @@ export interface Widget {
10772
10785
  * @param name child name
10773
10786
  * @returns The child of widget or %NULL if it was not found.
10774
10787
  */
10775
- find_child(name: string | null): Widget | null
10788
+ find_child(name: string): Widget | null
10776
10789
  /**
10777
10790
  * Creates a user friendly name to describe project widgets
10778
10791
  * @returns A newly allocated string
@@ -10783,7 +10796,7 @@ export interface Widget {
10783
10796
  * @param action_path a full action path including groups
10784
10797
  * @returns the action or %NULL if not found.
10785
10798
  */
10786
- get_action(action_path: string | null): WidgetAction | null
10799
+ get_action(action_path: string): WidgetAction | null
10787
10800
  get_actions(): WidgetAction[]
10788
10801
  get_adaptor(): WidgetAdaptor
10789
10802
  /**
@@ -10791,8 +10804,8 @@ export interface Widget {
10791
10804
  * @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>
10792
10805
  */
10793
10806
  get_children(): GObject.Object[]
10794
- get_display_name(): string | null
10795
- get_internal(): string | null
10807
+ get_display_name(): string
10808
+ get_internal(): string
10796
10809
  /**
10797
10810
  * Checks if `widget` is a composite template to be used
10798
10811
  * with gtk_widget_class_set_template().
@@ -10805,23 +10818,23 @@ export interface Widget {
10805
10818
  * @returns a #GladeWidget or %NULL if none is locked
10806
10819
  */
10807
10820
  get_locker(): Widget | null
10808
- get_name(): string | null
10821
+ get_name(): string
10809
10822
  get_object(): GObject.Object
10810
10823
  /**
10811
10824
  * Returns a #GladeWidgetAction object indentified by `action_path`.
10812
10825
  * @param action_path a full action path including groups
10813
10826
  * @returns the action or %NULL if not found.
10814
10827
  */
10815
- get_pack_action(action_path: string | null): WidgetAction | null
10828
+ get_pack_action(action_path: string): WidgetAction | null
10816
10829
  get_pack_actions(): WidgetAction[]
10817
- get_pack_property(id_property: string | null): Property | null
10830
+ get_pack_property(id_property: string): Property | null
10818
10831
  get_packing_properties(): Property[]
10819
10832
  get_parent(): Widget
10820
10833
  get_parentless_reffed_widgets(): Property[]
10821
10834
  get_parentless_widget_ref(): Property
10822
10835
  get_project(): Project
10823
10836
  get_properties(): Property[]
10824
- get_property(id_property: string | null): Property | null
10837
+ get_property(id_property: string): Property | null
10825
10838
 
10826
10839
  // Overloads of get_property
10827
10840
 
@@ -10845,7 +10858,7 @@ export interface Widget {
10845
10858
  * @param property_name the name of the property to get
10846
10859
  * @param value return location for the property value
10847
10860
  */
10848
- get_property(property_name: string | null, value: any): void
10861
+ get_property(property_name: string, value: any): void
10849
10862
  /**
10850
10863
  * Compiles a list of #GladeSignal elements
10851
10864
  * @returns a newly allocated #GList of #GladeSignal, the caller must call g_list_free() to free the list.
@@ -10870,7 +10883,7 @@ export interface Widget {
10870
10883
  is_ancestor(ancestor: Widget): boolean
10871
10884
  list_locked_widgets(): Widget[]
10872
10885
  list_prop_refs(): Property[]
10873
- list_signal_handlers(signal_name: string | null): Signal[]
10886
+ list_signal_handlers(signal_name: string): Signal[]
10874
10887
  /**
10875
10888
  * Sets `locked` to be in a locked up state
10876
10889
  * spoken for by `widget,` locked widgets cannot
@@ -10884,21 +10897,21 @@ export interface Widget {
10884
10897
  * @param property_name The property identifier
10885
10898
  * @param value The #GValue
10886
10899
  */
10887
- object_get_property(property_name: string | null, value: any): void
10900
+ object_get_property(property_name: string, value: any): void
10888
10901
  /**
10889
10902
  * This function applies `value` to the property `property_name` on
10890
10903
  * the runtime object of `widget`.
10891
10904
  * @param property_name The property identifier
10892
10905
  * @param value The #GValue
10893
10906
  */
10894
- object_set_property(property_name: string | null, value: any): void
10895
- pack_property_default(id_property: string | null): boolean
10907
+ object_set_property(property_name: string, value: any): void
10908
+ pack_property_default(id_property: string): boolean
10896
10909
  /**
10897
10910
  * Resets `id_property` in `widget'`s packing properties to it's default value
10898
10911
  * @param id_property a string naming a #GladeProperty
10899
10912
  * @returns whether @id_property was found or not.
10900
10913
  */
10901
- pack_property_reset(id_property: string | null): boolean
10914
+ pack_property_reset(id_property: string): boolean
10902
10915
  /**
10903
10916
  * Sets the enabled state of `id_property` in `widget'`s packing
10904
10917
  * properties; this is used for optional properties.
@@ -10906,7 +10919,7 @@ export interface Widget {
10906
10919
  * @param enabled setting enabled or disabled
10907
10920
  * @returns whether @id_property was found or not.
10908
10921
  */
10909
- pack_property_set_enabled(id_property: string | null, enabled: boolean): boolean
10922
+ pack_property_set_enabled(id_property: string, enabled: boolean): boolean
10910
10923
  /**
10911
10924
  * Sets whether `id_property` in `widget` should be special cased
10912
10925
  * to always be saved regardless of its default value.
@@ -10917,7 +10930,7 @@ export interface Widget {
10917
10930
  * @param setting the setting
10918
10931
  * @returns whether @id_property was found or not.
10919
10932
  */
10920
- pack_property_set_save_always(id_property: string | null, setting: boolean): boolean
10933
+ pack_property_set_save_always(id_property: string, setting: boolean): boolean
10921
10934
  /**
10922
10935
  * Sets the sensitivity of `id_property` in `widget'`s packing properties.
10923
10936
  * @param id_property a string naming a #GladeProperty
@@ -10925,7 +10938,7 @@ export interface Widget {
10925
10938
  * @param reason a description of why the user cant edit this property which will be used as a tooltip
10926
10939
  * @returns whether @id_property was found or not.
10927
10940
  */
10928
- pack_property_set_sensitive(id_property: string | null, sensitive: boolean, reason: string | null): boolean
10941
+ pack_property_set_sensitive(id_property: string, sensitive: boolean, reason: string): boolean
10929
10942
  /**
10930
10943
  * Same as glade_widget_property_string() but for packing
10931
10944
  * properties.
@@ -10933,7 +10946,7 @@ export interface Widget {
10933
10946
  * @param value the #GValue to print or %NULL
10934
10947
  * @returns A newly allocated string representing @id_property
10935
10948
  */
10936
- pack_property_string(id_property: string | null, value: any): string | null
10949
+ pack_property_string(id_property: string, value: any): string | null
10937
10950
  /**
10938
10951
  * Returns whether placeholders should be used
10939
10952
  * in operations concerning this parent & child.
@@ -10945,14 +10958,14 @@ export interface Widget {
10945
10958
  * @returns whether to use placeholders for this relationship.
10946
10959
  */
10947
10960
  placeholder_relation(widget: Widget): boolean
10948
- property_default(id_property: string | null): boolean
10949
- property_original_default(id_property: string | null): boolean
10961
+ property_default(id_property: string): boolean
10962
+ property_original_default(id_property: string): boolean
10950
10963
  /**
10951
10964
  * Resets `id_property` in `widget` to it's default value
10952
10965
  * @param id_property a string naming a #GladeProperty
10953
10966
  * @returns whether @id_property was found or not.
10954
10967
  */
10955
- property_reset(id_property: string | null): boolean
10968
+ property_reset(id_property: string): boolean
10956
10969
  /**
10957
10970
  * Sets the enabled state of `id_property` in `widget;` this is
10958
10971
  * used for optional properties.
@@ -10960,7 +10973,7 @@ export interface Widget {
10960
10973
  * @param enabled setting enabled or disabled
10961
10974
  * @returns whether @id_property was found or not.
10962
10975
  */
10963
- property_set_enabled(id_property: string | null, enabled: boolean): boolean
10976
+ property_set_enabled(id_property: string, enabled: boolean): boolean
10964
10977
  /**
10965
10978
  * Sets whether `id_property` in `widget` should be special cased
10966
10979
  * to always be saved regardless of its default value.
@@ -10971,7 +10984,7 @@ export interface Widget {
10971
10984
  * @param setting the setting
10972
10985
  * @returns whether @id_property was found or not.
10973
10986
  */
10974
- property_set_save_always(id_property: string | null, setting: boolean): boolean
10987
+ property_set_save_always(id_property: string, setting: boolean): boolean
10975
10988
  /**
10976
10989
  * Sets the sensitivity of `id_property` in `widget`
10977
10990
  * @param id_property a string naming a #GladeProperty
@@ -10979,7 +10992,7 @@ export interface Widget {
10979
10992
  * @param reason a description of why the user cant edit this property which will be used as a tooltip
10980
10993
  * @returns whether @id_property was found or not.
10981
10994
  */
10982
- property_set_sensitive(id_property: string | null, sensitive: boolean, reason: string | null): boolean
10995
+ property_set_sensitive(id_property: string, sensitive: boolean, reason: string): boolean
10983
10996
  /**
10984
10997
  * Creates a printable string representing `id_property` in
10985
10998
  * `widget,` if `value` is specified it will be used in place
@@ -10990,7 +11003,7 @@ export interface Widget {
10990
11003
  * @param value the #GValue to print or %NULL
10991
11004
  * @returns A newly allocated string representing @id_property
10992
11005
  */
10993
- property_string(id_property: string | null, value: any): string | null
11006
+ property_string(id_property: string, value: any): string | null
10994
11007
  /**
10995
11008
  * Reads in a child widget from the xml (handles 'child' tag)
10996
11009
  * @param node a #GladeXmlNode
@@ -11024,7 +11037,7 @@ export interface Widget {
11024
11037
  * style properties).
11025
11038
  * @param id_property the name of the property
11026
11039
  */
11027
- remove_property(id_property: string | null): void
11040
+ remove_property(id_property: string): void
11028
11041
  /**
11029
11042
  * Removes a signal handler from `widget`
11030
11043
  * @param signal_handler The #GladeSignal
@@ -11045,21 +11058,21 @@ export interface Widget {
11045
11058
  * @param sensitive setting sensitive or insensitive
11046
11059
  * @returns whether @action_path was found or not.
11047
11060
  */
11048
- set_action_sensitive(action_path: string | null, sensitive: boolean): boolean
11061
+ set_action_sensitive(action_path: string, sensitive: boolean): boolean
11049
11062
  /**
11050
11063
  * Sets the visibility of `action_path` in `widget`
11051
11064
  * @param action_path a full action path including groups
11052
11065
  * @param visible setting visible or invisible
11053
11066
  * @returns whether @action_path was found or not.
11054
11067
  */
11055
- set_action_visible(action_path: string | null, visible: boolean): boolean
11068
+ set_action_visible(action_path: string, visible: boolean): boolean
11056
11069
  set_child_type_from_node(child: GObject.Object, node: XmlNode): void
11057
11070
  set_in_project(in_project: boolean): void
11058
11071
  /**
11059
11072
  * Sets the internal name of `widget` to `internal`
11060
11073
  * @param internal The internal name
11061
11074
  */
11062
- set_internal(internal: string | null): void
11075
+ set_internal(internal: string): void
11063
11076
  /**
11064
11077
  * Set's this widget to be toplevel composite object to be
11065
11078
  * eventually used with gtk_widget_class_set_template()
@@ -11072,21 +11085,21 @@ export interface Widget {
11072
11085
  * Sets `widget'`s name to `name`.
11073
11086
  * @param name a string
11074
11087
  */
11075
- set_name(name: string | null): void
11088
+ set_name(name: string): void
11076
11089
  /**
11077
11090
  * Sets the sensitivity of `action_path` in `widget`
11078
11091
  * @param action_path a full action path including groups
11079
11092
  * @param sensitive setting sensitive or insensitive
11080
11093
  * @returns whether @action_path was found or not.
11081
11094
  */
11082
- set_pack_action_sensitive(action_path: string | null, sensitive: boolean): boolean
11095
+ set_pack_action_sensitive(action_path: string, sensitive: boolean): boolean
11083
11096
  /**
11084
11097
  * Sets the visibility of `action_path` in `widget`
11085
11098
  * @param action_path a full action path including groups
11086
11099
  * @param visible setting visible or invisible
11087
11100
  * @returns whether @action_path was found or not.
11088
11101
  */
11089
- set_pack_action_visible(action_path: string | null, visible: boolean): boolean
11102
+ set_pack_action_visible(action_path: string, visible: boolean): boolean
11090
11103
  /**
11091
11104
  * Generates the packing_properties list of the widget, given
11092
11105
  * the class of the container we are adding the widget to.
@@ -11105,7 +11118,7 @@ export interface Widget {
11105
11118
  * @param project a #GladeProject
11106
11119
  */
11107
11120
  set_project(project: Project): void
11108
- set_support_warning(warning: string | null): void
11121
+ set_support_warning(warning: string): void
11109
11122
  /**
11110
11123
  * Display `widget` in it's project's GladeDesignView
11111
11124
  */
@@ -11454,7 +11467,7 @@ export interface WidgetAdaptor {
11454
11467
  * @param object The #GObject
11455
11468
  * @param action_path The action identifier in the action tree
11456
11469
  */
11457
- action_activate(object: GObject.Object, action_path: string | null): void
11470
+ action_activate(object: GObject.Object, action_path: string): void
11458
11471
  /**
11459
11472
  * Add an action to `adaptor`.
11460
11473
  * If the action is present then it overrides label and stock
@@ -11464,13 +11477,13 @@ export interface WidgetAdaptor {
11464
11477
  * @param important if this action is important.
11465
11478
  * @returns whether or not the action was added/updated.
11466
11479
  */
11467
- action_add(action_path: string | null, label: string | null, stock: string | null, important: boolean): boolean
11480
+ action_add(action_path: string, label: string, stock: string, important: boolean): boolean
11468
11481
  /**
11469
11482
  * Remove an `adaptor'`s action.
11470
11483
  * @param action_path The identifier of this action in the action tree
11471
11484
  * @returns whether or not the action was removed.
11472
11485
  */
11473
- action_remove(action_path: string | null): boolean
11486
+ action_remove(action_path: string): boolean
11474
11487
  /**
11475
11488
  * This delegate function is used to create dynamically customized
11476
11489
  * submenus. Called only for actions that don't have children.
@@ -11478,7 +11491,7 @@ export interface WidgetAdaptor {
11478
11491
  * @param action_path The action identifier in the action tree
11479
11492
  * @returns A newly created #GtkMenu or %NULL
11480
11493
  */
11481
- action_submenu(object: GObject.Object, action_path: string | null): Gtk.Widget | null
11494
+ action_submenu(object: GObject.Object, action_path: string): Gtk.Widget | null
11482
11495
  /**
11483
11496
  * Create a list of actions.
11484
11497
  * @returns a new list of GladeWidgetAction.
@@ -11508,7 +11521,7 @@ export interface WidgetAdaptor {
11508
11521
  * @param object The #GObject
11509
11522
  * @param action_path The action identifier in the action tree
11510
11523
  */
11511
- child_action_activate(container: GObject.Object, object: GObject.Object, action_path: string | null): void
11524
+ child_action_activate(container: GObject.Object, object: GObject.Object, action_path: string): void
11512
11525
  /**
11513
11526
  * Gets `child'`s packing property identified by `property_name`.
11514
11527
  * @param container The #GObject container
@@ -11516,7 +11529,7 @@ export interface WidgetAdaptor {
11516
11529
  * @param property_name The id of the property
11517
11530
  * @param value The `GValue`
11518
11531
  */
11519
- child_get_property(container: GObject.Object, child: GObject.Object, property_name: string | null, value: any): void
11532
+ child_get_property(container: GObject.Object, child: GObject.Object, property_name: string, value: any): void
11520
11533
  /**
11521
11534
  * Sets `child'`s packing property identified by `property_name` to `value`.
11522
11535
  * @param container The #GObject container
@@ -11524,7 +11537,7 @@ export interface WidgetAdaptor {
11524
11537
  * @param property_name The id of the property
11525
11538
  * @param value The `GValue`
11526
11539
  */
11527
- child_set_property(container: GObject.Object, child: GObject.Object, property_name: string | null, value: any): void
11540
+ child_set_property(container: GObject.Object, child: GObject.Object, property_name: string, value: any): void
11528
11541
  /**
11529
11542
  * This delegate function is always called whenever setting any
11530
11543
  * properties with the exception of load time, and copy/paste time
@@ -11537,7 +11550,7 @@ export interface WidgetAdaptor {
11537
11550
  * @param value The `GValue`
11538
11551
  * @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.
11539
11552
  */
11540
- child_verify_property(container: GObject.Object, child: GObject.Object, property_name: string | null, value: any): boolean
11553
+ child_verify_property(container: GObject.Object, child: GObject.Object, property_name: string, value: any): boolean
11541
11554
  /**
11542
11555
  * This function is called to construct a GObject instance for
11543
11556
  * a #GladeWidget of the said `adaptor`. (provided for language
@@ -11569,7 +11582,7 @@ export interface WidgetAdaptor {
11569
11582
  * @param use_command whether to use the GladeCommand interface to commit property changes
11570
11583
  * @returns A newly created #GladeEditorProperty
11571
11584
  */
11572
- create_eprop_by_name(property_id: string | null, packing: boolean, use_command: boolean): EditorProperty
11585
+ create_eprop_by_name(property_id: string, packing: boolean, use_command: boolean): EditorProperty
11573
11586
  default_params(construct: boolean): GObject.Parameter[]
11574
11587
  /**
11575
11588
  * Checks whether `widget` depends on `another` to be placed earlier in
@@ -11592,33 +11605,33 @@ export interface WidgetAdaptor {
11592
11605
  * @returns the closest #GladeWidgetAdaptor in the ancestry to @adaptor which is responsable for introducing @pspec.
11593
11606
  */
11594
11607
  from_pspec(pspec: GObject.ParamSpec): WidgetAdaptor
11595
- get_book(): string | null
11596
- get_catalog(): string | null
11608
+ get_book(): string
11609
+ get_catalog(): string
11597
11610
  /**
11598
11611
  * Lists the children of `container`.
11599
11612
  * @param container The #GObject container
11600
11613
  * @returns A #GList of children
11601
11614
  */
11602
11615
  get_children(container: GObject.Object): GObject.Object[]
11603
- get_display_name(): string | null
11604
- get_generic_name(): string | null
11605
- get_icon_name(): string | null
11616
+ get_display_name(): string
11617
+ get_generic_name(): string
11618
+ get_icon_name(): string
11606
11619
  /**
11607
11620
  * Retrieves the internal object `internal_name` from `object`
11608
11621
  * @param object The #GObject
11609
11622
  * @param internal_name The string identifier of the internal object
11610
11623
  * @returns The internal #GObject
11611
11624
  */
11612
- get_internal_child(object: GObject.Object, internal_name: string | null): GObject.Object | null
11613
- get_missing_icon(): string | null
11614
- get_name(): string | null
11625
+ get_internal_child(object: GObject.Object, internal_name: string): GObject.Object | null
11626
+ get_missing_icon(): string
11627
+ get_name(): string
11615
11628
  get_object_type(): GObject.GType
11616
11629
  /**
11617
11630
  * Retrieves the #GladePropertyDef for `name` in `adaptor'`s child properties
11618
11631
  * @param name a string
11619
11632
  * @returns A #GladePropertyDef object
11620
11633
  */
11621
- get_pack_property_def(name: string | null): PropertyDef | null
11634
+ get_pack_property_def(name: string): PropertyDef | null
11622
11635
  /**
11623
11636
  * Gets the default value for `property_id` on a widget governed by
11624
11637
  * `child_adaptor` when parented in a widget governed by `parent_adaptor`
@@ -11626,7 +11639,7 @@ export interface WidgetAdaptor {
11626
11639
  * @param id The string property identifier
11627
11640
  * @returns a string representing the default value for @property_id
11628
11641
  */
11629
- get_packing_default(container_adaptor: WidgetAdaptor, id: string | null): string | null
11642
+ get_packing_default(container_adaptor: WidgetAdaptor, id: string): string
11630
11643
  get_packing_props(): PropertyDef[]
11631
11644
  get_parent_adaptor(): WidgetAdaptor
11632
11645
  get_properties(): PropertyDef[]
@@ -11636,7 +11649,7 @@ export interface WidgetAdaptor {
11636
11649
  * @param property_name The property identifier
11637
11650
  * @param value The #GValue
11638
11651
  */
11639
- get_property(object: GObject.Object, property_name: string | null, value: any): void
11652
+ get_property(object: GObject.Object, property_name: string, value: any): void
11640
11653
 
11641
11654
  // Overloads of get_property
11642
11655
 
@@ -11660,21 +11673,21 @@ export interface WidgetAdaptor {
11660
11673
  * @param property_name the name of the property to get
11661
11674
  * @param value return location for the property value
11662
11675
  */
11663
- get_property(property_name: string | null, value: any): void
11676
+ get_property(property_name: string, value: any): void
11664
11677
  /**
11665
11678
  * Retrieves the #GladePropertyDef for `name` in `adaptor`
11666
11679
  * @param name a string
11667
11680
  * @returns A #GladePropertyDef object
11668
11681
  */
11669
- get_property_def(name: string | null): PropertyDef | null
11682
+ get_property_def(name: string): PropertyDef | null
11670
11683
  /**
11671
11684
  * Looks up signal class `name` on `adaptor`.
11672
11685
  * @param name the name of the signal class.
11673
11686
  * @returns a #GladeSignalDef or %NULL
11674
11687
  */
11675
- get_signal_def(name: string | null): SignalDef | null
11688
+ get_signal_def(name: string): SignalDef | null
11676
11689
  get_signals(): SignalDef[]
11677
- get_title(): string | null
11690
+ get_title(): string
11678
11691
  /**
11679
11692
  * Get the _get_type () function name if it is set, a %NULL value means that the
11680
11693
  * default heuristic for getting the GType is enough for both Glade and GtkBuilder.
@@ -11698,13 +11711,13 @@ export interface WidgetAdaptor {
11698
11711
  * @param important if this action is important.
11699
11712
  * @returns whether or not the action was added/updated.
11700
11713
  */
11701
- pack_action_add(action_path: string | null, label: string | null, stock: string | null, important: boolean): boolean
11714
+ pack_action_add(action_path: string, label: string, stock: string, important: boolean): boolean
11702
11715
  /**
11703
11716
  * Remove an `adaptor'`s packing action.
11704
11717
  * @param action_path The identifier of this action in the action tree
11705
11718
  * @returns whether or not the action was removed.
11706
11719
  */
11707
- pack_action_remove(action_path: string | null): boolean
11720
+ pack_action_remove(action_path: string): boolean
11708
11721
  /**
11709
11722
  * Create a list of packing actions.
11710
11723
  * @returns a new list of GladeWidgetAction.
@@ -11758,7 +11771,7 @@ export interface WidgetAdaptor {
11758
11771
  * @param property_name The property identifier
11759
11772
  * @param value The #GValue
11760
11773
  */
11761
- set_property(object: GObject.Object, property_name: string | null, value: any): void
11774
+ set_property(object: GObject.Object, property_name: string, value: any): void
11762
11775
 
11763
11776
  // Overloads of set_property
11764
11777
 
@@ -11767,7 +11780,7 @@ export interface WidgetAdaptor {
11767
11780
  * @param property_name the name of the property to set
11768
11781
  * @param value the value
11769
11782
  */
11770
- set_property(property_name: string | null, value: any): void
11783
+ set_property(property_name: string, value: any): void
11771
11784
  /**
11772
11785
  * For normal properties this is used to serialize
11773
11786
  * property values, for custom properties its still
@@ -11788,7 +11801,7 @@ export interface WidgetAdaptor {
11788
11801
  * @param value The #GValue
11789
11802
  * @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.
11790
11803
  */
11791
- verify_property(object: GObject.Object, property_name: string | null, value: any): boolean
11804
+ verify_property(object: GObject.Object, property_name: string, value: any): boolean
11792
11805
  /**
11793
11806
  * This function is called to write the child `widget` to `node`
11794
11807
  * when writing xml files (takes care of packing and recurses
@@ -11823,7 +11836,7 @@ export interface WidgetAdaptor {
11823
11836
  * @param object The #GObject
11824
11837
  * @param action_path The action identifier in the action tree
11825
11838
  */
11826
- vfunc_action_activate(object: GObject.Object, action_path: string | null): void
11839
+ vfunc_action_activate(object: GObject.Object, action_path: string): void
11827
11840
  /**
11828
11841
  * This delegate function is used to create dynamically customized
11829
11842
  * submenus. Called only for actions that don't have children.
@@ -11832,7 +11845,7 @@ export interface WidgetAdaptor {
11832
11845
  * @param action_path The action identifier in the action tree
11833
11846
  * @returns A newly created #GtkMenu or %NULL
11834
11847
  */
11835
- vfunc_action_submenu(object: GObject.Object, action_path: string | null): Gtk.Widget | null
11848
+ vfunc_action_submenu(object: GObject.Object, action_path: string): Gtk.Widget | null
11836
11849
  /**
11837
11850
  * Adds `child` to `container`.
11838
11851
  * @virtual
@@ -11860,7 +11873,7 @@ export interface WidgetAdaptor {
11860
11873
  * @param object The #GObject
11861
11874
  * @param action_path The action identifier in the action tree
11862
11875
  */
11863
- vfunc_child_action_activate(container: GObject.Object, object: GObject.Object, action_path: string | null): void
11876
+ vfunc_child_action_activate(container: GObject.Object, object: GObject.Object, action_path: string): void
11864
11877
  /**
11865
11878
  * Gets `child'`s packing property identified by `property_name`.
11866
11879
  * @virtual
@@ -11869,7 +11882,7 @@ export interface WidgetAdaptor {
11869
11882
  * @param property_name The id of the property
11870
11883
  * @param value The `GValue`
11871
11884
  */
11872
- vfunc_child_get_property(container: GObject.Object, child: GObject.Object, property_name: string | null, value: any): void
11885
+ vfunc_child_get_property(container: GObject.Object, child: GObject.Object, property_name: string, value: any): void
11873
11886
  /**
11874
11887
  * Sets `child'`s packing property identified by `property_name` to `value`.
11875
11888
  * @virtual
@@ -11878,7 +11891,7 @@ export interface WidgetAdaptor {
11878
11891
  * @param property_name The id of the property
11879
11892
  * @param value The `GValue`
11880
11893
  */
11881
- vfunc_child_set_property(container: GObject.Object, child: GObject.Object, property_name: string | null, value: any): void
11894
+ vfunc_child_set_property(container: GObject.Object, child: GObject.Object, property_name: string, value: any): void
11882
11895
  /**
11883
11896
  * This delegate function is always called whenever setting any
11884
11897
  * properties with the exception of load time, and copy/paste time
@@ -11892,7 +11905,7 @@ export interface WidgetAdaptor {
11892
11905
  * @param value The `GValue`
11893
11906
  * @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.
11894
11907
  */
11895
- vfunc_child_verify_property(container: GObject.Object, child: GObject.Object, property_name: string | null, value: any): boolean
11908
+ vfunc_child_verify_property(container: GObject.Object, child: GObject.Object, property_name: string, value: any): boolean
11896
11909
  /**
11897
11910
  * This function is called to construct a GObject instance for
11898
11911
  * a #GladeWidget of the said `adaptor`. (provided for language
@@ -11950,7 +11963,7 @@ export interface WidgetAdaptor {
11950
11963
  * @param internal_name The string identifier of the internal object
11951
11964
  * @returns The internal #GObject
11952
11965
  */
11953
- vfunc_get_internal_child(object: GObject.Object, internal_name: string | null): GObject.Object | null
11966
+ vfunc_get_internal_child(object: GObject.Object, internal_name: string): GObject.Object | null
11954
11967
  /**
11955
11968
  * Gets `value` of `property_name` on `object`.
11956
11969
  * @virtual
@@ -11958,7 +11971,7 @@ export interface WidgetAdaptor {
11958
11971
  * @param property_name The property identifier
11959
11972
  * @param value The #GValue
11960
11973
  */
11961
- vfunc_get_property(object: GObject.Object, property_name: string | null, value: any): void
11974
+ vfunc_get_property(object: GObject.Object, property_name: string, value: any): void
11962
11975
 
11963
11976
  // Overloads of vfunc_get_property
11964
11977
 
@@ -12012,7 +12025,7 @@ export interface WidgetAdaptor {
12012
12025
  * @param property_name The property identifier
12013
12026
  * @param value The #GValue
12014
12027
  */
12015
- vfunc_set_property(object: GObject.Object, property_name: string | null, value: any): void
12028
+ vfunc_set_property(object: GObject.Object, property_name: string, value: any): void
12016
12029
 
12017
12030
  // Overloads of vfunc_set_property
12018
12031
 
@@ -12039,7 +12052,7 @@ export interface WidgetAdaptor {
12039
12052
  * @param value The #GValue
12040
12053
  * @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.
12041
12054
  */
12042
- vfunc_verify_property(object: GObject.Object, property_name: string | null, value: any): boolean
12055
+ vfunc_verify_property(object: GObject.Object, property_name: string, value: any): boolean
12043
12056
  /**
12044
12057
  * This function is called to write the child `widget` to `node`
12045
12058
  * when writing xml files (takes care of packing and recurses
@@ -12129,7 +12142,7 @@ export class WidgetAdaptor extends GObject.Object {
12129
12142
  * @returns a newly allocated #GladeWidgetAdaptor
12130
12143
  */
12131
12144
  static from_catalog(catalog: Catalog, class_node: XmlNode, module: GModule.Module): WidgetAdaptor
12132
- static get_by_name(name: string | null): WidgetAdaptor | null
12145
+ static get_by_name(name: string): WidgetAdaptor | null
12133
12146
  static get_by_type(type: GObject.GType): WidgetAdaptor | null
12134
12147
  /**
12135
12148
  * Compiles a list of all registered adaptors.
@@ -12192,13 +12205,13 @@ export interface Catalog {
12192
12205
  // Owm methods of Gladeui-2.0.Gladeui.Catalog
12193
12206
 
12194
12207
  get_adaptors(): WidgetAdaptor[]
12195
- get_book(): string | null
12196
- get_domain(): string | null
12197
- get_icon_prefix(): string | null
12208
+ get_book(): string
12209
+ get_domain(): string
12210
+ get_icon_prefix(): string
12198
12211
  get_major_version(): number
12199
12212
  get_minor_version(): number
12200
- get_name(): string | null
12201
- get_prefix(): string | null
12213
+ get_name(): string
12214
+ get_prefix(): string
12202
12215
  get_targets(): TargetableVersion[]
12203
12216
  get_widget_groups(): WidgetGroup[]
12204
12217
  }
@@ -12215,13 +12228,13 @@ export class Catalog {
12215
12228
  * Adds a new path to the list of path to look catalogs for.
12216
12229
  * @param path the new path containing catalogs
12217
12230
  */
12218
- static add_path(path: string | null): void
12231
+ static add_path(path: string): void
12219
12232
  /**
12220
12233
  * Destroy and free all resources related with every loaded catalog.
12221
12234
  */
12222
12235
  static destroy_all(): void
12223
12236
  static get_extra_paths(): string[]
12224
- static is_loaded(name: string | null): boolean
12237
+ static is_loaded(name: string): boolean
12225
12238
  /**
12226
12239
  * Loads all available catalogs in the system.
12227
12240
  * First loads catalogs from GLADE_ENV_CATALOG_PATH,
@@ -12243,7 +12256,7 @@ export interface CellRendererIconClass {
12243
12256
  // Own fields of Gladeui-2.0.Gladeui.CellRendererIconClass
12244
12257
 
12245
12258
  parent_class: Gtk.CellRendererPixbufClass
12246
- activate: (cell_renderer_icon: CellRendererIcon, path: string | null) => void
12259
+ activate: (cell_renderer_icon: CellRendererIcon, path: string) => void
12247
12260
  }
12248
12261
 
12249
12262
  export abstract class CellRendererIconClass {
@@ -12506,12 +12519,12 @@ export interface NameContext {
12506
12519
 
12507
12520
  // Owm methods of Gladeui-2.0.Gladeui.NameContext
12508
12521
 
12509
- add_name(name: string | null): boolean
12522
+ add_name(name: string): boolean
12510
12523
  destroy(): void
12511
- has_name(name: string | null): boolean
12524
+ has_name(name: string): boolean
12512
12525
  n_names(): number
12513
- new_name(base_name: string | null): string | null
12514
- release_name(name: string | null): void
12526
+ new_name(base_name: string): string | null
12527
+ release_name(name: string): void
12515
12528
  }
12516
12529
 
12517
12530
  export class NameContext {
@@ -12666,7 +12679,7 @@ export interface PropertyClass {
12666
12679
  sync: (property: Property) => void
12667
12680
  load: (property: Property) => void
12668
12681
  value_changed: (property: Property, old_value: any, new_value: any) => void
12669
- tooltip_changed: (property: Property, tooltip: string | null, insensitive_tooltip: string | null, support_warning: string | null) => void
12682
+ tooltip_changed: (property: Property, tooltip: string, insensitive_tooltip: string, support_warning: string) => void
12670
12683
  glade_reserved1: () => void
12671
12684
  glade_reserved2: () => void
12672
12685
  glade_reserved3: () => void
@@ -12696,7 +12709,7 @@ export interface PropertyDef {
12696
12709
  * @returns -1, 0 or +1, if value1 is found to be less than, equal to or greater than value2, respectively.
12697
12710
  */
12698
12711
  compare(value1: any, value2: any): number
12699
- create_type(): string | null
12712
+ create_type(): string
12700
12713
  custom_layout(): boolean
12701
12714
  deprecated(): boolean
12702
12715
  deprecated_since_major(): number
@@ -12710,12 +12723,12 @@ export interface PropertyDef {
12710
12723
  get_default(): any
12711
12724
  get_ignore(): boolean
12712
12725
  get_is_packing(): boolean
12713
- get_name(): string | null
12726
+ get_name(): string
12714
12727
  get_original_default(): any
12715
12728
  get_pspec(): GObject.ParamSpec
12716
- get_tooltip(): string | null
12729
+ get_tooltip(): string
12717
12730
  get_virtual(): boolean
12718
- id(): string | null
12731
+ id(): string
12719
12732
  is_object(): boolean
12720
12733
  is_visible(): boolean
12721
12734
  load_defaults_from_spec(): void
@@ -12724,7 +12737,7 @@ export interface PropertyDef {
12724
12737
  * @returns An appropriate #GtkAdjustment for use in the Property editor
12725
12738
  */
12726
12739
  make_adjustment(): Gtk.Adjustment
12727
- make_gvalue_from_string(string: string | null, project: Project): any
12740
+ make_gvalue_from_string(string: string, project: Project): any
12728
12741
  make_string_from_gvalue(value: any): string | null
12729
12742
  match(comp: PropertyDef): boolean
12730
12743
  multiline(): boolean
@@ -12739,9 +12752,9 @@ export interface PropertyDef {
12739
12752
  set_construct_only(construct_only: boolean): void
12740
12753
  set_ignore(ignore: boolean): void
12741
12754
  set_is_packing(is_packing: boolean): void
12742
- set_name(name: string | null): void
12755
+ set_name(name: string): void
12743
12756
  set_pspec(pspec: GObject.ParamSpec): void
12744
- set_tooltip(tooltip: string | null): void
12757
+ set_tooltip(tooltip: string): void
12745
12758
  set_virtual(value: boolean): void
12746
12759
  since_major(): number
12747
12760
  since_minor(): number
@@ -12762,12 +12775,12 @@ export class PropertyDef {
12762
12775
 
12763
12776
  // Constructors of Gladeui-2.0.Gladeui.PropertyDef
12764
12777
 
12765
- constructor(adaptor: WidgetAdaptor, id: string | null)
12766
- static new(adaptor: WidgetAdaptor, id: string | null): PropertyDef
12778
+ constructor(adaptor: WidgetAdaptor, id: string)
12779
+ static new(adaptor: WidgetAdaptor, id: string): PropertyDef
12767
12780
  static new_from_spec(adaptor: WidgetAdaptor, spec: GObject.ParamSpec): PropertyDef
12768
12781
  static new_from_spec_full(adaptor: WidgetAdaptor, spec: GObject.ParamSpec, need_handle: boolean): PropertyDef
12769
12782
  static get_default_from_spec(spec: GObject.ParamSpec): any
12770
- static make_flags_from_string(type: GObject.GType, string: string | null): number
12783
+ static make_flags_from_string(type: GObject.GType, string: string): number
12771
12784
  /**
12772
12785
  * This function assigns "weight" to each property in its natural order staring from 1.
12773
12786
  * If parent is 0 weight will be set for every #GladePropertyDef in the list.
@@ -12785,7 +12798,7 @@ export class PropertyDef {
12785
12798
  * @param domain the domain to translate catalog strings from
12786
12799
  * @returns %TRUE on success. @property_def_ref is set to NULL if the property has Disabled="TRUE".
12787
12800
  */
12788
- 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 ]
12801
+ static update_from_node(node: XmlNode, object_type: GObject.GType, property_def_ref: PropertyDef | null, domain: string): [ /* returnType */ boolean, /* property_def_ref */ PropertyDef | null ]
12789
12802
  }
12790
12803
 
12791
12804
  export interface PropertyLabelClass {
@@ -12907,12 +12920,12 @@ export interface SignalDef {
12907
12920
  * Get the name of the signal.
12908
12921
  * @returns the name of the signal
12909
12922
  */
12910
- get_name(): string | null
12923
+ get_name(): string
12911
12924
  /**
12912
12925
  * Get the name of the object class that this signal belongs to.
12913
12926
  * @returns the type name of the signal
12914
12927
  */
12915
- get_object_type_name(): string | null
12928
+ get_object_type_name(): string
12916
12929
  /**
12917
12930
  * Set if the signal is deprecated.
12918
12931
  * @param deprecated %TRUE if the signal is deprecated
@@ -12934,7 +12947,7 @@ export interface SignalDef {
12934
12947
  * @returns the minor version
12935
12948
  */
12936
12949
  since_minor(): number
12937
- update_from_node(node: XmlNode, domain: string | null): void
12950
+ update_from_node(node: XmlNode, domain: string): void
12938
12951
  }
12939
12952
 
12940
12953
  export class SignalDef {
@@ -13051,7 +13064,7 @@ export interface WidgetActionDef {
13051
13064
 
13052
13065
  // Own fields of Gladeui-2.0.Gladeui.WidgetActionDef
13053
13066
 
13054
- id: string | null
13067
+ id: string
13055
13068
  path: string | null
13056
13069
  label: string | null
13057
13070
  stock: string | null
@@ -13066,8 +13079,8 @@ export interface WidgetActionDef {
13066
13079
  */
13067
13080
  free(): void
13068
13081
  set_important(important: boolean): void
13069
- set_label(label: string | null): void
13070
- set_stock(stock: string | null): void
13082
+ set_label(label: string): void
13083
+ set_stock(stock: string): void
13071
13084
  }
13072
13085
 
13073
13086
  export class WidgetActionDef {
@@ -13078,8 +13091,8 @@ export class WidgetActionDef {
13078
13091
 
13079
13092
  // Constructors of Gladeui-2.0.Gladeui.WidgetActionDef
13080
13093
 
13081
- constructor(path: string | null)
13082
- static new(path: string | null): WidgetActionDef
13094
+ constructor(path: string)
13095
+ static new(path: string): WidgetActionDef
13083
13096
  }
13084
13097
 
13085
13098
  export interface WidgetActionPrivate {
@@ -13186,8 +13199,8 @@ export interface WidgetGroup {
13186
13199
 
13187
13200
  get_adaptors(): WidgetAdaptor[]
13188
13201
  get_expanded(): boolean
13189
- get_name(): string | null
13190
- get_title(): string | null
13202
+ get_name(): string
13203
+ get_title(): string
13191
13204
  }
13192
13205
 
13193
13206
  export class WidgetGroup {
@@ -13241,7 +13254,7 @@ export class XmlContext {
13241
13254
  * @param root_name the expected root name
13242
13255
  * @returns a new #GladeXmlContext or %NULL on failure
13243
13256
  */
13244
- static new_from_path(full_path: string | null, nspace: string | null, root_name: string | null): XmlContext
13257
+ static new_from_path(full_path: string, nspace: string | null, root_name: string | null): XmlContext
13245
13258
  }
13246
13259
 
13247
13260
  export interface XmlDoc {
@@ -13249,13 +13262,13 @@ export interface XmlDoc {
13249
13262
  // Owm methods of Gladeui-2.0.Gladeui.XmlDoc
13250
13263
 
13251
13264
  get_root(): XmlNode
13252
- new_comment(comment: string | null): XmlNode
13265
+ new_comment(comment: string): XmlNode
13253
13266
  /**
13254
13267
  * Increases the reference of the #GladeXmlDoc.
13255
13268
  * @returns the given #GladeXmlDoc
13256
13269
  */
13257
13270
  ref(): XmlDoc
13258
- save(full_path: string | null): number
13271
+ save(full_path: string): number
13259
13272
  set_root(node: XmlNode): void
13260
13273
  /**
13261
13274
  * Decreases the reference of the #GladeXmlDoc.
@@ -13296,29 +13309,29 @@ export interface XmlNode {
13296
13309
  delete(): void
13297
13310
  get_children(): XmlNode
13298
13311
  get_children_with_comments(): XmlNode
13299
- get_name(): string | null
13312
+ get_name(): string
13300
13313
  get_parent(): XmlNode
13301
13314
  is_comment(): boolean
13302
13315
  next(): XmlNode
13303
13316
  next_with_comments(): XmlNode
13304
13317
  prev_with_comments(): XmlNode
13305
13318
  remove(): void
13306
- set_property_boolean(name: string | null, value: boolean): void
13319
+ set_property_boolean(name: string, value: boolean): void
13307
13320
  /**
13308
13321
  * Set a property as a string in the `node_in`. Note that %NULL `string` value
13309
13322
  * Are simply ignored and not written in the XML.
13310
13323
  * @param name the name of the property to set
13311
13324
  * @param string the string value of the property to set
13312
13325
  */
13313
- set_property_string(name: string | null, string: string | null): void
13326
+ set_property_string(name: string, string: string | null): void
13314
13327
  /**
13315
13328
  * This is a wrapper around glade_xml_node_verify_silent(), only it emits
13316
13329
  * a g_warning() if `node_in` has a name different than `name`.
13317
13330
  * @param name a string
13318
13331
  * @returns %TRUE if @node_in's name is equal to @name, %FALSE otherwise
13319
13332
  */
13320
- verify(name: string | null): boolean
13321
- verify_silent(name: string | null): boolean
13333
+ verify(name: string): boolean
13334
+ verify_silent(name: string): boolean
13322
13335
  }
13323
13336
 
13324
13337
  export class XmlNode {
@@ -13329,9 +13342,9 @@ export class XmlNode {
13329
13342
 
13330
13343
  // Constructors of Gladeui-2.0.Gladeui.XmlNode
13331
13344
 
13332
- constructor(context: XmlContext, name: string | null)
13333
- static new(context: XmlContext, name: string | null): XmlNode
13334
- static new_comment(context: XmlContext, comment: string | null): XmlNode
13345
+ constructor(context: XmlContext, name: string)
13346
+ static new(context: XmlContext, name: string): XmlNode
13347
+ static new_comment(context: XmlContext, comment: string): XmlNode
13335
13348
  }
13336
13349
 
13337
13350
  /**