@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.ts CHANGED
@@ -213,185 +213,185 @@ enum VerifyFlags {
213
213
  */
214
214
  UNRECOGNIZED,
215
215
  }
216
- const DEVHELP_FALLBACK_ICON_FILE: string | null
217
- const DEVHELP_ICON_NAME: string | null
218
- const ENV_BUNDLED: string | null
219
- const ENV_CATALOG_PATH: string | null
220
- const ENV_ICON_THEME_PATH: string | null
221
- const ENV_MODULE_PATH: string | null
222
- const ENV_PIXMAP_DIR: string | null
223
- const ENV_TESTING: string | null
216
+ const DEVHELP_FALLBACK_ICON_FILE: string
217
+ const DEVHELP_ICON_NAME: string
218
+ const ENV_BUNDLED: string
219
+ const ENV_CATALOG_PATH: string
220
+ const ENV_ICON_THEME_PATH: string
221
+ const ENV_MODULE_PATH: string
222
+ const ENV_PIXMAP_DIR: string
223
+ const ENV_TESTING: string
224
224
  const GTKBUILDER_VERSIONING_BASE_MAJOR: number
225
225
  const GTKBUILDER_VERSIONING_BASE_MINOR: number
226
- const PROPERTY_DEF_OBJECT_DELIMITER: string | null
227
- const TAG_ACTION: string | null
228
- const TAG_ACTIONS: string | null
229
- const TAG_ACTION_ACTIVATE_FUNCTION: string | null
230
- const TAG_ACTION_SUBMENU_FUNCTION: string | null
231
- const TAG_ADAPTOR: string | null
232
- const TAG_ADD_CHILD_FUNCTION: string | null
233
- const TAG_ADD_CHILD_VERIFY_FUNCTION: string | null
234
- const TAG_ANARCHIST: string | null
235
- const TAG_ATK_PROPERTY: string | null
236
- const TAG_BIND_FLAGS: string | null
237
- const TAG_BIND_PROPERTY: string | null
238
- const TAG_BIND_SOURCE: string | null
239
- const TAG_BOOK: string | null
240
- const TAG_BUILDER_SINCE: string | null
241
- const TAG_CHILD_ACTION_ACTIVATE_FUNCTION: string | null
242
- const TAG_CHILD_GET_PROP_FUNCTION: string | null
243
- const TAG_CHILD_PROPERTY: string | null
244
- const TAG_CHILD_SET_PROP_FUNCTION: string | null
245
- const TAG_CHILD_VERIFY_FUNCTION: string | null
246
- const TAG_COMMENT: string | null
247
- const TAG_COMMON: string | null
248
- const TAG_CONSTRUCTOR_FUNCTION: string | null
249
- const TAG_CONSTRUCT_OBJECT_FUNCTION: string | null
250
- const TAG_CONSTRUCT_ONLY: string | null
251
- const TAG_CONTEXT: string | null
252
- const TAG_CREATE_EDITABLE_FUNCTION: string | null
253
- const TAG_CREATE_EPROP_FUNCTION: string | null
254
- const TAG_CREATE_TYPE: string | null
255
- const TAG_CREATE_WIDGET_FUNCTION: string | null
256
- const TAG_CUSTOM_LAYOUT: string | null
257
- const TAG_DEEP_POST_CREATE_FUNCTION: string | null
258
- const TAG_DEFAULT: string | null
259
- const TAG_DEFAULT_HEIGHT: string | null
260
- const TAG_DEFAULT_PALETTE_STATE: string | null
261
- const TAG_DEFAULT_WIDTH: string | null
262
- const TAG_DEPENDS: string | null
263
- const TAG_DEPENDS_FUNCTION: string | null
264
- const TAG_DEPRECATED: string | null
265
- const TAG_DEPRECATED_SINCE: string | null
266
- const TAG_DESTROY_OBJECT_FUNCTION: string | null
267
- const TAG_DISABLED: string | null
268
- const TAG_DISPLAYABLE_VALUES: string | null
269
- const TAG_DOMAIN: string | null
270
- const TAG_EDITABLE: string | null
271
- const TAG_EVENT_HANDLER_CONNECTED: string | null
272
- const TAG_EXPANDED: string | null
273
- const TAG_FALSE: string | null
274
- const TAG_GENERIC_NAME: string | null
275
- const TAG_GET_CHILDREN_FUNCTION: string | null
276
- const TAG_GET_FUNCTION: string | null
277
- const TAG_GET_INTERNAL_CHILD_FUNCTION: string | null
278
- const TAG_GET_TYPE_FUNCTION: string | null
279
- const TAG_GLADE_CATALOG: string | null
280
- const TAG_GLADE_WIDGET_CLASS: string | null
281
- const TAG_GLADE_WIDGET_CLASSES: string | null
282
- const TAG_GLADE_WIDGET_CLASS_REF: string | null
283
- const TAG_GLADE_WIDGET_GROUP: string | null
284
- const TAG_HAS_CONTEXT: string | null
285
- const TAG_ICON_NAME: string | null
286
- const TAG_ICON_PREFIX: string | null
287
- const TAG_ID: string | null
288
- const TAG_IGNORE: string | null
289
- const TAG_IMPORTANT: string | null
290
- const TAG_INIT_FUNCTION: string | null
291
- const TAG_INTERNAL_CHILDREN: string | null
292
- const TAG_KEY: string | null
293
- const TAG_LIBRARY: string | null
294
- const TAG_MAX_VALUE: string | null
295
- const TAG_MIN_VALUE: string | null
296
- const TAG_MULTILINE: string | null
297
- const TAG_NAME: string | null
298
- const TAG_NEEDS_SYNC: string | null
299
- const TAG_NICK: string | null
300
- const TAG_NO: string | null
301
- const TAG_OPTIONAL: string | null
302
- const TAG_OPTIONAL_DEFAULT: string | null
303
- const TAG_PACKING_ACTIONS: string | null
304
- const TAG_PACKING_DEFAULTS: string | null
305
- const TAG_PACKING_PROPERTIES: string | null
306
- const TAG_PARENT: string | null
307
- const TAG_PARENTLESS_WIDGET: string | null
308
- const TAG_PARENT_CLASS: string | null
309
- const TAG_POST_CREATE_FUNCTION: string | null
310
- const TAG_PROPERTIES: string | null
311
- const TAG_PROPERTY: string | null
312
- const TAG_QUERY: string | null
313
- const TAG_READ_CHILD_FUNCTION: string | null
314
- const TAG_READ_WIDGET_FUNCTION: string | null
315
- const TAG_REMOVE_CHILD_FUNCTION: string | null
316
- const TAG_REPLACE_CHILD_FUNCTION: string | null
317
- const TAG_RESOURCE: string | null
318
- const TAG_SAVE: string | null
319
- const TAG_SAVE_ALWAYS: string | null
320
- const TAG_SET_FUNCTION: string | null
321
- const TAG_SIGNAL: string | null
322
- const TAG_SIGNALS: string | null
323
- const TAG_SPEC: string | null
324
- const TAG_SPECIAL_CHILD_TYPE: string | null
325
- const TAG_SPECIFICATIONS: string | null
326
- const TAG_STOCK: string | null
327
- const TAG_STOCK_ICON: string | null
328
- const TAG_STRING_FROM_VALUE_FUNCTION: string | null
329
- const TAG_TARGETABLE: string | null
330
- const TAG_TEMPLATE_PREFIX: string | null
331
- const TAG_THEMED_ICON: string | null
332
- const TAG_TITLE: string | null
333
- const TAG_TOOLTIP: string | null
334
- const TAG_TOPLEVEL: string | null
335
- const TAG_TRANSFER_ON_PASTE: string | null
336
- const TAG_TRANSLATABLE: string | null
337
- const TAG_TRUE: string | null
338
- const TAG_TYPE: string | null
339
- const TAG_USE_PLACEHOLDERS: string | null
340
- const TAG_VALUE: string | null
341
- const TAG_VALUE_TYPE: string | null
342
- const TAG_VERIFY_FUNCTION: string | null
343
- const TAG_VERSION: string | null
344
- const TAG_VERSION_SINCE: string | null
345
- const TAG_VISIBLE: string | null
346
- const TAG_WEIGHT: string | null
347
- const TAG_WRITE_CHILD_FUNCTION: string | null
348
- const TAG_WRITE_WIDGET_AFTER_FUNCTION: string | null
349
- const TAG_WRITE_WIDGET_FUNCTION: string | null
350
- const TAG_YES: string | null
351
- const UNNAMED_PREFIX: string | null
226
+ const PROPERTY_DEF_OBJECT_DELIMITER: string
227
+ const TAG_ACTION: string
228
+ const TAG_ACTIONS: string
229
+ const TAG_ACTION_ACTIVATE_FUNCTION: string
230
+ const TAG_ACTION_SUBMENU_FUNCTION: string
231
+ const TAG_ADAPTOR: string
232
+ const TAG_ADD_CHILD_FUNCTION: string
233
+ const TAG_ADD_CHILD_VERIFY_FUNCTION: string
234
+ const TAG_ANARCHIST: string
235
+ const TAG_ATK_PROPERTY: string
236
+ const TAG_BIND_FLAGS: string
237
+ const TAG_BIND_PROPERTY: string
238
+ const TAG_BIND_SOURCE: string
239
+ const TAG_BOOK: string
240
+ const TAG_BUILDER_SINCE: string
241
+ const TAG_CHILD_ACTION_ACTIVATE_FUNCTION: string
242
+ const TAG_CHILD_GET_PROP_FUNCTION: string
243
+ const TAG_CHILD_PROPERTY: string
244
+ const TAG_CHILD_SET_PROP_FUNCTION: string
245
+ const TAG_CHILD_VERIFY_FUNCTION: string
246
+ const TAG_COMMENT: string
247
+ const TAG_COMMON: string
248
+ const TAG_CONSTRUCTOR_FUNCTION: string
249
+ const TAG_CONSTRUCT_OBJECT_FUNCTION: string
250
+ const TAG_CONSTRUCT_ONLY: string
251
+ const TAG_CONTEXT: string
252
+ const TAG_CREATE_EDITABLE_FUNCTION: string
253
+ const TAG_CREATE_EPROP_FUNCTION: string
254
+ const TAG_CREATE_TYPE: string
255
+ const TAG_CREATE_WIDGET_FUNCTION: string
256
+ const TAG_CUSTOM_LAYOUT: string
257
+ const TAG_DEEP_POST_CREATE_FUNCTION: string
258
+ const TAG_DEFAULT: string
259
+ const TAG_DEFAULT_HEIGHT: string
260
+ const TAG_DEFAULT_PALETTE_STATE: string
261
+ const TAG_DEFAULT_WIDTH: string
262
+ const TAG_DEPENDS: string
263
+ const TAG_DEPENDS_FUNCTION: string
264
+ const TAG_DEPRECATED: string
265
+ const TAG_DEPRECATED_SINCE: string
266
+ const TAG_DESTROY_OBJECT_FUNCTION: string
267
+ const TAG_DISABLED: string
268
+ const TAG_DISPLAYABLE_VALUES: string
269
+ const TAG_DOMAIN: string
270
+ const TAG_EDITABLE: string
271
+ const TAG_EVENT_HANDLER_CONNECTED: string
272
+ const TAG_EXPANDED: string
273
+ const TAG_FALSE: string
274
+ const TAG_GENERIC_NAME: string
275
+ const TAG_GET_CHILDREN_FUNCTION: string
276
+ const TAG_GET_FUNCTION: string
277
+ const TAG_GET_INTERNAL_CHILD_FUNCTION: string
278
+ const TAG_GET_TYPE_FUNCTION: string
279
+ const TAG_GLADE_CATALOG: string
280
+ const TAG_GLADE_WIDGET_CLASS: string
281
+ const TAG_GLADE_WIDGET_CLASSES: string
282
+ const TAG_GLADE_WIDGET_CLASS_REF: string
283
+ const TAG_GLADE_WIDGET_GROUP: string
284
+ const TAG_HAS_CONTEXT: string
285
+ const TAG_ICON_NAME: string
286
+ const TAG_ICON_PREFIX: string
287
+ const TAG_ID: string
288
+ const TAG_IGNORE: string
289
+ const TAG_IMPORTANT: string
290
+ const TAG_INIT_FUNCTION: string
291
+ const TAG_INTERNAL_CHILDREN: string
292
+ const TAG_KEY: string
293
+ const TAG_LIBRARY: string
294
+ const TAG_MAX_VALUE: string
295
+ const TAG_MIN_VALUE: string
296
+ const TAG_MULTILINE: string
297
+ const TAG_NAME: string
298
+ const TAG_NEEDS_SYNC: string
299
+ const TAG_NICK: string
300
+ const TAG_NO: string
301
+ const TAG_OPTIONAL: string
302
+ const TAG_OPTIONAL_DEFAULT: string
303
+ const TAG_PACKING_ACTIONS: string
304
+ const TAG_PACKING_DEFAULTS: string
305
+ const TAG_PACKING_PROPERTIES: string
306
+ const TAG_PARENT: string
307
+ const TAG_PARENTLESS_WIDGET: string
308
+ const TAG_PARENT_CLASS: string
309
+ const TAG_POST_CREATE_FUNCTION: string
310
+ const TAG_PROPERTIES: string
311
+ const TAG_PROPERTY: string
312
+ const TAG_QUERY: string
313
+ const TAG_READ_CHILD_FUNCTION: string
314
+ const TAG_READ_WIDGET_FUNCTION: string
315
+ const TAG_REMOVE_CHILD_FUNCTION: string
316
+ const TAG_REPLACE_CHILD_FUNCTION: string
317
+ const TAG_RESOURCE: string
318
+ const TAG_SAVE: string
319
+ const TAG_SAVE_ALWAYS: string
320
+ const TAG_SET_FUNCTION: string
321
+ const TAG_SIGNAL: string
322
+ const TAG_SIGNALS: string
323
+ const TAG_SPEC: string
324
+ const TAG_SPECIAL_CHILD_TYPE: string
325
+ const TAG_SPECIFICATIONS: string
326
+ const TAG_STOCK: string
327
+ const TAG_STOCK_ICON: string
328
+ const TAG_STRING_FROM_VALUE_FUNCTION: string
329
+ const TAG_TARGETABLE: string
330
+ const TAG_TEMPLATE_PREFIX: string
331
+ const TAG_THEMED_ICON: string
332
+ const TAG_TITLE: string
333
+ const TAG_TOOLTIP: string
334
+ const TAG_TOPLEVEL: string
335
+ const TAG_TRANSFER_ON_PASTE: string
336
+ const TAG_TRANSLATABLE: string
337
+ const TAG_TRUE: string
338
+ const TAG_TYPE: string
339
+ const TAG_USE_PLACEHOLDERS: string
340
+ const TAG_VALUE: string
341
+ const TAG_VALUE_TYPE: string
342
+ const TAG_VERIFY_FUNCTION: string
343
+ const TAG_VERSION: string
344
+ const TAG_VERSION_SINCE: string
345
+ const TAG_VISIBLE: string
346
+ const TAG_WEIGHT: string
347
+ const TAG_WRITE_CHILD_FUNCTION: string
348
+ const TAG_WRITE_WIDGET_AFTER_FUNCTION: string
349
+ const TAG_WRITE_WIDGET_FUNCTION: string
350
+ const TAG_YES: string
351
+ const UNNAMED_PREFIX: string
352
352
  /**
353
353
  * Class prefix used for abstract classes (ie GtkBin -> GladeInstantiableGtkBin)
354
354
  */
355
- const WIDGET_ADAPTOR_INSTANTIABLE_PREFIX: string | null
356
- const XML_TAG_AFTER: string | null
357
- const XML_TAG_CHILD: string | null
358
- const XML_TAG_CLASS: string | null
359
- const XML_TAG_FILENAME: string | null
360
- const XML_TAG_HANDLER: string | null
361
- const XML_TAG_I18N_TRUE: string | null
362
- const XML_TAG_ID: string | null
363
- const XML_TAG_INTERNAL_CHILD: string | null
364
- const XML_TAG_LIB: string | null
365
- const XML_TAG_NAME: string | null
366
- const XML_TAG_OBJECT: string | null
367
- const XML_TAG_PACKING: string | null
368
- const XML_TAG_PLACEHOLDER: string | null
369
- const XML_TAG_PROJECT: string | null
370
- const XML_TAG_PROPERTY: string | null
371
- const XML_TAG_REQUIRES: string | null
372
- const XML_TAG_SIGNAL: string | null
373
- const XML_TAG_SIGNAL_FALSE: string | null
374
- const XML_TAG_SIGNAL_TRUE: string | null
375
- const XML_TAG_SOURCE: string | null
376
- const XML_TAG_SOURCES: string | null
377
- const XML_TAG_STOCK_ID: string | null
378
- const XML_TAG_SWAPPED: string | null
379
- const XML_TAG_TEMPLATE: string | null
380
- const XML_TAG_TYPE: string | null
381
- const XML_TAG_TYPE_FUNC: string | null
382
- const XML_TAG_VERSION: string | null
383
- const XML_TAG_WIDGET: string | null
355
+ const WIDGET_ADAPTOR_INSTANTIABLE_PREFIX: string
356
+ const XML_TAG_AFTER: string
357
+ const XML_TAG_CHILD: string
358
+ const XML_TAG_CLASS: string
359
+ const XML_TAG_FILENAME: string
360
+ const XML_TAG_HANDLER: string
361
+ const XML_TAG_I18N_TRUE: string
362
+ const XML_TAG_ID: string
363
+ const XML_TAG_INTERNAL_CHILD: string
364
+ const XML_TAG_LIB: string
365
+ const XML_TAG_NAME: string
366
+ const XML_TAG_OBJECT: string
367
+ const XML_TAG_PACKING: string
368
+ const XML_TAG_PLACEHOLDER: string
369
+ const XML_TAG_PROJECT: string
370
+ const XML_TAG_PROPERTY: string
371
+ const XML_TAG_REQUIRES: string
372
+ const XML_TAG_SIGNAL: string
373
+ const XML_TAG_SIGNAL_FALSE: string
374
+ const XML_TAG_SIGNAL_TRUE: string
375
+ const XML_TAG_SOURCE: string
376
+ const XML_TAG_SOURCES: string
377
+ const XML_TAG_STOCK_ID: string
378
+ const XML_TAG_SWAPPED: string
379
+ const XML_TAG_TEMPLATE: string
380
+ const XML_TAG_TYPE: string
381
+ const XML_TAG_TYPE_FUNC: string
382
+ const XML_TAG_VERSION: string
383
+ const XML_TAG_WIDGET: string
384
384
  /**
385
385
  * Adds a new path to the list of path to look catalogs for.
386
386
  * @param path the new path containing catalogs
387
387
  */
388
- function catalog_add_path(path: string | null): void
388
+ function catalog_add_path(path: string): void
389
389
  /**
390
390
  * Destroy and free all resources related with every loaded catalog.
391
391
  */
392
392
  function catalog_destroy_all(): void
393
393
  function catalog_get_extra_paths(): string[]
394
- function catalog_is_loaded(name: string | null): boolean
394
+ function catalog_is_loaded(name: string): boolean
395
395
  /**
396
396
  * Loads all available catalogs in the system.
397
397
  * First loads catalogs from GLADE_ENV_CATALOG_PATH,
@@ -419,21 +419,21 @@ function cursor_init(): void
419
419
  * @param type a #GladeCursorType
420
420
  */
421
421
  function cursor_set(project: Project, window: Gdk.Window, type: CursorType): void
422
- function displayable_value_is_disabled(type: GObject.GType, value: string | null): boolean
423
- function displayable_value_set_disabled(type: GObject.GType, value: string | null, disabled: boolean): void
422
+ function displayable_value_is_disabled(type: GObject.GType, value: string): boolean
423
+ function displayable_value_set_disabled(type: GObject.GType, value: string, disabled: boolean): void
424
424
  function get_debug_flags(): number
425
- function get_displayable_value(type: GObject.GType, value: string | null): string | null
426
- function get_value_from_displayable(type: GObject.GType, displayabe: string | null): string | null
425
+ function get_displayable_value(type: GObject.GType, value: string): string
426
+ function get_value_from_displayable(type: GObject.GType, displayabe: string): string
427
427
  /**
428
428
  * Initialization function for libgladeui (not #GladeApp)
429
429
  * It builds paths, bind text domain, and register icons
430
430
  */
431
431
  function init(): void
432
432
  function init_debug_flags(): void
433
- function param_spec_objects(name: string | null, nick: string | null, blurb: string | null, accepted_type: GObject.GType, flags: GObject.ParamFlags): GObject.ParamSpec
434
- function propert_get_insensitive_tooltip(property: Property): string | null
433
+ function param_spec_objects(name: string, nick: string, blurb: string, accepted_type: GObject.GType, flags: GObject.ParamFlags): GObject.ParamSpec
434
+ function propert_get_insensitive_tooltip(property: Property): string
435
435
  function property_def_get_default_from_spec(spec: GObject.ParamSpec): any
436
- function property_def_make_flags_from_string(type: GObject.GType, string: string | null): number
436
+ function property_def_make_flags_from_string(type: GObject.GType, string: string): number
437
437
  /**
438
438
  * This function assigns "weight" to each property in its natural order staring from 1.
439
439
  * If parent is 0 weight will be set for every #GladePropertyDef in the list.
@@ -451,9 +451,9 @@ function property_def_set_weights(properties: PropertyDef[], parent: GObject.GTy
451
451
  * @param domain the domain to translate catalog strings from
452
452
  * @returns %TRUE on success. @property_def_ref is set to NULL if the property has Disabled="TRUE".
453
453
  */
454
- function property_def_update_from_node(node: XmlNode, object_type: GObject.GType, property_def_ref: PropertyDef | null, domain: string | null): [ /* returnType */ boolean, /* property_def_ref */ PropertyDef | null ]
455
- function register_displayable_value(type: GObject.GType, value: string | null, domain: string | null, string: string | null): void
456
- function register_translated_value(type: GObject.GType, value: string | null, string: string | null): void
454
+ function property_def_update_from_node(node: XmlNode, object_type: GObject.GType, property_def_ref: PropertyDef | null, domain: string): [ /* returnType */ boolean, /* property_def_ref */ PropertyDef | null ]
455
+ function register_displayable_value(type: GObject.GType, value: string, domain: string, string: string): void
456
+ function register_translated_value(type: GObject.GType, value: string, string: string): void
457
457
  /**
458
458
  * Sets up a log handler to manage all %G_LOG_LEVEL_MASK errors of domain:
459
459
  * GLib, GLib-GObject, Gtk, Gdk, and domainless.
@@ -471,14 +471,14 @@ function standard_int_spec(): GObject.ParamSpec
471
471
  */
472
472
  function standard_objects_spec(): GObject.ParamSpec
473
473
  function standard_pixbuf_spec(): GObject.ParamSpec
474
- function standard_stock_append_prefix(prefix: string | null): void
474
+ function standard_stock_append_prefix(prefix: string): void
475
475
  function standard_stock_image_spec(): GObject.ParamSpec
476
476
  function standard_stock_spec(): GObject.ParamSpec
477
477
  function standard_string_spec(): GObject.ParamSpec
478
478
  function standard_strv_spec(): GObject.ParamSpec
479
479
  function standard_uint_spec(): GObject.ParamSpec
480
480
  function type_has_displayable_values(type: GObject.GType): boolean
481
- function util_canonical_path(path: string | null): string | null
481
+ function util_canonical_path(path: string): string | null
482
482
  function util_check_and_warn_scrollable(parent: Widget, child_adaptor: WidgetAdaptor, parent_widget: Gtk.Widget): boolean
483
483
  /**
484
484
  * This is a #GCompareFunc that compares the labels of two stock items,
@@ -503,15 +503,15 @@ function util_count_placeholders(parent: Widget): number
503
503
  * @param name a string
504
504
  * @returns a newly allocated string
505
505
  */
506
- function util_duplicate_underscores(name: string | null): string | null
507
- function util_file_dialog_new(title: string | null, project: Project, parent: Gtk.Window, action: UtilFileDialogType): Gtk.Widget
506
+ function util_duplicate_underscores(name: string): string | null
507
+ function util_file_dialog_new(title: string, project: Project, parent: Gtk.Window, action: UtilFileDialogType): Gtk.Widget
508
508
  /**
509
509
  * Checks whether the file at `path` is writeable
510
510
  * @param path the path to the file
511
511
  * @returns TRUE if file is writeable
512
512
  */
513
- function util_file_is_writeable(path: string | null): boolean
514
- function util_filename_to_icon_name(value: string | null): string | null
513
+ function util_file_is_writeable(path: string): boolean
514
+ function util_filename_to_icon_name(value: string): string | null
515
515
  /**
516
516
  * Looks through `model` for the #GtkTreeIter corresponding to
517
517
  * `findme` under `column`.
@@ -532,7 +532,7 @@ function util_get_devhelp_icon(size: Gtk.IconSize): Gtk.Widget
532
532
  * @param filename A filename
533
533
  * @returns The mtime of the file, or %0 if the file attributes could not be read.
534
534
  */
535
- function util_get_file_mtime(filename: string | null): number
535
+ function util_get_file_mtime(filename: string): number
536
536
  function util_get_placeholder_from_pointer(container: Gtk.Container): Gtk.Widget
537
537
  /**
538
538
  * Returns the type using the "get type" function name based on `name`.
@@ -542,16 +542,16 @@ function util_get_placeholder_from_pointer(container: Gtk.Container): Gtk.Widget
542
542
  * @param have_func function-name flag -- true if the name is a "get-type" function.
543
543
  * @returns the new #GType
544
544
  */
545
- function util_get_type_from_name(name: string | null, have_func: boolean): GObject.GType
545
+ function util_get_type_from_name(name: string, have_func: boolean): GObject.GType
546
546
  function util_have_devhelp(): boolean
547
- function util_icon_name_to_filename(value: string | null): string | null
547
+ function util_icon_name_to_filename(value: string): string | null
548
548
  function util_object_is_loading(object: GObject.Object): boolean
549
549
  /**
550
550
  * Return a usable version of a property identifier as found
551
551
  * in a freshly parserd #GladeInterface
552
552
  * @param str a string
553
553
  */
554
- function util_read_prop_name(str: string | null): string | null
554
+ function util_read_prop_name(str: string): string | null
555
555
  function util_remove_scroll_events(widget: Gtk.Widget): void
556
556
  /**
557
557
  * Replaces each occurrence of the character `a` in `str` to `b`.
@@ -560,27 +560,27 @@ function util_remove_scroll_events(widget: Gtk.Widget): void
560
560
  * @param b a #gchar
561
561
  */
562
562
  function util_replace(str: string | null, a: number, b: number): void
563
- function util_search_devhelp(book: string | null, page: string | null, search: string | null): void
563
+ function util_search_devhelp(book: string, page: string, search: string): void
564
564
  /**
565
565
  * Portable function for showing an URL `url` in a web browser.
566
566
  * @param url An URL to display
567
567
  * @returns TRUE if a web browser was successfully launched, or FALSE
568
568
  */
569
- function util_url_show(url: string | null): boolean
569
+ function util_url_show(url: string): boolean
570
570
  /**
571
571
  * Parse a boolean value
572
572
  * @param string the string to convert
573
573
  * @returns %TRUE if there was an error on the conversion, %FALSE otherwise.
574
574
  */
575
- function utils_boolean_from_string(string: string | null): [ /* returnType */ boolean, /* value */ boolean ]
575
+ function utils_boolean_from_string(string: string): [ /* returnType */ boolean, /* value */ boolean ]
576
576
  function utils_cairo_draw_line(cr: cairo.Context, color: Gdk.Color, x1: number, y1: number, x2: number, y2: number): void
577
577
  function utils_cairo_draw_rectangle(cr: cairo.Context, color: Gdk.Color, filled: boolean, x: number, y: number, width: number, height: number): void
578
578
  function utils_enum_string_from_value(enum_type: GObject.GType, value: number): string | null
579
579
  function utils_enum_string_from_value_displayable(flags_type: GObject.GType, value: number): string | null
580
- function utils_enum_value_from_string(enum_type: GObject.GType, strval: string | null): number
580
+ function utils_enum_value_from_string(enum_type: GObject.GType, strval: string): number
581
581
  function utils_flags_string_from_value(enum_type: GObject.GType, value: number): string | null
582
582
  function utils_flags_string_from_value_displayable(flags_type: GObject.GType, value: number): string | null
583
- function utils_flags_value_from_string(enum_type: GObject.GType, strval: string | null): number
583
+ function utils_flags_value_from_string(enum_type: GObject.GType, strval: string): number
584
584
  /**
585
585
  * Get's the pointer position relative to `widget,` while `window` and `device`
586
586
  * are not absolutely needed, they should be passed wherever possible.
@@ -591,7 +591,7 @@ function utils_flags_value_from_string(enum_type: GObject.GType, strval: string
591
591
  * @param y The location to store the mouse pointer Y position
592
592
  */
593
593
  function utils_get_pointer(widget: Gtk.Widget, window: Gdk.Window, device: Gdk.Device, x: number, y: number): void
594
- function utils_get_pspec_from_funcname(funcname: string | null): GObject.ParamSpec | null
594
+ function utils_get_pspec_from_funcname(funcname: string): GObject.ParamSpec | null
595
595
  /**
596
596
  * This function is meant to be attached to key-press-event of a toplevel,
597
597
  * it simply allows the window contents to treat key events /before/
@@ -621,7 +621,7 @@ function utils_liststore_from_enum_type(enum_type: GObject.GType, include_empty:
621
621
  * @returns the rendered #GdkPixbuf
622
622
  */
623
623
  function utils_pointer_mode_render_icon(mode: PointerMode, size: Gtk.IconSize): GdkPixbuf.Pixbuf
624
- function utils_replace_home_dir_with_tilde(path: string | null): string | null
624
+ function utils_replace_home_dir_with_tilde(path: string): string | null
625
625
  /**
626
626
  * Serializes #GValue into a string
627
627
  * (using glade conversion routines)
@@ -637,33 +637,33 @@ function utils_string_from_value(value: any): string | null
637
637
  * @param project the #GladeProject to look for formats of object names when needed
638
638
  * @returns A newly allocated and set #GValue
639
639
  */
640
- function utils_value_from_string(type: GObject.GType, string: string | null, project: Project): any
640
+ function utils_value_from_string(type: GObject.GType, string: string, project: Project): any
641
641
  /**
642
642
  * Dump the XML string from the context.
643
643
  * @param context a #GladeXmlContext
644
644
  * @returns the XML string, free the allocated memory with g_free() after use
645
645
  */
646
646
  function xml_dump_from_context(context: XmlContext): string | null
647
- function xml_get_boolean(node: XmlNode, name: string | null, _default: boolean): boolean
647
+ function xml_get_boolean(node: XmlNode, name: string, _default: boolean): boolean
648
648
  /**
649
649
  * Gets a string containing the content of `node_in`.
650
650
  * @param node_in a #GladeXmlNode
651
651
  * @returns A newly allocated string
652
652
  */
653
653
  function xml_get_content(node_in: XmlNode): string | null
654
- function xml_get_property_boolean(node_in: XmlNode, name: string | null, _default: boolean): boolean
655
- function xml_get_property_double(node_in: XmlNode, name: string | null, _default: number): number
656
- function xml_get_property_int(node_in: XmlNode, name: string | null, _default: number): number
657
- function xml_get_property_string(node_in: XmlNode, name: string | null): string | null
658
- function xml_get_property_string_required(node_in: XmlNode, name: string | null, xtra: string | null): string | null
654
+ function xml_get_property_boolean(node_in: XmlNode, name: string, _default: boolean): boolean
655
+ function xml_get_property_double(node_in: XmlNode, name: string, _default: number): number
656
+ function xml_get_property_int(node_in: XmlNode, name: string, _default: number): number
657
+ function xml_get_property_string(node_in: XmlNode, name: string): string | null
658
+ function xml_get_property_string_required(node_in: XmlNode, name: string, xtra: string): string | null
659
659
  /**
660
660
  * Get the list of targetable versions for a property
661
661
  * @param node_in a #GladeXmlNode
662
662
  * @param name a property name
663
663
  * @returns a list of #GladeTargetableVersion
664
664
  */
665
- function xml_get_property_targetable_versions(node_in: XmlNode, name: string | null): TargetableVersion[]
666
- function xml_get_property_version(node_in: XmlNode, name: string | null, major: number, minor: number): boolean
665
+ function xml_get_property_targetable_versions(node_in: XmlNode, name: string): TargetableVersion[]
666
+ function xml_get_property_version(node_in: XmlNode, name: string, major: number, minor: number): boolean
667
667
  /**
668
668
  * Gets an integer value for a node either carried as an attribute or as
669
669
  * the content of a child.
@@ -672,7 +672,7 @@ function xml_get_property_version(node_in: XmlNode, name: string | null, major:
672
672
  * @param val a pointer to an #int
673
673
  * @returns %TRUE if the node is found, %FALSE otherwise
674
674
  */
675
- function xml_get_value_int(node_in: XmlNode, name: string | null, val: number): boolean
675
+ function xml_get_value_int(node_in: XmlNode, name: string, val: number): boolean
676
676
  /**
677
677
  * This is a wrapper around glade_xml_get_value_int(), only it emits
678
678
  * a g_warning() if `node` did not contain the requested tag
@@ -681,11 +681,11 @@ function xml_get_value_int(node_in: XmlNode, name: string | null, val: number):
681
681
  * @param val a pointer to an #int
682
682
  * @returns %FALSE if @name is not in @node
683
683
  */
684
- function xml_get_value_int_required(node: XmlNode, name: string | null, val: number): boolean
685
- function xml_get_value_string(node: XmlNode, name: string | null): string | null
686
- function xml_get_value_string_required(node: XmlNode, name: string | null, xtra_info: string | null): string | null
684
+ function xml_get_value_int_required(node: XmlNode, name: string, val: number): boolean
685
+ function xml_get_value_string(node: XmlNode, name: string): string | null
686
+ function xml_get_value_string_required(node: XmlNode, name: string, xtra_info: string): string | null
687
687
  function xml_load_sym_from_node(node_in: XmlNode, module: GModule.Module, tagname: string | null, sym_location: any | null): boolean
688
- function xml_search_child(node: XmlNode, name: string | null): XmlNode
688
+ function xml_search_child(node: XmlNode, name: string): XmlNode
689
689
  /**
690
690
  * just a small wrapper around glade_xml_search_child that displays
691
691
  * an error if the child was not found
@@ -693,20 +693,20 @@ function xml_search_child(node: XmlNode, name: string | null): XmlNode
693
693
  * @param name the name of the child
694
694
  * @returns the requested #GladeXmlNode
695
695
  */
696
- function xml_search_child_required(tree: XmlNode, name: string | null): XmlNode | null
696
+ function xml_search_child_required(tree: XmlNode, name: string): XmlNode | null
697
697
  /**
698
698
  * Sets the content of `node` to `content`.
699
699
  * @param node_in a #GladeXmlNode
700
700
  * @param content a string
701
701
  */
702
- function xml_set_content(node_in: XmlNode, content: string | null): void
702
+ function xml_set_content(node_in: XmlNode, content: string): void
703
703
  /**
704
704
  * Sets the property `name` in `node_in` to `val`
705
705
  * @param node_in a #GladeXmlNode
706
706
  * @param name a string
707
707
  * @param val a string
708
708
  */
709
- function xml_set_value(node_in: XmlNode, name: string | null, val: string | null): void
709
+ function xml_set_value(node_in: XmlNode, name: string, val: string): void
710
710
  /**
711
711
  * This delegate function is used to catch actions from the core.
712
712
  * @callback
@@ -715,7 +715,7 @@ function xml_set_value(node_in: XmlNode, name: string | null, val: string | null
715
715
  * @param action_path The action identifier in the action tree
716
716
  */
717
717
  interface ActionActivateFunc {
718
- (adaptor: WidgetAdaptor, object: GObject.Object, action_path: string | null): void
718
+ (adaptor: WidgetAdaptor, object: GObject.Object, action_path: string): void
719
719
  }
720
720
  /**
721
721
  * This delegate function is used to create dynamically customized
@@ -727,7 +727,7 @@ interface ActionActivateFunc {
727
727
  * @returns A newly created #GtkMenu or %NULL
728
728
  */
729
729
  interface ActionSubmenuFunc {
730
- (adaptor: WidgetAdaptor, object: GObject.Object, action_path: string | null): Gtk.Widget | null
730
+ (adaptor: WidgetAdaptor, object: GObject.Object, action_path: string): Gtk.Widget | null
731
731
  }
732
732
  /**
733
733
  * Called to add `child` to `container`.
@@ -762,7 +762,7 @@ interface AddChildVerifyFunc {
762
762
  * @param name The name of the catalog
763
763
  */
764
764
  interface CatalogInitFunc {
765
- (name: string | null): void
765
+ (name: string): void
766
766
  }
767
767
  /**
768
768
  * This delegate function is used to catch packing actions from the core.
@@ -773,7 +773,7 @@ interface CatalogInitFunc {
773
773
  * @param action_path The action identifier in the action tree
774
774
  */
775
775
  interface ChildActionActivateFunc {
776
- (adaptor: WidgetAdaptor, container: GObject.Object, object: GObject.Object, action_path: string | null): void
776
+ (adaptor: WidgetAdaptor, container: GObject.Object, object: GObject.Object, action_path: string): void
777
777
  }
778
778
  /**
779
779
  * Called to get the packing property `property_name`
@@ -786,7 +786,7 @@ interface ChildActionActivateFunc {
786
786
  * @param value The `GValue`
787
787
  */
788
788
  interface ChildGetPropertyFunc {
789
- (adaptor: WidgetAdaptor, container: GObject.Object, child: GObject.Object, property_name: string | null, value: any): void
789
+ (adaptor: WidgetAdaptor, container: GObject.Object, child: GObject.Object, property_name: string, value: any): void
790
790
  }
791
791
  /**
792
792
  * Called to set the packing property `property_name` to `value`
@@ -799,7 +799,7 @@ interface ChildGetPropertyFunc {
799
799
  * @param value The `GValue`
800
800
  */
801
801
  interface ChildSetPropertyFunc {
802
- (adaptor: WidgetAdaptor, container: GObject.Object, child: GObject.Object, property_name: string | null, value: any): void
802
+ (adaptor: WidgetAdaptor, container: GObject.Object, child: GObject.Object, property_name: string, value: any): void
803
803
  }
804
804
  /**
805
805
  * This delegate function is always called whenever setting any
@@ -816,7 +816,7 @@ interface ChildSetPropertyFunc {
816
816
  * @returns whether or not its OK to set @value on @object, this function will silently return TRUE if the class did not provide a verify function.
817
817
  */
818
818
  interface ChildVerifyPropertyFunc {
819
- (adaptor: WidgetAdaptor, container: GObject.Object, child: GObject.Object, property_name: string | null, value: any): boolean
819
+ (adaptor: WidgetAdaptor, container: GObject.Object, child: GObject.Object, property_name: string, value: any): boolean
820
820
  }
821
821
  /**
822
822
  * This function is called to construct a GObject instance.
@@ -905,7 +905,7 @@ interface GetChildrenFunc {
905
905
  * @returns The internal #GObject
906
906
  */
907
907
  interface GetInternalFunc {
908
- (adaptor: WidgetAdaptor, object: GObject.Object, internal_name: string | null): GObject.Object | null
908
+ (adaptor: WidgetAdaptor, object: GObject.Object, internal_name: string): GObject.Object | null
909
909
  }
910
910
  /**
911
911
  * Gets `value` on `object` for a given #GladePropertyDef
@@ -916,7 +916,7 @@ interface GetInternalFunc {
916
916
  * @param value The #GValue
917
917
  */
918
918
  interface GetPropertyFunc {
919
- (adaptor: WidgetAdaptor, object: GObject.Object, property_name: string | null, value: any): void
919
+ (adaptor: WidgetAdaptor, object: GObject.Object, property_name: string, value: any): void
920
920
  }
921
921
  /**
922
922
  * This function is called exactly once for any project object
@@ -973,7 +973,7 @@ interface ReplaceChildFunc {
973
973
  * @param value The #GValue
974
974
  */
975
975
  interface SetPropertyFunc {
976
- (adaptor: WidgetAdaptor, object: GObject.Object, property_name: string | null, value: any): void
976
+ (adaptor: WidgetAdaptor, object: GObject.Object, property_name: string, value: any): void
977
977
  }
978
978
  /**
979
979
  * For normal properties this is used to serialize
@@ -1003,7 +1003,7 @@ interface StringFromValueFunc {
1003
1003
  * @returns whether or not its OK to set @value on @object, this function will silently return TRUE if the class did not provide a verify function.
1004
1004
  */
1005
1005
  interface VerifyPropertyFunc {
1006
- (adaptor: WidgetAdaptor, object: GObject.Object, property_name: string | null, value: any): boolean
1006
+ (adaptor: WidgetAdaptor, object: GObject.Object, property_name: string, value: any): boolean
1007
1007
  }
1008
1008
  /**
1009
1009
  * This function is called to fill in `node` from `widget`.
@@ -1244,7 +1244,7 @@ interface AdaptorChooser extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orient
1244
1244
  * @param child the child widget
1245
1245
  * @param child_property the name of a child property installed on the class of `container`
1246
1246
  */
1247
- child_notify(child: Gtk.Widget, child_property: string | null): void
1247
+ child_notify(child: Gtk.Widget, child_property: string): void
1248
1248
 
1249
1249
  // Overloads of child_notify
1250
1250
 
@@ -1258,7 +1258,7 @@ interface AdaptorChooser extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orient
1258
1258
  * Also see gtk_container_child_notify().
1259
1259
  * @param child_property the name of a child property installed on the class of `widget’`s parent
1260
1260
  */
1261
- child_notify(child_property: string | null): void
1261
+ child_notify(child_property: string): void
1262
1262
  /**
1263
1263
  * Emits a #GtkWidget::child-notify signal for the
1264
1264
  * [child property][child-properties] `child_property`
@@ -1269,7 +1269,7 @@ interface AdaptorChooser extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orient
1269
1269
  * Also see gtk_container_child_notify().
1270
1270
  * @param child_property the name of a child property installed on the class of `widget’`s parent
1271
1271
  */
1272
- child_notify(child_property: string | null): void
1272
+ child_notify(child_property: string): void
1273
1273
 
1274
1274
  // Class property signals of Gladeui-2.0.Gladeui.AdaptorChooser
1275
1275
 
@@ -1533,26 +1533,26 @@ class App extends GObject.Object {
1533
1533
  static do_event(event: Gdk.Event): boolean
1534
1534
  static get(): App
1535
1535
  static get_accel_group(): Gtk.AccelGroup
1536
- static get_bin_dir(): string | null
1537
- static get_catalog(name: string | null): Catalog | null
1538
- static get_catalog_version(name: string | null): [ /* returnType */ boolean, /* major */ number, /* minor */ number ]
1536
+ static get_bin_dir(): string
1537
+ static get_catalog(name: string): Catalog | null
1538
+ static get_catalog_version(name: string): [ /* returnType */ boolean, /* major */ number, /* minor */ number ]
1539
1539
  static get_catalogs(): Catalog[]
1540
- static get_catalogs_dir(): string | null
1540
+ static get_catalogs_dir(): string
1541
1541
  static get_clipboard(): Clipboard
1542
1542
  static get_config(): GLib.KeyFile
1543
- static get_lib_dir(): string | null
1544
- static get_locale_dir(): string | null
1545
- static get_modules_dir(): string | null
1546
- static get_pixmaps_dir(): string | null
1543
+ static get_lib_dir(): string
1544
+ static get_locale_dir(): string
1545
+ static get_modules_dir(): string
1546
+ static get_pixmaps_dir(): string
1547
1547
  /**
1548
1548
  * Finds an open project with `path`
1549
1549
  * @param project_path The path of an open project
1550
1550
  * @returns A #GladeProject, or NULL if no such open project was found
1551
1551
  */
1552
- static get_project_by_path(project_path: string | null): Project | null
1552
+ static get_project_by_path(project_path: string): Project | null
1553
1553
  static get_projects(): Catalog[]
1554
1554
  static get_window(): Gtk.Widget
1555
- static is_project_loaded(project_path: string | null): boolean
1555
+ static is_project_loaded(project_path: string): boolean
1556
1556
  static remove_project(project: Project): void
1557
1557
  /**
1558
1558
  * Searches for `book,` `page` and `search` in the documentation.
@@ -1560,7 +1560,7 @@ class App extends GObject.Object {
1560
1560
  * @param page the name of a page
1561
1561
  * @param search the search query
1562
1562
  */
1563
- static search_docs(book: string | null, page: string | null, search: string | null): void
1563
+ static search_docs(book: string, page: string, search: string): void
1564
1564
  /**
1565
1565
  * Sets `accel_group` to app.
1566
1566
  * The acceleration group will made available for editor dialog windows
@@ -1693,7 +1693,7 @@ interface BaseEditor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
1693
1693
  * @param child the child widget
1694
1694
  * @param child_property the name of a child property installed on the class of `container`
1695
1695
  */
1696
- child_notify(child: Gtk.Widget, child_property: string | null): void
1696
+ child_notify(child: Gtk.Widget, child_property: string): void
1697
1697
 
1698
1698
  // Overloads of child_notify
1699
1699
 
@@ -1707,7 +1707,7 @@ interface BaseEditor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
1707
1707
  * Also see gtk_container_child_notify().
1708
1708
  * @param child_property the name of a child property installed on the class of `widget’`s parent
1709
1709
  */
1710
- child_notify(child_property: string | null): void
1710
+ child_notify(child_property: string): void
1711
1711
  /**
1712
1712
  * Emits a #GtkWidget::child-notify signal for the
1713
1713
  * [child property][child-properties] `child_property`
@@ -1718,7 +1718,7 @@ interface BaseEditor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
1718
1718
  * Also see gtk_container_child_notify().
1719
1719
  * @param child_property the name of a child property installed on the class of `widget’`s parent
1720
1720
  */
1721
- child_notify(child_property: string | null): void
1721
+ child_notify(child_property: string): void
1722
1722
 
1723
1723
  // Own virtual methods of Gladeui-2.0.Gladeui.BaseEditor
1724
1724
 
@@ -1955,7 +1955,7 @@ interface CellRendererIcon {
1955
1955
 
1956
1956
  // Own virtual methods of Gladeui-2.0.Gladeui.CellRendererIcon
1957
1957
 
1958
- vfunc_activate(path: string | null): void
1958
+ vfunc_activate(path: string): void
1959
1959
 
1960
1960
  // Overloads of vfunc_activate
1961
1961
 
@@ -1972,7 +1972,7 @@ interface CellRendererIcon {
1972
1972
  * @param flags render flags
1973
1973
  * @returns %TRUE if the event was consumed/handled
1974
1974
  */
1975
- vfunc_activate(event: Gdk.Event, widget: Gtk.Widget, path: string | null, background_area: Gdk.Rectangle, cell_area: Gdk.Rectangle, flags: Gtk.CellRendererState): boolean
1975
+ vfunc_activate(event: Gdk.Event, widget: Gtk.Widget, path: string, background_area: Gdk.Rectangle, cell_area: Gdk.Rectangle, flags: Gtk.CellRendererState): boolean
1976
1976
 
1977
1977
  // Own signals of Gladeui-2.0.Gladeui.CellRendererIcon
1978
1978
 
@@ -2171,7 +2171,7 @@ interface Command {
2171
2171
  * @param other another #GladeCommand
2172
2172
  */
2173
2173
  collapse(other: Command): void
2174
- description(): string | null
2174
+ description(): string
2175
2175
  /**
2176
2176
  * Executes `command`
2177
2177
  * @returns whether the command was successfully executed
@@ -2331,26 +2331,26 @@ class Command extends GObject.Object {
2331
2331
  * @param context a #const gchar *
2332
2332
  * @param comment a #const gchar *
2333
2333
  */
2334
- static set_i18n(property: Property, translatable: boolean, context: string | null, comment: string | null): void
2335
- static set_name(glade_widget: Widget, name: string | null): void
2334
+ static set_i18n(property: Property, translatable: boolean, context: string, comment: string): void
2335
+ static set_name(glade_widget: Widget, name: string): void
2336
2336
  /**
2337
2337
  * Sets `domain` as the translation domain for `project`.
2338
2338
  * @param project A #GladeProject
2339
2339
  * @param domain The translation domain for `project`
2340
2340
  */
2341
- static set_project_domain(project: Project, domain: string | null): void
2341
+ static set_project_domain(project: Project, domain: string): void
2342
2342
  /**
2343
2343
  * Sets the license agreement for `project`. It will be saved in the xml as comment.
2344
2344
  * @param project A #GladeProject
2345
2345
  * @param license License of `project`
2346
2346
  */
2347
- static set_project_license(project: Project, license: string | null): void
2347
+ static set_project_license(project: Project, license: string): void
2348
2348
  /**
2349
2349
  * Sets a resource path `project`.
2350
2350
  * @param project A #GladeProject
2351
2351
  * @param path path to load resources from.
2352
2352
  */
2353
- static set_project_resource_path(project: Project, path: string | null): void
2353
+ static set_project_resource_path(project: Project, path: string): void
2354
2354
  /**
2355
2355
  * Sets the target of `catalog` to `major`.`minor` in `project`.
2356
2356
  * @param project A #GladeProject
@@ -2358,7 +2358,7 @@ class Command extends GObject.Object {
2358
2358
  * @param major The new major version of `catalog` to target
2359
2359
  * @param minor The new minor version of `catalog` to target
2360
2360
  */
2361
- static set_project_target(project: Project, catalog: string | null, major: number, minor: number): void
2361
+ static set_project_target(project: Project, catalog: string, major: number, minor: number): void
2362
2362
  /**
2363
2363
  * Sets `widget` to be the template widget in `project`.
2364
2364
  * @param project A #GladeProject
@@ -2423,7 +2423,7 @@ interface DesignView extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
2423
2423
  * @param child the child widget
2424
2424
  * @param child_property the name of a child property installed on the class of `container`
2425
2425
  */
2426
- child_notify(child: Gtk.Widget, child_property: string | null): void
2426
+ child_notify(child: Gtk.Widget, child_property: string): void
2427
2427
 
2428
2428
  // Overloads of child_notify
2429
2429
 
@@ -2437,7 +2437,7 @@ interface DesignView extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
2437
2437
  * Also see gtk_container_child_notify().
2438
2438
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2439
2439
  */
2440
- child_notify(child_property: string | null): void
2440
+ child_notify(child_property: string): void
2441
2441
  /**
2442
2442
  * Emits a #GtkWidget::child-notify signal for the
2443
2443
  * [child property][child-properties] `child_property`
@@ -2448,7 +2448,7 @@ interface DesignView extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
2448
2448
  * Also see gtk_container_child_notify().
2449
2449
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2450
2450
  */
2451
- child_notify(child_property: string | null): void
2451
+ child_notify(child_property: string): void
2452
2452
 
2453
2453
  // Class property signals of Gladeui-2.0.Gladeui.DesignView
2454
2454
 
@@ -2667,7 +2667,7 @@ interface EPropBool extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.O
2667
2667
  * @param property_name the name of the property to get
2668
2668
  * @param value return location for the property value
2669
2669
  */
2670
- get_property(property_name: string | null, value: any): void
2670
+ get_property(property_name: string, value: any): void
2671
2671
  /**
2672
2672
  * Gets a property of an object.
2673
2673
  *
@@ -2688,7 +2688,7 @@ interface EPropBool extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.O
2688
2688
  * @param property_name the name of the property to get
2689
2689
  * @param value return location for the property value
2690
2690
  */
2691
- get_property(property_name: string | null, value: any): void
2691
+ get_property(property_name: string, value: any): void
2692
2692
  /**
2693
2693
  * Loads `widget` property values into `editable`
2694
2694
  * (the editable will watch the widgets properties
@@ -2723,7 +2723,7 @@ interface EPropBool extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.O
2723
2723
  * Also see gtk_container_child_notify().
2724
2724
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2725
2725
  */
2726
- child_notify(child_property: string | null): void
2726
+ child_notify(child_property: string): void
2727
2727
  /**
2728
2728
  * Emits a #GtkWidget::child-notify signal for the
2729
2729
  * [child property][child-properties]
@@ -2735,7 +2735,7 @@ interface EPropBool extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.O
2735
2735
  * @param child the child widget
2736
2736
  * @param child_property the name of a child property installed on the class of `container`
2737
2737
  */
2738
- child_notify(child: Gtk.Widget, child_property: string | null): void
2738
+ child_notify(child: Gtk.Widget, child_property: string): void
2739
2739
 
2740
2740
  // Overloads of child_notify
2741
2741
 
@@ -2749,7 +2749,7 @@ interface EPropBool extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.O
2749
2749
  * Also see gtk_container_child_notify().
2750
2750
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2751
2751
  */
2752
- child_notify(child_property: string | null): void
2752
+ child_notify(child_property: string): void
2753
2753
  /**
2754
2754
  * Loads `widget` property values into `editable`
2755
2755
  * (the editable will watch the widgets properties
@@ -2990,7 +2990,7 @@ interface EPropCheck extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.
2990
2990
  * @param property_name the name of the property to get
2991
2991
  * @param value return location for the property value
2992
2992
  */
2993
- get_property(property_name: string | null, value: any): void
2993
+ get_property(property_name: string, value: any): void
2994
2994
  /**
2995
2995
  * Gets a property of an object.
2996
2996
  *
@@ -3011,7 +3011,7 @@ interface EPropCheck extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.
3011
3011
  * @param property_name the name of the property to get
3012
3012
  * @param value return location for the property value
3013
3013
  */
3014
- get_property(property_name: string | null, value: any): void
3014
+ get_property(property_name: string, value: any): void
3015
3015
  /**
3016
3016
  * Loads `widget` property values into `editable`
3017
3017
  * (the editable will watch the widgets properties
@@ -3046,7 +3046,7 @@ interface EPropCheck extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.
3046
3046
  * Also see gtk_container_child_notify().
3047
3047
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3048
3048
  */
3049
- child_notify(child_property: string | null): void
3049
+ child_notify(child_property: string): void
3050
3050
  /**
3051
3051
  * Emits a #GtkWidget::child-notify signal for the
3052
3052
  * [child property][child-properties]
@@ -3058,7 +3058,7 @@ interface EPropCheck extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.
3058
3058
  * @param child the child widget
3059
3059
  * @param child_property the name of a child property installed on the class of `container`
3060
3060
  */
3061
- child_notify(child: Gtk.Widget, child_property: string | null): void
3061
+ child_notify(child: Gtk.Widget, child_property: string): void
3062
3062
 
3063
3063
  // Overloads of child_notify
3064
3064
 
@@ -3072,7 +3072,7 @@ interface EPropCheck extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.
3072
3072
  * Also see gtk_container_child_notify().
3073
3073
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3074
3074
  */
3075
- child_notify(child_property: string | null): void
3075
+ child_notify(child_property: string): void
3076
3076
  /**
3077
3077
  * Loads `widget` property values into `editable`
3078
3078
  * (the editable will watch the widgets properties
@@ -3313,7 +3313,7 @@ interface EPropColor extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.
3313
3313
  * @param property_name the name of the property to get
3314
3314
  * @param value return location for the property value
3315
3315
  */
3316
- get_property(property_name: string | null, value: any): void
3316
+ get_property(property_name: string, value: any): void
3317
3317
  /**
3318
3318
  * Gets a property of an object.
3319
3319
  *
@@ -3334,7 +3334,7 @@ interface EPropColor extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.
3334
3334
  * @param property_name the name of the property to get
3335
3335
  * @param value return location for the property value
3336
3336
  */
3337
- get_property(property_name: string | null, value: any): void
3337
+ get_property(property_name: string, value: any): void
3338
3338
  /**
3339
3339
  * Loads `widget` property values into `editable`
3340
3340
  * (the editable will watch the widgets properties
@@ -3369,7 +3369,7 @@ interface EPropColor extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.
3369
3369
  * Also see gtk_container_child_notify().
3370
3370
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3371
3371
  */
3372
- child_notify(child_property: string | null): void
3372
+ child_notify(child_property: string): void
3373
3373
  /**
3374
3374
  * Emits a #GtkWidget::child-notify signal for the
3375
3375
  * [child property][child-properties]
@@ -3381,7 +3381,7 @@ interface EPropColor extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.
3381
3381
  * @param child the child widget
3382
3382
  * @param child_property the name of a child property installed on the class of `container`
3383
3383
  */
3384
- child_notify(child: Gtk.Widget, child_property: string | null): void
3384
+ child_notify(child: Gtk.Widget, child_property: string): void
3385
3385
 
3386
3386
  // Overloads of child_notify
3387
3387
 
@@ -3395,7 +3395,7 @@ interface EPropColor extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.
3395
3395
  * Also see gtk_container_child_notify().
3396
3396
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3397
3397
  */
3398
- child_notify(child_property: string | null): void
3398
+ child_notify(child_property: string): void
3399
3399
  /**
3400
3400
  * Loads `widget` property values into `editable`
3401
3401
  * (the editable will watch the widgets properties
@@ -3636,7 +3636,7 @@ interface EPropEnum extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.O
3636
3636
  * @param property_name the name of the property to get
3637
3637
  * @param value return location for the property value
3638
3638
  */
3639
- get_property(property_name: string | null, value: any): void
3639
+ get_property(property_name: string, value: any): void
3640
3640
  /**
3641
3641
  * Gets a property of an object.
3642
3642
  *
@@ -3657,7 +3657,7 @@ interface EPropEnum extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.O
3657
3657
  * @param property_name the name of the property to get
3658
3658
  * @param value return location for the property value
3659
3659
  */
3660
- get_property(property_name: string | null, value: any): void
3660
+ get_property(property_name: string, value: any): void
3661
3661
  /**
3662
3662
  * Loads `widget` property values into `editable`
3663
3663
  * (the editable will watch the widgets properties
@@ -3692,7 +3692,7 @@ interface EPropEnum extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.O
3692
3692
  * Also see gtk_container_child_notify().
3693
3693
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3694
3694
  */
3695
- child_notify(child_property: string | null): void
3695
+ child_notify(child_property: string): void
3696
3696
  /**
3697
3697
  * Emits a #GtkWidget::child-notify signal for the
3698
3698
  * [child property][child-properties]
@@ -3704,7 +3704,7 @@ interface EPropEnum extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.O
3704
3704
  * @param child the child widget
3705
3705
  * @param child_property the name of a child property installed on the class of `container`
3706
3706
  */
3707
- child_notify(child: Gtk.Widget, child_property: string | null): void
3707
+ child_notify(child: Gtk.Widget, child_property: string): void
3708
3708
 
3709
3709
  // Overloads of child_notify
3710
3710
 
@@ -3718,7 +3718,7 @@ interface EPropEnum extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.O
3718
3718
  * Also see gtk_container_child_notify().
3719
3719
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3720
3720
  */
3721
- child_notify(child_property: string | null): void
3721
+ child_notify(child_property: string): void
3722
3722
  /**
3723
3723
  * Loads `widget` property values into `editable`
3724
3724
  * (the editable will watch the widgets properties
@@ -3959,7 +3959,7 @@ interface EPropFlags extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.
3959
3959
  * @param property_name the name of the property to get
3960
3960
  * @param value return location for the property value
3961
3961
  */
3962
- get_property(property_name: string | null, value: any): void
3962
+ get_property(property_name: string, value: any): void
3963
3963
  /**
3964
3964
  * Gets a property of an object.
3965
3965
  *
@@ -3980,7 +3980,7 @@ interface EPropFlags extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.
3980
3980
  * @param property_name the name of the property to get
3981
3981
  * @param value return location for the property value
3982
3982
  */
3983
- get_property(property_name: string | null, value: any): void
3983
+ get_property(property_name: string, value: any): void
3984
3984
  /**
3985
3985
  * Loads `widget` property values into `editable`
3986
3986
  * (the editable will watch the widgets properties
@@ -4015,7 +4015,7 @@ interface EPropFlags extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.
4015
4015
  * Also see gtk_container_child_notify().
4016
4016
  * @param child_property the name of a child property installed on the class of `widget’`s parent
4017
4017
  */
4018
- child_notify(child_property: string | null): void
4018
+ child_notify(child_property: string): void
4019
4019
  /**
4020
4020
  * Emits a #GtkWidget::child-notify signal for the
4021
4021
  * [child property][child-properties]
@@ -4027,7 +4027,7 @@ interface EPropFlags extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.
4027
4027
  * @param child the child widget
4028
4028
  * @param child_property the name of a child property installed on the class of `container`
4029
4029
  */
4030
- child_notify(child: Gtk.Widget, child_property: string | null): void
4030
+ child_notify(child: Gtk.Widget, child_property: string): void
4031
4031
 
4032
4032
  // Overloads of child_notify
4033
4033
 
@@ -4041,7 +4041,7 @@ interface EPropFlags extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.
4041
4041
  * Also see gtk_container_child_notify().
4042
4042
  * @param child_property the name of a child property installed on the class of `widget’`s parent
4043
4043
  */
4044
- child_notify(child_property: string | null): void
4044
+ child_notify(child_property: string): void
4045
4045
  /**
4046
4046
  * Loads `widget` property values into `editable`
4047
4047
  * (the editable will watch the widgets properties
@@ -4282,7 +4282,7 @@ interface EPropNamedIcon extends Atk.ImplementorIface, Editable, Gtk.Buildable,
4282
4282
  * @param property_name the name of the property to get
4283
4283
  * @param value return location for the property value
4284
4284
  */
4285
- get_property(property_name: string | null, value: any): void
4285
+ get_property(property_name: string, value: any): void
4286
4286
  /**
4287
4287
  * Gets a property of an object.
4288
4288
  *
@@ -4303,7 +4303,7 @@ interface EPropNamedIcon extends Atk.ImplementorIface, Editable, Gtk.Buildable,
4303
4303
  * @param property_name the name of the property to get
4304
4304
  * @param value return location for the property value
4305
4305
  */
4306
- get_property(property_name: string | null, value: any): void
4306
+ get_property(property_name: string, value: any): void
4307
4307
  /**
4308
4308
  * Loads `widget` property values into `editable`
4309
4309
  * (the editable will watch the widgets properties
@@ -4338,7 +4338,7 @@ interface EPropNamedIcon extends Atk.ImplementorIface, Editable, Gtk.Buildable,
4338
4338
  * Also see gtk_container_child_notify().
4339
4339
  * @param child_property the name of a child property installed on the class of `widget’`s parent
4340
4340
  */
4341
- child_notify(child_property: string | null): void
4341
+ child_notify(child_property: string): void
4342
4342
  /**
4343
4343
  * Emits a #GtkWidget::child-notify signal for the
4344
4344
  * [child property][child-properties]
@@ -4350,7 +4350,7 @@ interface EPropNamedIcon extends Atk.ImplementorIface, Editable, Gtk.Buildable,
4350
4350
  * @param child the child widget
4351
4351
  * @param child_property the name of a child property installed on the class of `container`
4352
4352
  */
4353
- child_notify(child: Gtk.Widget, child_property: string | null): void
4353
+ child_notify(child: Gtk.Widget, child_property: string): void
4354
4354
 
4355
4355
  // Overloads of child_notify
4356
4356
 
@@ -4364,7 +4364,7 @@ interface EPropNamedIcon extends Atk.ImplementorIface, Editable, Gtk.Buildable,
4364
4364
  * Also see gtk_container_child_notify().
4365
4365
  * @param child_property the name of a child property installed on the class of `widget’`s parent
4366
4366
  */
4367
- child_notify(child_property: string | null): void
4367
+ child_notify(child_property: string): void
4368
4368
  /**
4369
4369
  * Loads `widget` property values into `editable`
4370
4370
  * (the editable will watch the widgets properties
@@ -4605,7 +4605,7 @@ interface EPropNumeric extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gt
4605
4605
  * @param property_name the name of the property to get
4606
4606
  * @param value return location for the property value
4607
4607
  */
4608
- get_property(property_name: string | null, value: any): void
4608
+ get_property(property_name: string, value: any): void
4609
4609
  /**
4610
4610
  * Gets a property of an object.
4611
4611
  *
@@ -4626,7 +4626,7 @@ interface EPropNumeric extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gt
4626
4626
  * @param property_name the name of the property to get
4627
4627
  * @param value return location for the property value
4628
4628
  */
4629
- get_property(property_name: string | null, value: any): void
4629
+ get_property(property_name: string, value: any): void
4630
4630
  /**
4631
4631
  * Loads `widget` property values into `editable`
4632
4632
  * (the editable will watch the widgets properties
@@ -4661,7 +4661,7 @@ interface EPropNumeric extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gt
4661
4661
  * Also see gtk_container_child_notify().
4662
4662
  * @param child_property the name of a child property installed on the class of `widget’`s parent
4663
4663
  */
4664
- child_notify(child_property: string | null): void
4664
+ child_notify(child_property: string): void
4665
4665
  /**
4666
4666
  * Emits a #GtkWidget::child-notify signal for the
4667
4667
  * [child property][child-properties]
@@ -4673,7 +4673,7 @@ interface EPropNumeric extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gt
4673
4673
  * @param child the child widget
4674
4674
  * @param child_property the name of a child property installed on the class of `container`
4675
4675
  */
4676
- child_notify(child: Gtk.Widget, child_property: string | null): void
4676
+ child_notify(child: Gtk.Widget, child_property: string): void
4677
4677
 
4678
4678
  // Overloads of child_notify
4679
4679
 
@@ -4687,7 +4687,7 @@ interface EPropNumeric extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gt
4687
4687
  * Also see gtk_container_child_notify().
4688
4688
  * @param child_property the name of a child property installed on the class of `widget’`s parent
4689
4689
  */
4690
- child_notify(child_property: string | null): void
4690
+ child_notify(child_property: string): void
4691
4691
  /**
4692
4692
  * Loads `widget` property values into `editable`
4693
4693
  * (the editable will watch the widgets properties
@@ -4928,7 +4928,7 @@ interface EPropObject extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk
4928
4928
  * @param property_name the name of the property to get
4929
4929
  * @param value return location for the property value
4930
4930
  */
4931
- get_property(property_name: string | null, value: any): void
4931
+ get_property(property_name: string, value: any): void
4932
4932
  /**
4933
4933
  * Gets a property of an object.
4934
4934
  *
@@ -4949,7 +4949,7 @@ interface EPropObject extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk
4949
4949
  * @param property_name the name of the property to get
4950
4950
  * @param value return location for the property value
4951
4951
  */
4952
- get_property(property_name: string | null, value: any): void
4952
+ get_property(property_name: string, value: any): void
4953
4953
  /**
4954
4954
  * Loads `widget` property values into `editable`
4955
4955
  * (the editable will watch the widgets properties
@@ -4984,7 +4984,7 @@ interface EPropObject extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk
4984
4984
  * Also see gtk_container_child_notify().
4985
4985
  * @param child_property the name of a child property installed on the class of `widget’`s parent
4986
4986
  */
4987
- child_notify(child_property: string | null): void
4987
+ child_notify(child_property: string): void
4988
4988
  /**
4989
4989
  * Emits a #GtkWidget::child-notify signal for the
4990
4990
  * [child property][child-properties]
@@ -4996,7 +4996,7 @@ interface EPropObject extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk
4996
4996
  * @param child the child widget
4997
4997
  * @param child_property the name of a child property installed on the class of `container`
4998
4998
  */
4999
- child_notify(child: Gtk.Widget, child_property: string | null): void
4999
+ child_notify(child: Gtk.Widget, child_property: string): void
5000
5000
 
5001
5001
  // Overloads of child_notify
5002
5002
 
@@ -5010,7 +5010,7 @@ interface EPropObject extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk
5010
5010
  * Also see gtk_container_child_notify().
5011
5011
  * @param child_property the name of a child property installed on the class of `widget’`s parent
5012
5012
  */
5013
- child_notify(child_property: string | null): void
5013
+ child_notify(child_property: string): void
5014
5014
  /**
5015
5015
  * Loads `widget` property values into `editable`
5016
5016
  * (the editable will watch the widgets properties
@@ -5251,7 +5251,7 @@ interface EPropObjects extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gt
5251
5251
  * @param property_name the name of the property to get
5252
5252
  * @param value return location for the property value
5253
5253
  */
5254
- get_property(property_name: string | null, value: any): void
5254
+ get_property(property_name: string, value: any): void
5255
5255
  /**
5256
5256
  * Gets a property of an object.
5257
5257
  *
@@ -5272,7 +5272,7 @@ interface EPropObjects extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gt
5272
5272
  * @param property_name the name of the property to get
5273
5273
  * @param value return location for the property value
5274
5274
  */
5275
- get_property(property_name: string | null, value: any): void
5275
+ get_property(property_name: string, value: any): void
5276
5276
  /**
5277
5277
  * Loads `widget` property values into `editable`
5278
5278
  * (the editable will watch the widgets properties
@@ -5307,7 +5307,7 @@ interface EPropObjects extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gt
5307
5307
  * Also see gtk_container_child_notify().
5308
5308
  * @param child_property the name of a child property installed on the class of `widget’`s parent
5309
5309
  */
5310
- child_notify(child_property: string | null): void
5310
+ child_notify(child_property: string): void
5311
5311
  /**
5312
5312
  * Emits a #GtkWidget::child-notify signal for the
5313
5313
  * [child property][child-properties]
@@ -5319,7 +5319,7 @@ interface EPropObjects extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gt
5319
5319
  * @param child the child widget
5320
5320
  * @param child_property the name of a child property installed on the class of `container`
5321
5321
  */
5322
- child_notify(child: Gtk.Widget, child_property: string | null): void
5322
+ child_notify(child: Gtk.Widget, child_property: string): void
5323
5323
 
5324
5324
  // Overloads of child_notify
5325
5325
 
@@ -5333,7 +5333,7 @@ interface EPropObjects extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gt
5333
5333
  * Also see gtk_container_child_notify().
5334
5334
  * @param child_property the name of a child property installed on the class of `widget’`s parent
5335
5335
  */
5336
- child_notify(child_property: string | null): void
5336
+ child_notify(child_property: string): void
5337
5337
  /**
5338
5338
  * Loads `widget` property values into `editable`
5339
5339
  * (the editable will watch the widgets properties
@@ -5574,7 +5574,7 @@ interface EPropText extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.O
5574
5574
  * @param property_name the name of the property to get
5575
5575
  * @param value return location for the property value
5576
5576
  */
5577
- get_property(property_name: string | null, value: any): void
5577
+ get_property(property_name: string, value: any): void
5578
5578
  /**
5579
5579
  * Gets a property of an object.
5580
5580
  *
@@ -5595,7 +5595,7 @@ interface EPropText extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.O
5595
5595
  * @param property_name the name of the property to get
5596
5596
  * @param value return location for the property value
5597
5597
  */
5598
- get_property(property_name: string | null, value: any): void
5598
+ get_property(property_name: string, value: any): void
5599
5599
  /**
5600
5600
  * Loads `widget` property values into `editable`
5601
5601
  * (the editable will watch the widgets properties
@@ -5630,7 +5630,7 @@ interface EPropText extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.O
5630
5630
  * Also see gtk_container_child_notify().
5631
5631
  * @param child_property the name of a child property installed on the class of `widget’`s parent
5632
5632
  */
5633
- child_notify(child_property: string | null): void
5633
+ child_notify(child_property: string): void
5634
5634
  /**
5635
5635
  * Emits a #GtkWidget::child-notify signal for the
5636
5636
  * [child property][child-properties]
@@ -5642,7 +5642,7 @@ interface EPropText extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.O
5642
5642
  * @param child the child widget
5643
5643
  * @param child_property the name of a child property installed on the class of `container`
5644
5644
  */
5645
- child_notify(child: Gtk.Widget, child_property: string | null): void
5645
+ child_notify(child: Gtk.Widget, child_property: string): void
5646
5646
 
5647
5647
  // Overloads of child_notify
5648
5648
 
@@ -5656,7 +5656,7 @@ interface EPropText extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.O
5656
5656
  * Also see gtk_container_child_notify().
5657
5657
  * @param child_property the name of a child property installed on the class of `widget’`s parent
5658
5658
  */
5659
- child_notify(child_property: string | null): void
5659
+ child_notify(child_property: string): void
5660
5660
  /**
5661
5661
  * Loads `widget` property values into `editable`
5662
5662
  * (the editable will watch the widgets properties
@@ -5897,7 +5897,7 @@ interface EPropUnichar extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gt
5897
5897
  * @param property_name the name of the property to get
5898
5898
  * @param value return location for the property value
5899
5899
  */
5900
- get_property(property_name: string | null, value: any): void
5900
+ get_property(property_name: string, value: any): void
5901
5901
  /**
5902
5902
  * Gets a property of an object.
5903
5903
  *
@@ -5918,7 +5918,7 @@ interface EPropUnichar extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gt
5918
5918
  * @param property_name the name of the property to get
5919
5919
  * @param value return location for the property value
5920
5920
  */
5921
- get_property(property_name: string | null, value: any): void
5921
+ get_property(property_name: string, value: any): void
5922
5922
  /**
5923
5923
  * Loads `widget` property values into `editable`
5924
5924
  * (the editable will watch the widgets properties
@@ -5953,7 +5953,7 @@ interface EPropUnichar extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gt
5953
5953
  * Also see gtk_container_child_notify().
5954
5954
  * @param child_property the name of a child property installed on the class of `widget’`s parent
5955
5955
  */
5956
- child_notify(child_property: string | null): void
5956
+ child_notify(child_property: string): void
5957
5957
  /**
5958
5958
  * Emits a #GtkWidget::child-notify signal for the
5959
5959
  * [child property][child-properties]
@@ -5965,7 +5965,7 @@ interface EPropUnichar extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gt
5965
5965
  * @param child the child widget
5966
5966
  * @param child_property the name of a child property installed on the class of `container`
5967
5967
  */
5968
- child_notify(child: Gtk.Widget, child_property: string | null): void
5968
+ child_notify(child: Gtk.Widget, child_property: string): void
5969
5969
 
5970
5970
  // Overloads of child_notify
5971
5971
 
@@ -5979,7 +5979,7 @@ interface EPropUnichar extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gt
5979
5979
  * Also see gtk_container_child_notify().
5980
5980
  * @param child_property the name of a child property installed on the class of `widget’`s parent
5981
5981
  */
5982
- child_notify(child_property: string | null): void
5982
+ child_notify(child_property: string): void
5983
5983
  /**
5984
5984
  * Loads `widget` property values into `editable`
5985
5985
  * (the editable will watch the widgets properties
@@ -6239,7 +6239,7 @@ interface Editor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
6239
6239
  * @param child the child widget
6240
6240
  * @param child_property the name of a child property installed on the class of `container`
6241
6241
  */
6242
- child_notify(child: Gtk.Widget, child_property: string | null): void
6242
+ child_notify(child: Gtk.Widget, child_property: string): void
6243
6243
 
6244
6244
  // Overloads of child_notify
6245
6245
 
@@ -6253,7 +6253,7 @@ interface Editor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
6253
6253
  * Also see gtk_container_child_notify().
6254
6254
  * @param child_property the name of a child property installed on the class of `widget’`s parent
6255
6255
  */
6256
- child_notify(child_property: string | null): void
6256
+ child_notify(child_property: string): void
6257
6257
  /**
6258
6258
  * Emits a #GtkWidget::child-notify signal for the
6259
6259
  * [child property][child-properties] `child_property`
@@ -6264,7 +6264,7 @@ interface Editor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
6264
6264
  * Also see gtk_container_child_notify().
6265
6265
  * @param child_property the name of a child property installed on the class of `widget’`s parent
6266
6266
  */
6267
- child_notify(child_property: string | null): void
6267
+ child_notify(child_property: string): void
6268
6268
 
6269
6269
  // Class property signals of Gladeui-2.0.Gladeui.Editor
6270
6270
 
@@ -6527,7 +6527,7 @@ interface EditorProperty extends Atk.ImplementorIface, Editable, Gtk.Buildable,
6527
6527
  */
6528
6528
  commit(value: any): void
6529
6529
  commit_no_callback(value: any): void
6530
- get_custom_text(): string | null
6530
+ get_custom_text(): string
6531
6531
  get_disable_check(): boolean
6532
6532
  get_item_label(): Gtk.Widget
6533
6533
  get_property(): Property
@@ -6554,7 +6554,7 @@ interface EditorProperty extends Atk.ImplementorIface, Editable, Gtk.Buildable,
6554
6554
  * @param property_name the name of the property to get
6555
6555
  * @param value return location for the property value
6556
6556
  */
6557
- get_property(property_name: string | null, value: any): void
6557
+ get_property(property_name: string, value: any): void
6558
6558
  get_property_def(): PropertyDef
6559
6559
  /**
6560
6560
  * Loads `property` values into `eprop` and connects.
@@ -6580,7 +6580,7 @@ interface EditorProperty extends Atk.ImplementorIface, Editable, Gtk.Buildable,
6580
6580
  */
6581
6581
  load_by_widget(widget: Widget): void
6582
6582
  loading(): boolean
6583
- set_custom_text(custom_text: string | null): void
6583
+ set_custom_text(custom_text: string): void
6584
6584
  set_disable_check(disable_check: boolean): void
6585
6585
 
6586
6586
  // Conflicting methods
@@ -6595,7 +6595,7 @@ interface EditorProperty extends Atk.ImplementorIface, Editable, Gtk.Buildable,
6595
6595
  * Also see gtk_container_child_notify().
6596
6596
  * @param child_property the name of a child property installed on the class of `widget’`s parent
6597
6597
  */
6598
- child_notify(child_property: string | null): void
6598
+ child_notify(child_property: string): void
6599
6599
  /**
6600
6600
  * Emits a #GtkWidget::child-notify signal for the
6601
6601
  * [child property][child-properties]
@@ -6607,7 +6607,7 @@ interface EditorProperty extends Atk.ImplementorIface, Editable, Gtk.Buildable,
6607
6607
  * @param child the child widget
6608
6608
  * @param child_property the name of a child property installed on the class of `container`
6609
6609
  */
6610
- child_notify(child: Gtk.Widget, child_property: string | null): void
6610
+ child_notify(child: Gtk.Widget, child_property: string): void
6611
6611
 
6612
6612
  // Overloads of child_notify
6613
6613
 
@@ -6621,7 +6621,7 @@ interface EditorProperty extends Atk.ImplementorIface, Editable, Gtk.Buildable,
6621
6621
  * Also see gtk_container_child_notify().
6622
6622
  * @param child_property the name of a child property installed on the class of `widget’`s parent
6623
6623
  */
6624
- child_notify(child_property: string | null): void
6624
+ child_notify(child_property: string): void
6625
6625
 
6626
6626
  // Own virtual methods of Gladeui-2.0.Gladeui.EditorProperty
6627
6627
 
@@ -6840,7 +6840,7 @@ class EditorProperty extends Gtk.Box {
6840
6840
  * @returns %TRUE if OK was selected.
6841
6841
  */
6842
6842
  static show_i18n_dialog(parent: Gtk.Widget, text: string | null, context: string | null, comment: string | null, translatable: boolean): boolean
6843
- static show_object_dialog(project: Project, title: string | null, parent: Gtk.Widget, object_type: GObject.GType, exception: Widget, object: Widget): boolean
6843
+ static show_object_dialog(project: Project, title: string, parent: Gtk.Widget, object_type: GObject.GType, exception: Widget, object: Widget): boolean
6844
6844
  static show_resource_dialog(project: Project, parent: Gtk.Widget, filename: string | null): boolean
6845
6845
  }
6846
6846
 
@@ -6875,7 +6875,7 @@ interface EditorSkeleton extends Atk.ImplementorIface, Editable, Gtk.Buildable,
6875
6875
  * Also see gtk_container_child_notify().
6876
6876
  * @param child_property the name of a child property installed on the class of `widget’`s parent
6877
6877
  */
6878
- child_notify(child_property: string | null): void
6878
+ child_notify(child_property: string): void
6879
6879
  /**
6880
6880
  * Emits a #GtkWidget::child-notify signal for the
6881
6881
  * [child property][child-properties]
@@ -6887,7 +6887,7 @@ interface EditorSkeleton extends Atk.ImplementorIface, Editable, Gtk.Buildable,
6887
6887
  * @param child the child widget
6888
6888
  * @param child_property the name of a child property installed on the class of `container`
6889
6889
  */
6890
- child_notify(child: Gtk.Widget, child_property: string | null): void
6890
+ child_notify(child: Gtk.Widget, child_property: string): void
6891
6891
 
6892
6892
  // Overloads of child_notify
6893
6893
 
@@ -6901,7 +6901,7 @@ interface EditorSkeleton extends Atk.ImplementorIface, Editable, Gtk.Buildable,
6901
6901
  * Also see gtk_container_child_notify().
6902
6902
  * @param child_property the name of a child property installed on the class of `widget’`s parent
6903
6903
  */
6904
- child_notify(child_property: string | null): void
6904
+ child_notify(child_property: string): void
6905
6905
 
6906
6906
  // Class property signals of Gladeui-2.0.Gladeui.EditorSkeleton
6907
6907
 
@@ -7112,7 +7112,7 @@ interface EditorTable extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk
7112
7112
  * Also see gtk_container_child_notify().
7113
7113
  * @param child_property the name of a child property installed on the class of `widget’`s parent
7114
7114
  */
7115
- child_notify(child_property: string | null): void
7115
+ child_notify(child_property: string): void
7116
7116
  /**
7117
7117
  * Emits a #GtkWidget::child-notify signal for the
7118
7118
  * [child property][child-properties]
@@ -7124,7 +7124,7 @@ interface EditorTable extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk
7124
7124
  * @param child the child widget
7125
7125
  * @param child_property the name of a child property installed on the class of `container`
7126
7126
  */
7127
- child_notify(child: Gtk.Widget, child_property: string | null): void
7127
+ child_notify(child: Gtk.Widget, child_property: string): void
7128
7128
 
7129
7129
  // Overloads of child_notify
7130
7130
 
@@ -7138,7 +7138,7 @@ interface EditorTable extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk
7138
7138
  * Also see gtk_container_child_notify().
7139
7139
  * @param child_property the name of a child property installed on the class of `widget’`s parent
7140
7140
  */
7141
- child_notify(child_property: string | null): void
7141
+ child_notify(child_property: string): void
7142
7142
 
7143
7143
  // Class property signals of Gladeui-2.0.Gladeui.EditorTable
7144
7144
 
@@ -7405,7 +7405,7 @@ interface Inspector extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
7405
7405
  * @param child the child widget
7406
7406
  * @param child_property the name of a child property installed on the class of `container`
7407
7407
  */
7408
- child_notify(child: Gtk.Widget, child_property: string | null): void
7408
+ child_notify(child: Gtk.Widget, child_property: string): void
7409
7409
 
7410
7410
  // Overloads of child_notify
7411
7411
 
@@ -7419,7 +7419,7 @@ interface Inspector extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
7419
7419
  * Also see gtk_container_child_notify().
7420
7420
  * @param child_property the name of a child property installed on the class of `widget’`s parent
7421
7421
  */
7422
- child_notify(child_property: string | null): void
7422
+ child_notify(child_property: string): void
7423
7423
  /**
7424
7424
  * Emits a #GtkWidget::child-notify signal for the
7425
7425
  * [child property][child-properties] `child_property`
@@ -7430,7 +7430,7 @@ interface Inspector extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
7430
7430
  * Also see gtk_container_child_notify().
7431
7431
  * @param child_property the name of a child property installed on the class of `widget’`s parent
7432
7432
  */
7433
- child_notify(child_property: string | null): void
7433
+ child_notify(child_property: string): void
7434
7434
 
7435
7435
  // Own virtual methods of Gladeui-2.0.Gladeui.Inspector
7436
7436
 
@@ -7682,8 +7682,21 @@ interface NamedIconChooserDialog extends Atk.ImplementorIface, Gtk.Buildable {
7682
7682
 
7683
7683
  get_context(): string | null
7684
7684
  get_icon_name(): string | null
7685
- set_context(context: string | null): boolean
7686
- set_icon_name(icon_name: string | null): void
7685
+ set_context(context: string): boolean
7686
+ set_icon_name(icon_name: string): void
7687
+
7688
+ // Overloads of set_icon_name
7689
+
7690
+ /**
7691
+ * Sets the icon for the window from a named themed icon.
7692
+ * See the docs for #GtkIconTheme for more details.
7693
+ * On some platforms, the window icon is not used at all.
7694
+ *
7695
+ * Note that this has nothing to do with the WM_ICON_NAME
7696
+ * property which is mentioned in the ICCCM.
7697
+ * @param name the name of the themed icon
7698
+ */
7699
+ set_icon_name(name: string | null): void
7687
7700
 
7688
7701
  // Conflicting methods
7689
7702
 
@@ -7720,7 +7733,7 @@ interface NamedIconChooserDialog extends Atk.ImplementorIface, Gtk.Buildable {
7720
7733
  * @param child the child widget
7721
7734
  * @param child_property the name of a child property installed on the class of `container`
7722
7735
  */
7723
- child_notify(child: Gtk.Widget, child_property: string | null): void
7736
+ child_notify(child: Gtk.Widget, child_property: string): void
7724
7737
 
7725
7738
  // Overloads of child_notify
7726
7739
 
@@ -7734,7 +7747,7 @@ interface NamedIconChooserDialog extends Atk.ImplementorIface, Gtk.Buildable {
7734
7747
  * Also see gtk_container_child_notify().
7735
7748
  * @param child_property the name of a child property installed on the class of `widget’`s parent
7736
7749
  */
7737
- child_notify(child_property: string | null): void
7750
+ child_notify(child_property: string): void
7738
7751
  /**
7739
7752
  * Emits a #GtkWidget::child-notify signal for the
7740
7753
  * [child property][child-properties] `child_property`
@@ -7745,7 +7758,7 @@ interface NamedIconChooserDialog extends Atk.ImplementorIface, Gtk.Buildable {
7745
7758
  * Also see gtk_container_child_notify().
7746
7759
  * @param child_property the name of a child property installed on the class of `widget’`s parent
7747
7760
  */
7748
- child_notify(child_property: string | null): void
7761
+ child_notify(child_property: string): void
7749
7762
 
7750
7763
  // Own virtual methods of Gladeui-2.0.Gladeui.NamedIconChooserDialog
7751
7764
 
@@ -8097,7 +8110,7 @@ interface Palette extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
8097
8110
  * @param child the child widget
8098
8111
  * @param child_property the name of a child property installed on the class of `container`
8099
8112
  */
8100
- child_notify(child: Gtk.Widget, child_property: string | null): void
8113
+ child_notify(child: Gtk.Widget, child_property: string): void
8101
8114
 
8102
8115
  // Overloads of child_notify
8103
8116
 
@@ -8111,7 +8124,7 @@ interface Palette extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
8111
8124
  * Also see gtk_container_child_notify().
8112
8125
  * @param child_property the name of a child property installed on the class of `widget’`s parent
8113
8126
  */
8114
- child_notify(child_property: string | null): void
8127
+ child_notify(child_property: string): void
8115
8128
  /**
8116
8129
  * Emits a #GtkWidget::child-notify signal for the
8117
8130
  * [child property][child-properties] `child_property`
@@ -8122,7 +8135,7 @@ interface Palette extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
8122
8135
  * Also see gtk_container_child_notify().
8123
8136
  * @param child_property the name of a child property installed on the class of `widget’`s parent
8124
8137
  */
8125
- child_notify(child_property: string | null): void
8138
+ child_notify(child_property: string): void
8126
8139
 
8127
8140
  // Own virtual methods of Gladeui-2.0.Gladeui.Palette
8128
8141
 
@@ -8696,7 +8709,7 @@ interface Project extends Gtk.TreeDragSource, Gtk.TreeModel {
8696
8709
  * @param name base name of the widget to create
8697
8710
  * @returns whether the name is available or not.
8698
8711
  */
8699
- available_widget_name(widget: Widget, name: string | null): boolean
8712
+ available_widget_name(widget: Widget, name: string): boolean
8700
8713
  /**
8701
8714
  * Backup the last file which `project` has saved to
8702
8715
  * or was loaded from.
@@ -8710,7 +8723,7 @@ interface Project extends Gtk.TreeDragSource, Gtk.TreeModel {
8710
8723
  * @param path location to save glade file
8711
8724
  * @returns %TRUE on success, %FALSE on failure
8712
8725
  */
8713
- backup(path: string | null): boolean
8726
+ backup(path: string): boolean
8714
8727
  cancel_load(): void
8715
8728
  check_reordered(parent: Widget, old_order: GObject.Object[]): void
8716
8729
  command_cut(): void
@@ -8719,10 +8732,10 @@ interface Project extends Gtk.TreeDragSource, Gtk.TreeModel {
8719
8732
  copy_selection(): void
8720
8733
  display_dependencies(): string | null
8721
8734
  get_add_item(): WidgetAdaptor
8722
- get_css_provider_path(): string | null
8735
+ get_css_provider_path(): string
8723
8736
  get_file_mtime(): number
8724
8737
  get_has_selection(): boolean
8725
- get_license(): string | null
8738
+ get_license(): string
8726
8739
  /**
8727
8740
  * Get's whether the project has been modified since it was last saved.
8728
8741
  * @returns %TRUE if the project has been modified since it was last saved
@@ -8730,7 +8743,7 @@ interface Project extends Gtk.TreeDragSource, Gtk.TreeModel {
8730
8743
  get_modified(): boolean
8731
8744
  get_name(): string | null
8732
8745
  get_objects(): GObject.Object[]
8733
- get_path(): string | null
8746
+ get_path(): string
8734
8747
 
8735
8748
  // Overloads of get_path
8736
8749
 
@@ -8748,27 +8761,27 @@ interface Project extends Gtk.TreeDragSource, Gtk.TreeModel {
8748
8761
  * @returns TRUE if project is read only
8749
8762
  */
8750
8763
  get_readonly(): boolean
8751
- get_resource_path(): string | null
8764
+ get_resource_path(): string
8752
8765
  /**
8753
8766
  * Fetches the target version of the `project` for `catalog`.
8754
8767
  * @param catalog the name of the catalog `project` includes
8755
8768
  * @param major the return location for the target major version
8756
8769
  * @param minor the return location for the target minor version
8757
8770
  */
8758
- get_target_version(catalog: string | null, major: number, minor: number): void
8771
+ get_target_version(catalog: string, major: number, minor: number): void
8759
8772
  get_template(): Widget
8760
- get_translation_domain(): string | null
8773
+ get_translation_domain(): string
8761
8774
  /**
8762
8775
  * Searches under `ancestor` in `project` looking for a #GladeWidget named `name`.
8763
8776
  * @param name The user visible name of the widget we are looking for
8764
8777
  * @returns a pointer to the widget, %NULL if the widget does not exist
8765
8778
  */
8766
- get_widget_by_name(name: string | null): Widget | null
8779
+ get_widget_by_name(name: string): Widget | null
8767
8780
  has_object(object: GObject.Object): boolean
8768
8781
  is_loading(): boolean
8769
8782
  is_selected(object: GObject.Object): boolean
8770
8783
  load_cancelled(): boolean
8771
- load_from_file(path: string | null): boolean
8784
+ load_from_file(path: string): boolean
8772
8785
  /**
8773
8786
  * Creates a new name for a widget that doesn't collide with any of the names
8774
8787
  * already in `project`. This name will start with `base_name`.
@@ -8778,7 +8791,7 @@ interface Project extends Gtk.TreeDragSource, Gtk.TreeModel {
8778
8791
  * @param base_name base name of the widget to create
8779
8792
  * @returns a string containing the new name, %NULL if there is not enough memory for this string
8780
8793
  */
8781
- new_widget_name(widget: Widget, base_name: string | null): string | null
8794
+ new_widget_name(widget: Widget, base_name: string): string | null
8782
8795
  /**
8783
8796
  * Gets the next redo item on `project'`s command stack.
8784
8797
  * @returns the #GladeCommand
@@ -8834,20 +8847,20 @@ interface Project extends Gtk.TreeDragSource, Gtk.TreeModel {
8834
8847
  * @param resource The resource basename
8835
8848
  * @returns A newly allocated string holding the full path to the resource.
8836
8849
  */
8837
- resource_fullpath(resource: string | null): string | null
8850
+ resource_fullpath(resource: string): string | null
8838
8851
  /**
8839
8852
  * Saves `project` to the given path.
8840
8853
  * @param path location to save glade file
8841
8854
  * @returns %TRUE on success, %FALSE on failure
8842
8855
  */
8843
- save(path: string | null): boolean
8856
+ save(path: string): boolean
8844
8857
  /**
8845
8858
  * Saves `project` to the given path.
8846
8859
  * @param path location to save glade file
8847
8860
  * @param flags the #GladeVerifyFlags to warn about
8848
8861
  * @returns %TRUE on success, %FALSE on failure
8849
8862
  */
8850
- save_verify(path: string | null, flags: VerifyFlags): boolean
8863
+ save_verify(path: string, flags: VerifyFlags): boolean
8851
8864
  /**
8852
8865
  * Adds `object` to the selection chain of `project`
8853
8866
  *
@@ -8889,24 +8902,24 @@ interface Project extends Gtk.TreeDragSource, Gtk.TreeModel {
8889
8902
  * Set the custom CSS provider path to use in `project`
8890
8903
  * @param path a CSS file path
8891
8904
  */
8892
- set_css_provider_path(path: string | null): void
8893
- set_license(license: string | null): void
8905
+ set_css_provider_path(path: string): void
8906
+ set_license(license: string): void
8894
8907
  set_pointer_mode(mode: PointerMode): void
8895
- set_resource_path(path: string | null): void
8896
- set_target_version(catalog: string | null, major: number, minor: number): void
8908
+ set_resource_path(path: string): void
8909
+ set_target_version(catalog: string, major: number, minor: number): void
8897
8910
  set_template(widget: Widget): void
8898
8911
  /**
8899
8912
  * Set the project translation domain.
8900
8913
  * @param domain the translation domain
8901
8914
  */
8902
- set_translation_domain(domain: string | null): void
8915
+ set_translation_domain(domain: string): void
8903
8916
  /**
8904
8917
  * Sets `name` on `widget` in `project,` if `name` is not
8905
8918
  * available then a new name will be used.
8906
8919
  * @param widget the #GladeWidget to set a name on
8907
8920
  * @param name the name to set.
8908
8921
  */
8909
- set_widget_name(widget: Widget, name: string | null): void
8922
+ set_widget_name(widget: Widget, name: string): void
8910
8923
  toplevels(): Gtk.Widget[]
8911
8924
  /**
8912
8925
  * Undoes a #GladeCommand in this project.
@@ -9108,7 +9121,7 @@ class Project extends GObject.Object {
9108
9121
  * @param path the path of the project to load
9109
9122
  * @returns a new #GladeProject for the opened project on success, %NULL on failure
9110
9123
  */
9111
- static load(path: string | null): Project | null
9124
+ static load(path: string): Project | null
9112
9125
  static verify_property(property: Property): void
9113
9126
  static verify_signal(widget: Widget, signal: Signal): void
9114
9127
  }
@@ -9200,18 +9213,18 @@ interface Property {
9200
9213
  get_save_always(): boolean
9201
9214
  get_sensitive(): boolean
9202
9215
  get_state(): PropertyState
9203
- get_support_warning(): string | null
9216
+ get_support_warning(): string
9204
9217
  /**
9205
9218
  * Retrieve the property value
9206
9219
  * @param value a #GValue
9207
9220
  */
9208
9221
  get_value(value: any): void
9209
9222
  get_widget(): Widget
9210
- i18n_get_comment(): string | null
9211
- i18n_get_context(): string | null
9223
+ i18n_get_comment(): string
9224
+ i18n_get_context(): string
9212
9225
  i18n_get_translatable(): boolean
9213
- i18n_set_comment(str: string | null): void
9214
- i18n_set_context(str: string | null): void
9226
+ i18n_set_comment(str: string): void
9227
+ i18n_set_context(str: string): void
9215
9228
  i18n_set_translatable(translatable: boolean): void
9216
9229
  inline_value(): any
9217
9230
  /**
@@ -9256,8 +9269,8 @@ interface Property {
9256
9269
  * @param setting the value to set
9257
9270
  */
9258
9271
  set_save_always(setting: boolean): void
9259
- set_sensitive(sensitive: boolean, reason: string | null): void
9260
- set_support_warning(disable: boolean, reason: string | null): void
9272
+ set_sensitive(sensitive: boolean, reason: string): void
9273
+ set_support_warning(disable: boolean, reason: string): void
9261
9274
  /**
9262
9275
  * Sets the property's value
9263
9276
  * @param value a #GValue
@@ -9304,7 +9317,7 @@ interface Property {
9304
9317
  * @virtual
9305
9318
  */
9306
9319
  vfunc_sync(): void
9307
- vfunc_tooltip_changed(tooltip: string | null, insensitive_tooltip: string | null, support_warning: string | null): void
9320
+ vfunc_tooltip_changed(tooltip: string, insensitive_tooltip: string, support_warning: string): void
9308
9321
  vfunc_value_changed(old_value: any, new_value: any): void
9309
9322
 
9310
9323
  // Own signals of Gladeui-2.0.Gladeui.Property
@@ -9426,8 +9439,8 @@ interface PropertyLabel extends Atk.ImplementorIface, Editable, Gtk.Buildable {
9426
9439
  // Owm methods of Gladeui-2.0.Gladeui.PropertyLabel
9427
9440
 
9428
9441
  get_append_colon(): boolean
9429
- get_custom_text(): string | null
9430
- get_custom_tooltip(): string | null
9442
+ get_custom_text(): string
9443
+ get_custom_tooltip(): string
9431
9444
  get_packing(): boolean
9432
9445
  get_property(): Property
9433
9446
 
@@ -9453,11 +9466,11 @@ interface PropertyLabel extends Atk.ImplementorIface, Editable, Gtk.Buildable {
9453
9466
  * @param property_name the name of the property to get
9454
9467
  * @param value return location for the property value
9455
9468
  */
9456
- get_property(property_name: string | null, value: any): void
9457
- get_property_name(): string | null
9469
+ get_property(property_name: string, value: any): void
9470
+ get_property_name(): string
9458
9471
  set_append_colon(append_colon: boolean): void
9459
- set_custom_text(custom_text: string | null): void
9460
- set_custom_tooltip(custom_tooltip: string | null): void
9472
+ set_custom_text(custom_text: string): void
9473
+ set_custom_tooltip(custom_tooltip: string): void
9461
9474
  set_packing(packing: boolean): void
9462
9475
  set_property(property: Property): void
9463
9476
 
@@ -9468,8 +9481,8 @@ interface PropertyLabel extends Atk.ImplementorIface, Editable, Gtk.Buildable {
9468
9481
  * @param property_name the name of the property to set
9469
9482
  * @param value the value
9470
9483
  */
9471
- set_property(property_name: string | null, value: any): void
9472
- set_property_name(property_name: string | null): void
9484
+ set_property(property_name: string, value: any): void
9485
+ set_property_name(property_name: string): void
9473
9486
 
9474
9487
  // Conflicting methods
9475
9488
 
@@ -9483,7 +9496,7 @@ interface PropertyLabel extends Atk.ImplementorIface, Editable, Gtk.Buildable {
9483
9496
  * Also see gtk_container_child_notify().
9484
9497
  * @param child_property the name of a child property installed on the class of `widget’`s parent
9485
9498
  */
9486
- child_notify(child_property: string | null): void
9499
+ child_notify(child_property: string): void
9487
9500
  /**
9488
9501
  * Emits a #GtkWidget::child-notify signal for the
9489
9502
  * [child property][child-properties]
@@ -9495,7 +9508,7 @@ interface PropertyLabel extends Atk.ImplementorIface, Editable, Gtk.Buildable {
9495
9508
  * @param child the child widget
9496
9509
  * @param child_property the name of a child property installed on the class of `container`
9497
9510
  */
9498
- child_notify(child: Gtk.Widget, child_property: string | null): void
9511
+ child_notify(child: Gtk.Widget, child_property: string): void
9499
9512
 
9500
9513
  // Overloads of child_notify
9501
9514
 
@@ -9509,7 +9522,7 @@ interface PropertyLabel extends Atk.ImplementorIface, Editable, Gtk.Buildable {
9509
9522
  * Also see gtk_container_child_notify().
9510
9523
  * @param child_property the name of a child property installed on the class of `widget’`s parent
9511
9524
  */
9512
- child_notify(child_property: string | null): void
9525
+ child_notify(child_property: string): void
9513
9526
 
9514
9527
  // Class property signals of Gladeui-2.0.Gladeui.PropertyLabel
9515
9528
 
@@ -9742,15 +9755,15 @@ interface PropertyShell extends Atk.ImplementorIface, Editable, Gtk.Buildable, G
9742
9755
 
9743
9756
  // Owm methods of Gladeui-2.0.Gladeui.PropertyShell
9744
9757
 
9745
- get_custom_text(): string | null
9758
+ get_custom_text(): string
9746
9759
  get_disable_check(): boolean
9747
9760
  get_packing(): boolean
9748
- get_property_name(): string | null
9761
+ get_property_name(): string
9749
9762
  get_use_command(): boolean
9750
- set_custom_text(custom_text: string | null): void
9763
+ set_custom_text(custom_text: string): void
9751
9764
  set_disable_check(disable_check: boolean): void
9752
9765
  set_packing(packing: boolean): void
9753
- set_property_name(property_name: string | null): void
9766
+ set_property_name(property_name: string): void
9754
9767
  set_use_command(use_command: boolean): void
9755
9768
 
9756
9769
  // Conflicting methods
@@ -9765,7 +9778,7 @@ interface PropertyShell extends Atk.ImplementorIface, Editable, Gtk.Buildable, G
9765
9778
  * Also see gtk_container_child_notify().
9766
9779
  * @param child_property the name of a child property installed on the class of `widget’`s parent
9767
9780
  */
9768
- child_notify(child_property: string | null): void
9781
+ child_notify(child_property: string): void
9769
9782
  /**
9770
9783
  * Emits a #GtkWidget::child-notify signal for the
9771
9784
  * [child property][child-properties]
@@ -9777,7 +9790,7 @@ interface PropertyShell extends Atk.ImplementorIface, Editable, Gtk.Buildable, G
9777
9790
  * @param child the child widget
9778
9791
  * @param child_property the name of a child property installed on the class of `container`
9779
9792
  */
9780
- child_notify(child: Gtk.Widget, child_property: string | null): void
9793
+ child_notify(child: Gtk.Widget, child_property: string): void
9781
9794
 
9782
9795
  // Overloads of child_notify
9783
9796
 
@@ -9791,7 +9804,7 @@ interface PropertyShell extends Atk.ImplementorIface, Editable, Gtk.Buildable, G
9791
9804
  * Also see gtk_container_child_notify().
9792
9805
  * @param child_property the name of a child property installed on the class of `widget’`s parent
9793
9806
  */
9794
- child_notify(child_property: string | null): void
9807
+ child_notify(child_property: string): void
9795
9808
 
9796
9809
  // Own signals of Gladeui-2.0.Gladeui.PropertyShell
9797
9810
 
@@ -10049,18 +10062,18 @@ interface Signal {
10049
10062
  * Get the signal detail.
10050
10063
  * @returns the detail of the signal
10051
10064
  */
10052
- get_detail(): string | null
10065
+ get_detail(): string
10053
10066
  /**
10054
10067
  * Get the signal handler.
10055
10068
  * @returns the handler of the signal
10056
10069
  */
10057
- get_handler(): string | null
10070
+ get_handler(): string
10058
10071
  /**
10059
10072
  * Get the name of the signal from the signal definition.
10060
10073
  * @returns The name of the signal
10061
10074
  */
10062
- get_name(): string | null
10063
- get_support_warning(): string | null
10075
+ get_name(): string
10076
+ get_support_warning(): string
10064
10077
  /**
10065
10078
  * Get whether the instance and userdata arguments should be swapped.
10066
10079
  * @returns whether the instance and userdata arguments should be swapped
@@ -10070,7 +10083,7 @@ interface Signal {
10070
10083
  * Get the userdata handler.
10071
10084
  * @returns the userdata of the signal
10072
10085
  */
10073
- get_userdata(): string | null
10086
+ get_userdata(): string
10074
10087
  /**
10075
10088
  * Set whether the handler should be called before or after the default handler
10076
10089
  * of the signal.
@@ -10081,13 +10094,13 @@ interface Signal {
10081
10094
  * Set the detail of the signal.
10082
10095
  * @param detail the detail of the signal
10083
10096
  */
10084
- set_detail(detail: string | null): void
10097
+ set_detail(detail: string): void
10085
10098
  /**
10086
10099
  * Set the handler of the signal.
10087
10100
  * @param handler the handler of the signal
10088
10101
  */
10089
- set_handler(handler: string | null): void
10090
- set_support_warning(support_warning: string | null): void
10102
+ set_handler(handler: string): void
10103
+ set_support_warning(support_warning: string): void
10091
10104
  /**
10092
10105
  * Set whether the instance and userdata arguments should be swapped.
10093
10106
  * @param swapped if the instance and userdata arguments should be swapped
@@ -10097,7 +10110,7 @@ interface Signal {
10097
10110
  * Set the userdata of the signal.
10098
10111
  * @param userdata the userdata of the signal
10099
10112
  */
10100
- set_userdata(userdata: string | null): void
10113
+ set_userdata(userdata: string): void
10101
10114
  /**
10102
10115
  * Writes `signal` to `node`
10103
10116
  * @param context A #GladeXmlContext
@@ -10154,7 +10167,7 @@ class Signal extends GObject.Object {
10154
10167
  * @param swapped whether the handler's user data should be swapped with the emitter instance.
10155
10168
  * @returns the new #GladeSignal
10156
10169
  */
10157
- constructor(sig_def: SignalDef, handler: string | null, userdata: string | null, after: boolean, swapped: boolean)
10170
+ constructor(sig_def: SignalDef, handler: string, userdata: string, after: boolean, swapped: boolean)
10158
10171
  /**
10159
10172
  * Creates a new #GladeSignal with the given parameters.
10160
10173
  * @constructor
@@ -10165,7 +10178,7 @@ class Signal extends GObject.Object {
10165
10178
  * @param swapped whether the handler's user data should be swapped with the emitter instance.
10166
10179
  * @returns the new #GladeSignal
10167
10180
  */
10168
- static new(sig_def: SignalDef, handler: string | null, userdata: string | null, after: boolean, swapped: boolean): Signal
10181
+ static new(sig_def: SignalDef, handler: string, userdata: string, after: boolean, swapped: boolean): Signal
10169
10182
  _init(config?: Signal.ConstructorProperties): void
10170
10183
  /**
10171
10184
  * Reads and creates a ner #GladeSignal based on `node`
@@ -10256,7 +10269,7 @@ interface SignalEditor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientab
10256
10269
  * @param child the child widget
10257
10270
  * @param child_property the name of a child property installed on the class of `container`
10258
10271
  */
10259
- child_notify(child: Gtk.Widget, child_property: string | null): void
10272
+ child_notify(child: Gtk.Widget, child_property: string): void
10260
10273
 
10261
10274
  // Overloads of child_notify
10262
10275
 
@@ -10270,7 +10283,7 @@ interface SignalEditor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientab
10270
10283
  * Also see gtk_container_child_notify().
10271
10284
  * @param child_property the name of a child property installed on the class of `widget’`s parent
10272
10285
  */
10273
- child_notify(child_property: string | null): void
10286
+ child_notify(child_property: string): void
10274
10287
  /**
10275
10288
  * Emits a #GtkWidget::child-notify signal for the
10276
10289
  * [child property][child-properties] `child_property`
@@ -10281,7 +10294,7 @@ interface SignalEditor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientab
10281
10294
  * Also see gtk_container_child_notify().
10282
10295
  * @param child_property the name of a child property installed on the class of `widget’`s parent
10283
10296
  */
10284
- child_notify(child_property: string | null): void
10297
+ child_notify(child_property: string): void
10285
10298
 
10286
10299
  // Own signals of Gladeui-2.0.Gladeui.SignalEditor
10287
10300
 
@@ -10658,7 +10671,7 @@ interface Widget {
10658
10671
  * @param reason The #GladeCreateReason for which this internal widget was created (usually just pass the reason from the post_create function; note also this is used only by the plugin code so pass something useful here).
10659
10672
  * @returns a freshly created #GladeWidget wrapper object for the @internal_object of name @internal_name
10660
10673
  */
10661
- adaptor_create_internal(internal_object: GObject.Object, internal_name: string | null, parent_name: string | null, anarchist: boolean, reason: CreateReason): Widget
10674
+ adaptor_create_internal(internal_object: GObject.Object, internal_name: string, parent_name: string, anarchist: boolean, reason: CreateReason): Widget
10662
10675
  /**
10663
10676
  * Adds `child` to `parent` in a generic way for this #GladeWidget parent.
10664
10677
  * @param child the #GladeWidget to add
@@ -10701,14 +10714,14 @@ interface Widget {
10701
10714
  * @param property_name The id of the property
10702
10715
  * @param value The `GValue`
10703
10716
  */
10704
- child_get_property(child: Widget, property_name: string | null, value: any): void
10717
+ child_get_property(child: Widget, property_name: string, value: any): void
10705
10718
  /**
10706
10719
  * Sets `child'`s packing property identified by `property_name` to `value`.
10707
10720
  * @param child The #GladeWidget child
10708
10721
  * @param property_name The id of the property
10709
10722
  * @param value The `GValue`
10710
10723
  */
10711
- child_set_property(child: Widget, property_name: string | null, value: any): void
10724
+ child_set_property(child: Widget, property_name: string, value: any): void
10712
10725
  /**
10713
10726
  * Sets properties in `widget` based on the values of
10714
10727
  * matching properties in `template_widget`
@@ -10731,7 +10744,7 @@ interface Widget {
10731
10744
  * @param use_command Whether the undo/redo stack applies here.
10732
10745
  * @returns A newly created and connected GladeEditorProperty
10733
10746
  */
10734
- create_editor_property(property: string | null, packing: boolean, use_command: boolean): EditorProperty
10747
+ create_editor_property(property: string, packing: boolean, use_command: boolean): EditorProperty
10735
10748
  /**
10736
10749
  * Determines whether `widget` is somehow dependent on `other,` in
10737
10750
  * which case it should be serialized after `other`.
@@ -10774,7 +10787,7 @@ interface Widget {
10774
10787
  * @param name child name
10775
10788
  * @returns The child of widget or %NULL if it was not found.
10776
10789
  */
10777
- find_child(name: string | null): Widget | null
10790
+ find_child(name: string): Widget | null
10778
10791
  /**
10779
10792
  * Creates a user friendly name to describe project widgets
10780
10793
  * @returns A newly allocated string
@@ -10785,7 +10798,7 @@ interface Widget {
10785
10798
  * @param action_path a full action path including groups
10786
10799
  * @returns the action or %NULL if not found.
10787
10800
  */
10788
- get_action(action_path: string | null): WidgetAction | null
10801
+ get_action(action_path: string): WidgetAction | null
10789
10802
  get_actions(): WidgetAction[]
10790
10803
  get_adaptor(): WidgetAdaptor
10791
10804
  /**
@@ -10793,8 +10806,8 @@ interface Widget {
10793
10806
  * @returns The children of widget <note><para>This differs from a direct call to glade_widget_adaptor_get_children() as it only returns children which have an associated GladeWidget. This function will not return any placeholders or internal composite children that have not been exposed for Glade configuration</para></note>
10794
10807
  */
10795
10808
  get_children(): GObject.Object[]
10796
- get_display_name(): string | null
10797
- get_internal(): string | null
10809
+ get_display_name(): string
10810
+ get_internal(): string
10798
10811
  /**
10799
10812
  * Checks if `widget` is a composite template to be used
10800
10813
  * with gtk_widget_class_set_template().
@@ -10807,23 +10820,23 @@ interface Widget {
10807
10820
  * @returns a #GladeWidget or %NULL if none is locked
10808
10821
  */
10809
10822
  get_locker(): Widget | null
10810
- get_name(): string | null
10823
+ get_name(): string
10811
10824
  get_object(): GObject.Object
10812
10825
  /**
10813
10826
  * Returns a #GladeWidgetAction object indentified by `action_path`.
10814
10827
  * @param action_path a full action path including groups
10815
10828
  * @returns the action or %NULL if not found.
10816
10829
  */
10817
- get_pack_action(action_path: string | null): WidgetAction | null
10830
+ get_pack_action(action_path: string): WidgetAction | null
10818
10831
  get_pack_actions(): WidgetAction[]
10819
- get_pack_property(id_property: string | null): Property | null
10832
+ get_pack_property(id_property: string): Property | null
10820
10833
  get_packing_properties(): Property[]
10821
10834
  get_parent(): Widget
10822
10835
  get_parentless_reffed_widgets(): Property[]
10823
10836
  get_parentless_widget_ref(): Property
10824
10837
  get_project(): Project
10825
10838
  get_properties(): Property[]
10826
- get_property(id_property: string | null): Property | null
10839
+ get_property(id_property: string): Property | null
10827
10840
 
10828
10841
  // Overloads of get_property
10829
10842
 
@@ -10847,7 +10860,7 @@ interface Widget {
10847
10860
  * @param property_name the name of the property to get
10848
10861
  * @param value return location for the property value
10849
10862
  */
10850
- get_property(property_name: string | null, value: any): void
10863
+ get_property(property_name: string, value: any): void
10851
10864
  /**
10852
10865
  * Compiles a list of #GladeSignal elements
10853
10866
  * @returns a newly allocated #GList of #GladeSignal, the caller must call g_list_free() to free the list.
@@ -10872,7 +10885,7 @@ interface Widget {
10872
10885
  is_ancestor(ancestor: Widget): boolean
10873
10886
  list_locked_widgets(): Widget[]
10874
10887
  list_prop_refs(): Property[]
10875
- list_signal_handlers(signal_name: string | null): Signal[]
10888
+ list_signal_handlers(signal_name: string): Signal[]
10876
10889
  /**
10877
10890
  * Sets `locked` to be in a locked up state
10878
10891
  * spoken for by `widget,` locked widgets cannot
@@ -10886,21 +10899,21 @@ interface Widget {
10886
10899
  * @param property_name The property identifier
10887
10900
  * @param value The #GValue
10888
10901
  */
10889
- object_get_property(property_name: string | null, value: any): void
10902
+ object_get_property(property_name: string, value: any): void
10890
10903
  /**
10891
10904
  * This function applies `value` to the property `property_name` on
10892
10905
  * the runtime object of `widget`.
10893
10906
  * @param property_name The property identifier
10894
10907
  * @param value The #GValue
10895
10908
  */
10896
- object_set_property(property_name: string | null, value: any): void
10897
- pack_property_default(id_property: string | null): boolean
10909
+ object_set_property(property_name: string, value: any): void
10910
+ pack_property_default(id_property: string): boolean
10898
10911
  /**
10899
10912
  * Resets `id_property` in `widget'`s packing properties to it's default value
10900
10913
  * @param id_property a string naming a #GladeProperty
10901
10914
  * @returns whether @id_property was found or not.
10902
10915
  */
10903
- pack_property_reset(id_property: string | null): boolean
10916
+ pack_property_reset(id_property: string): boolean
10904
10917
  /**
10905
10918
  * Sets the enabled state of `id_property` in `widget'`s packing
10906
10919
  * properties; this is used for optional properties.
@@ -10908,7 +10921,7 @@ interface Widget {
10908
10921
  * @param enabled setting enabled or disabled
10909
10922
  * @returns whether @id_property was found or not.
10910
10923
  */
10911
- pack_property_set_enabled(id_property: string | null, enabled: boolean): boolean
10924
+ pack_property_set_enabled(id_property: string, enabled: boolean): boolean
10912
10925
  /**
10913
10926
  * Sets whether `id_property` in `widget` should be special cased
10914
10927
  * to always be saved regardless of its default value.
@@ -10919,7 +10932,7 @@ interface Widget {
10919
10932
  * @param setting the setting
10920
10933
  * @returns whether @id_property was found or not.
10921
10934
  */
10922
- pack_property_set_save_always(id_property: string | null, setting: boolean): boolean
10935
+ pack_property_set_save_always(id_property: string, setting: boolean): boolean
10923
10936
  /**
10924
10937
  * Sets the sensitivity of `id_property` in `widget'`s packing properties.
10925
10938
  * @param id_property a string naming a #GladeProperty
@@ -10927,7 +10940,7 @@ interface Widget {
10927
10940
  * @param reason a description of why the user cant edit this property which will be used as a tooltip
10928
10941
  * @returns whether @id_property was found or not.
10929
10942
  */
10930
- pack_property_set_sensitive(id_property: string | null, sensitive: boolean, reason: string | null): boolean
10943
+ pack_property_set_sensitive(id_property: string, sensitive: boolean, reason: string): boolean
10931
10944
  /**
10932
10945
  * Same as glade_widget_property_string() but for packing
10933
10946
  * properties.
@@ -10935,7 +10948,7 @@ interface Widget {
10935
10948
  * @param value the #GValue to print or %NULL
10936
10949
  * @returns A newly allocated string representing @id_property
10937
10950
  */
10938
- pack_property_string(id_property: string | null, value: any): string | null
10951
+ pack_property_string(id_property: string, value: any): string | null
10939
10952
  /**
10940
10953
  * Returns whether placeholders should be used
10941
10954
  * in operations concerning this parent & child.
@@ -10947,14 +10960,14 @@ interface Widget {
10947
10960
  * @returns whether to use placeholders for this relationship.
10948
10961
  */
10949
10962
  placeholder_relation(widget: Widget): boolean
10950
- property_default(id_property: string | null): boolean
10951
- property_original_default(id_property: string | null): boolean
10963
+ property_default(id_property: string): boolean
10964
+ property_original_default(id_property: string): boolean
10952
10965
  /**
10953
10966
  * Resets `id_property` in `widget` to it's default value
10954
10967
  * @param id_property a string naming a #GladeProperty
10955
10968
  * @returns whether @id_property was found or not.
10956
10969
  */
10957
- property_reset(id_property: string | null): boolean
10970
+ property_reset(id_property: string): boolean
10958
10971
  /**
10959
10972
  * Sets the enabled state of `id_property` in `widget;` this is
10960
10973
  * used for optional properties.
@@ -10962,7 +10975,7 @@ interface Widget {
10962
10975
  * @param enabled setting enabled or disabled
10963
10976
  * @returns whether @id_property was found or not.
10964
10977
  */
10965
- property_set_enabled(id_property: string | null, enabled: boolean): boolean
10978
+ property_set_enabled(id_property: string, enabled: boolean): boolean
10966
10979
  /**
10967
10980
  * Sets whether `id_property` in `widget` should be special cased
10968
10981
  * to always be saved regardless of its default value.
@@ -10973,7 +10986,7 @@ interface Widget {
10973
10986
  * @param setting the setting
10974
10987
  * @returns whether @id_property was found or not.
10975
10988
  */
10976
- property_set_save_always(id_property: string | null, setting: boolean): boolean
10989
+ property_set_save_always(id_property: string, setting: boolean): boolean
10977
10990
  /**
10978
10991
  * Sets the sensitivity of `id_property` in `widget`
10979
10992
  * @param id_property a string naming a #GladeProperty
@@ -10981,7 +10994,7 @@ interface Widget {
10981
10994
  * @param reason a description of why the user cant edit this property which will be used as a tooltip
10982
10995
  * @returns whether @id_property was found or not.
10983
10996
  */
10984
- property_set_sensitive(id_property: string | null, sensitive: boolean, reason: string | null): boolean
10997
+ property_set_sensitive(id_property: string, sensitive: boolean, reason: string): boolean
10985
10998
  /**
10986
10999
  * Creates a printable string representing `id_property` in
10987
11000
  * `widget,` if `value` is specified it will be used in place
@@ -10992,7 +11005,7 @@ interface Widget {
10992
11005
  * @param value the #GValue to print or %NULL
10993
11006
  * @returns A newly allocated string representing @id_property
10994
11007
  */
10995
- property_string(id_property: string | null, value: any): string | null
11008
+ property_string(id_property: string, value: any): string | null
10996
11009
  /**
10997
11010
  * Reads in a child widget from the xml (handles 'child' tag)
10998
11011
  * @param node a #GladeXmlNode
@@ -11026,7 +11039,7 @@ interface Widget {
11026
11039
  * style properties).
11027
11040
  * @param id_property the name of the property
11028
11041
  */
11029
- remove_property(id_property: string | null): void
11042
+ remove_property(id_property: string): void
11030
11043
  /**
11031
11044
  * Removes a signal handler from `widget`
11032
11045
  * @param signal_handler The #GladeSignal
@@ -11047,21 +11060,21 @@ interface Widget {
11047
11060
  * @param sensitive setting sensitive or insensitive
11048
11061
  * @returns whether @action_path was found or not.
11049
11062
  */
11050
- set_action_sensitive(action_path: string | null, sensitive: boolean): boolean
11063
+ set_action_sensitive(action_path: string, sensitive: boolean): boolean
11051
11064
  /**
11052
11065
  * Sets the visibility of `action_path` in `widget`
11053
11066
  * @param action_path a full action path including groups
11054
11067
  * @param visible setting visible or invisible
11055
11068
  * @returns whether @action_path was found or not.
11056
11069
  */
11057
- set_action_visible(action_path: string | null, visible: boolean): boolean
11070
+ set_action_visible(action_path: string, visible: boolean): boolean
11058
11071
  set_child_type_from_node(child: GObject.Object, node: XmlNode): void
11059
11072
  set_in_project(in_project: boolean): void
11060
11073
  /**
11061
11074
  * Sets the internal name of `widget` to `internal`
11062
11075
  * @param internal The internal name
11063
11076
  */
11064
- set_internal(internal: string | null): void
11077
+ set_internal(internal: string): void
11065
11078
  /**
11066
11079
  * Set's this widget to be toplevel composite object to be
11067
11080
  * eventually used with gtk_widget_class_set_template()
@@ -11074,21 +11087,21 @@ interface Widget {
11074
11087
  * Sets `widget'`s name to `name`.
11075
11088
  * @param name a string
11076
11089
  */
11077
- set_name(name: string | null): void
11090
+ set_name(name: string): void
11078
11091
  /**
11079
11092
  * Sets the sensitivity of `action_path` in `widget`
11080
11093
  * @param action_path a full action path including groups
11081
11094
  * @param sensitive setting sensitive or insensitive
11082
11095
  * @returns whether @action_path was found or not.
11083
11096
  */
11084
- set_pack_action_sensitive(action_path: string | null, sensitive: boolean): boolean
11097
+ set_pack_action_sensitive(action_path: string, sensitive: boolean): boolean
11085
11098
  /**
11086
11099
  * Sets the visibility of `action_path` in `widget`
11087
11100
  * @param action_path a full action path including groups
11088
11101
  * @param visible setting visible or invisible
11089
11102
  * @returns whether @action_path was found or not.
11090
11103
  */
11091
- set_pack_action_visible(action_path: string | null, visible: boolean): boolean
11104
+ set_pack_action_visible(action_path: string, visible: boolean): boolean
11092
11105
  /**
11093
11106
  * Generates the packing_properties list of the widget, given
11094
11107
  * the class of the container we are adding the widget to.
@@ -11107,7 +11120,7 @@ interface Widget {
11107
11120
  * @param project a #GladeProject
11108
11121
  */
11109
11122
  set_project(project: Project): void
11110
- set_support_warning(warning: string | null): void
11123
+ set_support_warning(warning: string): void
11111
11124
  /**
11112
11125
  * Display `widget` in it's project's GladeDesignView
11113
11126
  */
@@ -11456,7 +11469,7 @@ interface WidgetAdaptor {
11456
11469
  * @param object The #GObject
11457
11470
  * @param action_path The action identifier in the action tree
11458
11471
  */
11459
- action_activate(object: GObject.Object, action_path: string | null): void
11472
+ action_activate(object: GObject.Object, action_path: string): void
11460
11473
  /**
11461
11474
  * Add an action to `adaptor`.
11462
11475
  * If the action is present then it overrides label and stock
@@ -11466,13 +11479,13 @@ interface WidgetAdaptor {
11466
11479
  * @param important if this action is important.
11467
11480
  * @returns whether or not the action was added/updated.
11468
11481
  */
11469
- action_add(action_path: string | null, label: string | null, stock: string | null, important: boolean): boolean
11482
+ action_add(action_path: string, label: string, stock: string, important: boolean): boolean
11470
11483
  /**
11471
11484
  * Remove an `adaptor'`s action.
11472
11485
  * @param action_path The identifier of this action in the action tree
11473
11486
  * @returns whether or not the action was removed.
11474
11487
  */
11475
- action_remove(action_path: string | null): boolean
11488
+ action_remove(action_path: string): boolean
11476
11489
  /**
11477
11490
  * This delegate function is used to create dynamically customized
11478
11491
  * submenus. Called only for actions that don't have children.
@@ -11480,7 +11493,7 @@ interface WidgetAdaptor {
11480
11493
  * @param action_path The action identifier in the action tree
11481
11494
  * @returns A newly created #GtkMenu or %NULL
11482
11495
  */
11483
- action_submenu(object: GObject.Object, action_path: string | null): Gtk.Widget | null
11496
+ action_submenu(object: GObject.Object, action_path: string): Gtk.Widget | null
11484
11497
  /**
11485
11498
  * Create a list of actions.
11486
11499
  * @returns a new list of GladeWidgetAction.
@@ -11510,7 +11523,7 @@ interface WidgetAdaptor {
11510
11523
  * @param object The #GObject
11511
11524
  * @param action_path The action identifier in the action tree
11512
11525
  */
11513
- child_action_activate(container: GObject.Object, object: GObject.Object, action_path: string | null): void
11526
+ child_action_activate(container: GObject.Object, object: GObject.Object, action_path: string): void
11514
11527
  /**
11515
11528
  * Gets `child'`s packing property identified by `property_name`.
11516
11529
  * @param container The #GObject container
@@ -11518,7 +11531,7 @@ interface WidgetAdaptor {
11518
11531
  * @param property_name The id of the property
11519
11532
  * @param value The `GValue`
11520
11533
  */
11521
- child_get_property(container: GObject.Object, child: GObject.Object, property_name: string | null, value: any): void
11534
+ child_get_property(container: GObject.Object, child: GObject.Object, property_name: string, value: any): void
11522
11535
  /**
11523
11536
  * Sets `child'`s packing property identified by `property_name` to `value`.
11524
11537
  * @param container The #GObject container
@@ -11526,7 +11539,7 @@ interface WidgetAdaptor {
11526
11539
  * @param property_name The id of the property
11527
11540
  * @param value The `GValue`
11528
11541
  */
11529
- child_set_property(container: GObject.Object, child: GObject.Object, property_name: string | null, value: any): void
11542
+ child_set_property(container: GObject.Object, child: GObject.Object, property_name: string, value: any): void
11530
11543
  /**
11531
11544
  * This delegate function is always called whenever setting any
11532
11545
  * properties with the exception of load time, and copy/paste time
@@ -11539,7 +11552,7 @@ interface WidgetAdaptor {
11539
11552
  * @param value The `GValue`
11540
11553
  * @returns whether or not its OK to set @value on @object, this function will silently return TRUE if the class did not provide a verify function.
11541
11554
  */
11542
- child_verify_property(container: GObject.Object, child: GObject.Object, property_name: string | null, value: any): boolean
11555
+ child_verify_property(container: GObject.Object, child: GObject.Object, property_name: string, value: any): boolean
11543
11556
  /**
11544
11557
  * This function is called to construct a GObject instance for
11545
11558
  * a #GladeWidget of the said `adaptor`. (provided for language
@@ -11571,7 +11584,7 @@ interface WidgetAdaptor {
11571
11584
  * @param use_command whether to use the GladeCommand interface to commit property changes
11572
11585
  * @returns A newly created #GladeEditorProperty
11573
11586
  */
11574
- create_eprop_by_name(property_id: string | null, packing: boolean, use_command: boolean): EditorProperty
11587
+ create_eprop_by_name(property_id: string, packing: boolean, use_command: boolean): EditorProperty
11575
11588
  default_params(construct: boolean): GObject.Parameter[]
11576
11589
  /**
11577
11590
  * Checks whether `widget` depends on `another` to be placed earlier in
@@ -11594,33 +11607,33 @@ interface WidgetAdaptor {
11594
11607
  * @returns the closest #GladeWidgetAdaptor in the ancestry to @adaptor which is responsable for introducing @pspec.
11595
11608
  */
11596
11609
  from_pspec(pspec: GObject.ParamSpec): WidgetAdaptor
11597
- get_book(): string | null
11598
- get_catalog(): string | null
11610
+ get_book(): string
11611
+ get_catalog(): string
11599
11612
  /**
11600
11613
  * Lists the children of `container`.
11601
11614
  * @param container The #GObject container
11602
11615
  * @returns A #GList of children
11603
11616
  */
11604
11617
  get_children(container: GObject.Object): GObject.Object[]
11605
- get_display_name(): string | null
11606
- get_generic_name(): string | null
11607
- get_icon_name(): string | null
11618
+ get_display_name(): string
11619
+ get_generic_name(): string
11620
+ get_icon_name(): string
11608
11621
  /**
11609
11622
  * Retrieves the internal object `internal_name` from `object`
11610
11623
  * @param object The #GObject
11611
11624
  * @param internal_name The string identifier of the internal object
11612
11625
  * @returns The internal #GObject
11613
11626
  */
11614
- get_internal_child(object: GObject.Object, internal_name: string | null): GObject.Object | null
11615
- get_missing_icon(): string | null
11616
- get_name(): string | null
11627
+ get_internal_child(object: GObject.Object, internal_name: string): GObject.Object | null
11628
+ get_missing_icon(): string
11629
+ get_name(): string
11617
11630
  get_object_type(): GObject.GType
11618
11631
  /**
11619
11632
  * Retrieves the #GladePropertyDef for `name` in `adaptor'`s child properties
11620
11633
  * @param name a string
11621
11634
  * @returns A #GladePropertyDef object
11622
11635
  */
11623
- get_pack_property_def(name: string | null): PropertyDef | null
11636
+ get_pack_property_def(name: string): PropertyDef | null
11624
11637
  /**
11625
11638
  * Gets the default value for `property_id` on a widget governed by
11626
11639
  * `child_adaptor` when parented in a widget governed by `parent_adaptor`
@@ -11628,7 +11641,7 @@ interface WidgetAdaptor {
11628
11641
  * @param id The string property identifier
11629
11642
  * @returns a string representing the default value for @property_id
11630
11643
  */
11631
- get_packing_default(container_adaptor: WidgetAdaptor, id: string | null): string | null
11644
+ get_packing_default(container_adaptor: WidgetAdaptor, id: string): string
11632
11645
  get_packing_props(): PropertyDef[]
11633
11646
  get_parent_adaptor(): WidgetAdaptor
11634
11647
  get_properties(): PropertyDef[]
@@ -11638,7 +11651,7 @@ interface WidgetAdaptor {
11638
11651
  * @param property_name The property identifier
11639
11652
  * @param value The #GValue
11640
11653
  */
11641
- get_property(object: GObject.Object, property_name: string | null, value: any): void
11654
+ get_property(object: GObject.Object, property_name: string, value: any): void
11642
11655
 
11643
11656
  // Overloads of get_property
11644
11657
 
@@ -11662,21 +11675,21 @@ interface WidgetAdaptor {
11662
11675
  * @param property_name the name of the property to get
11663
11676
  * @param value return location for the property value
11664
11677
  */
11665
- get_property(property_name: string | null, value: any): void
11678
+ get_property(property_name: string, value: any): void
11666
11679
  /**
11667
11680
  * Retrieves the #GladePropertyDef for `name` in `adaptor`
11668
11681
  * @param name a string
11669
11682
  * @returns A #GladePropertyDef object
11670
11683
  */
11671
- get_property_def(name: string | null): PropertyDef | null
11684
+ get_property_def(name: string): PropertyDef | null
11672
11685
  /**
11673
11686
  * Looks up signal class `name` on `adaptor`.
11674
11687
  * @param name the name of the signal class.
11675
11688
  * @returns a #GladeSignalDef or %NULL
11676
11689
  */
11677
- get_signal_def(name: string | null): SignalDef | null
11690
+ get_signal_def(name: string): SignalDef | null
11678
11691
  get_signals(): SignalDef[]
11679
- get_title(): string | null
11692
+ get_title(): string
11680
11693
  /**
11681
11694
  * Get the _get_type () function name if it is set, a %NULL value means that the
11682
11695
  * default heuristic for getting the GType is enough for both Glade and GtkBuilder.
@@ -11700,13 +11713,13 @@ interface WidgetAdaptor {
11700
11713
  * @param important if this action is important.
11701
11714
  * @returns whether or not the action was added/updated.
11702
11715
  */
11703
- pack_action_add(action_path: string | null, label: string | null, stock: string | null, important: boolean): boolean
11716
+ pack_action_add(action_path: string, label: string, stock: string, important: boolean): boolean
11704
11717
  /**
11705
11718
  * Remove an `adaptor'`s packing action.
11706
11719
  * @param action_path The identifier of this action in the action tree
11707
11720
  * @returns whether or not the action was removed.
11708
11721
  */
11709
- pack_action_remove(action_path: string | null): boolean
11722
+ pack_action_remove(action_path: string): boolean
11710
11723
  /**
11711
11724
  * Create a list of packing actions.
11712
11725
  * @returns a new list of GladeWidgetAction.
@@ -11760,7 +11773,7 @@ interface WidgetAdaptor {
11760
11773
  * @param property_name The property identifier
11761
11774
  * @param value The #GValue
11762
11775
  */
11763
- set_property(object: GObject.Object, property_name: string | null, value: any): void
11776
+ set_property(object: GObject.Object, property_name: string, value: any): void
11764
11777
 
11765
11778
  // Overloads of set_property
11766
11779
 
@@ -11769,7 +11782,7 @@ interface WidgetAdaptor {
11769
11782
  * @param property_name the name of the property to set
11770
11783
  * @param value the value
11771
11784
  */
11772
- set_property(property_name: string | null, value: any): void
11785
+ set_property(property_name: string, value: any): void
11773
11786
  /**
11774
11787
  * For normal properties this is used to serialize
11775
11788
  * property values, for custom properties its still
@@ -11790,7 +11803,7 @@ interface WidgetAdaptor {
11790
11803
  * @param value The #GValue
11791
11804
  * @returns whether or not its OK to set @value on @object, this function will silently return TRUE if the class did not provide a verify function.
11792
11805
  */
11793
- verify_property(object: GObject.Object, property_name: string | null, value: any): boolean
11806
+ verify_property(object: GObject.Object, property_name: string, value: any): boolean
11794
11807
  /**
11795
11808
  * This function is called to write the child `widget` to `node`
11796
11809
  * when writing xml files (takes care of packing and recurses
@@ -11825,7 +11838,7 @@ interface WidgetAdaptor {
11825
11838
  * @param object The #GObject
11826
11839
  * @param action_path The action identifier in the action tree
11827
11840
  */
11828
- vfunc_action_activate(object: GObject.Object, action_path: string | null): void
11841
+ vfunc_action_activate(object: GObject.Object, action_path: string): void
11829
11842
  /**
11830
11843
  * This delegate function is used to create dynamically customized
11831
11844
  * submenus. Called only for actions that don't have children.
@@ -11834,7 +11847,7 @@ interface WidgetAdaptor {
11834
11847
  * @param action_path The action identifier in the action tree
11835
11848
  * @returns A newly created #GtkMenu or %NULL
11836
11849
  */
11837
- vfunc_action_submenu(object: GObject.Object, action_path: string | null): Gtk.Widget | null
11850
+ vfunc_action_submenu(object: GObject.Object, action_path: string): Gtk.Widget | null
11838
11851
  /**
11839
11852
  * Adds `child` to `container`.
11840
11853
  * @virtual
@@ -11862,7 +11875,7 @@ interface WidgetAdaptor {
11862
11875
  * @param object The #GObject
11863
11876
  * @param action_path The action identifier in the action tree
11864
11877
  */
11865
- vfunc_child_action_activate(container: GObject.Object, object: GObject.Object, action_path: string | null): void
11878
+ vfunc_child_action_activate(container: GObject.Object, object: GObject.Object, action_path: string): void
11866
11879
  /**
11867
11880
  * Gets `child'`s packing property identified by `property_name`.
11868
11881
  * @virtual
@@ -11871,7 +11884,7 @@ interface WidgetAdaptor {
11871
11884
  * @param property_name The id of the property
11872
11885
  * @param value The `GValue`
11873
11886
  */
11874
- vfunc_child_get_property(container: GObject.Object, child: GObject.Object, property_name: string | null, value: any): void
11887
+ vfunc_child_get_property(container: GObject.Object, child: GObject.Object, property_name: string, value: any): void
11875
11888
  /**
11876
11889
  * Sets `child'`s packing property identified by `property_name` to `value`.
11877
11890
  * @virtual
@@ -11880,7 +11893,7 @@ interface WidgetAdaptor {
11880
11893
  * @param property_name The id of the property
11881
11894
  * @param value The `GValue`
11882
11895
  */
11883
- vfunc_child_set_property(container: GObject.Object, child: GObject.Object, property_name: string | null, value: any): void
11896
+ vfunc_child_set_property(container: GObject.Object, child: GObject.Object, property_name: string, value: any): void
11884
11897
  /**
11885
11898
  * This delegate function is always called whenever setting any
11886
11899
  * properties with the exception of load time, and copy/paste time
@@ -11894,7 +11907,7 @@ interface WidgetAdaptor {
11894
11907
  * @param value The `GValue`
11895
11908
  * @returns whether or not its OK to set @value on @object, this function will silently return TRUE if the class did not provide a verify function.
11896
11909
  */
11897
- vfunc_child_verify_property(container: GObject.Object, child: GObject.Object, property_name: string | null, value: any): boolean
11910
+ vfunc_child_verify_property(container: GObject.Object, child: GObject.Object, property_name: string, value: any): boolean
11898
11911
  /**
11899
11912
  * This function is called to construct a GObject instance for
11900
11913
  * a #GladeWidget of the said `adaptor`. (provided for language
@@ -11952,7 +11965,7 @@ interface WidgetAdaptor {
11952
11965
  * @param internal_name The string identifier of the internal object
11953
11966
  * @returns The internal #GObject
11954
11967
  */
11955
- vfunc_get_internal_child(object: GObject.Object, internal_name: string | null): GObject.Object | null
11968
+ vfunc_get_internal_child(object: GObject.Object, internal_name: string): GObject.Object | null
11956
11969
  /**
11957
11970
  * Gets `value` of `property_name` on `object`.
11958
11971
  * @virtual
@@ -11960,7 +11973,7 @@ interface WidgetAdaptor {
11960
11973
  * @param property_name The property identifier
11961
11974
  * @param value The #GValue
11962
11975
  */
11963
- vfunc_get_property(object: GObject.Object, property_name: string | null, value: any): void
11976
+ vfunc_get_property(object: GObject.Object, property_name: string, value: any): void
11964
11977
 
11965
11978
  // Overloads of vfunc_get_property
11966
11979
 
@@ -12014,7 +12027,7 @@ interface WidgetAdaptor {
12014
12027
  * @param property_name The property identifier
12015
12028
  * @param value The #GValue
12016
12029
  */
12017
- vfunc_set_property(object: GObject.Object, property_name: string | null, value: any): void
12030
+ vfunc_set_property(object: GObject.Object, property_name: string, value: any): void
12018
12031
 
12019
12032
  // Overloads of vfunc_set_property
12020
12033
 
@@ -12041,7 +12054,7 @@ interface WidgetAdaptor {
12041
12054
  * @param value The #GValue
12042
12055
  * @returns whether or not its OK to set @value on @object, this function will silently return TRUE if the class did not provide a verify function.
12043
12056
  */
12044
- vfunc_verify_property(object: GObject.Object, property_name: string | null, value: any): boolean
12057
+ vfunc_verify_property(object: GObject.Object, property_name: string, value: any): boolean
12045
12058
  /**
12046
12059
  * This function is called to write the child `widget` to `node`
12047
12060
  * when writing xml files (takes care of packing and recurses
@@ -12131,7 +12144,7 @@ class WidgetAdaptor extends GObject.Object {
12131
12144
  * @returns a newly allocated #GladeWidgetAdaptor
12132
12145
  */
12133
12146
  static from_catalog(catalog: Catalog, class_node: XmlNode, module: GModule.Module): WidgetAdaptor
12134
- static get_by_name(name: string | null): WidgetAdaptor | null
12147
+ static get_by_name(name: string): WidgetAdaptor | null
12135
12148
  static get_by_type(type: GObject.GType): WidgetAdaptor | null
12136
12149
  /**
12137
12150
  * Compiles a list of all registered adaptors.
@@ -12194,13 +12207,13 @@ interface Catalog {
12194
12207
  // Owm methods of Gladeui-2.0.Gladeui.Catalog
12195
12208
 
12196
12209
  get_adaptors(): WidgetAdaptor[]
12197
- get_book(): string | null
12198
- get_domain(): string | null
12199
- get_icon_prefix(): string | null
12210
+ get_book(): string
12211
+ get_domain(): string
12212
+ get_icon_prefix(): string
12200
12213
  get_major_version(): number
12201
12214
  get_minor_version(): number
12202
- get_name(): string | null
12203
- get_prefix(): string | null
12215
+ get_name(): string
12216
+ get_prefix(): string
12204
12217
  get_targets(): TargetableVersion[]
12205
12218
  get_widget_groups(): WidgetGroup[]
12206
12219
  }
@@ -12217,13 +12230,13 @@ class Catalog {
12217
12230
  * Adds a new path to the list of path to look catalogs for.
12218
12231
  * @param path the new path containing catalogs
12219
12232
  */
12220
- static add_path(path: string | null): void
12233
+ static add_path(path: string): void
12221
12234
  /**
12222
12235
  * Destroy and free all resources related with every loaded catalog.
12223
12236
  */
12224
12237
  static destroy_all(): void
12225
12238
  static get_extra_paths(): string[]
12226
- static is_loaded(name: string | null): boolean
12239
+ static is_loaded(name: string): boolean
12227
12240
  /**
12228
12241
  * Loads all available catalogs in the system.
12229
12242
  * First loads catalogs from GLADE_ENV_CATALOG_PATH,
@@ -12245,7 +12258,7 @@ interface CellRendererIconClass {
12245
12258
  // Own fields of Gladeui-2.0.Gladeui.CellRendererIconClass
12246
12259
 
12247
12260
  parent_class: Gtk.CellRendererPixbufClass
12248
- activate: (cell_renderer_icon: CellRendererIcon, path: string | null) => void
12261
+ activate: (cell_renderer_icon: CellRendererIcon, path: string) => void
12249
12262
  }
12250
12263
 
12251
12264
  abstract class CellRendererIconClass {
@@ -12508,12 +12521,12 @@ interface NameContext {
12508
12521
 
12509
12522
  // Owm methods of Gladeui-2.0.Gladeui.NameContext
12510
12523
 
12511
- add_name(name: string | null): boolean
12524
+ add_name(name: string): boolean
12512
12525
  destroy(): void
12513
- has_name(name: string | null): boolean
12526
+ has_name(name: string): boolean
12514
12527
  n_names(): number
12515
- new_name(base_name: string | null): string | null
12516
- release_name(name: string | null): void
12528
+ new_name(base_name: string): string | null
12529
+ release_name(name: string): void
12517
12530
  }
12518
12531
 
12519
12532
  class NameContext {
@@ -12668,7 +12681,7 @@ interface PropertyClass {
12668
12681
  sync: (property: Property) => void
12669
12682
  load: (property: Property) => void
12670
12683
  value_changed: (property: Property, old_value: any, new_value: any) => void
12671
- tooltip_changed: (property: Property, tooltip: string | null, insensitive_tooltip: string | null, support_warning: string | null) => void
12684
+ tooltip_changed: (property: Property, tooltip: string, insensitive_tooltip: string, support_warning: string) => void
12672
12685
  glade_reserved1: () => void
12673
12686
  glade_reserved2: () => void
12674
12687
  glade_reserved3: () => void
@@ -12698,7 +12711,7 @@ interface PropertyDef {
12698
12711
  * @returns -1, 0 or +1, if value1 is found to be less than, equal to or greater than value2, respectively.
12699
12712
  */
12700
12713
  compare(value1: any, value2: any): number
12701
- create_type(): string | null
12714
+ create_type(): string
12702
12715
  custom_layout(): boolean
12703
12716
  deprecated(): boolean
12704
12717
  deprecated_since_major(): number
@@ -12712,12 +12725,12 @@ interface PropertyDef {
12712
12725
  get_default(): any
12713
12726
  get_ignore(): boolean
12714
12727
  get_is_packing(): boolean
12715
- get_name(): string | null
12728
+ get_name(): string
12716
12729
  get_original_default(): any
12717
12730
  get_pspec(): GObject.ParamSpec
12718
- get_tooltip(): string | null
12731
+ get_tooltip(): string
12719
12732
  get_virtual(): boolean
12720
- id(): string | null
12733
+ id(): string
12721
12734
  is_object(): boolean
12722
12735
  is_visible(): boolean
12723
12736
  load_defaults_from_spec(): void
@@ -12726,7 +12739,7 @@ interface PropertyDef {
12726
12739
  * @returns An appropriate #GtkAdjustment for use in the Property editor
12727
12740
  */
12728
12741
  make_adjustment(): Gtk.Adjustment
12729
- make_gvalue_from_string(string: string | null, project: Project): any
12742
+ make_gvalue_from_string(string: string, project: Project): any
12730
12743
  make_string_from_gvalue(value: any): string | null
12731
12744
  match(comp: PropertyDef): boolean
12732
12745
  multiline(): boolean
@@ -12741,9 +12754,9 @@ interface PropertyDef {
12741
12754
  set_construct_only(construct_only: boolean): void
12742
12755
  set_ignore(ignore: boolean): void
12743
12756
  set_is_packing(is_packing: boolean): void
12744
- set_name(name: string | null): void
12757
+ set_name(name: string): void
12745
12758
  set_pspec(pspec: GObject.ParamSpec): void
12746
- set_tooltip(tooltip: string | null): void
12759
+ set_tooltip(tooltip: string): void
12747
12760
  set_virtual(value: boolean): void
12748
12761
  since_major(): number
12749
12762
  since_minor(): number
@@ -12764,12 +12777,12 @@ class PropertyDef {
12764
12777
 
12765
12778
  // Constructors of Gladeui-2.0.Gladeui.PropertyDef
12766
12779
 
12767
- constructor(adaptor: WidgetAdaptor, id: string | null)
12768
- static new(adaptor: WidgetAdaptor, id: string | null): PropertyDef
12780
+ constructor(adaptor: WidgetAdaptor, id: string)
12781
+ static new(adaptor: WidgetAdaptor, id: string): PropertyDef
12769
12782
  static new_from_spec(adaptor: WidgetAdaptor, spec: GObject.ParamSpec): PropertyDef
12770
12783
  static new_from_spec_full(adaptor: WidgetAdaptor, spec: GObject.ParamSpec, need_handle: boolean): PropertyDef
12771
12784
  static get_default_from_spec(spec: GObject.ParamSpec): any
12772
- static make_flags_from_string(type: GObject.GType, string: string | null): number
12785
+ static make_flags_from_string(type: GObject.GType, string: string): number
12773
12786
  /**
12774
12787
  * This function assigns "weight" to each property in its natural order staring from 1.
12775
12788
  * If parent is 0 weight will be set for every #GladePropertyDef in the list.
@@ -12787,7 +12800,7 @@ class PropertyDef {
12787
12800
  * @param domain the domain to translate catalog strings from
12788
12801
  * @returns %TRUE on success. @property_def_ref is set to NULL if the property has Disabled="TRUE".
12789
12802
  */
12790
- static update_from_node(node: XmlNode, object_type: GObject.GType, property_def_ref: PropertyDef | null, domain: string | null): [ /* returnType */ boolean, /* property_def_ref */ PropertyDef | null ]
12803
+ static update_from_node(node: XmlNode, object_type: GObject.GType, property_def_ref: PropertyDef | null, domain: string): [ /* returnType */ boolean, /* property_def_ref */ PropertyDef | null ]
12791
12804
  }
12792
12805
 
12793
12806
  interface PropertyLabelClass {
@@ -12909,12 +12922,12 @@ interface SignalDef {
12909
12922
  * Get the name of the signal.
12910
12923
  * @returns the name of the signal
12911
12924
  */
12912
- get_name(): string | null
12925
+ get_name(): string
12913
12926
  /**
12914
12927
  * Get the name of the object class that this signal belongs to.
12915
12928
  * @returns the type name of the signal
12916
12929
  */
12917
- get_object_type_name(): string | null
12930
+ get_object_type_name(): string
12918
12931
  /**
12919
12932
  * Set if the signal is deprecated.
12920
12933
  * @param deprecated %TRUE if the signal is deprecated
@@ -12936,7 +12949,7 @@ interface SignalDef {
12936
12949
  * @returns the minor version
12937
12950
  */
12938
12951
  since_minor(): number
12939
- update_from_node(node: XmlNode, domain: string | null): void
12952
+ update_from_node(node: XmlNode, domain: string): void
12940
12953
  }
12941
12954
 
12942
12955
  class SignalDef {
@@ -13053,7 +13066,7 @@ interface WidgetActionDef {
13053
13066
 
13054
13067
  // Own fields of Gladeui-2.0.Gladeui.WidgetActionDef
13055
13068
 
13056
- id: string | null
13069
+ id: string
13057
13070
  path: string | null
13058
13071
  label: string | null
13059
13072
  stock: string | null
@@ -13068,8 +13081,8 @@ interface WidgetActionDef {
13068
13081
  */
13069
13082
  free(): void
13070
13083
  set_important(important: boolean): void
13071
- set_label(label: string | null): void
13072
- set_stock(stock: string | null): void
13084
+ set_label(label: string): void
13085
+ set_stock(stock: string): void
13073
13086
  }
13074
13087
 
13075
13088
  class WidgetActionDef {
@@ -13080,8 +13093,8 @@ class WidgetActionDef {
13080
13093
 
13081
13094
  // Constructors of Gladeui-2.0.Gladeui.WidgetActionDef
13082
13095
 
13083
- constructor(path: string | null)
13084
- static new(path: string | null): WidgetActionDef
13096
+ constructor(path: string)
13097
+ static new(path: string): WidgetActionDef
13085
13098
  }
13086
13099
 
13087
13100
  interface WidgetActionPrivate {
@@ -13188,8 +13201,8 @@ interface WidgetGroup {
13188
13201
 
13189
13202
  get_adaptors(): WidgetAdaptor[]
13190
13203
  get_expanded(): boolean
13191
- get_name(): string | null
13192
- get_title(): string | null
13204
+ get_name(): string
13205
+ get_title(): string
13193
13206
  }
13194
13207
 
13195
13208
  class WidgetGroup {
@@ -13243,7 +13256,7 @@ class XmlContext {
13243
13256
  * @param root_name the expected root name
13244
13257
  * @returns a new #GladeXmlContext or %NULL on failure
13245
13258
  */
13246
- static new_from_path(full_path: string | null, nspace: string | null, root_name: string | null): XmlContext
13259
+ static new_from_path(full_path: string, nspace: string | null, root_name: string | null): XmlContext
13247
13260
  }
13248
13261
 
13249
13262
  interface XmlDoc {
@@ -13251,13 +13264,13 @@ interface XmlDoc {
13251
13264
  // Owm methods of Gladeui-2.0.Gladeui.XmlDoc
13252
13265
 
13253
13266
  get_root(): XmlNode
13254
- new_comment(comment: string | null): XmlNode
13267
+ new_comment(comment: string): XmlNode
13255
13268
  /**
13256
13269
  * Increases the reference of the #GladeXmlDoc.
13257
13270
  * @returns the given #GladeXmlDoc
13258
13271
  */
13259
13272
  ref(): XmlDoc
13260
- save(full_path: string | null): number
13273
+ save(full_path: string): number
13261
13274
  set_root(node: XmlNode): void
13262
13275
  /**
13263
13276
  * Decreases the reference of the #GladeXmlDoc.
@@ -13298,29 +13311,29 @@ interface XmlNode {
13298
13311
  delete(): void
13299
13312
  get_children(): XmlNode
13300
13313
  get_children_with_comments(): XmlNode
13301
- get_name(): string | null
13314
+ get_name(): string
13302
13315
  get_parent(): XmlNode
13303
13316
  is_comment(): boolean
13304
13317
  next(): XmlNode
13305
13318
  next_with_comments(): XmlNode
13306
13319
  prev_with_comments(): XmlNode
13307
13320
  remove(): void
13308
- set_property_boolean(name: string | null, value: boolean): void
13321
+ set_property_boolean(name: string, value: boolean): void
13309
13322
  /**
13310
13323
  * Set a property as a string in the `node_in`. Note that %NULL `string` value
13311
13324
  * Are simply ignored and not written in the XML.
13312
13325
  * @param name the name of the property to set
13313
13326
  * @param string the string value of the property to set
13314
13327
  */
13315
- set_property_string(name: string | null, string: string | null): void
13328
+ set_property_string(name: string, string: string | null): void
13316
13329
  /**
13317
13330
  * This is a wrapper around glade_xml_node_verify_silent(), only it emits
13318
13331
  * a g_warning() if `node_in` has a name different than `name`.
13319
13332
  * @param name a string
13320
13333
  * @returns %TRUE if @node_in's name is equal to @name, %FALSE otherwise
13321
13334
  */
13322
- verify(name: string | null): boolean
13323
- verify_silent(name: string | null): boolean
13335
+ verify(name: string): boolean
13336
+ verify_silent(name: string): boolean
13324
13337
  }
13325
13338
 
13326
13339
  class XmlNode {
@@ -13331,9 +13344,9 @@ class XmlNode {
13331
13344
 
13332
13345
  // Constructors of Gladeui-2.0.Gladeui.XmlNode
13333
13346
 
13334
- constructor(context: XmlContext, name: string | null)
13335
- static new(context: XmlContext, name: string | null): XmlNode
13336
- static new_comment(context: XmlContext, comment: string | null): XmlNode
13347
+ constructor(context: XmlContext, name: string)
13348
+ static new(context: XmlContext, name: string): XmlNode
13349
+ static new_comment(context: XmlContext, comment: string): XmlNode
13337
13350
  }
13338
13351
 
13339
13352
  /**