@girs/gladeui-2.0 2.0.0-3.2.5 → 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
 
@@ -2101,6 +2101,7 @@ interface Clipboard {
2101
2101
  // Own properties of Gladeui-2.0.Gladeui.Clipboard
2102
2102
 
2103
2103
  readonly has_selection: boolean
2104
+ readonly hasSelection: boolean
2104
2105
 
2105
2106
  // Own fields of Gladeui-2.0.Gladeui.Clipboard
2106
2107
 
@@ -2170,7 +2171,7 @@ interface Command {
2170
2171
  * @param other another #GladeCommand
2171
2172
  */
2172
2173
  collapse(other: Command): void
2173
- description(): string | null
2174
+ description(): string
2174
2175
  /**
2175
2176
  * Executes `command`
2176
2177
  * @returns whether the command was successfully executed
@@ -2330,26 +2331,26 @@ class Command extends GObject.Object {
2330
2331
  * @param context a #const gchar *
2331
2332
  * @param comment a #const gchar *
2332
2333
  */
2333
- static set_i18n(property: Property, translatable: boolean, context: string | null, comment: string | null): void
2334
- 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
2335
2336
  /**
2336
2337
  * Sets `domain` as the translation domain for `project`.
2337
2338
  * @param project A #GladeProject
2338
2339
  * @param domain The translation domain for `project`
2339
2340
  */
2340
- static set_project_domain(project: Project, domain: string | null): void
2341
+ static set_project_domain(project: Project, domain: string): void
2341
2342
  /**
2342
2343
  * Sets the license agreement for `project`. It will be saved in the xml as comment.
2343
2344
  * @param project A #GladeProject
2344
2345
  * @param license License of `project`
2345
2346
  */
2346
- static set_project_license(project: Project, license: string | null): void
2347
+ static set_project_license(project: Project, license: string): void
2347
2348
  /**
2348
2349
  * Sets a resource path `project`.
2349
2350
  * @param project A #GladeProject
2350
2351
  * @param path path to load resources from.
2351
2352
  */
2352
- static set_project_resource_path(project: Project, path: string | null): void
2353
+ static set_project_resource_path(project: Project, path: string): void
2353
2354
  /**
2354
2355
  * Sets the target of `catalog` to `major`.`minor` in `project`.
2355
2356
  * @param project A #GladeProject
@@ -2357,7 +2358,7 @@ class Command extends GObject.Object {
2357
2358
  * @param major The new major version of `catalog` to target
2358
2359
  * @param minor The new minor version of `catalog` to target
2359
2360
  */
2360
- 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
2361
2362
  /**
2362
2363
  * Sets `widget` to be the template widget in `project`.
2363
2364
  * @param project A #GladeProject
@@ -2422,7 +2423,7 @@ interface DesignView extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
2422
2423
  * @param child the child widget
2423
2424
  * @param child_property the name of a child property installed on the class of `container`
2424
2425
  */
2425
- child_notify(child: Gtk.Widget, child_property: string | null): void
2426
+ child_notify(child: Gtk.Widget, child_property: string): void
2426
2427
 
2427
2428
  // Overloads of child_notify
2428
2429
 
@@ -2436,7 +2437,7 @@ interface DesignView extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
2436
2437
  * Also see gtk_container_child_notify().
2437
2438
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2438
2439
  */
2439
- child_notify(child_property: string | null): void
2440
+ child_notify(child_property: string): void
2440
2441
  /**
2441
2442
  * Emits a #GtkWidget::child-notify signal for the
2442
2443
  * [child property][child-properties] `child_property`
@@ -2447,7 +2448,7 @@ interface DesignView extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
2447
2448
  * Also see gtk_container_child_notify().
2448
2449
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2449
2450
  */
2450
- child_notify(child_property: string | null): void
2451
+ child_notify(child_property: string): void
2451
2452
 
2452
2453
  // Class property signals of Gladeui-2.0.Gladeui.DesignView
2453
2454
 
@@ -2666,7 +2667,7 @@ interface EPropBool extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.O
2666
2667
  * @param property_name the name of the property to get
2667
2668
  * @param value return location for the property value
2668
2669
  */
2669
- get_property(property_name: string | null, value: any): void
2670
+ get_property(property_name: string, value: any): void
2670
2671
  /**
2671
2672
  * Gets a property of an object.
2672
2673
  *
@@ -2687,7 +2688,7 @@ interface EPropBool extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.O
2687
2688
  * @param property_name the name of the property to get
2688
2689
  * @param value return location for the property value
2689
2690
  */
2690
- get_property(property_name: string | null, value: any): void
2691
+ get_property(property_name: string, value: any): void
2691
2692
  /**
2692
2693
  * Loads `widget` property values into `editable`
2693
2694
  * (the editable will watch the widgets properties
@@ -2722,7 +2723,7 @@ interface EPropBool extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.O
2722
2723
  * Also see gtk_container_child_notify().
2723
2724
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2724
2725
  */
2725
- child_notify(child_property: string | null): void
2726
+ child_notify(child_property: string): void
2726
2727
  /**
2727
2728
  * Emits a #GtkWidget::child-notify signal for the
2728
2729
  * [child property][child-properties]
@@ -2734,7 +2735,7 @@ interface EPropBool extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.O
2734
2735
  * @param child the child widget
2735
2736
  * @param child_property the name of a child property installed on the class of `container`
2736
2737
  */
2737
- child_notify(child: Gtk.Widget, child_property: string | null): void
2738
+ child_notify(child: Gtk.Widget, child_property: string): void
2738
2739
 
2739
2740
  // Overloads of child_notify
2740
2741
 
@@ -2748,7 +2749,7 @@ interface EPropBool extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.O
2748
2749
  * Also see gtk_container_child_notify().
2749
2750
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2750
2751
  */
2751
- child_notify(child_property: string | null): void
2752
+ child_notify(child_property: string): void
2752
2753
  /**
2753
2754
  * Loads `widget` property values into `editable`
2754
2755
  * (the editable will watch the widgets properties
@@ -2989,7 +2990,7 @@ interface EPropCheck extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.
2989
2990
  * @param property_name the name of the property to get
2990
2991
  * @param value return location for the property value
2991
2992
  */
2992
- get_property(property_name: string | null, value: any): void
2993
+ get_property(property_name: string, value: any): void
2993
2994
  /**
2994
2995
  * Gets a property of an object.
2995
2996
  *
@@ -3010,7 +3011,7 @@ interface EPropCheck extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.
3010
3011
  * @param property_name the name of the property to get
3011
3012
  * @param value return location for the property value
3012
3013
  */
3013
- get_property(property_name: string | null, value: any): void
3014
+ get_property(property_name: string, value: any): void
3014
3015
  /**
3015
3016
  * Loads `widget` property values into `editable`
3016
3017
  * (the editable will watch the widgets properties
@@ -3045,7 +3046,7 @@ interface EPropCheck extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.
3045
3046
  * Also see gtk_container_child_notify().
3046
3047
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3047
3048
  */
3048
- child_notify(child_property: string | null): void
3049
+ child_notify(child_property: string): void
3049
3050
  /**
3050
3051
  * Emits a #GtkWidget::child-notify signal for the
3051
3052
  * [child property][child-properties]
@@ -3057,7 +3058,7 @@ interface EPropCheck extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.
3057
3058
  * @param child the child widget
3058
3059
  * @param child_property the name of a child property installed on the class of `container`
3059
3060
  */
3060
- child_notify(child: Gtk.Widget, child_property: string | null): void
3061
+ child_notify(child: Gtk.Widget, child_property: string): void
3061
3062
 
3062
3063
  // Overloads of child_notify
3063
3064
 
@@ -3071,7 +3072,7 @@ interface EPropCheck extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.
3071
3072
  * Also see gtk_container_child_notify().
3072
3073
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3073
3074
  */
3074
- child_notify(child_property: string | null): void
3075
+ child_notify(child_property: string): void
3075
3076
  /**
3076
3077
  * Loads `widget` property values into `editable`
3077
3078
  * (the editable will watch the widgets properties
@@ -3312,7 +3313,7 @@ interface EPropColor extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.
3312
3313
  * @param property_name the name of the property to get
3313
3314
  * @param value return location for the property value
3314
3315
  */
3315
- get_property(property_name: string | null, value: any): void
3316
+ get_property(property_name: string, value: any): void
3316
3317
  /**
3317
3318
  * Gets a property of an object.
3318
3319
  *
@@ -3333,7 +3334,7 @@ interface EPropColor extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.
3333
3334
  * @param property_name the name of the property to get
3334
3335
  * @param value return location for the property value
3335
3336
  */
3336
- get_property(property_name: string | null, value: any): void
3337
+ get_property(property_name: string, value: any): void
3337
3338
  /**
3338
3339
  * Loads `widget` property values into `editable`
3339
3340
  * (the editable will watch the widgets properties
@@ -3368,7 +3369,7 @@ interface EPropColor extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.
3368
3369
  * Also see gtk_container_child_notify().
3369
3370
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3370
3371
  */
3371
- child_notify(child_property: string | null): void
3372
+ child_notify(child_property: string): void
3372
3373
  /**
3373
3374
  * Emits a #GtkWidget::child-notify signal for the
3374
3375
  * [child property][child-properties]
@@ -3380,7 +3381,7 @@ interface EPropColor extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.
3380
3381
  * @param child the child widget
3381
3382
  * @param child_property the name of a child property installed on the class of `container`
3382
3383
  */
3383
- child_notify(child: Gtk.Widget, child_property: string | null): void
3384
+ child_notify(child: Gtk.Widget, child_property: string): void
3384
3385
 
3385
3386
  // Overloads of child_notify
3386
3387
 
@@ -3394,7 +3395,7 @@ interface EPropColor extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.
3394
3395
  * Also see gtk_container_child_notify().
3395
3396
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3396
3397
  */
3397
- child_notify(child_property: string | null): void
3398
+ child_notify(child_property: string): void
3398
3399
  /**
3399
3400
  * Loads `widget` property values into `editable`
3400
3401
  * (the editable will watch the widgets properties
@@ -3635,7 +3636,7 @@ interface EPropEnum extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.O
3635
3636
  * @param property_name the name of the property to get
3636
3637
  * @param value return location for the property value
3637
3638
  */
3638
- get_property(property_name: string | null, value: any): void
3639
+ get_property(property_name: string, value: any): void
3639
3640
  /**
3640
3641
  * Gets a property of an object.
3641
3642
  *
@@ -3656,7 +3657,7 @@ interface EPropEnum extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.O
3656
3657
  * @param property_name the name of the property to get
3657
3658
  * @param value return location for the property value
3658
3659
  */
3659
- get_property(property_name: string | null, value: any): void
3660
+ get_property(property_name: string, value: any): void
3660
3661
  /**
3661
3662
  * Loads `widget` property values into `editable`
3662
3663
  * (the editable will watch the widgets properties
@@ -3691,7 +3692,7 @@ interface EPropEnum extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.O
3691
3692
  * Also see gtk_container_child_notify().
3692
3693
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3693
3694
  */
3694
- child_notify(child_property: string | null): void
3695
+ child_notify(child_property: string): void
3695
3696
  /**
3696
3697
  * Emits a #GtkWidget::child-notify signal for the
3697
3698
  * [child property][child-properties]
@@ -3703,7 +3704,7 @@ interface EPropEnum extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.O
3703
3704
  * @param child the child widget
3704
3705
  * @param child_property the name of a child property installed on the class of `container`
3705
3706
  */
3706
- child_notify(child: Gtk.Widget, child_property: string | null): void
3707
+ child_notify(child: Gtk.Widget, child_property: string): void
3707
3708
 
3708
3709
  // Overloads of child_notify
3709
3710
 
@@ -3717,7 +3718,7 @@ interface EPropEnum extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.O
3717
3718
  * Also see gtk_container_child_notify().
3718
3719
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3719
3720
  */
3720
- child_notify(child_property: string | null): void
3721
+ child_notify(child_property: string): void
3721
3722
  /**
3722
3723
  * Loads `widget` property values into `editable`
3723
3724
  * (the editable will watch the widgets properties
@@ -3958,7 +3959,7 @@ interface EPropFlags extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.
3958
3959
  * @param property_name the name of the property to get
3959
3960
  * @param value return location for the property value
3960
3961
  */
3961
- get_property(property_name: string | null, value: any): void
3962
+ get_property(property_name: string, value: any): void
3962
3963
  /**
3963
3964
  * Gets a property of an object.
3964
3965
  *
@@ -3979,7 +3980,7 @@ interface EPropFlags extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.
3979
3980
  * @param property_name the name of the property to get
3980
3981
  * @param value return location for the property value
3981
3982
  */
3982
- get_property(property_name: string | null, value: any): void
3983
+ get_property(property_name: string, value: any): void
3983
3984
  /**
3984
3985
  * Loads `widget` property values into `editable`
3985
3986
  * (the editable will watch the widgets properties
@@ -4014,7 +4015,7 @@ interface EPropFlags extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.
4014
4015
  * Also see gtk_container_child_notify().
4015
4016
  * @param child_property the name of a child property installed on the class of `widget’`s parent
4016
4017
  */
4017
- child_notify(child_property: string | null): void
4018
+ child_notify(child_property: string): void
4018
4019
  /**
4019
4020
  * Emits a #GtkWidget::child-notify signal for the
4020
4021
  * [child property][child-properties]
@@ -4026,7 +4027,7 @@ interface EPropFlags extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.
4026
4027
  * @param child the child widget
4027
4028
  * @param child_property the name of a child property installed on the class of `container`
4028
4029
  */
4029
- child_notify(child: Gtk.Widget, child_property: string | null): void
4030
+ child_notify(child: Gtk.Widget, child_property: string): void
4030
4031
 
4031
4032
  // Overloads of child_notify
4032
4033
 
@@ -4040,7 +4041,7 @@ interface EPropFlags extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.
4040
4041
  * Also see gtk_container_child_notify().
4041
4042
  * @param child_property the name of a child property installed on the class of `widget’`s parent
4042
4043
  */
4043
- child_notify(child_property: string | null): void
4044
+ child_notify(child_property: string): void
4044
4045
  /**
4045
4046
  * Loads `widget` property values into `editable`
4046
4047
  * (the editable will watch the widgets properties
@@ -4281,7 +4282,7 @@ interface EPropNamedIcon extends Atk.ImplementorIface, Editable, Gtk.Buildable,
4281
4282
  * @param property_name the name of the property to get
4282
4283
  * @param value return location for the property value
4283
4284
  */
4284
- get_property(property_name: string | null, value: any): void
4285
+ get_property(property_name: string, value: any): void
4285
4286
  /**
4286
4287
  * Gets a property of an object.
4287
4288
  *
@@ -4302,7 +4303,7 @@ interface EPropNamedIcon extends Atk.ImplementorIface, Editable, Gtk.Buildable,
4302
4303
  * @param property_name the name of the property to get
4303
4304
  * @param value return location for the property value
4304
4305
  */
4305
- get_property(property_name: string | null, value: any): void
4306
+ get_property(property_name: string, value: any): void
4306
4307
  /**
4307
4308
  * Loads `widget` property values into `editable`
4308
4309
  * (the editable will watch the widgets properties
@@ -4337,7 +4338,7 @@ interface EPropNamedIcon extends Atk.ImplementorIface, Editable, Gtk.Buildable,
4337
4338
  * Also see gtk_container_child_notify().
4338
4339
  * @param child_property the name of a child property installed on the class of `widget’`s parent
4339
4340
  */
4340
- child_notify(child_property: string | null): void
4341
+ child_notify(child_property: string): void
4341
4342
  /**
4342
4343
  * Emits a #GtkWidget::child-notify signal for the
4343
4344
  * [child property][child-properties]
@@ -4349,7 +4350,7 @@ interface EPropNamedIcon extends Atk.ImplementorIface, Editable, Gtk.Buildable,
4349
4350
  * @param child the child widget
4350
4351
  * @param child_property the name of a child property installed on the class of `container`
4351
4352
  */
4352
- child_notify(child: Gtk.Widget, child_property: string | null): void
4353
+ child_notify(child: Gtk.Widget, child_property: string): void
4353
4354
 
4354
4355
  // Overloads of child_notify
4355
4356
 
@@ -4363,7 +4364,7 @@ interface EPropNamedIcon extends Atk.ImplementorIface, Editable, Gtk.Buildable,
4363
4364
  * Also see gtk_container_child_notify().
4364
4365
  * @param child_property the name of a child property installed on the class of `widget’`s parent
4365
4366
  */
4366
- child_notify(child_property: string | null): void
4367
+ child_notify(child_property: string): void
4367
4368
  /**
4368
4369
  * Loads `widget` property values into `editable`
4369
4370
  * (the editable will watch the widgets properties
@@ -4604,7 +4605,7 @@ interface EPropNumeric extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gt
4604
4605
  * @param property_name the name of the property to get
4605
4606
  * @param value return location for the property value
4606
4607
  */
4607
- get_property(property_name: string | null, value: any): void
4608
+ get_property(property_name: string, value: any): void
4608
4609
  /**
4609
4610
  * Gets a property of an object.
4610
4611
  *
@@ -4625,7 +4626,7 @@ interface EPropNumeric extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gt
4625
4626
  * @param property_name the name of the property to get
4626
4627
  * @param value return location for the property value
4627
4628
  */
4628
- get_property(property_name: string | null, value: any): void
4629
+ get_property(property_name: string, value: any): void
4629
4630
  /**
4630
4631
  * Loads `widget` property values into `editable`
4631
4632
  * (the editable will watch the widgets properties
@@ -4660,7 +4661,7 @@ interface EPropNumeric extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gt
4660
4661
  * Also see gtk_container_child_notify().
4661
4662
  * @param child_property the name of a child property installed on the class of `widget’`s parent
4662
4663
  */
4663
- child_notify(child_property: string | null): void
4664
+ child_notify(child_property: string): void
4664
4665
  /**
4665
4666
  * Emits a #GtkWidget::child-notify signal for the
4666
4667
  * [child property][child-properties]
@@ -4672,7 +4673,7 @@ interface EPropNumeric extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gt
4672
4673
  * @param child the child widget
4673
4674
  * @param child_property the name of a child property installed on the class of `container`
4674
4675
  */
4675
- child_notify(child: Gtk.Widget, child_property: string | null): void
4676
+ child_notify(child: Gtk.Widget, child_property: string): void
4676
4677
 
4677
4678
  // Overloads of child_notify
4678
4679
 
@@ -4686,7 +4687,7 @@ interface EPropNumeric extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gt
4686
4687
  * Also see gtk_container_child_notify().
4687
4688
  * @param child_property the name of a child property installed on the class of `widget’`s parent
4688
4689
  */
4689
- child_notify(child_property: string | null): void
4690
+ child_notify(child_property: string): void
4690
4691
  /**
4691
4692
  * Loads `widget` property values into `editable`
4692
4693
  * (the editable will watch the widgets properties
@@ -4927,7 +4928,7 @@ interface EPropObject extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk
4927
4928
  * @param property_name the name of the property to get
4928
4929
  * @param value return location for the property value
4929
4930
  */
4930
- get_property(property_name: string | null, value: any): void
4931
+ get_property(property_name: string, value: any): void
4931
4932
  /**
4932
4933
  * Gets a property of an object.
4933
4934
  *
@@ -4948,7 +4949,7 @@ interface EPropObject extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk
4948
4949
  * @param property_name the name of the property to get
4949
4950
  * @param value return location for the property value
4950
4951
  */
4951
- get_property(property_name: string | null, value: any): void
4952
+ get_property(property_name: string, value: any): void
4952
4953
  /**
4953
4954
  * Loads `widget` property values into `editable`
4954
4955
  * (the editable will watch the widgets properties
@@ -4983,7 +4984,7 @@ interface EPropObject extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk
4983
4984
  * Also see gtk_container_child_notify().
4984
4985
  * @param child_property the name of a child property installed on the class of `widget’`s parent
4985
4986
  */
4986
- child_notify(child_property: string | null): void
4987
+ child_notify(child_property: string): void
4987
4988
  /**
4988
4989
  * Emits a #GtkWidget::child-notify signal for the
4989
4990
  * [child property][child-properties]
@@ -4995,7 +4996,7 @@ interface EPropObject extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk
4995
4996
  * @param child the child widget
4996
4997
  * @param child_property the name of a child property installed on the class of `container`
4997
4998
  */
4998
- child_notify(child: Gtk.Widget, child_property: string | null): void
4999
+ child_notify(child: Gtk.Widget, child_property: string): void
4999
5000
 
5000
5001
  // Overloads of child_notify
5001
5002
 
@@ -5009,7 +5010,7 @@ interface EPropObject extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk
5009
5010
  * Also see gtk_container_child_notify().
5010
5011
  * @param child_property the name of a child property installed on the class of `widget’`s parent
5011
5012
  */
5012
- child_notify(child_property: string | null): void
5013
+ child_notify(child_property: string): void
5013
5014
  /**
5014
5015
  * Loads `widget` property values into `editable`
5015
5016
  * (the editable will watch the widgets properties
@@ -5250,7 +5251,7 @@ interface EPropObjects extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gt
5250
5251
  * @param property_name the name of the property to get
5251
5252
  * @param value return location for the property value
5252
5253
  */
5253
- get_property(property_name: string | null, value: any): void
5254
+ get_property(property_name: string, value: any): void
5254
5255
  /**
5255
5256
  * Gets a property of an object.
5256
5257
  *
@@ -5271,7 +5272,7 @@ interface EPropObjects extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gt
5271
5272
  * @param property_name the name of the property to get
5272
5273
  * @param value return location for the property value
5273
5274
  */
5274
- get_property(property_name: string | null, value: any): void
5275
+ get_property(property_name: string, value: any): void
5275
5276
  /**
5276
5277
  * Loads `widget` property values into `editable`
5277
5278
  * (the editable will watch the widgets properties
@@ -5306,7 +5307,7 @@ interface EPropObjects extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gt
5306
5307
  * Also see gtk_container_child_notify().
5307
5308
  * @param child_property the name of a child property installed on the class of `widget’`s parent
5308
5309
  */
5309
- child_notify(child_property: string | null): void
5310
+ child_notify(child_property: string): void
5310
5311
  /**
5311
5312
  * Emits a #GtkWidget::child-notify signal for the
5312
5313
  * [child property][child-properties]
@@ -5318,7 +5319,7 @@ interface EPropObjects extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gt
5318
5319
  * @param child the child widget
5319
5320
  * @param child_property the name of a child property installed on the class of `container`
5320
5321
  */
5321
- child_notify(child: Gtk.Widget, child_property: string | null): void
5322
+ child_notify(child: Gtk.Widget, child_property: string): void
5322
5323
 
5323
5324
  // Overloads of child_notify
5324
5325
 
@@ -5332,7 +5333,7 @@ interface EPropObjects extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gt
5332
5333
  * Also see gtk_container_child_notify().
5333
5334
  * @param child_property the name of a child property installed on the class of `widget’`s parent
5334
5335
  */
5335
- child_notify(child_property: string | null): void
5336
+ child_notify(child_property: string): void
5336
5337
  /**
5337
5338
  * Loads `widget` property values into `editable`
5338
5339
  * (the editable will watch the widgets properties
@@ -5573,7 +5574,7 @@ interface EPropText extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.O
5573
5574
  * @param property_name the name of the property to get
5574
5575
  * @param value return location for the property value
5575
5576
  */
5576
- get_property(property_name: string | null, value: any): void
5577
+ get_property(property_name: string, value: any): void
5577
5578
  /**
5578
5579
  * Gets a property of an object.
5579
5580
  *
@@ -5594,7 +5595,7 @@ interface EPropText extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.O
5594
5595
  * @param property_name the name of the property to get
5595
5596
  * @param value return location for the property value
5596
5597
  */
5597
- get_property(property_name: string | null, value: any): void
5598
+ get_property(property_name: string, value: any): void
5598
5599
  /**
5599
5600
  * Loads `widget` property values into `editable`
5600
5601
  * (the editable will watch the widgets properties
@@ -5629,7 +5630,7 @@ interface EPropText extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.O
5629
5630
  * Also see gtk_container_child_notify().
5630
5631
  * @param child_property the name of a child property installed on the class of `widget’`s parent
5631
5632
  */
5632
- child_notify(child_property: string | null): void
5633
+ child_notify(child_property: string): void
5633
5634
  /**
5634
5635
  * Emits a #GtkWidget::child-notify signal for the
5635
5636
  * [child property][child-properties]
@@ -5641,7 +5642,7 @@ interface EPropText extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.O
5641
5642
  * @param child the child widget
5642
5643
  * @param child_property the name of a child property installed on the class of `container`
5643
5644
  */
5644
- child_notify(child: Gtk.Widget, child_property: string | null): void
5645
+ child_notify(child: Gtk.Widget, child_property: string): void
5645
5646
 
5646
5647
  // Overloads of child_notify
5647
5648
 
@@ -5655,7 +5656,7 @@ interface EPropText extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk.O
5655
5656
  * Also see gtk_container_child_notify().
5656
5657
  * @param child_property the name of a child property installed on the class of `widget’`s parent
5657
5658
  */
5658
- child_notify(child_property: string | null): void
5659
+ child_notify(child_property: string): void
5659
5660
  /**
5660
5661
  * Loads `widget` property values into `editable`
5661
5662
  * (the editable will watch the widgets properties
@@ -5896,7 +5897,7 @@ interface EPropUnichar extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gt
5896
5897
  * @param property_name the name of the property to get
5897
5898
  * @param value return location for the property value
5898
5899
  */
5899
- get_property(property_name: string | null, value: any): void
5900
+ get_property(property_name: string, value: any): void
5900
5901
  /**
5901
5902
  * Gets a property of an object.
5902
5903
  *
@@ -5917,7 +5918,7 @@ interface EPropUnichar extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gt
5917
5918
  * @param property_name the name of the property to get
5918
5919
  * @param value return location for the property value
5919
5920
  */
5920
- get_property(property_name: string | null, value: any): void
5921
+ get_property(property_name: string, value: any): void
5921
5922
  /**
5922
5923
  * Loads `widget` property values into `editable`
5923
5924
  * (the editable will watch the widgets properties
@@ -5952,7 +5953,7 @@ interface EPropUnichar extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gt
5952
5953
  * Also see gtk_container_child_notify().
5953
5954
  * @param child_property the name of a child property installed on the class of `widget’`s parent
5954
5955
  */
5955
- child_notify(child_property: string | null): void
5956
+ child_notify(child_property: string): void
5956
5957
  /**
5957
5958
  * Emits a #GtkWidget::child-notify signal for the
5958
5959
  * [child property][child-properties]
@@ -5964,7 +5965,7 @@ interface EPropUnichar extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gt
5964
5965
  * @param child the child widget
5965
5966
  * @param child_property the name of a child property installed on the class of `container`
5966
5967
  */
5967
- child_notify(child: Gtk.Widget, child_property: string | null): void
5968
+ child_notify(child: Gtk.Widget, child_property: string): void
5968
5969
 
5969
5970
  // Overloads of child_notify
5970
5971
 
@@ -5978,7 +5979,7 @@ interface EPropUnichar extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gt
5978
5979
  * Also see gtk_container_child_notify().
5979
5980
  * @param child_property the name of a child property installed on the class of `widget’`s parent
5980
5981
  */
5981
- child_notify(child_property: string | null): void
5982
+ child_notify(child_property: string): void
5982
5983
  /**
5983
5984
  * Loads `widget` property values into `editable`
5984
5985
  * (the editable will watch the widgets properties
@@ -6189,6 +6190,8 @@ module Editor {
6189
6190
  show_boder?: boolean | null
6190
6191
  show_class_field?: boolean | null
6191
6192
  widget?: Widget | null
6193
+ showBoder?: boolean | null
6194
+ showClassField?: boolean | null
6192
6195
  }
6193
6196
 
6194
6197
  }
@@ -6198,10 +6201,15 @@ interface Editor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
6198
6201
  // Own properties of Gladeui-2.0.Gladeui.Editor
6199
6202
 
6200
6203
  readonly class_field: string | null
6204
+ readonly classField: string | null
6201
6205
  show_boder: boolean
6206
+ showBoder: boolean
6202
6207
  show_class_field: boolean
6208
+ showClassField: boolean
6203
6209
  readonly show_info: boolean
6210
+ readonly showInfo: boolean
6204
6211
  readonly signal_editor: SignalEditor
6212
+ readonly signalEditor: SignalEditor
6205
6213
  widget: any
6206
6214
 
6207
6215
  // Own fields of Gladeui-2.0.Gladeui.Editor
@@ -6231,7 +6239,7 @@ interface Editor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
6231
6239
  * @param child the child widget
6232
6240
  * @param child_property the name of a child property installed on the class of `container`
6233
6241
  */
6234
- child_notify(child: Gtk.Widget, child_property: string | null): void
6242
+ child_notify(child: Gtk.Widget, child_property: string): void
6235
6243
 
6236
6244
  // Overloads of child_notify
6237
6245
 
@@ -6245,7 +6253,7 @@ interface Editor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
6245
6253
  * Also see gtk_container_child_notify().
6246
6254
  * @param child_property the name of a child property installed on the class of `widget’`s parent
6247
6255
  */
6248
- child_notify(child_property: string | null): void
6256
+ child_notify(child_property: string): void
6249
6257
  /**
6250
6258
  * Emits a #GtkWidget::child-notify signal for the
6251
6259
  * [child property][child-properties] `child_property`
@@ -6256,7 +6264,7 @@ interface Editor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
6256
6264
  * Also see gtk_container_child_notify().
6257
6265
  * @param child_property the name of a child property installed on the class of `widget’`s parent
6258
6266
  */
6259
- child_notify(child_property: string | null): void
6267
+ child_notify(child_property: string): void
6260
6268
 
6261
6269
  // Class property signals of Gladeui-2.0.Gladeui.Editor
6262
6270
 
@@ -6486,6 +6494,10 @@ module EditorProperty {
6486
6494
  disable_check?: boolean | null
6487
6495
  property_def?: any | null
6488
6496
  use_command?: boolean | null
6497
+ customText?: string | null
6498
+ disableCheck?: boolean | null
6499
+ propertyDef?: any | null
6500
+ useCommand?: boolean | null
6489
6501
  }
6490
6502
 
6491
6503
  }
@@ -6495,9 +6507,13 @@ interface EditorProperty extends Atk.ImplementorIface, Editable, Gtk.Buildable,
6495
6507
  // Own properties of Gladeui-2.0.Gladeui.EditorProperty
6496
6508
 
6497
6509
  custom_text: string | null
6510
+ customText: string | null
6498
6511
  disable_check: boolean
6512
+ disableCheck: boolean
6499
6513
  readonly property_def: any
6514
+ readonly propertyDef: any
6500
6515
  use_command: boolean
6516
+ useCommand: boolean
6501
6517
 
6502
6518
  // Own fields of Gladeui-2.0.Gladeui.EditorProperty
6503
6519
 
@@ -6511,7 +6527,7 @@ interface EditorProperty extends Atk.ImplementorIface, Editable, Gtk.Buildable,
6511
6527
  */
6512
6528
  commit(value: any): void
6513
6529
  commit_no_callback(value: any): void
6514
- get_custom_text(): string | null
6530
+ get_custom_text(): string
6515
6531
  get_disable_check(): boolean
6516
6532
  get_item_label(): Gtk.Widget
6517
6533
  get_property(): Property
@@ -6538,7 +6554,7 @@ interface EditorProperty extends Atk.ImplementorIface, Editable, Gtk.Buildable,
6538
6554
  * @param property_name the name of the property to get
6539
6555
  * @param value return location for the property value
6540
6556
  */
6541
- get_property(property_name: string | null, value: any): void
6557
+ get_property(property_name: string, value: any): void
6542
6558
  get_property_def(): PropertyDef
6543
6559
  /**
6544
6560
  * Loads `property` values into `eprop` and connects.
@@ -6564,7 +6580,7 @@ interface EditorProperty extends Atk.ImplementorIface, Editable, Gtk.Buildable,
6564
6580
  */
6565
6581
  load_by_widget(widget: Widget): void
6566
6582
  loading(): boolean
6567
- set_custom_text(custom_text: string | null): void
6583
+ set_custom_text(custom_text: string): void
6568
6584
  set_disable_check(disable_check: boolean): void
6569
6585
 
6570
6586
  // Conflicting methods
@@ -6579,7 +6595,7 @@ interface EditorProperty extends Atk.ImplementorIface, Editable, Gtk.Buildable,
6579
6595
  * Also see gtk_container_child_notify().
6580
6596
  * @param child_property the name of a child property installed on the class of `widget’`s parent
6581
6597
  */
6582
- child_notify(child_property: string | null): void
6598
+ child_notify(child_property: string): void
6583
6599
  /**
6584
6600
  * Emits a #GtkWidget::child-notify signal for the
6585
6601
  * [child property][child-properties]
@@ -6591,7 +6607,7 @@ interface EditorProperty extends Atk.ImplementorIface, Editable, Gtk.Buildable,
6591
6607
  * @param child the child widget
6592
6608
  * @param child_property the name of a child property installed on the class of `container`
6593
6609
  */
6594
- child_notify(child: Gtk.Widget, child_property: string | null): void
6610
+ child_notify(child: Gtk.Widget, child_property: string): void
6595
6611
 
6596
6612
  // Overloads of child_notify
6597
6613
 
@@ -6605,7 +6621,7 @@ interface EditorProperty extends Atk.ImplementorIface, Editable, Gtk.Buildable,
6605
6621
  * Also see gtk_container_child_notify().
6606
6622
  * @param child_property the name of a child property installed on the class of `widget’`s parent
6607
6623
  */
6608
- child_notify(child_property: string | null): void
6624
+ child_notify(child_property: string): void
6609
6625
 
6610
6626
  // Own virtual methods of Gladeui-2.0.Gladeui.EditorProperty
6611
6627
 
@@ -6824,7 +6840,7 @@ class EditorProperty extends Gtk.Box {
6824
6840
  * @returns %TRUE if OK was selected.
6825
6841
  */
6826
6842
  static show_i18n_dialog(parent: Gtk.Widget, text: string | null, context: string | null, comment: string | null, translatable: boolean): boolean
6827
- 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
6828
6844
  static show_resource_dialog(project: Project, parent: Gtk.Widget, filename: string | null): boolean
6829
6845
  }
6830
6846
 
@@ -6859,7 +6875,7 @@ interface EditorSkeleton extends Atk.ImplementorIface, Editable, Gtk.Buildable,
6859
6875
  * Also see gtk_container_child_notify().
6860
6876
  * @param child_property the name of a child property installed on the class of `widget’`s parent
6861
6877
  */
6862
- child_notify(child_property: string | null): void
6878
+ child_notify(child_property: string): void
6863
6879
  /**
6864
6880
  * Emits a #GtkWidget::child-notify signal for the
6865
6881
  * [child property][child-properties]
@@ -6871,7 +6887,7 @@ interface EditorSkeleton extends Atk.ImplementorIface, Editable, Gtk.Buildable,
6871
6887
  * @param child the child widget
6872
6888
  * @param child_property the name of a child property installed on the class of `container`
6873
6889
  */
6874
- child_notify(child: Gtk.Widget, child_property: string | null): void
6890
+ child_notify(child: Gtk.Widget, child_property: string): void
6875
6891
 
6876
6892
  // Overloads of child_notify
6877
6893
 
@@ -6885,7 +6901,7 @@ interface EditorSkeleton extends Atk.ImplementorIface, Editable, Gtk.Buildable,
6885
6901
  * Also see gtk_container_child_notify().
6886
6902
  * @param child_property the name of a child property installed on the class of `widget’`s parent
6887
6903
  */
6888
- child_notify(child_property: string | null): void
6904
+ child_notify(child_property: string): void
6889
6905
 
6890
6906
  // Class property signals of Gladeui-2.0.Gladeui.EditorSkeleton
6891
6907
 
@@ -7068,6 +7084,7 @@ module EditorTable {
7068
7084
  // Own constructor properties of Gladeui-2.0.Gladeui.EditorTable
7069
7085
 
7070
7086
  page_type?: EditorPageType | null
7087
+ pageType?: EditorPageType | null
7071
7088
  }
7072
7089
 
7073
7090
  }
@@ -7077,6 +7094,7 @@ interface EditorTable extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk
7077
7094
  // Own properties of Gladeui-2.0.Gladeui.EditorTable
7078
7095
 
7079
7096
  readonly page_type: EditorPageType
7097
+ readonly pageType: EditorPageType
7080
7098
 
7081
7099
  // Own fields of Gladeui-2.0.Gladeui.EditorTable
7082
7100
 
@@ -7094,7 +7112,7 @@ interface EditorTable extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk
7094
7112
  * Also see gtk_container_child_notify().
7095
7113
  * @param child_property the name of a child property installed on the class of `widget’`s parent
7096
7114
  */
7097
- child_notify(child_property: string | null): void
7115
+ child_notify(child_property: string): void
7098
7116
  /**
7099
7117
  * Emits a #GtkWidget::child-notify signal for the
7100
7118
  * [child property][child-properties]
@@ -7106,7 +7124,7 @@ interface EditorTable extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk
7106
7124
  * @param child the child widget
7107
7125
  * @param child_property the name of a child property installed on the class of `container`
7108
7126
  */
7109
- child_notify(child: Gtk.Widget, child_property: string | null): void
7127
+ child_notify(child: Gtk.Widget, child_property: string): void
7110
7128
 
7111
7129
  // Overloads of child_notify
7112
7130
 
@@ -7120,7 +7138,7 @@ interface EditorTable extends Atk.ImplementorIface, Editable, Gtk.Buildable, Gtk
7120
7138
  * Also see gtk_container_child_notify().
7121
7139
  * @param child_property the name of a child property installed on the class of `widget’`s parent
7122
7140
  */
7123
- child_notify(child_property: string | null): void
7141
+ child_notify(child_property: string): void
7124
7142
 
7125
7143
  // Class property signals of Gladeui-2.0.Gladeui.EditorTable
7126
7144
 
@@ -7387,7 +7405,7 @@ interface Inspector extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
7387
7405
  * @param child the child widget
7388
7406
  * @param child_property the name of a child property installed on the class of `container`
7389
7407
  */
7390
- child_notify(child: Gtk.Widget, child_property: string | null): void
7408
+ child_notify(child: Gtk.Widget, child_property: string): void
7391
7409
 
7392
7410
  // Overloads of child_notify
7393
7411
 
@@ -7401,7 +7419,7 @@ interface Inspector extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
7401
7419
  * Also see gtk_container_child_notify().
7402
7420
  * @param child_property the name of a child property installed on the class of `widget’`s parent
7403
7421
  */
7404
- child_notify(child_property: string | null): void
7422
+ child_notify(child_property: string): void
7405
7423
  /**
7406
7424
  * Emits a #GtkWidget::child-notify signal for the
7407
7425
  * [child property][child-properties] `child_property`
@@ -7412,7 +7430,7 @@ interface Inspector extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
7412
7430
  * Also see gtk_container_child_notify().
7413
7431
  * @param child_property the name of a child property installed on the class of `widget’`s parent
7414
7432
  */
7415
- child_notify(child_property: string | null): void
7433
+ child_notify(child_property: string): void
7416
7434
 
7417
7435
  // Own virtual methods of Gladeui-2.0.Gladeui.Inspector
7418
7436
 
@@ -7664,8 +7682,21 @@ interface NamedIconChooserDialog extends Atk.ImplementorIface, Gtk.Buildable {
7664
7682
 
7665
7683
  get_context(): string | null
7666
7684
  get_icon_name(): string | null
7667
- set_context(context: string | null): boolean
7668
- 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
7669
7700
 
7670
7701
  // Conflicting methods
7671
7702
 
@@ -7702,7 +7733,7 @@ interface NamedIconChooserDialog extends Atk.ImplementorIface, Gtk.Buildable {
7702
7733
  * @param child the child widget
7703
7734
  * @param child_property the name of a child property installed on the class of `container`
7704
7735
  */
7705
- child_notify(child: Gtk.Widget, child_property: string | null): void
7736
+ child_notify(child: Gtk.Widget, child_property: string): void
7706
7737
 
7707
7738
  // Overloads of child_notify
7708
7739
 
@@ -7716,7 +7747,7 @@ interface NamedIconChooserDialog extends Atk.ImplementorIface, Gtk.Buildable {
7716
7747
  * Also see gtk_container_child_notify().
7717
7748
  * @param child_property the name of a child property installed on the class of `widget’`s parent
7718
7749
  */
7719
- child_notify(child_property: string | null): void
7750
+ child_notify(child_property: string): void
7720
7751
  /**
7721
7752
  * Emits a #GtkWidget::child-notify signal for the
7722
7753
  * [child property][child-properties] `child_property`
@@ -7727,7 +7758,7 @@ interface NamedIconChooserDialog extends Atk.ImplementorIface, Gtk.Buildable {
7727
7758
  * Also see gtk_container_child_notify().
7728
7759
  * @param child_property the name of a child property installed on the class of `widget’`s parent
7729
7760
  */
7730
- child_notify(child_property: string | null): void
7761
+ child_notify(child_property: string): void
7731
7762
 
7732
7763
  // Own virtual methods of Gladeui-2.0.Gladeui.NamedIconChooserDialog
7733
7764
 
@@ -8018,6 +8049,9 @@ module Palette {
8018
8049
  project?: Project | null
8019
8050
  show_selector_button?: boolean | null
8020
8051
  use_small_item_icons?: boolean | null
8052
+ itemAppearance?: ItemAppearance | null
8053
+ showSelectorButton?: boolean | null
8054
+ useSmallItemIcons?: boolean | null
8021
8055
  }
8022
8056
 
8023
8057
  }
@@ -8027,9 +8061,12 @@ interface Palette extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
8027
8061
  // Own properties of Gladeui-2.0.Gladeui.Palette
8028
8062
 
8029
8063
  item_appearance: ItemAppearance
8064
+ itemAppearance: ItemAppearance
8030
8065
  project: Project
8031
8066
  show_selector_button: boolean
8067
+ showSelectorButton: boolean
8032
8068
  use_small_item_icons: boolean
8069
+ useSmallItemIcons: boolean
8033
8070
 
8034
8071
  // Own fields of Gladeui-2.0.Gladeui.Palette
8035
8072
 
@@ -8073,7 +8110,7 @@ interface Palette extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
8073
8110
  * @param child the child widget
8074
8111
  * @param child_property the name of a child property installed on the class of `container`
8075
8112
  */
8076
- child_notify(child: Gtk.Widget, child_property: string | null): void
8113
+ child_notify(child: Gtk.Widget, child_property: string): void
8077
8114
 
8078
8115
  // Overloads of child_notify
8079
8116
 
@@ -8087,7 +8124,7 @@ interface Palette extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
8087
8124
  * Also see gtk_container_child_notify().
8088
8125
  * @param child_property the name of a child property installed on the class of `widget’`s parent
8089
8126
  */
8090
- child_notify(child_property: string | null): void
8127
+ child_notify(child_property: string): void
8091
8128
  /**
8092
8129
  * Emits a #GtkWidget::child-notify signal for the
8093
8130
  * [child property][child-properties] `child_property`
@@ -8098,7 +8135,7 @@ interface Palette extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
8098
8135
  * Also see gtk_container_child_notify().
8099
8136
  * @param child_property the name of a child property installed on the class of `widget’`s parent
8100
8137
  */
8101
- child_notify(child_property: string | null): void
8138
+ child_notify(child_property: string): void
8102
8139
 
8103
8140
  // Own virtual methods of Gladeui-2.0.Gladeui.Palette
8104
8141
 
@@ -8617,6 +8654,9 @@ module Project {
8617
8654
  resource_path?: string | null
8618
8655
  template?: Widget | null
8619
8656
  translation_domain?: string | null
8657
+ cssProviderPath?: string | null
8658
+ resourcePath?: string | null
8659
+ translationDomain?: string | null
8620
8660
  }
8621
8661
 
8622
8662
  }
@@ -8626,16 +8666,23 @@ interface Project extends Gtk.TreeDragSource, Gtk.TreeModel {
8626
8666
  // Own properties of Gladeui-2.0.Gladeui.Project
8627
8667
 
8628
8668
  readonly add_item: WidgetAdaptor
8669
+ readonly addItem: WidgetAdaptor
8629
8670
  css_provider_path: string | null
8671
+ cssProviderPath: string | null
8630
8672
  readonly has_selection: boolean
8673
+ readonly hasSelection: boolean
8631
8674
  license: string | null
8632
8675
  readonly modified: boolean
8633
8676
  readonly path: string | null
8634
8677
  readonly pointer_mode: PointerMode
8678
+ readonly pointerMode: PointerMode
8635
8679
  readonly read_only: boolean
8680
+ readonly readOnly: boolean
8636
8681
  resource_path: string | null
8682
+ resourcePath: string | null
8637
8683
  template: Widget
8638
8684
  translation_domain: string | null
8685
+ translationDomain: string | null
8639
8686
 
8640
8687
  // Own fields of Gladeui-2.0.Gladeui.Project
8641
8688
 
@@ -8662,7 +8709,7 @@ interface Project extends Gtk.TreeDragSource, Gtk.TreeModel {
8662
8709
  * @param name base name of the widget to create
8663
8710
  * @returns whether the name is available or not.
8664
8711
  */
8665
- available_widget_name(widget: Widget, name: string | null): boolean
8712
+ available_widget_name(widget: Widget, name: string): boolean
8666
8713
  /**
8667
8714
  * Backup the last file which `project` has saved to
8668
8715
  * or was loaded from.
@@ -8676,7 +8723,7 @@ interface Project extends Gtk.TreeDragSource, Gtk.TreeModel {
8676
8723
  * @param path location to save glade file
8677
8724
  * @returns %TRUE on success, %FALSE on failure
8678
8725
  */
8679
- backup(path: string | null): boolean
8726
+ backup(path: string): boolean
8680
8727
  cancel_load(): void
8681
8728
  check_reordered(parent: Widget, old_order: GObject.Object[]): void
8682
8729
  command_cut(): void
@@ -8685,10 +8732,10 @@ interface Project extends Gtk.TreeDragSource, Gtk.TreeModel {
8685
8732
  copy_selection(): void
8686
8733
  display_dependencies(): string | null
8687
8734
  get_add_item(): WidgetAdaptor
8688
- get_css_provider_path(): string | null
8735
+ get_css_provider_path(): string
8689
8736
  get_file_mtime(): number
8690
8737
  get_has_selection(): boolean
8691
- get_license(): string | null
8738
+ get_license(): string
8692
8739
  /**
8693
8740
  * Get's whether the project has been modified since it was last saved.
8694
8741
  * @returns %TRUE if the project has been modified since it was last saved
@@ -8696,7 +8743,7 @@ interface Project extends Gtk.TreeDragSource, Gtk.TreeModel {
8696
8743
  get_modified(): boolean
8697
8744
  get_name(): string | null
8698
8745
  get_objects(): GObject.Object[]
8699
- get_path(): string | null
8746
+ get_path(): string
8700
8747
 
8701
8748
  // Overloads of get_path
8702
8749
 
@@ -8714,27 +8761,27 @@ interface Project extends Gtk.TreeDragSource, Gtk.TreeModel {
8714
8761
  * @returns TRUE if project is read only
8715
8762
  */
8716
8763
  get_readonly(): boolean
8717
- get_resource_path(): string | null
8764
+ get_resource_path(): string
8718
8765
  /**
8719
8766
  * Fetches the target version of the `project` for `catalog`.
8720
8767
  * @param catalog the name of the catalog `project` includes
8721
8768
  * @param major the return location for the target major version
8722
8769
  * @param minor the return location for the target minor version
8723
8770
  */
8724
- get_target_version(catalog: string | null, major: number, minor: number): void
8771
+ get_target_version(catalog: string, major: number, minor: number): void
8725
8772
  get_template(): Widget
8726
- get_translation_domain(): string | null
8773
+ get_translation_domain(): string
8727
8774
  /**
8728
8775
  * Searches under `ancestor` in `project` looking for a #GladeWidget named `name`.
8729
8776
  * @param name The user visible name of the widget we are looking for
8730
8777
  * @returns a pointer to the widget, %NULL if the widget does not exist
8731
8778
  */
8732
- get_widget_by_name(name: string | null): Widget | null
8779
+ get_widget_by_name(name: string): Widget | null
8733
8780
  has_object(object: GObject.Object): boolean
8734
8781
  is_loading(): boolean
8735
8782
  is_selected(object: GObject.Object): boolean
8736
8783
  load_cancelled(): boolean
8737
- load_from_file(path: string | null): boolean
8784
+ load_from_file(path: string): boolean
8738
8785
  /**
8739
8786
  * Creates a new name for a widget that doesn't collide with any of the names
8740
8787
  * already in `project`. This name will start with `base_name`.
@@ -8744,7 +8791,7 @@ interface Project extends Gtk.TreeDragSource, Gtk.TreeModel {
8744
8791
  * @param base_name base name of the widget to create
8745
8792
  * @returns a string containing the new name, %NULL if there is not enough memory for this string
8746
8793
  */
8747
- new_widget_name(widget: Widget, base_name: string | null): string | null
8794
+ new_widget_name(widget: Widget, base_name: string): string | null
8748
8795
  /**
8749
8796
  * Gets the next redo item on `project'`s command stack.
8750
8797
  * @returns the #GladeCommand
@@ -8800,20 +8847,20 @@ interface Project extends Gtk.TreeDragSource, Gtk.TreeModel {
8800
8847
  * @param resource The resource basename
8801
8848
  * @returns A newly allocated string holding the full path to the resource.
8802
8849
  */
8803
- resource_fullpath(resource: string | null): string | null
8850
+ resource_fullpath(resource: string): string | null
8804
8851
  /**
8805
8852
  * Saves `project` to the given path.
8806
8853
  * @param path location to save glade file
8807
8854
  * @returns %TRUE on success, %FALSE on failure
8808
8855
  */
8809
- save(path: string | null): boolean
8856
+ save(path: string): boolean
8810
8857
  /**
8811
8858
  * Saves `project` to the given path.
8812
8859
  * @param path location to save glade file
8813
8860
  * @param flags the #GladeVerifyFlags to warn about
8814
8861
  * @returns %TRUE on success, %FALSE on failure
8815
8862
  */
8816
- save_verify(path: string | null, flags: VerifyFlags): boolean
8863
+ save_verify(path: string, flags: VerifyFlags): boolean
8817
8864
  /**
8818
8865
  * Adds `object` to the selection chain of `project`
8819
8866
  *
@@ -8855,24 +8902,24 @@ interface Project extends Gtk.TreeDragSource, Gtk.TreeModel {
8855
8902
  * Set the custom CSS provider path to use in `project`
8856
8903
  * @param path a CSS file path
8857
8904
  */
8858
- set_css_provider_path(path: string | null): void
8859
- set_license(license: string | null): void
8905
+ set_css_provider_path(path: string): void
8906
+ set_license(license: string): void
8860
8907
  set_pointer_mode(mode: PointerMode): void
8861
- set_resource_path(path: string | null): void
8862
- 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
8863
8910
  set_template(widget: Widget): void
8864
8911
  /**
8865
8912
  * Set the project translation domain.
8866
8913
  * @param domain the translation domain
8867
8914
  */
8868
- set_translation_domain(domain: string | null): void
8915
+ set_translation_domain(domain: string): void
8869
8916
  /**
8870
8917
  * Sets `name` on `widget` in `project,` if `name` is not
8871
8918
  * available then a new name will be used.
8872
8919
  * @param widget the #GladeWidget to set a name on
8873
8920
  * @param name the name to set.
8874
8921
  */
8875
- set_widget_name(widget: Widget, name: string | null): void
8922
+ set_widget_name(widget: Widget, name: string): void
8876
8923
  toplevels(): Gtk.Widget[]
8877
8924
  /**
8878
8925
  * Undoes a #GladeCommand in this project.
@@ -9074,7 +9121,7 @@ class Project extends GObject.Object {
9074
9121
  * @param path the path of the project to load
9075
9122
  * @returns a new #GladeProject for the opened project on success, %NULL on failure
9076
9123
  */
9077
- static load(path: string | null): Project | null
9124
+ static load(path: string): Project | null
9078
9125
  static verify_property(property: Property): void
9079
9126
  static verify_signal(widget: Widget, signal: Signal): void
9080
9127
  }
@@ -9111,6 +9158,9 @@ module Property {
9111
9158
  i18n_translatable?: boolean | null
9112
9159
  precision?: number | null
9113
9160
  sensitive?: boolean | null
9161
+ i18nComment?: string | null
9162
+ i18nContext?: string | null
9163
+ i18nTranslatable?: boolean | null
9114
9164
  }
9115
9165
 
9116
9166
  }
@@ -9122,8 +9172,11 @@ interface Property {
9122
9172
  readonly "class": any
9123
9173
  enabled: boolean
9124
9174
  i18n_comment: string | null
9175
+ i18nComment: string | null
9125
9176
  i18n_context: string | null
9177
+ i18nContext: string | null
9126
9178
  i18n_translatable: boolean
9179
+ i18nTranslatable: boolean
9127
9180
  precision: number
9128
9181
  sensitive: boolean
9129
9182
  readonly state: number
@@ -9160,18 +9213,18 @@ interface Property {
9160
9213
  get_save_always(): boolean
9161
9214
  get_sensitive(): boolean
9162
9215
  get_state(): PropertyState
9163
- get_support_warning(): string | null
9216
+ get_support_warning(): string
9164
9217
  /**
9165
9218
  * Retrieve the property value
9166
9219
  * @param value a #GValue
9167
9220
  */
9168
9221
  get_value(value: any): void
9169
9222
  get_widget(): Widget
9170
- i18n_get_comment(): string | null
9171
- i18n_get_context(): string | null
9223
+ i18n_get_comment(): string
9224
+ i18n_get_context(): string
9172
9225
  i18n_get_translatable(): boolean
9173
- i18n_set_comment(str: string | null): void
9174
- i18n_set_context(str: string | null): void
9226
+ i18n_set_comment(str: string): void
9227
+ i18n_set_context(str: string): void
9175
9228
  i18n_set_translatable(translatable: boolean): void
9176
9229
  inline_value(): any
9177
9230
  /**
@@ -9216,8 +9269,8 @@ interface Property {
9216
9269
  * @param setting the value to set
9217
9270
  */
9218
9271
  set_save_always(setting: boolean): void
9219
- set_sensitive(sensitive: boolean, reason: string | null): void
9220
- 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
9221
9274
  /**
9222
9275
  * Sets the property's value
9223
9276
  * @param value a #GValue
@@ -9264,7 +9317,7 @@ interface Property {
9264
9317
  * @virtual
9265
9318
  */
9266
9319
  vfunc_sync(): void
9267
- 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
9268
9321
  vfunc_value_changed(old_value: any, new_value: any): void
9269
9322
 
9270
9323
  // Own signals of Gladeui-2.0.Gladeui.Property
@@ -9360,6 +9413,10 @@ module PropertyLabel {
9360
9413
  packing?: boolean | null
9361
9414
  property?: Property | null
9362
9415
  property_name?: string | null
9416
+ appendColon?: boolean | null
9417
+ customText?: string | null
9418
+ customTooltip?: string | null
9419
+ propertyName?: string | null
9363
9420
  }
9364
9421
 
9365
9422
  }
@@ -9369,17 +9426,21 @@ interface PropertyLabel extends Atk.ImplementorIface, Editable, Gtk.Buildable {
9369
9426
  // Own properties of Gladeui-2.0.Gladeui.PropertyLabel
9370
9427
 
9371
9428
  append_colon: boolean
9429
+ appendColon: boolean
9372
9430
  custom_text: string | null
9431
+ customText: string | null
9373
9432
  custom_tooltip: string | null
9433
+ customTooltip: string | null
9374
9434
  packing: boolean
9375
9435
  property: Property
9376
9436
  property_name: string | null
9437
+ propertyName: string | null
9377
9438
 
9378
9439
  // Owm methods of Gladeui-2.0.Gladeui.PropertyLabel
9379
9440
 
9380
9441
  get_append_colon(): boolean
9381
- get_custom_text(): string | null
9382
- get_custom_tooltip(): string | null
9442
+ get_custom_text(): string
9443
+ get_custom_tooltip(): string
9383
9444
  get_packing(): boolean
9384
9445
  get_property(): Property
9385
9446
 
@@ -9405,11 +9466,11 @@ interface PropertyLabel extends Atk.ImplementorIface, Editable, Gtk.Buildable {
9405
9466
  * @param property_name the name of the property to get
9406
9467
  * @param value return location for the property value
9407
9468
  */
9408
- get_property(property_name: string | null, value: any): void
9409
- get_property_name(): string | null
9469
+ get_property(property_name: string, value: any): void
9470
+ get_property_name(): string
9410
9471
  set_append_colon(append_colon: boolean): void
9411
- set_custom_text(custom_text: string | null): void
9412
- set_custom_tooltip(custom_tooltip: string | null): void
9472
+ set_custom_text(custom_text: string): void
9473
+ set_custom_tooltip(custom_tooltip: string): void
9413
9474
  set_packing(packing: boolean): void
9414
9475
  set_property(property: Property): void
9415
9476
 
@@ -9420,8 +9481,8 @@ interface PropertyLabel extends Atk.ImplementorIface, Editable, Gtk.Buildable {
9420
9481
  * @param property_name the name of the property to set
9421
9482
  * @param value the value
9422
9483
  */
9423
- set_property(property_name: string | null, value: any): void
9424
- 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
9425
9486
 
9426
9487
  // Conflicting methods
9427
9488
 
@@ -9435,7 +9496,7 @@ interface PropertyLabel extends Atk.ImplementorIface, Editable, Gtk.Buildable {
9435
9496
  * Also see gtk_container_child_notify().
9436
9497
  * @param child_property the name of a child property installed on the class of `widget’`s parent
9437
9498
  */
9438
- child_notify(child_property: string | null): void
9499
+ child_notify(child_property: string): void
9439
9500
  /**
9440
9501
  * Emits a #GtkWidget::child-notify signal for the
9441
9502
  * [child property][child-properties]
@@ -9447,7 +9508,7 @@ interface PropertyLabel extends Atk.ImplementorIface, Editable, Gtk.Buildable {
9447
9508
  * @param child the child widget
9448
9509
  * @param child_property the name of a child property installed on the class of `container`
9449
9510
  */
9450
- child_notify(child: Gtk.Widget, child_property: string | null): void
9511
+ child_notify(child: Gtk.Widget, child_property: string): void
9451
9512
 
9452
9513
  // Overloads of child_notify
9453
9514
 
@@ -9461,7 +9522,7 @@ interface PropertyLabel extends Atk.ImplementorIface, Editable, Gtk.Buildable {
9461
9522
  * Also see gtk_container_child_notify().
9462
9523
  * @param child_property the name of a child property installed on the class of `widget’`s parent
9463
9524
  */
9464
- child_notify(child_property: string | null): void
9525
+ child_notify(child_property: string): void
9465
9526
 
9466
9527
  // Class property signals of Gladeui-2.0.Gladeui.PropertyLabel
9467
9528
 
@@ -9667,6 +9728,11 @@ module PropertyShell {
9667
9728
  packing?: boolean | null
9668
9729
  property_name?: string | null
9669
9730
  use_command?: boolean | null
9731
+ customText?: string | null
9732
+ disableCheck?: boolean | null
9733
+ editorType?: string | null
9734
+ propertyName?: string | null
9735
+ useCommand?: boolean | null
9670
9736
  }
9671
9737
 
9672
9738
  }
@@ -9676,23 +9742,28 @@ interface PropertyShell extends Atk.ImplementorIface, Editable, Gtk.Buildable, G
9676
9742
  // Own properties of Gladeui-2.0.Gladeui.PropertyShell
9677
9743
 
9678
9744
  custom_text: string | null
9745
+ customText: string | null
9679
9746
  disable_check: boolean
9747
+ disableCheck: boolean
9680
9748
  readonly editor_type: string | null
9749
+ readonly editorType: string | null
9681
9750
  packing: boolean
9682
9751
  property_name: string | null
9752
+ propertyName: string | null
9683
9753
  use_command: boolean
9754
+ useCommand: boolean
9684
9755
 
9685
9756
  // Owm methods of Gladeui-2.0.Gladeui.PropertyShell
9686
9757
 
9687
- get_custom_text(): string | null
9758
+ get_custom_text(): string
9688
9759
  get_disable_check(): boolean
9689
9760
  get_packing(): boolean
9690
- get_property_name(): string | null
9761
+ get_property_name(): string
9691
9762
  get_use_command(): boolean
9692
- set_custom_text(custom_text: string | null): void
9763
+ set_custom_text(custom_text: string): void
9693
9764
  set_disable_check(disable_check: boolean): void
9694
9765
  set_packing(packing: boolean): void
9695
- set_property_name(property_name: string | null): void
9766
+ set_property_name(property_name: string): void
9696
9767
  set_use_command(use_command: boolean): void
9697
9768
 
9698
9769
  // Conflicting methods
@@ -9707,7 +9778,7 @@ interface PropertyShell extends Atk.ImplementorIface, Editable, Gtk.Buildable, G
9707
9778
  * Also see gtk_container_child_notify().
9708
9779
  * @param child_property the name of a child property installed on the class of `widget’`s parent
9709
9780
  */
9710
- child_notify(child_property: string | null): void
9781
+ child_notify(child_property: string): void
9711
9782
  /**
9712
9783
  * Emits a #GtkWidget::child-notify signal for the
9713
9784
  * [child property][child-properties]
@@ -9719,7 +9790,7 @@ interface PropertyShell extends Atk.ImplementorIface, Editable, Gtk.Buildable, G
9719
9790
  * @param child the child widget
9720
9791
  * @param child_property the name of a child property installed on the class of `container`
9721
9792
  */
9722
- child_notify(child: Gtk.Widget, child_property: string | null): void
9793
+ child_notify(child: Gtk.Widget, child_property: string): void
9723
9794
 
9724
9795
  // Overloads of child_notify
9725
9796
 
@@ -9733,7 +9804,7 @@ interface PropertyShell extends Atk.ImplementorIface, Editable, Gtk.Buildable, G
9733
9804
  * Also see gtk_container_child_notify().
9734
9805
  * @param child_property the name of a child property installed on the class of `widget’`s parent
9735
9806
  */
9736
- child_notify(child_property: string | null): void
9807
+ child_notify(child_property: string): void
9737
9808
 
9738
9809
  // Own signals of Gladeui-2.0.Gladeui.PropertyShell
9739
9810
 
@@ -9949,6 +10020,7 @@ module Signal {
9949
10020
  support_warning?: string | null
9950
10021
  swapped?: boolean | null
9951
10022
  userdata?: string | null
10023
+ supportWarning?: string | null
9952
10024
  }
9953
10025
 
9954
10026
  }
@@ -9962,6 +10034,7 @@ interface Signal {
9962
10034
  detail: string | null
9963
10035
  handler: string | null
9964
10036
  support_warning: string | null
10037
+ supportWarning: string | null
9965
10038
  swapped: boolean
9966
10039
  userdata: string | null
9967
10040
 
@@ -9989,18 +10062,18 @@ interface Signal {
9989
10062
  * Get the signal detail.
9990
10063
  * @returns the detail of the signal
9991
10064
  */
9992
- get_detail(): string | null
10065
+ get_detail(): string
9993
10066
  /**
9994
10067
  * Get the signal handler.
9995
10068
  * @returns the handler of the signal
9996
10069
  */
9997
- get_handler(): string | null
10070
+ get_handler(): string
9998
10071
  /**
9999
10072
  * Get the name of the signal from the signal definition.
10000
10073
  * @returns The name of the signal
10001
10074
  */
10002
- get_name(): string | null
10003
- get_support_warning(): string | null
10075
+ get_name(): string
10076
+ get_support_warning(): string
10004
10077
  /**
10005
10078
  * Get whether the instance and userdata arguments should be swapped.
10006
10079
  * @returns whether the instance and userdata arguments should be swapped
@@ -10010,7 +10083,7 @@ interface Signal {
10010
10083
  * Get the userdata handler.
10011
10084
  * @returns the userdata of the signal
10012
10085
  */
10013
- get_userdata(): string | null
10086
+ get_userdata(): string
10014
10087
  /**
10015
10088
  * Set whether the handler should be called before or after the default handler
10016
10089
  * of the signal.
@@ -10021,13 +10094,13 @@ interface Signal {
10021
10094
  * Set the detail of the signal.
10022
10095
  * @param detail the detail of the signal
10023
10096
  */
10024
- set_detail(detail: string | null): void
10097
+ set_detail(detail: string): void
10025
10098
  /**
10026
10099
  * Set the handler of the signal.
10027
10100
  * @param handler the handler of the signal
10028
10101
  */
10029
- set_handler(handler: string | null): void
10030
- set_support_warning(support_warning: string | null): void
10102
+ set_handler(handler: string): void
10103
+ set_support_warning(support_warning: string): void
10031
10104
  /**
10032
10105
  * Set whether the instance and userdata arguments should be swapped.
10033
10106
  * @param swapped if the instance and userdata arguments should be swapped
@@ -10037,7 +10110,7 @@ interface Signal {
10037
10110
  * Set the userdata of the signal.
10038
10111
  * @param userdata the userdata of the signal
10039
10112
  */
10040
- set_userdata(userdata: string | null): void
10113
+ set_userdata(userdata: string): void
10041
10114
  /**
10042
10115
  * Writes `signal` to `node`
10043
10116
  * @param context A #GladeXmlContext
@@ -10094,7 +10167,7 @@ class Signal extends GObject.Object {
10094
10167
  * @param swapped whether the handler's user data should be swapped with the emitter instance.
10095
10168
  * @returns the new #GladeSignal
10096
10169
  */
10097
- 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)
10098
10171
  /**
10099
10172
  * Creates a new #GladeSignal with the given parameters.
10100
10173
  * @constructor
@@ -10105,7 +10178,7 @@ class Signal extends GObject.Object {
10105
10178
  * @param swapped whether the handler's user data should be swapped with the emitter instance.
10106
10179
  * @returns the new #GladeSignal
10107
10180
  */
10108
- 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
10109
10182
  _init(config?: Signal.ConstructorProperties): void
10110
10183
  /**
10111
10184
  * Reads and creates a ner #GladeSignal based on `node`
@@ -10149,6 +10222,7 @@ module SignalEditor {
10149
10222
  // Own constructor properties of Gladeui-2.0.Gladeui.SignalEditor
10150
10223
 
10151
10224
  glade_widget?: Gtk.TreeModel | null
10225
+ gladeWidget?: Gtk.TreeModel | null
10152
10226
  }
10153
10227
 
10154
10228
  }
@@ -10158,6 +10232,7 @@ interface SignalEditor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientab
10158
10232
  // Own properties of Gladeui-2.0.Gladeui.SignalEditor
10159
10233
 
10160
10234
  glade_widget: Gtk.TreeModel
10235
+ gladeWidget: Gtk.TreeModel
10161
10236
 
10162
10237
  // Own fields of Gladeui-2.0.Gladeui.SignalEditor
10163
10238
 
@@ -10194,7 +10269,7 @@ interface SignalEditor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientab
10194
10269
  * @param child the child widget
10195
10270
  * @param child_property the name of a child property installed on the class of `container`
10196
10271
  */
10197
- child_notify(child: Gtk.Widget, child_property: string | null): void
10272
+ child_notify(child: Gtk.Widget, child_property: string): void
10198
10273
 
10199
10274
  // Overloads of child_notify
10200
10275
 
@@ -10208,7 +10283,7 @@ interface SignalEditor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientab
10208
10283
  * Also see gtk_container_child_notify().
10209
10284
  * @param child_property the name of a child property installed on the class of `widget’`s parent
10210
10285
  */
10211
- child_notify(child_property: string | null): void
10286
+ child_notify(child_property: string): void
10212
10287
  /**
10213
10288
  * Emits a #GtkWidget::child-notify signal for the
10214
10289
  * [child property][child-properties] `child_property`
@@ -10219,7 +10294,7 @@ interface SignalEditor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientab
10219
10294
  * Also see gtk_container_child_notify().
10220
10295
  * @param child_property the name of a child property installed on the class of `widget’`s parent
10221
10296
  */
10222
- child_notify(child_property: string | null): void
10297
+ child_notify(child_property: string): void
10223
10298
 
10224
10299
  // Own signals of Gladeui-2.0.Gladeui.SignalEditor
10225
10300
 
@@ -10544,6 +10619,10 @@ module Widget {
10544
10619
  template_exact?: boolean | null
10545
10620
  toplevel_height?: number | null
10546
10621
  toplevel_width?: number | null
10622
+ internalName?: string | null
10623
+ templateExact?: boolean | null
10624
+ toplevelHeight?: number | null
10625
+ toplevelWidth?: number | null
10547
10626
  }
10548
10627
 
10549
10628
  }
@@ -10557,6 +10636,7 @@ interface Widget {
10557
10636
  composite: boolean
10558
10637
  internal: string | null
10559
10638
  readonly internal_name: string | null
10639
+ readonly internalName: string | null
10560
10640
  name: string | null
10561
10641
  object: GObject.Object
10562
10642
  parent: Widget
@@ -10564,10 +10644,14 @@ interface Widget {
10564
10644
  readonly properties: any
10565
10645
  readonly reason: number
10566
10646
  readonly support_warning: string | null
10647
+ readonly supportWarning: string | null
10567
10648
  readonly template: Widget
10568
10649
  readonly template_exact: boolean
10650
+ readonly templateExact: boolean
10569
10651
  toplevel_height: number
10652
+ toplevelHeight: number
10570
10653
  toplevel_width: number
10654
+ toplevelWidth: number
10571
10655
  readonly visible: boolean
10572
10656
 
10573
10657
  // Own fields of Gladeui-2.0.Gladeui.Widget
@@ -10587,7 +10671,7 @@ interface Widget {
10587
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).
10588
10672
  * @returns a freshly created #GladeWidget wrapper object for the @internal_object of name @internal_name
10589
10673
  */
10590
- 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
10591
10675
  /**
10592
10676
  * Adds `child` to `parent` in a generic way for this #GladeWidget parent.
10593
10677
  * @param child the #GladeWidget to add
@@ -10630,14 +10714,14 @@ interface Widget {
10630
10714
  * @param property_name The id of the property
10631
10715
  * @param value The `GValue`
10632
10716
  */
10633
- child_get_property(child: Widget, property_name: string | null, value: any): void
10717
+ child_get_property(child: Widget, property_name: string, value: any): void
10634
10718
  /**
10635
10719
  * Sets `child'`s packing property identified by `property_name` to `value`.
10636
10720
  * @param child The #GladeWidget child
10637
10721
  * @param property_name The id of the property
10638
10722
  * @param value The `GValue`
10639
10723
  */
10640
- child_set_property(child: Widget, property_name: string | null, value: any): void
10724
+ child_set_property(child: Widget, property_name: string, value: any): void
10641
10725
  /**
10642
10726
  * Sets properties in `widget` based on the values of
10643
10727
  * matching properties in `template_widget`
@@ -10660,7 +10744,7 @@ interface Widget {
10660
10744
  * @param use_command Whether the undo/redo stack applies here.
10661
10745
  * @returns A newly created and connected GladeEditorProperty
10662
10746
  */
10663
- create_editor_property(property: string | null, packing: boolean, use_command: boolean): EditorProperty
10747
+ create_editor_property(property: string, packing: boolean, use_command: boolean): EditorProperty
10664
10748
  /**
10665
10749
  * Determines whether `widget` is somehow dependent on `other,` in
10666
10750
  * which case it should be serialized after `other`.
@@ -10703,7 +10787,7 @@ interface Widget {
10703
10787
  * @param name child name
10704
10788
  * @returns The child of widget or %NULL if it was not found.
10705
10789
  */
10706
- find_child(name: string | null): Widget | null
10790
+ find_child(name: string): Widget | null
10707
10791
  /**
10708
10792
  * Creates a user friendly name to describe project widgets
10709
10793
  * @returns A newly allocated string
@@ -10714,7 +10798,7 @@ interface Widget {
10714
10798
  * @param action_path a full action path including groups
10715
10799
  * @returns the action or %NULL if not found.
10716
10800
  */
10717
- get_action(action_path: string | null): WidgetAction | null
10801
+ get_action(action_path: string): WidgetAction | null
10718
10802
  get_actions(): WidgetAction[]
10719
10803
  get_adaptor(): WidgetAdaptor
10720
10804
  /**
@@ -10722,8 +10806,8 @@ interface Widget {
10722
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>
10723
10807
  */
10724
10808
  get_children(): GObject.Object[]
10725
- get_display_name(): string | null
10726
- get_internal(): string | null
10809
+ get_display_name(): string
10810
+ get_internal(): string
10727
10811
  /**
10728
10812
  * Checks if `widget` is a composite template to be used
10729
10813
  * with gtk_widget_class_set_template().
@@ -10736,23 +10820,23 @@ interface Widget {
10736
10820
  * @returns a #GladeWidget or %NULL if none is locked
10737
10821
  */
10738
10822
  get_locker(): Widget | null
10739
- get_name(): string | null
10823
+ get_name(): string
10740
10824
  get_object(): GObject.Object
10741
10825
  /**
10742
10826
  * Returns a #GladeWidgetAction object indentified by `action_path`.
10743
10827
  * @param action_path a full action path including groups
10744
10828
  * @returns the action or %NULL if not found.
10745
10829
  */
10746
- get_pack_action(action_path: string | null): WidgetAction | null
10830
+ get_pack_action(action_path: string): WidgetAction | null
10747
10831
  get_pack_actions(): WidgetAction[]
10748
- get_pack_property(id_property: string | null): Property | null
10832
+ get_pack_property(id_property: string): Property | null
10749
10833
  get_packing_properties(): Property[]
10750
10834
  get_parent(): Widget
10751
10835
  get_parentless_reffed_widgets(): Property[]
10752
10836
  get_parentless_widget_ref(): Property
10753
10837
  get_project(): Project
10754
10838
  get_properties(): Property[]
10755
- get_property(id_property: string | null): Property | null
10839
+ get_property(id_property: string): Property | null
10756
10840
 
10757
10841
  // Overloads of get_property
10758
10842
 
@@ -10776,7 +10860,7 @@ interface Widget {
10776
10860
  * @param property_name the name of the property to get
10777
10861
  * @param value return location for the property value
10778
10862
  */
10779
- get_property(property_name: string | null, value: any): void
10863
+ get_property(property_name: string, value: any): void
10780
10864
  /**
10781
10865
  * Compiles a list of #GladeSignal elements
10782
10866
  * @returns a newly allocated #GList of #GladeSignal, the caller must call g_list_free() to free the list.
@@ -10801,7 +10885,7 @@ interface Widget {
10801
10885
  is_ancestor(ancestor: Widget): boolean
10802
10886
  list_locked_widgets(): Widget[]
10803
10887
  list_prop_refs(): Property[]
10804
- list_signal_handlers(signal_name: string | null): Signal[]
10888
+ list_signal_handlers(signal_name: string): Signal[]
10805
10889
  /**
10806
10890
  * Sets `locked` to be in a locked up state
10807
10891
  * spoken for by `widget,` locked widgets cannot
@@ -10815,21 +10899,21 @@ interface Widget {
10815
10899
  * @param property_name The property identifier
10816
10900
  * @param value The #GValue
10817
10901
  */
10818
- object_get_property(property_name: string | null, value: any): void
10902
+ object_get_property(property_name: string, value: any): void
10819
10903
  /**
10820
10904
  * This function applies `value` to the property `property_name` on
10821
10905
  * the runtime object of `widget`.
10822
10906
  * @param property_name The property identifier
10823
10907
  * @param value The #GValue
10824
10908
  */
10825
- object_set_property(property_name: string | null, value: any): void
10826
- 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
10827
10911
  /**
10828
10912
  * Resets `id_property` in `widget'`s packing properties to it's default value
10829
10913
  * @param id_property a string naming a #GladeProperty
10830
10914
  * @returns whether @id_property was found or not.
10831
10915
  */
10832
- pack_property_reset(id_property: string | null): boolean
10916
+ pack_property_reset(id_property: string): boolean
10833
10917
  /**
10834
10918
  * Sets the enabled state of `id_property` in `widget'`s packing
10835
10919
  * properties; this is used for optional properties.
@@ -10837,7 +10921,7 @@ interface Widget {
10837
10921
  * @param enabled setting enabled or disabled
10838
10922
  * @returns whether @id_property was found or not.
10839
10923
  */
10840
- pack_property_set_enabled(id_property: string | null, enabled: boolean): boolean
10924
+ pack_property_set_enabled(id_property: string, enabled: boolean): boolean
10841
10925
  /**
10842
10926
  * Sets whether `id_property` in `widget` should be special cased
10843
10927
  * to always be saved regardless of its default value.
@@ -10848,7 +10932,7 @@ interface Widget {
10848
10932
  * @param setting the setting
10849
10933
  * @returns whether @id_property was found or not.
10850
10934
  */
10851
- pack_property_set_save_always(id_property: string | null, setting: boolean): boolean
10935
+ pack_property_set_save_always(id_property: string, setting: boolean): boolean
10852
10936
  /**
10853
10937
  * Sets the sensitivity of `id_property` in `widget'`s packing properties.
10854
10938
  * @param id_property a string naming a #GladeProperty
@@ -10856,7 +10940,7 @@ interface Widget {
10856
10940
  * @param reason a description of why the user cant edit this property which will be used as a tooltip
10857
10941
  * @returns whether @id_property was found or not.
10858
10942
  */
10859
- 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
10860
10944
  /**
10861
10945
  * Same as glade_widget_property_string() but for packing
10862
10946
  * properties.
@@ -10864,7 +10948,7 @@ interface Widget {
10864
10948
  * @param value the #GValue to print or %NULL
10865
10949
  * @returns A newly allocated string representing @id_property
10866
10950
  */
10867
- pack_property_string(id_property: string | null, value: any): string | null
10951
+ pack_property_string(id_property: string, value: any): string | null
10868
10952
  /**
10869
10953
  * Returns whether placeholders should be used
10870
10954
  * in operations concerning this parent & child.
@@ -10876,14 +10960,14 @@ interface Widget {
10876
10960
  * @returns whether to use placeholders for this relationship.
10877
10961
  */
10878
10962
  placeholder_relation(widget: Widget): boolean
10879
- property_default(id_property: string | null): boolean
10880
- property_original_default(id_property: string | null): boolean
10963
+ property_default(id_property: string): boolean
10964
+ property_original_default(id_property: string): boolean
10881
10965
  /**
10882
10966
  * Resets `id_property` in `widget` to it's default value
10883
10967
  * @param id_property a string naming a #GladeProperty
10884
10968
  * @returns whether @id_property was found or not.
10885
10969
  */
10886
- property_reset(id_property: string | null): boolean
10970
+ property_reset(id_property: string): boolean
10887
10971
  /**
10888
10972
  * Sets the enabled state of `id_property` in `widget;` this is
10889
10973
  * used for optional properties.
@@ -10891,7 +10975,7 @@ interface Widget {
10891
10975
  * @param enabled setting enabled or disabled
10892
10976
  * @returns whether @id_property was found or not.
10893
10977
  */
10894
- property_set_enabled(id_property: string | null, enabled: boolean): boolean
10978
+ property_set_enabled(id_property: string, enabled: boolean): boolean
10895
10979
  /**
10896
10980
  * Sets whether `id_property` in `widget` should be special cased
10897
10981
  * to always be saved regardless of its default value.
@@ -10902,7 +10986,7 @@ interface Widget {
10902
10986
  * @param setting the setting
10903
10987
  * @returns whether @id_property was found or not.
10904
10988
  */
10905
- property_set_save_always(id_property: string | null, setting: boolean): boolean
10989
+ property_set_save_always(id_property: string, setting: boolean): boolean
10906
10990
  /**
10907
10991
  * Sets the sensitivity of `id_property` in `widget`
10908
10992
  * @param id_property a string naming a #GladeProperty
@@ -10910,7 +10994,7 @@ interface Widget {
10910
10994
  * @param reason a description of why the user cant edit this property which will be used as a tooltip
10911
10995
  * @returns whether @id_property was found or not.
10912
10996
  */
10913
- 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
10914
10998
  /**
10915
10999
  * Creates a printable string representing `id_property` in
10916
11000
  * `widget,` if `value` is specified it will be used in place
@@ -10921,7 +11005,7 @@ interface Widget {
10921
11005
  * @param value the #GValue to print or %NULL
10922
11006
  * @returns A newly allocated string representing @id_property
10923
11007
  */
10924
- property_string(id_property: string | null, value: any): string | null
11008
+ property_string(id_property: string, value: any): string | null
10925
11009
  /**
10926
11010
  * Reads in a child widget from the xml (handles 'child' tag)
10927
11011
  * @param node a #GladeXmlNode
@@ -10955,7 +11039,7 @@ interface Widget {
10955
11039
  * style properties).
10956
11040
  * @param id_property the name of the property
10957
11041
  */
10958
- remove_property(id_property: string | null): void
11042
+ remove_property(id_property: string): void
10959
11043
  /**
10960
11044
  * Removes a signal handler from `widget`
10961
11045
  * @param signal_handler The #GladeSignal
@@ -10976,21 +11060,21 @@ interface Widget {
10976
11060
  * @param sensitive setting sensitive or insensitive
10977
11061
  * @returns whether @action_path was found or not.
10978
11062
  */
10979
- set_action_sensitive(action_path: string | null, sensitive: boolean): boolean
11063
+ set_action_sensitive(action_path: string, sensitive: boolean): boolean
10980
11064
  /**
10981
11065
  * Sets the visibility of `action_path` in `widget`
10982
11066
  * @param action_path a full action path including groups
10983
11067
  * @param visible setting visible or invisible
10984
11068
  * @returns whether @action_path was found or not.
10985
11069
  */
10986
- set_action_visible(action_path: string | null, visible: boolean): boolean
11070
+ set_action_visible(action_path: string, visible: boolean): boolean
10987
11071
  set_child_type_from_node(child: GObject.Object, node: XmlNode): void
10988
11072
  set_in_project(in_project: boolean): void
10989
11073
  /**
10990
11074
  * Sets the internal name of `widget` to `internal`
10991
11075
  * @param internal The internal name
10992
11076
  */
10993
- set_internal(internal: string | null): void
11077
+ set_internal(internal: string): void
10994
11078
  /**
10995
11079
  * Set's this widget to be toplevel composite object to be
10996
11080
  * eventually used with gtk_widget_class_set_template()
@@ -11003,21 +11087,21 @@ interface Widget {
11003
11087
  * Sets `widget'`s name to `name`.
11004
11088
  * @param name a string
11005
11089
  */
11006
- set_name(name: string | null): void
11090
+ set_name(name: string): void
11007
11091
  /**
11008
11092
  * Sets the sensitivity of `action_path` in `widget`
11009
11093
  * @param action_path a full action path including groups
11010
11094
  * @param sensitive setting sensitive or insensitive
11011
11095
  * @returns whether @action_path was found or not.
11012
11096
  */
11013
- set_pack_action_sensitive(action_path: string | null, sensitive: boolean): boolean
11097
+ set_pack_action_sensitive(action_path: string, sensitive: boolean): boolean
11014
11098
  /**
11015
11099
  * Sets the visibility of `action_path` in `widget`
11016
11100
  * @param action_path a full action path including groups
11017
11101
  * @param visible setting visible or invisible
11018
11102
  * @returns whether @action_path was found or not.
11019
11103
  */
11020
- set_pack_action_visible(action_path: string | null, visible: boolean): boolean
11104
+ set_pack_action_visible(action_path: string, visible: boolean): boolean
11021
11105
  /**
11022
11106
  * Generates the packing_properties list of the widget, given
11023
11107
  * the class of the container we are adding the widget to.
@@ -11036,7 +11120,7 @@ interface Widget {
11036
11120
  * @param project a #GladeProject
11037
11121
  */
11038
11122
  set_project(project: Project): void
11039
- set_support_warning(warning: string | null): void
11123
+ set_support_warning(warning: string): void
11040
11124
  /**
11041
11125
  * Display `widget` in it's project's GladeDesignView
11042
11126
  */
@@ -11349,6 +11433,9 @@ module WidgetAdaptor {
11349
11433
  special_child_type?: string | null
11350
11434
  title?: string | null
11351
11435
  type?: GObject.GType | null
11436
+ genericName?: string | null
11437
+ iconName?: string | null
11438
+ specialChildType?: string | null
11352
11439
  }
11353
11440
 
11354
11441
  }
@@ -11361,10 +11448,13 @@ interface WidgetAdaptor {
11361
11448
  readonly catalog: string | null
11362
11449
  readonly cursor: any
11363
11450
  readonly generic_name: string | null
11451
+ readonly genericName: string | null
11364
11452
  readonly icon_name: string | null
11453
+ readonly iconName: string | null
11365
11454
  readonly name: string | null
11366
11455
  query: boolean
11367
11456
  readonly special_child_type: string | null
11457
+ readonly specialChildType: string | null
11368
11458
  title: string | null
11369
11459
  readonly type: GObject.GType
11370
11460
 
@@ -11379,7 +11469,7 @@ interface WidgetAdaptor {
11379
11469
  * @param object The #GObject
11380
11470
  * @param action_path The action identifier in the action tree
11381
11471
  */
11382
- action_activate(object: GObject.Object, action_path: string | null): void
11472
+ action_activate(object: GObject.Object, action_path: string): void
11383
11473
  /**
11384
11474
  * Add an action to `adaptor`.
11385
11475
  * If the action is present then it overrides label and stock
@@ -11389,13 +11479,13 @@ interface WidgetAdaptor {
11389
11479
  * @param important if this action is important.
11390
11480
  * @returns whether or not the action was added/updated.
11391
11481
  */
11392
- 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
11393
11483
  /**
11394
11484
  * Remove an `adaptor'`s action.
11395
11485
  * @param action_path The identifier of this action in the action tree
11396
11486
  * @returns whether or not the action was removed.
11397
11487
  */
11398
- action_remove(action_path: string | null): boolean
11488
+ action_remove(action_path: string): boolean
11399
11489
  /**
11400
11490
  * This delegate function is used to create dynamically customized
11401
11491
  * submenus. Called only for actions that don't have children.
@@ -11403,7 +11493,7 @@ interface WidgetAdaptor {
11403
11493
  * @param action_path The action identifier in the action tree
11404
11494
  * @returns A newly created #GtkMenu or %NULL
11405
11495
  */
11406
- action_submenu(object: GObject.Object, action_path: string | null): Gtk.Widget | null
11496
+ action_submenu(object: GObject.Object, action_path: string): Gtk.Widget | null
11407
11497
  /**
11408
11498
  * Create a list of actions.
11409
11499
  * @returns a new list of GladeWidgetAction.
@@ -11433,7 +11523,7 @@ interface WidgetAdaptor {
11433
11523
  * @param object The #GObject
11434
11524
  * @param action_path The action identifier in the action tree
11435
11525
  */
11436
- 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
11437
11527
  /**
11438
11528
  * Gets `child'`s packing property identified by `property_name`.
11439
11529
  * @param container The #GObject container
@@ -11441,7 +11531,7 @@ interface WidgetAdaptor {
11441
11531
  * @param property_name The id of the property
11442
11532
  * @param value The `GValue`
11443
11533
  */
11444
- 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
11445
11535
  /**
11446
11536
  * Sets `child'`s packing property identified by `property_name` to `value`.
11447
11537
  * @param container The #GObject container
@@ -11449,7 +11539,7 @@ interface WidgetAdaptor {
11449
11539
  * @param property_name The id of the property
11450
11540
  * @param value The `GValue`
11451
11541
  */
11452
- 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
11453
11543
  /**
11454
11544
  * This delegate function is always called whenever setting any
11455
11545
  * properties with the exception of load time, and copy/paste time
@@ -11462,7 +11552,7 @@ interface WidgetAdaptor {
11462
11552
  * @param value The `GValue`
11463
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.
11464
11554
  */
11465
- 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
11466
11556
  /**
11467
11557
  * This function is called to construct a GObject instance for
11468
11558
  * a #GladeWidget of the said `adaptor`. (provided for language
@@ -11494,7 +11584,7 @@ interface WidgetAdaptor {
11494
11584
  * @param use_command whether to use the GladeCommand interface to commit property changes
11495
11585
  * @returns A newly created #GladeEditorProperty
11496
11586
  */
11497
- 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
11498
11588
  default_params(construct: boolean): GObject.Parameter[]
11499
11589
  /**
11500
11590
  * Checks whether `widget` depends on `another` to be placed earlier in
@@ -11517,33 +11607,33 @@ interface WidgetAdaptor {
11517
11607
  * @returns the closest #GladeWidgetAdaptor in the ancestry to @adaptor which is responsable for introducing @pspec.
11518
11608
  */
11519
11609
  from_pspec(pspec: GObject.ParamSpec): WidgetAdaptor
11520
- get_book(): string | null
11521
- get_catalog(): string | null
11610
+ get_book(): string
11611
+ get_catalog(): string
11522
11612
  /**
11523
11613
  * Lists the children of `container`.
11524
11614
  * @param container The #GObject container
11525
11615
  * @returns A #GList of children
11526
11616
  */
11527
11617
  get_children(container: GObject.Object): GObject.Object[]
11528
- get_display_name(): string | null
11529
- get_generic_name(): string | null
11530
- get_icon_name(): string | null
11618
+ get_display_name(): string
11619
+ get_generic_name(): string
11620
+ get_icon_name(): string
11531
11621
  /**
11532
11622
  * Retrieves the internal object `internal_name` from `object`
11533
11623
  * @param object The #GObject
11534
11624
  * @param internal_name The string identifier of the internal object
11535
11625
  * @returns The internal #GObject
11536
11626
  */
11537
- get_internal_child(object: GObject.Object, internal_name: string | null): GObject.Object | null
11538
- get_missing_icon(): string | null
11539
- 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
11540
11630
  get_object_type(): GObject.GType
11541
11631
  /**
11542
11632
  * Retrieves the #GladePropertyDef for `name` in `adaptor'`s child properties
11543
11633
  * @param name a string
11544
11634
  * @returns A #GladePropertyDef object
11545
11635
  */
11546
- get_pack_property_def(name: string | null): PropertyDef | null
11636
+ get_pack_property_def(name: string): PropertyDef | null
11547
11637
  /**
11548
11638
  * Gets the default value for `property_id` on a widget governed by
11549
11639
  * `child_adaptor` when parented in a widget governed by `parent_adaptor`
@@ -11551,7 +11641,7 @@ interface WidgetAdaptor {
11551
11641
  * @param id The string property identifier
11552
11642
  * @returns a string representing the default value for @property_id
11553
11643
  */
11554
- get_packing_default(container_adaptor: WidgetAdaptor, id: string | null): string | null
11644
+ get_packing_default(container_adaptor: WidgetAdaptor, id: string): string
11555
11645
  get_packing_props(): PropertyDef[]
11556
11646
  get_parent_adaptor(): WidgetAdaptor
11557
11647
  get_properties(): PropertyDef[]
@@ -11561,7 +11651,7 @@ interface WidgetAdaptor {
11561
11651
  * @param property_name The property identifier
11562
11652
  * @param value The #GValue
11563
11653
  */
11564
- get_property(object: GObject.Object, property_name: string | null, value: any): void
11654
+ get_property(object: GObject.Object, property_name: string, value: any): void
11565
11655
 
11566
11656
  // Overloads of get_property
11567
11657
 
@@ -11585,21 +11675,21 @@ interface WidgetAdaptor {
11585
11675
  * @param property_name the name of the property to get
11586
11676
  * @param value return location for the property value
11587
11677
  */
11588
- get_property(property_name: string | null, value: any): void
11678
+ get_property(property_name: string, value: any): void
11589
11679
  /**
11590
11680
  * Retrieves the #GladePropertyDef for `name` in `adaptor`
11591
11681
  * @param name a string
11592
11682
  * @returns A #GladePropertyDef object
11593
11683
  */
11594
- get_property_def(name: string | null): PropertyDef | null
11684
+ get_property_def(name: string): PropertyDef | null
11595
11685
  /**
11596
11686
  * Looks up signal class `name` on `adaptor`.
11597
11687
  * @param name the name of the signal class.
11598
11688
  * @returns a #GladeSignalDef or %NULL
11599
11689
  */
11600
- get_signal_def(name: string | null): SignalDef | null
11690
+ get_signal_def(name: string): SignalDef | null
11601
11691
  get_signals(): SignalDef[]
11602
- get_title(): string | null
11692
+ get_title(): string
11603
11693
  /**
11604
11694
  * Get the _get_type () function name if it is set, a %NULL value means that the
11605
11695
  * default heuristic for getting the GType is enough for both Glade and GtkBuilder.
@@ -11623,13 +11713,13 @@ interface WidgetAdaptor {
11623
11713
  * @param important if this action is important.
11624
11714
  * @returns whether or not the action was added/updated.
11625
11715
  */
11626
- 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
11627
11717
  /**
11628
11718
  * Remove an `adaptor'`s packing action.
11629
11719
  * @param action_path The identifier of this action in the action tree
11630
11720
  * @returns whether or not the action was removed.
11631
11721
  */
11632
- pack_action_remove(action_path: string | null): boolean
11722
+ pack_action_remove(action_path: string): boolean
11633
11723
  /**
11634
11724
  * Create a list of packing actions.
11635
11725
  * @returns a new list of GladeWidgetAction.
@@ -11683,7 +11773,7 @@ interface WidgetAdaptor {
11683
11773
  * @param property_name The property identifier
11684
11774
  * @param value The #GValue
11685
11775
  */
11686
- set_property(object: GObject.Object, property_name: string | null, value: any): void
11776
+ set_property(object: GObject.Object, property_name: string, value: any): void
11687
11777
 
11688
11778
  // Overloads of set_property
11689
11779
 
@@ -11692,7 +11782,7 @@ interface WidgetAdaptor {
11692
11782
  * @param property_name the name of the property to set
11693
11783
  * @param value the value
11694
11784
  */
11695
- set_property(property_name: string | null, value: any): void
11785
+ set_property(property_name: string, value: any): void
11696
11786
  /**
11697
11787
  * For normal properties this is used to serialize
11698
11788
  * property values, for custom properties its still
@@ -11713,7 +11803,7 @@ interface WidgetAdaptor {
11713
11803
  * @param value The #GValue
11714
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.
11715
11805
  */
11716
- verify_property(object: GObject.Object, property_name: string | null, value: any): boolean
11806
+ verify_property(object: GObject.Object, property_name: string, value: any): boolean
11717
11807
  /**
11718
11808
  * This function is called to write the child `widget` to `node`
11719
11809
  * when writing xml files (takes care of packing and recurses
@@ -11748,7 +11838,7 @@ interface WidgetAdaptor {
11748
11838
  * @param object The #GObject
11749
11839
  * @param action_path The action identifier in the action tree
11750
11840
  */
11751
- vfunc_action_activate(object: GObject.Object, action_path: string | null): void
11841
+ vfunc_action_activate(object: GObject.Object, action_path: string): void
11752
11842
  /**
11753
11843
  * This delegate function is used to create dynamically customized
11754
11844
  * submenus. Called only for actions that don't have children.
@@ -11757,7 +11847,7 @@ interface WidgetAdaptor {
11757
11847
  * @param action_path The action identifier in the action tree
11758
11848
  * @returns A newly created #GtkMenu or %NULL
11759
11849
  */
11760
- 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
11761
11851
  /**
11762
11852
  * Adds `child` to `container`.
11763
11853
  * @virtual
@@ -11785,7 +11875,7 @@ interface WidgetAdaptor {
11785
11875
  * @param object The #GObject
11786
11876
  * @param action_path The action identifier in the action tree
11787
11877
  */
11788
- 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
11789
11879
  /**
11790
11880
  * Gets `child'`s packing property identified by `property_name`.
11791
11881
  * @virtual
@@ -11794,7 +11884,7 @@ interface WidgetAdaptor {
11794
11884
  * @param property_name The id of the property
11795
11885
  * @param value The `GValue`
11796
11886
  */
11797
- 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
11798
11888
  /**
11799
11889
  * Sets `child'`s packing property identified by `property_name` to `value`.
11800
11890
  * @virtual
@@ -11803,7 +11893,7 @@ interface WidgetAdaptor {
11803
11893
  * @param property_name The id of the property
11804
11894
  * @param value The `GValue`
11805
11895
  */
11806
- 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
11807
11897
  /**
11808
11898
  * This delegate function is always called whenever setting any
11809
11899
  * properties with the exception of load time, and copy/paste time
@@ -11817,7 +11907,7 @@ interface WidgetAdaptor {
11817
11907
  * @param value The `GValue`
11818
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.
11819
11909
  */
11820
- 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
11821
11911
  /**
11822
11912
  * This function is called to construct a GObject instance for
11823
11913
  * a #GladeWidget of the said `adaptor`. (provided for language
@@ -11875,7 +11965,7 @@ interface WidgetAdaptor {
11875
11965
  * @param internal_name The string identifier of the internal object
11876
11966
  * @returns The internal #GObject
11877
11967
  */
11878
- 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
11879
11969
  /**
11880
11970
  * Gets `value` of `property_name` on `object`.
11881
11971
  * @virtual
@@ -11883,7 +11973,7 @@ interface WidgetAdaptor {
11883
11973
  * @param property_name The property identifier
11884
11974
  * @param value The #GValue
11885
11975
  */
11886
- 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
11887
11977
 
11888
11978
  // Overloads of vfunc_get_property
11889
11979
 
@@ -11937,7 +12027,7 @@ interface WidgetAdaptor {
11937
12027
  * @param property_name The property identifier
11938
12028
  * @param value The #GValue
11939
12029
  */
11940
- 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
11941
12031
 
11942
12032
  // Overloads of vfunc_set_property
11943
12033
 
@@ -11964,7 +12054,7 @@ interface WidgetAdaptor {
11964
12054
  * @param value The #GValue
11965
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.
11966
12056
  */
11967
- 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
11968
12058
  /**
11969
12059
  * This function is called to write the child `widget` to `node`
11970
12060
  * when writing xml files (takes care of packing and recurses
@@ -12054,7 +12144,7 @@ class WidgetAdaptor extends GObject.Object {
12054
12144
  * @returns a newly allocated #GladeWidgetAdaptor
12055
12145
  */
12056
12146
  static from_catalog(catalog: Catalog, class_node: XmlNode, module: GModule.Module): WidgetAdaptor
12057
- static get_by_name(name: string | null): WidgetAdaptor | null
12147
+ static get_by_name(name: string): WidgetAdaptor | null
12058
12148
  static get_by_type(type: GObject.GType): WidgetAdaptor | null
12059
12149
  /**
12060
12150
  * Compiles a list of all registered adaptors.
@@ -12117,13 +12207,13 @@ interface Catalog {
12117
12207
  // Owm methods of Gladeui-2.0.Gladeui.Catalog
12118
12208
 
12119
12209
  get_adaptors(): WidgetAdaptor[]
12120
- get_book(): string | null
12121
- get_domain(): string | null
12122
- get_icon_prefix(): string | null
12210
+ get_book(): string
12211
+ get_domain(): string
12212
+ get_icon_prefix(): string
12123
12213
  get_major_version(): number
12124
12214
  get_minor_version(): number
12125
- get_name(): string | null
12126
- get_prefix(): string | null
12215
+ get_name(): string
12216
+ get_prefix(): string
12127
12217
  get_targets(): TargetableVersion[]
12128
12218
  get_widget_groups(): WidgetGroup[]
12129
12219
  }
@@ -12140,13 +12230,13 @@ class Catalog {
12140
12230
  * Adds a new path to the list of path to look catalogs for.
12141
12231
  * @param path the new path containing catalogs
12142
12232
  */
12143
- static add_path(path: string | null): void
12233
+ static add_path(path: string): void
12144
12234
  /**
12145
12235
  * Destroy and free all resources related with every loaded catalog.
12146
12236
  */
12147
12237
  static destroy_all(): void
12148
12238
  static get_extra_paths(): string[]
12149
- static is_loaded(name: string | null): boolean
12239
+ static is_loaded(name: string): boolean
12150
12240
  /**
12151
12241
  * Loads all available catalogs in the system.
12152
12242
  * First loads catalogs from GLADE_ENV_CATALOG_PATH,
@@ -12168,7 +12258,7 @@ interface CellRendererIconClass {
12168
12258
  // Own fields of Gladeui-2.0.Gladeui.CellRendererIconClass
12169
12259
 
12170
12260
  parent_class: Gtk.CellRendererPixbufClass
12171
- activate: (cell_renderer_icon: CellRendererIcon, path: string | null) => void
12261
+ activate: (cell_renderer_icon: CellRendererIcon, path: string) => void
12172
12262
  }
12173
12263
 
12174
12264
  abstract class CellRendererIconClass {
@@ -12431,12 +12521,12 @@ interface NameContext {
12431
12521
 
12432
12522
  // Owm methods of Gladeui-2.0.Gladeui.NameContext
12433
12523
 
12434
- add_name(name: string | null): boolean
12524
+ add_name(name: string): boolean
12435
12525
  destroy(): void
12436
- has_name(name: string | null): boolean
12526
+ has_name(name: string): boolean
12437
12527
  n_names(): number
12438
- new_name(base_name: string | null): string | null
12439
- release_name(name: string | null): void
12528
+ new_name(base_name: string): string | null
12529
+ release_name(name: string): void
12440
12530
  }
12441
12531
 
12442
12532
  class NameContext {
@@ -12591,7 +12681,7 @@ interface PropertyClass {
12591
12681
  sync: (property: Property) => void
12592
12682
  load: (property: Property) => void
12593
12683
  value_changed: (property: Property, old_value: any, new_value: any) => void
12594
- 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
12595
12685
  glade_reserved1: () => void
12596
12686
  glade_reserved2: () => void
12597
12687
  glade_reserved3: () => void
@@ -12621,7 +12711,7 @@ interface PropertyDef {
12621
12711
  * @returns -1, 0 or +1, if value1 is found to be less than, equal to or greater than value2, respectively.
12622
12712
  */
12623
12713
  compare(value1: any, value2: any): number
12624
- create_type(): string | null
12714
+ create_type(): string
12625
12715
  custom_layout(): boolean
12626
12716
  deprecated(): boolean
12627
12717
  deprecated_since_major(): number
@@ -12635,12 +12725,12 @@ interface PropertyDef {
12635
12725
  get_default(): any
12636
12726
  get_ignore(): boolean
12637
12727
  get_is_packing(): boolean
12638
- get_name(): string | null
12728
+ get_name(): string
12639
12729
  get_original_default(): any
12640
12730
  get_pspec(): GObject.ParamSpec
12641
- get_tooltip(): string | null
12731
+ get_tooltip(): string
12642
12732
  get_virtual(): boolean
12643
- id(): string | null
12733
+ id(): string
12644
12734
  is_object(): boolean
12645
12735
  is_visible(): boolean
12646
12736
  load_defaults_from_spec(): void
@@ -12649,7 +12739,7 @@ interface PropertyDef {
12649
12739
  * @returns An appropriate #GtkAdjustment for use in the Property editor
12650
12740
  */
12651
12741
  make_adjustment(): Gtk.Adjustment
12652
- make_gvalue_from_string(string: string | null, project: Project): any
12742
+ make_gvalue_from_string(string: string, project: Project): any
12653
12743
  make_string_from_gvalue(value: any): string | null
12654
12744
  match(comp: PropertyDef): boolean
12655
12745
  multiline(): boolean
@@ -12664,9 +12754,9 @@ interface PropertyDef {
12664
12754
  set_construct_only(construct_only: boolean): void
12665
12755
  set_ignore(ignore: boolean): void
12666
12756
  set_is_packing(is_packing: boolean): void
12667
- set_name(name: string | null): void
12757
+ set_name(name: string): void
12668
12758
  set_pspec(pspec: GObject.ParamSpec): void
12669
- set_tooltip(tooltip: string | null): void
12759
+ set_tooltip(tooltip: string): void
12670
12760
  set_virtual(value: boolean): void
12671
12761
  since_major(): number
12672
12762
  since_minor(): number
@@ -12687,12 +12777,12 @@ class PropertyDef {
12687
12777
 
12688
12778
  // Constructors of Gladeui-2.0.Gladeui.PropertyDef
12689
12779
 
12690
- constructor(adaptor: WidgetAdaptor, id: string | null)
12691
- static new(adaptor: WidgetAdaptor, id: string | null): PropertyDef
12780
+ constructor(adaptor: WidgetAdaptor, id: string)
12781
+ static new(adaptor: WidgetAdaptor, id: string): PropertyDef
12692
12782
  static new_from_spec(adaptor: WidgetAdaptor, spec: GObject.ParamSpec): PropertyDef
12693
12783
  static new_from_spec_full(adaptor: WidgetAdaptor, spec: GObject.ParamSpec, need_handle: boolean): PropertyDef
12694
12784
  static get_default_from_spec(spec: GObject.ParamSpec): any
12695
- static make_flags_from_string(type: GObject.GType, string: string | null): number
12785
+ static make_flags_from_string(type: GObject.GType, string: string): number
12696
12786
  /**
12697
12787
  * This function assigns "weight" to each property in its natural order staring from 1.
12698
12788
  * If parent is 0 weight will be set for every #GladePropertyDef in the list.
@@ -12710,7 +12800,7 @@ class PropertyDef {
12710
12800
  * @param domain the domain to translate catalog strings from
12711
12801
  * @returns %TRUE on success. @property_def_ref is set to NULL if the property has Disabled="TRUE".
12712
12802
  */
12713
- 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 ]
12714
12804
  }
12715
12805
 
12716
12806
  interface PropertyLabelClass {
@@ -12832,12 +12922,12 @@ interface SignalDef {
12832
12922
  * Get the name of the signal.
12833
12923
  * @returns the name of the signal
12834
12924
  */
12835
- get_name(): string | null
12925
+ get_name(): string
12836
12926
  /**
12837
12927
  * Get the name of the object class that this signal belongs to.
12838
12928
  * @returns the type name of the signal
12839
12929
  */
12840
- get_object_type_name(): string | null
12930
+ get_object_type_name(): string
12841
12931
  /**
12842
12932
  * Set if the signal is deprecated.
12843
12933
  * @param deprecated %TRUE if the signal is deprecated
@@ -12859,7 +12949,7 @@ interface SignalDef {
12859
12949
  * @returns the minor version
12860
12950
  */
12861
12951
  since_minor(): number
12862
- update_from_node(node: XmlNode, domain: string | null): void
12952
+ update_from_node(node: XmlNode, domain: string): void
12863
12953
  }
12864
12954
 
12865
12955
  class SignalDef {
@@ -12976,7 +13066,7 @@ interface WidgetActionDef {
12976
13066
 
12977
13067
  // Own fields of Gladeui-2.0.Gladeui.WidgetActionDef
12978
13068
 
12979
- id: string | null
13069
+ id: string
12980
13070
  path: string | null
12981
13071
  label: string | null
12982
13072
  stock: string | null
@@ -12991,8 +13081,8 @@ interface WidgetActionDef {
12991
13081
  */
12992
13082
  free(): void
12993
13083
  set_important(important: boolean): void
12994
- set_label(label: string | null): void
12995
- set_stock(stock: string | null): void
13084
+ set_label(label: string): void
13085
+ set_stock(stock: string): void
12996
13086
  }
12997
13087
 
12998
13088
  class WidgetActionDef {
@@ -13003,8 +13093,8 @@ class WidgetActionDef {
13003
13093
 
13004
13094
  // Constructors of Gladeui-2.0.Gladeui.WidgetActionDef
13005
13095
 
13006
- constructor(path: string | null)
13007
- static new(path: string | null): WidgetActionDef
13096
+ constructor(path: string)
13097
+ static new(path: string): WidgetActionDef
13008
13098
  }
13009
13099
 
13010
13100
  interface WidgetActionPrivate {
@@ -13111,8 +13201,8 @@ interface WidgetGroup {
13111
13201
 
13112
13202
  get_adaptors(): WidgetAdaptor[]
13113
13203
  get_expanded(): boolean
13114
- get_name(): string | null
13115
- get_title(): string | null
13204
+ get_name(): string
13205
+ get_title(): string
13116
13206
  }
13117
13207
 
13118
13208
  class WidgetGroup {
@@ -13166,7 +13256,7 @@ class XmlContext {
13166
13256
  * @param root_name the expected root name
13167
13257
  * @returns a new #GladeXmlContext or %NULL on failure
13168
13258
  */
13169
- 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
13170
13260
  }
13171
13261
 
13172
13262
  interface XmlDoc {
@@ -13174,13 +13264,13 @@ interface XmlDoc {
13174
13264
  // Owm methods of Gladeui-2.0.Gladeui.XmlDoc
13175
13265
 
13176
13266
  get_root(): XmlNode
13177
- new_comment(comment: string | null): XmlNode
13267
+ new_comment(comment: string): XmlNode
13178
13268
  /**
13179
13269
  * Increases the reference of the #GladeXmlDoc.
13180
13270
  * @returns the given #GladeXmlDoc
13181
13271
  */
13182
13272
  ref(): XmlDoc
13183
- save(full_path: string | null): number
13273
+ save(full_path: string): number
13184
13274
  set_root(node: XmlNode): void
13185
13275
  /**
13186
13276
  * Decreases the reference of the #GladeXmlDoc.
@@ -13221,29 +13311,29 @@ interface XmlNode {
13221
13311
  delete(): void
13222
13312
  get_children(): XmlNode
13223
13313
  get_children_with_comments(): XmlNode
13224
- get_name(): string | null
13314
+ get_name(): string
13225
13315
  get_parent(): XmlNode
13226
13316
  is_comment(): boolean
13227
13317
  next(): XmlNode
13228
13318
  next_with_comments(): XmlNode
13229
13319
  prev_with_comments(): XmlNode
13230
13320
  remove(): void
13231
- set_property_boolean(name: string | null, value: boolean): void
13321
+ set_property_boolean(name: string, value: boolean): void
13232
13322
  /**
13233
13323
  * Set a property as a string in the `node_in`. Note that %NULL `string` value
13234
13324
  * Are simply ignored and not written in the XML.
13235
13325
  * @param name the name of the property to set
13236
13326
  * @param string the string value of the property to set
13237
13327
  */
13238
- set_property_string(name: string | null, string: string | null): void
13328
+ set_property_string(name: string, string: string | null): void
13239
13329
  /**
13240
13330
  * This is a wrapper around glade_xml_node_verify_silent(), only it emits
13241
13331
  * a g_warning() if `node_in` has a name different than `name`.
13242
13332
  * @param name a string
13243
13333
  * @returns %TRUE if @node_in's name is equal to @name, %FALSE otherwise
13244
13334
  */
13245
- verify(name: string | null): boolean
13246
- verify_silent(name: string | null): boolean
13335
+ verify(name: string): boolean
13336
+ verify_silent(name: string): boolean
13247
13337
  }
13248
13338
 
13249
13339
  class XmlNode {
@@ -13254,9 +13344,9 @@ class XmlNode {
13254
13344
 
13255
13345
  // Constructors of Gladeui-2.0.Gladeui.XmlNode
13256
13346
 
13257
- constructor(context: XmlContext, name: string | null)
13258
- static new(context: XmlContext, name: string | null): XmlNode
13259
- 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
13260
13350
  }
13261
13351
 
13262
13352
  /**