@girs/gladeui-2.0 2.0.0-3.2.6 → 2.0.0-3.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/gladeui-2.0-ambient.js +2 -0
- package/gladeui-2.0-import.js +3 -0
- package/gladeui-2.0.d.cts +544 -605
- package/gladeui-2.0.d.ts +544 -605
- package/package.json +24 -18
package/gladeui-2.0.d.cts
CHANGED
|
@@ -211,185 +211,185 @@ export enum VerifyFlags {
|
|
|
211
211
|
*/
|
|
212
212
|
UNRECOGNIZED,
|
|
213
213
|
}
|
|
214
|
-
export const DEVHELP_FALLBACK_ICON_FILE: string
|
|
215
|
-
export const DEVHELP_ICON_NAME: string
|
|
216
|
-
export const ENV_BUNDLED: string
|
|
217
|
-
export const ENV_CATALOG_PATH: string
|
|
218
|
-
export const ENV_ICON_THEME_PATH: string
|
|
219
|
-
export const ENV_MODULE_PATH: string
|
|
220
|
-
export const ENV_PIXMAP_DIR: string
|
|
221
|
-
export const ENV_TESTING: string
|
|
214
|
+
export const DEVHELP_FALLBACK_ICON_FILE: string
|
|
215
|
+
export const DEVHELP_ICON_NAME: string
|
|
216
|
+
export const ENV_BUNDLED: string
|
|
217
|
+
export const ENV_CATALOG_PATH: string
|
|
218
|
+
export const ENV_ICON_THEME_PATH: string
|
|
219
|
+
export const ENV_MODULE_PATH: string
|
|
220
|
+
export const ENV_PIXMAP_DIR: string
|
|
221
|
+
export const ENV_TESTING: string
|
|
222
222
|
export const GTKBUILDER_VERSIONING_BASE_MAJOR: number
|
|
223
223
|
export const GTKBUILDER_VERSIONING_BASE_MINOR: number
|
|
224
|
-
export const PROPERTY_DEF_OBJECT_DELIMITER: string
|
|
225
|
-
export const TAG_ACTION: string
|
|
226
|
-
export const TAG_ACTIONS: string
|
|
227
|
-
export const TAG_ACTION_ACTIVATE_FUNCTION: string
|
|
228
|
-
export const TAG_ACTION_SUBMENU_FUNCTION: string
|
|
229
|
-
export const TAG_ADAPTOR: string
|
|
230
|
-
export const TAG_ADD_CHILD_FUNCTION: string
|
|
231
|
-
export const TAG_ADD_CHILD_VERIFY_FUNCTION: string
|
|
232
|
-
export const TAG_ANARCHIST: string
|
|
233
|
-
export const TAG_ATK_PROPERTY: string
|
|
234
|
-
export const TAG_BIND_FLAGS: string
|
|
235
|
-
export const TAG_BIND_PROPERTY: string
|
|
236
|
-
export const TAG_BIND_SOURCE: string
|
|
237
|
-
export const TAG_BOOK: string
|
|
238
|
-
export const TAG_BUILDER_SINCE: string
|
|
239
|
-
export const TAG_CHILD_ACTION_ACTIVATE_FUNCTION: string
|
|
240
|
-
export const TAG_CHILD_GET_PROP_FUNCTION: string
|
|
241
|
-
export const TAG_CHILD_PROPERTY: string
|
|
242
|
-
export const TAG_CHILD_SET_PROP_FUNCTION: string
|
|
243
|
-
export const TAG_CHILD_VERIFY_FUNCTION: string
|
|
244
|
-
export const TAG_COMMENT: string
|
|
245
|
-
export const TAG_COMMON: string
|
|
246
|
-
export const TAG_CONSTRUCTOR_FUNCTION: string
|
|
247
|
-
export const TAG_CONSTRUCT_OBJECT_FUNCTION: string
|
|
248
|
-
export const TAG_CONSTRUCT_ONLY: string
|
|
249
|
-
export const TAG_CONTEXT: string
|
|
250
|
-
export const TAG_CREATE_EDITABLE_FUNCTION: string
|
|
251
|
-
export const TAG_CREATE_EPROP_FUNCTION: string
|
|
252
|
-
export const TAG_CREATE_TYPE: string
|
|
253
|
-
export const TAG_CREATE_WIDGET_FUNCTION: string
|
|
254
|
-
export const TAG_CUSTOM_LAYOUT: string
|
|
255
|
-
export const TAG_DEEP_POST_CREATE_FUNCTION: string
|
|
256
|
-
export const TAG_DEFAULT: string
|
|
257
|
-
export const TAG_DEFAULT_HEIGHT: string
|
|
258
|
-
export const TAG_DEFAULT_PALETTE_STATE: string
|
|
259
|
-
export const TAG_DEFAULT_WIDTH: string
|
|
260
|
-
export const TAG_DEPENDS: string
|
|
261
|
-
export const TAG_DEPENDS_FUNCTION: string
|
|
262
|
-
export const TAG_DEPRECATED: string
|
|
263
|
-
export const TAG_DEPRECATED_SINCE: string
|
|
264
|
-
export const TAG_DESTROY_OBJECT_FUNCTION: string
|
|
265
|
-
export const TAG_DISABLED: string
|
|
266
|
-
export const TAG_DISPLAYABLE_VALUES: string
|
|
267
|
-
export const TAG_DOMAIN: string
|
|
268
|
-
export const TAG_EDITABLE: string
|
|
269
|
-
export const TAG_EVENT_HANDLER_CONNECTED: string
|
|
270
|
-
export const TAG_EXPANDED: string
|
|
271
|
-
export const TAG_FALSE: string
|
|
272
|
-
export const TAG_GENERIC_NAME: string
|
|
273
|
-
export const TAG_GET_CHILDREN_FUNCTION: string
|
|
274
|
-
export const TAG_GET_FUNCTION: string
|
|
275
|
-
export const TAG_GET_INTERNAL_CHILD_FUNCTION: string
|
|
276
|
-
export const TAG_GET_TYPE_FUNCTION: string
|
|
277
|
-
export const TAG_GLADE_CATALOG: string
|
|
278
|
-
export const TAG_GLADE_WIDGET_CLASS: string
|
|
279
|
-
export const TAG_GLADE_WIDGET_CLASSES: string
|
|
280
|
-
export const TAG_GLADE_WIDGET_CLASS_REF: string
|
|
281
|
-
export const TAG_GLADE_WIDGET_GROUP: string
|
|
282
|
-
export const TAG_HAS_CONTEXT: string
|
|
283
|
-
export const TAG_ICON_NAME: string
|
|
284
|
-
export const TAG_ICON_PREFIX: string
|
|
285
|
-
export const TAG_ID: string
|
|
286
|
-
export const TAG_IGNORE: string
|
|
287
|
-
export const TAG_IMPORTANT: string
|
|
288
|
-
export const TAG_INIT_FUNCTION: string
|
|
289
|
-
export const TAG_INTERNAL_CHILDREN: string
|
|
290
|
-
export const TAG_KEY: string
|
|
291
|
-
export const TAG_LIBRARY: string
|
|
292
|
-
export const TAG_MAX_VALUE: string
|
|
293
|
-
export const TAG_MIN_VALUE: string
|
|
294
|
-
export const TAG_MULTILINE: string
|
|
295
|
-
export const TAG_NAME: string
|
|
296
|
-
export const TAG_NEEDS_SYNC: string
|
|
297
|
-
export const TAG_NICK: string
|
|
298
|
-
export const TAG_NO: string
|
|
299
|
-
export const TAG_OPTIONAL: string
|
|
300
|
-
export const TAG_OPTIONAL_DEFAULT: string
|
|
301
|
-
export const TAG_PACKING_ACTIONS: string
|
|
302
|
-
export const TAG_PACKING_DEFAULTS: string
|
|
303
|
-
export const TAG_PACKING_PROPERTIES: string
|
|
304
|
-
export const TAG_PARENT: string
|
|
305
|
-
export const TAG_PARENTLESS_WIDGET: string
|
|
306
|
-
export const TAG_PARENT_CLASS: string
|
|
307
|
-
export const TAG_POST_CREATE_FUNCTION: string
|
|
308
|
-
export const TAG_PROPERTIES: string
|
|
309
|
-
export const TAG_PROPERTY: string
|
|
310
|
-
export const TAG_QUERY: string
|
|
311
|
-
export const TAG_READ_CHILD_FUNCTION: string
|
|
312
|
-
export const TAG_READ_WIDGET_FUNCTION: string
|
|
313
|
-
export const TAG_REMOVE_CHILD_FUNCTION: string
|
|
314
|
-
export const TAG_REPLACE_CHILD_FUNCTION: string
|
|
315
|
-
export const TAG_RESOURCE: string
|
|
316
|
-
export const TAG_SAVE: string
|
|
317
|
-
export const TAG_SAVE_ALWAYS: string
|
|
318
|
-
export const TAG_SET_FUNCTION: string
|
|
319
|
-
export const TAG_SIGNAL: string
|
|
320
|
-
export const TAG_SIGNALS: string
|
|
321
|
-
export const TAG_SPEC: string
|
|
322
|
-
export const TAG_SPECIAL_CHILD_TYPE: string
|
|
323
|
-
export const TAG_SPECIFICATIONS: string
|
|
324
|
-
export const TAG_STOCK: string
|
|
325
|
-
export const TAG_STOCK_ICON: string
|
|
326
|
-
export const TAG_STRING_FROM_VALUE_FUNCTION: string
|
|
327
|
-
export const TAG_TARGETABLE: string
|
|
328
|
-
export const TAG_TEMPLATE_PREFIX: string
|
|
329
|
-
export const TAG_THEMED_ICON: string
|
|
330
|
-
export const TAG_TITLE: string
|
|
331
|
-
export const TAG_TOOLTIP: string
|
|
332
|
-
export const TAG_TOPLEVEL: string
|
|
333
|
-
export const TAG_TRANSFER_ON_PASTE: string
|
|
334
|
-
export const TAG_TRANSLATABLE: string
|
|
335
|
-
export const TAG_TRUE: string
|
|
336
|
-
export const TAG_TYPE: string
|
|
337
|
-
export const TAG_USE_PLACEHOLDERS: string
|
|
338
|
-
export const TAG_VALUE: string
|
|
339
|
-
export const TAG_VALUE_TYPE: string
|
|
340
|
-
export const TAG_VERIFY_FUNCTION: string
|
|
341
|
-
export const TAG_VERSION: string
|
|
342
|
-
export const TAG_VERSION_SINCE: string
|
|
343
|
-
export const TAG_VISIBLE: string
|
|
344
|
-
export const TAG_WEIGHT: string
|
|
345
|
-
export const TAG_WRITE_CHILD_FUNCTION: string
|
|
346
|
-
export const TAG_WRITE_WIDGET_AFTER_FUNCTION: string
|
|
347
|
-
export const TAG_WRITE_WIDGET_FUNCTION: string
|
|
348
|
-
export const TAG_YES: string
|
|
349
|
-
export const UNNAMED_PREFIX: string
|
|
224
|
+
export const PROPERTY_DEF_OBJECT_DELIMITER: string
|
|
225
|
+
export const TAG_ACTION: string
|
|
226
|
+
export const TAG_ACTIONS: string
|
|
227
|
+
export const TAG_ACTION_ACTIVATE_FUNCTION: string
|
|
228
|
+
export const TAG_ACTION_SUBMENU_FUNCTION: string
|
|
229
|
+
export const TAG_ADAPTOR: string
|
|
230
|
+
export const TAG_ADD_CHILD_FUNCTION: string
|
|
231
|
+
export const TAG_ADD_CHILD_VERIFY_FUNCTION: string
|
|
232
|
+
export const TAG_ANARCHIST: string
|
|
233
|
+
export const TAG_ATK_PROPERTY: string
|
|
234
|
+
export const TAG_BIND_FLAGS: string
|
|
235
|
+
export const TAG_BIND_PROPERTY: string
|
|
236
|
+
export const TAG_BIND_SOURCE: string
|
|
237
|
+
export const TAG_BOOK: string
|
|
238
|
+
export const TAG_BUILDER_SINCE: string
|
|
239
|
+
export const TAG_CHILD_ACTION_ACTIVATE_FUNCTION: string
|
|
240
|
+
export const TAG_CHILD_GET_PROP_FUNCTION: string
|
|
241
|
+
export const TAG_CHILD_PROPERTY: string
|
|
242
|
+
export const TAG_CHILD_SET_PROP_FUNCTION: string
|
|
243
|
+
export const TAG_CHILD_VERIFY_FUNCTION: string
|
|
244
|
+
export const TAG_COMMENT: string
|
|
245
|
+
export const TAG_COMMON: string
|
|
246
|
+
export const TAG_CONSTRUCTOR_FUNCTION: string
|
|
247
|
+
export const TAG_CONSTRUCT_OBJECT_FUNCTION: string
|
|
248
|
+
export const TAG_CONSTRUCT_ONLY: string
|
|
249
|
+
export const TAG_CONTEXT: string
|
|
250
|
+
export const TAG_CREATE_EDITABLE_FUNCTION: string
|
|
251
|
+
export const TAG_CREATE_EPROP_FUNCTION: string
|
|
252
|
+
export const TAG_CREATE_TYPE: string
|
|
253
|
+
export const TAG_CREATE_WIDGET_FUNCTION: string
|
|
254
|
+
export const TAG_CUSTOM_LAYOUT: string
|
|
255
|
+
export const TAG_DEEP_POST_CREATE_FUNCTION: string
|
|
256
|
+
export const TAG_DEFAULT: string
|
|
257
|
+
export const TAG_DEFAULT_HEIGHT: string
|
|
258
|
+
export const TAG_DEFAULT_PALETTE_STATE: string
|
|
259
|
+
export const TAG_DEFAULT_WIDTH: string
|
|
260
|
+
export const TAG_DEPENDS: string
|
|
261
|
+
export const TAG_DEPENDS_FUNCTION: string
|
|
262
|
+
export const TAG_DEPRECATED: string
|
|
263
|
+
export const TAG_DEPRECATED_SINCE: string
|
|
264
|
+
export const TAG_DESTROY_OBJECT_FUNCTION: string
|
|
265
|
+
export const TAG_DISABLED: string
|
|
266
|
+
export const TAG_DISPLAYABLE_VALUES: string
|
|
267
|
+
export const TAG_DOMAIN: string
|
|
268
|
+
export const TAG_EDITABLE: string
|
|
269
|
+
export const TAG_EVENT_HANDLER_CONNECTED: string
|
|
270
|
+
export const TAG_EXPANDED: string
|
|
271
|
+
export const TAG_FALSE: string
|
|
272
|
+
export const TAG_GENERIC_NAME: string
|
|
273
|
+
export const TAG_GET_CHILDREN_FUNCTION: string
|
|
274
|
+
export const TAG_GET_FUNCTION: string
|
|
275
|
+
export const TAG_GET_INTERNAL_CHILD_FUNCTION: string
|
|
276
|
+
export const TAG_GET_TYPE_FUNCTION: string
|
|
277
|
+
export const TAG_GLADE_CATALOG: string
|
|
278
|
+
export const TAG_GLADE_WIDGET_CLASS: string
|
|
279
|
+
export const TAG_GLADE_WIDGET_CLASSES: string
|
|
280
|
+
export const TAG_GLADE_WIDGET_CLASS_REF: string
|
|
281
|
+
export const TAG_GLADE_WIDGET_GROUP: string
|
|
282
|
+
export const TAG_HAS_CONTEXT: string
|
|
283
|
+
export const TAG_ICON_NAME: string
|
|
284
|
+
export const TAG_ICON_PREFIX: string
|
|
285
|
+
export const TAG_ID: string
|
|
286
|
+
export const TAG_IGNORE: string
|
|
287
|
+
export const TAG_IMPORTANT: string
|
|
288
|
+
export const TAG_INIT_FUNCTION: string
|
|
289
|
+
export const TAG_INTERNAL_CHILDREN: string
|
|
290
|
+
export const TAG_KEY: string
|
|
291
|
+
export const TAG_LIBRARY: string
|
|
292
|
+
export const TAG_MAX_VALUE: string
|
|
293
|
+
export const TAG_MIN_VALUE: string
|
|
294
|
+
export const TAG_MULTILINE: string
|
|
295
|
+
export const TAG_NAME: string
|
|
296
|
+
export const TAG_NEEDS_SYNC: string
|
|
297
|
+
export const TAG_NICK: string
|
|
298
|
+
export const TAG_NO: string
|
|
299
|
+
export const TAG_OPTIONAL: string
|
|
300
|
+
export const TAG_OPTIONAL_DEFAULT: string
|
|
301
|
+
export const TAG_PACKING_ACTIONS: string
|
|
302
|
+
export const TAG_PACKING_DEFAULTS: string
|
|
303
|
+
export const TAG_PACKING_PROPERTIES: string
|
|
304
|
+
export const TAG_PARENT: string
|
|
305
|
+
export const TAG_PARENTLESS_WIDGET: string
|
|
306
|
+
export const TAG_PARENT_CLASS: string
|
|
307
|
+
export const TAG_POST_CREATE_FUNCTION: string
|
|
308
|
+
export const TAG_PROPERTIES: string
|
|
309
|
+
export const TAG_PROPERTY: string
|
|
310
|
+
export const TAG_QUERY: string
|
|
311
|
+
export const TAG_READ_CHILD_FUNCTION: string
|
|
312
|
+
export const TAG_READ_WIDGET_FUNCTION: string
|
|
313
|
+
export const TAG_REMOVE_CHILD_FUNCTION: string
|
|
314
|
+
export const TAG_REPLACE_CHILD_FUNCTION: string
|
|
315
|
+
export const TAG_RESOURCE: string
|
|
316
|
+
export const TAG_SAVE: string
|
|
317
|
+
export const TAG_SAVE_ALWAYS: string
|
|
318
|
+
export const TAG_SET_FUNCTION: string
|
|
319
|
+
export const TAG_SIGNAL: string
|
|
320
|
+
export const TAG_SIGNALS: string
|
|
321
|
+
export const TAG_SPEC: string
|
|
322
|
+
export const TAG_SPECIAL_CHILD_TYPE: string
|
|
323
|
+
export const TAG_SPECIFICATIONS: string
|
|
324
|
+
export const TAG_STOCK: string
|
|
325
|
+
export const TAG_STOCK_ICON: string
|
|
326
|
+
export const TAG_STRING_FROM_VALUE_FUNCTION: string
|
|
327
|
+
export const TAG_TARGETABLE: string
|
|
328
|
+
export const TAG_TEMPLATE_PREFIX: string
|
|
329
|
+
export const TAG_THEMED_ICON: string
|
|
330
|
+
export const TAG_TITLE: string
|
|
331
|
+
export const TAG_TOOLTIP: string
|
|
332
|
+
export const TAG_TOPLEVEL: string
|
|
333
|
+
export const TAG_TRANSFER_ON_PASTE: string
|
|
334
|
+
export const TAG_TRANSLATABLE: string
|
|
335
|
+
export const TAG_TRUE: string
|
|
336
|
+
export const TAG_TYPE: string
|
|
337
|
+
export const TAG_USE_PLACEHOLDERS: string
|
|
338
|
+
export const TAG_VALUE: string
|
|
339
|
+
export const TAG_VALUE_TYPE: string
|
|
340
|
+
export const TAG_VERIFY_FUNCTION: string
|
|
341
|
+
export const TAG_VERSION: string
|
|
342
|
+
export const TAG_VERSION_SINCE: string
|
|
343
|
+
export const TAG_VISIBLE: string
|
|
344
|
+
export const TAG_WEIGHT: string
|
|
345
|
+
export const TAG_WRITE_CHILD_FUNCTION: string
|
|
346
|
+
export const TAG_WRITE_WIDGET_AFTER_FUNCTION: string
|
|
347
|
+
export const TAG_WRITE_WIDGET_FUNCTION: string
|
|
348
|
+
export const TAG_YES: string
|
|
349
|
+
export const UNNAMED_PREFIX: string
|
|
350
350
|
/**
|
|
351
351
|
* Class prefix used for abstract classes (ie GtkBin -> GladeInstantiableGtkBin)
|
|
352
352
|
*/
|
|
353
|
-
export const WIDGET_ADAPTOR_INSTANTIABLE_PREFIX: string
|
|
354
|
-
export const XML_TAG_AFTER: string
|
|
355
|
-
export const XML_TAG_CHILD: string
|
|
356
|
-
export const XML_TAG_CLASS: string
|
|
357
|
-
export const XML_TAG_FILENAME: string
|
|
358
|
-
export const XML_TAG_HANDLER: string
|
|
359
|
-
export const XML_TAG_I18N_TRUE: string
|
|
360
|
-
export const XML_TAG_ID: string
|
|
361
|
-
export const XML_TAG_INTERNAL_CHILD: string
|
|
362
|
-
export const XML_TAG_LIB: string
|
|
363
|
-
export const XML_TAG_NAME: string
|
|
364
|
-
export const XML_TAG_OBJECT: string
|
|
365
|
-
export const XML_TAG_PACKING: string
|
|
366
|
-
export const XML_TAG_PLACEHOLDER: string
|
|
367
|
-
export const XML_TAG_PROJECT: string
|
|
368
|
-
export const XML_TAG_PROPERTY: string
|
|
369
|
-
export const XML_TAG_REQUIRES: string
|
|
370
|
-
export const XML_TAG_SIGNAL: string
|
|
371
|
-
export const XML_TAG_SIGNAL_FALSE: string
|
|
372
|
-
export const XML_TAG_SIGNAL_TRUE: string
|
|
373
|
-
export const XML_TAG_SOURCE: string
|
|
374
|
-
export const XML_TAG_SOURCES: string
|
|
375
|
-
export const XML_TAG_STOCK_ID: string
|
|
376
|
-
export const XML_TAG_SWAPPED: string
|
|
377
|
-
export const XML_TAG_TEMPLATE: string
|
|
378
|
-
export const XML_TAG_TYPE: string
|
|
379
|
-
export const XML_TAG_TYPE_FUNC: string
|
|
380
|
-
export const XML_TAG_VERSION: string
|
|
381
|
-
export const XML_TAG_WIDGET: string
|
|
353
|
+
export const WIDGET_ADAPTOR_INSTANTIABLE_PREFIX: string
|
|
354
|
+
export const XML_TAG_AFTER: string
|
|
355
|
+
export const XML_TAG_CHILD: string
|
|
356
|
+
export const XML_TAG_CLASS: string
|
|
357
|
+
export const XML_TAG_FILENAME: string
|
|
358
|
+
export const XML_TAG_HANDLER: string
|
|
359
|
+
export const XML_TAG_I18N_TRUE: string
|
|
360
|
+
export const XML_TAG_ID: string
|
|
361
|
+
export const XML_TAG_INTERNAL_CHILD: string
|
|
362
|
+
export const XML_TAG_LIB: string
|
|
363
|
+
export const XML_TAG_NAME: string
|
|
364
|
+
export const XML_TAG_OBJECT: string
|
|
365
|
+
export const XML_TAG_PACKING: string
|
|
366
|
+
export const XML_TAG_PLACEHOLDER: string
|
|
367
|
+
export const XML_TAG_PROJECT: string
|
|
368
|
+
export const XML_TAG_PROPERTY: string
|
|
369
|
+
export const XML_TAG_REQUIRES: string
|
|
370
|
+
export const XML_TAG_SIGNAL: string
|
|
371
|
+
export const XML_TAG_SIGNAL_FALSE: string
|
|
372
|
+
export const XML_TAG_SIGNAL_TRUE: string
|
|
373
|
+
export const XML_TAG_SOURCE: string
|
|
374
|
+
export const XML_TAG_SOURCES: string
|
|
375
|
+
export const XML_TAG_STOCK_ID: string
|
|
376
|
+
export const XML_TAG_SWAPPED: string
|
|
377
|
+
export const XML_TAG_TEMPLATE: string
|
|
378
|
+
export const XML_TAG_TYPE: string
|
|
379
|
+
export const XML_TAG_TYPE_FUNC: string
|
|
380
|
+
export const XML_TAG_VERSION: string
|
|
381
|
+
export const XML_TAG_WIDGET: string
|
|
382
382
|
/**
|
|
383
383
|
* Adds a new path to the list of path to look catalogs for.
|
|
384
384
|
* @param path the new path containing catalogs
|
|
385
385
|
*/
|
|
386
|
-
export function catalog_add_path(path: string
|
|
386
|
+
export function catalog_add_path(path: string): void
|
|
387
387
|
/**
|
|
388
388
|
* Destroy and free all resources related with every loaded catalog.
|
|
389
389
|
*/
|
|
390
390
|
export function catalog_destroy_all(): void
|
|
391
391
|
export function catalog_get_extra_paths(): string[]
|
|
392
|
-
export function catalog_is_loaded(name: string
|
|
392
|
+
export function catalog_is_loaded(name: string): boolean
|
|
393
393
|
/**
|
|
394
394
|
* Loads all available catalogs in the system.
|
|
395
395
|
* First loads catalogs from GLADE_ENV_CATALOG_PATH,
|
|
@@ -417,21 +417,21 @@ export function cursor_init(): void
|
|
|
417
417
|
* @param type a #GladeCursorType
|
|
418
418
|
*/
|
|
419
419
|
export function cursor_set(project: Project, window: Gdk.Window, type: CursorType): void
|
|
420
|
-
export function displayable_value_is_disabled(type: GObject.GType, value: string
|
|
421
|
-
export function displayable_value_set_disabled(type: GObject.GType, value: string
|
|
420
|
+
export function displayable_value_is_disabled(type: GObject.GType, value: string): boolean
|
|
421
|
+
export function displayable_value_set_disabled(type: GObject.GType, value: string, disabled: boolean): void
|
|
422
422
|
export function get_debug_flags(): number
|
|
423
|
-
export function get_displayable_value(type: GObject.GType, value: string
|
|
424
|
-
export function get_value_from_displayable(type: GObject.GType, displayabe: string
|
|
423
|
+
export function get_displayable_value(type: GObject.GType, value: string): string
|
|
424
|
+
export function get_value_from_displayable(type: GObject.GType, displayabe: string): string
|
|
425
425
|
/**
|
|
426
426
|
* Initialization function for libgladeui (not #GladeApp)
|
|
427
427
|
* It builds paths, bind text domain, and register icons
|
|
428
428
|
*/
|
|
429
429
|
export function init(): void
|
|
430
430
|
export function init_debug_flags(): void
|
|
431
|
-
export function param_spec_objects(name: string
|
|
432
|
-
export function propert_get_insensitive_tooltip(property: Property): string
|
|
431
|
+
export function param_spec_objects(name: string, nick: string, blurb: string, accepted_type: GObject.GType, flags: GObject.ParamFlags): GObject.ParamSpec
|
|
432
|
+
export function propert_get_insensitive_tooltip(property: Property): string
|
|
433
433
|
export function property_def_get_default_from_spec(spec: GObject.ParamSpec): any
|
|
434
|
-
export function property_def_make_flags_from_string(type: GObject.GType, string: string
|
|
434
|
+
export function property_def_make_flags_from_string(type: GObject.GType, string: string): number
|
|
435
435
|
/**
|
|
436
436
|
* This function assigns "weight" to each property in its natural order staring from 1.
|
|
437
437
|
* If parent is 0 weight will be set for every #GladePropertyDef in the list.
|
|
@@ -449,9 +449,9 @@ export function property_def_set_weights(properties: PropertyDef[], parent: GObj
|
|
|
449
449
|
* @param domain the domain to translate catalog strings from
|
|
450
450
|
* @returns %TRUE on success. @property_def_ref is set to NULL if the property has Disabled="TRUE".
|
|
451
451
|
*/
|
|
452
|
-
export function property_def_update_from_node(node: XmlNode, object_type: GObject.GType, property_def_ref: PropertyDef | null, domain: string
|
|
453
|
-
export function register_displayable_value(type: GObject.GType, value: string
|
|
454
|
-
export function register_translated_value(type: GObject.GType, value: string
|
|
452
|
+
export function property_def_update_from_node(node: XmlNode, object_type: GObject.GType, property_def_ref: PropertyDef | null, domain: string): [ /* returnType */ boolean, /* property_def_ref */ PropertyDef | null ]
|
|
453
|
+
export function register_displayable_value(type: GObject.GType, value: string, domain: string, string: string): void
|
|
454
|
+
export function register_translated_value(type: GObject.GType, value: string, string: string): void
|
|
455
455
|
/**
|
|
456
456
|
* Sets up a log handler to manage all %G_LOG_LEVEL_MASK errors of domain:
|
|
457
457
|
* GLib, GLib-GObject, Gtk, Gdk, and domainless.
|
|
@@ -469,14 +469,14 @@ export function standard_int_spec(): GObject.ParamSpec
|
|
|
469
469
|
*/
|
|
470
470
|
export function standard_objects_spec(): GObject.ParamSpec
|
|
471
471
|
export function standard_pixbuf_spec(): GObject.ParamSpec
|
|
472
|
-
export function standard_stock_append_prefix(prefix: string
|
|
472
|
+
export function standard_stock_append_prefix(prefix: string): void
|
|
473
473
|
export function standard_stock_image_spec(): GObject.ParamSpec
|
|
474
474
|
export function standard_stock_spec(): GObject.ParamSpec
|
|
475
475
|
export function standard_string_spec(): GObject.ParamSpec
|
|
476
476
|
export function standard_strv_spec(): GObject.ParamSpec
|
|
477
477
|
export function standard_uint_spec(): GObject.ParamSpec
|
|
478
478
|
export function type_has_displayable_values(type: GObject.GType): boolean
|
|
479
|
-
export function util_canonical_path(path: string
|
|
479
|
+
export function util_canonical_path(path: string): string | null
|
|
480
480
|
export function util_check_and_warn_scrollable(parent: Widget, child_adaptor: WidgetAdaptor, parent_widget: Gtk.Widget): boolean
|
|
481
481
|
/**
|
|
482
482
|
* This is a #GCompareFunc that compares the labels of two stock items,
|
|
@@ -501,15 +501,15 @@ export function util_count_placeholders(parent: Widget): number
|
|
|
501
501
|
* @param name a string
|
|
502
502
|
* @returns a newly allocated string
|
|
503
503
|
*/
|
|
504
|
-
export function util_duplicate_underscores(name: string
|
|
505
|
-
export function util_file_dialog_new(title: string
|
|
504
|
+
export function util_duplicate_underscores(name: string): string | null
|
|
505
|
+
export function util_file_dialog_new(title: string, project: Project, parent: Gtk.Window, action: UtilFileDialogType): Gtk.Widget
|
|
506
506
|
/**
|
|
507
507
|
* Checks whether the file at `path` is writeable
|
|
508
508
|
* @param path the path to the file
|
|
509
509
|
* @returns TRUE if file is writeable
|
|
510
510
|
*/
|
|
511
|
-
export function util_file_is_writeable(path: string
|
|
512
|
-
export function util_filename_to_icon_name(value: string
|
|
511
|
+
export function util_file_is_writeable(path: string): boolean
|
|
512
|
+
export function util_filename_to_icon_name(value: string): string | null
|
|
513
513
|
/**
|
|
514
514
|
* Looks through `model` for the #GtkTreeIter corresponding to
|
|
515
515
|
* `findme` under `column`.
|
|
@@ -530,7 +530,7 @@ export function util_get_devhelp_icon(size: Gtk.IconSize): Gtk.Widget
|
|
|
530
530
|
* @param filename A filename
|
|
531
531
|
* @returns The mtime of the file, or %0 if the file attributes could not be read.
|
|
532
532
|
*/
|
|
533
|
-
export function util_get_file_mtime(filename: string
|
|
533
|
+
export function util_get_file_mtime(filename: string): number
|
|
534
534
|
export function util_get_placeholder_from_pointer(container: Gtk.Container): Gtk.Widget
|
|
535
535
|
/**
|
|
536
536
|
* Returns the type using the "get type" function name based on `name`.
|
|
@@ -540,16 +540,16 @@ export function util_get_placeholder_from_pointer(container: Gtk.Container): Gtk
|
|
|
540
540
|
* @param have_func function-name flag -- true if the name is a "get-type" function.
|
|
541
541
|
* @returns the new #GType
|
|
542
542
|
*/
|
|
543
|
-
export function util_get_type_from_name(name: string
|
|
543
|
+
export function util_get_type_from_name(name: string, have_func: boolean): GObject.GType
|
|
544
544
|
export function util_have_devhelp(): boolean
|
|
545
|
-
export function util_icon_name_to_filename(value: string
|
|
545
|
+
export function util_icon_name_to_filename(value: string): string | null
|
|
546
546
|
export function util_object_is_loading(object: GObject.Object): boolean
|
|
547
547
|
/**
|
|
548
548
|
* Return a usable version of a property identifier as found
|
|
549
549
|
* in a freshly parserd #GladeInterface
|
|
550
550
|
* @param str a string
|
|
551
551
|
*/
|
|
552
|
-
export function util_read_prop_name(str: string
|
|
552
|
+
export function util_read_prop_name(str: string): string | null
|
|
553
553
|
export function util_remove_scroll_events(widget: Gtk.Widget): void
|
|
554
554
|
/**
|
|
555
555
|
* Replaces each occurrence of the character `a` in `str` to `b`.
|
|
@@ -558,27 +558,27 @@ export function util_remove_scroll_events(widget: Gtk.Widget): void
|
|
|
558
558
|
* @param b a #gchar
|
|
559
559
|
*/
|
|
560
560
|
export function util_replace(str: string | null, a: number, b: number): void
|
|
561
|
-
export function util_search_devhelp(book: string
|
|
561
|
+
export function util_search_devhelp(book: string, page: string, search: string): void
|
|
562
562
|
/**
|
|
563
563
|
* Portable function for showing an URL `url` in a web browser.
|
|
564
564
|
* @param url An URL to display
|
|
565
565
|
* @returns TRUE if a web browser was successfully launched, or FALSE
|
|
566
566
|
*/
|
|
567
|
-
export function util_url_show(url: string
|
|
567
|
+
export function util_url_show(url: string): boolean
|
|
568
568
|
/**
|
|
569
569
|
* Parse a boolean value
|
|
570
570
|
* @param string the string to convert
|
|
571
571
|
* @returns %TRUE if there was an error on the conversion, %FALSE otherwise.
|
|
572
572
|
*/
|
|
573
|
-
export function utils_boolean_from_string(string: string
|
|
573
|
+
export function utils_boolean_from_string(string: string): [ /* returnType */ boolean, /* value */ boolean ]
|
|
574
574
|
export function utils_cairo_draw_line(cr: cairo.Context, color: Gdk.Color, x1: number, y1: number, x2: number, y2: number): void
|
|
575
575
|
export function utils_cairo_draw_rectangle(cr: cairo.Context, color: Gdk.Color, filled: boolean, x: number, y: number, width: number, height: number): void
|
|
576
576
|
export function utils_enum_string_from_value(enum_type: GObject.GType, value: number): string | null
|
|
577
577
|
export function utils_enum_string_from_value_displayable(flags_type: GObject.GType, value: number): string | null
|
|
578
|
-
export function utils_enum_value_from_string(enum_type: GObject.GType, strval: string
|
|
578
|
+
export function utils_enum_value_from_string(enum_type: GObject.GType, strval: string): number
|
|
579
579
|
export function utils_flags_string_from_value(enum_type: GObject.GType, value: number): string | null
|
|
580
580
|
export function utils_flags_string_from_value_displayable(flags_type: GObject.GType, value: number): string | null
|
|
581
|
-
export function utils_flags_value_from_string(enum_type: GObject.GType, strval: string
|
|
581
|
+
export function utils_flags_value_from_string(enum_type: GObject.GType, strval: string): number
|
|
582
582
|
/**
|
|
583
583
|
* Get's the pointer position relative to `widget,` while `window` and `device`
|
|
584
584
|
* are not absolutely needed, they should be passed wherever possible.
|
|
@@ -589,7 +589,7 @@ export function utils_flags_value_from_string(enum_type: GObject.GType, strval:
|
|
|
589
589
|
* @param y The location to store the mouse pointer Y position
|
|
590
590
|
*/
|
|
591
591
|
export function utils_get_pointer(widget: Gtk.Widget, window: Gdk.Window, device: Gdk.Device, x: number, y: number): void
|
|
592
|
-
export function utils_get_pspec_from_funcname(funcname: string
|
|
592
|
+
export function utils_get_pspec_from_funcname(funcname: string): GObject.ParamSpec | null
|
|
593
593
|
/**
|
|
594
594
|
* This function is meant to be attached to key-press-event of a toplevel,
|
|
595
595
|
* it simply allows the window contents to treat key events /before/
|
|
@@ -619,7 +619,7 @@ export function utils_liststore_from_enum_type(enum_type: GObject.GType, include
|
|
|
619
619
|
* @returns the rendered #GdkPixbuf
|
|
620
620
|
*/
|
|
621
621
|
export function utils_pointer_mode_render_icon(mode: PointerMode, size: Gtk.IconSize): GdkPixbuf.Pixbuf
|
|
622
|
-
export function utils_replace_home_dir_with_tilde(path: string
|
|
622
|
+
export function utils_replace_home_dir_with_tilde(path: string): string | null
|
|
623
623
|
/**
|
|
624
624
|
* Serializes #GValue into a string
|
|
625
625
|
* (using glade conversion routines)
|
|
@@ -635,33 +635,33 @@ export function utils_string_from_value(value: any): string | null
|
|
|
635
635
|
* @param project the #GladeProject to look for formats of object names when needed
|
|
636
636
|
* @returns A newly allocated and set #GValue
|
|
637
637
|
*/
|
|
638
|
-
export function utils_value_from_string(type: GObject.GType, string: string
|
|
638
|
+
export function utils_value_from_string(type: GObject.GType, string: string, project: Project): any
|
|
639
639
|
/**
|
|
640
640
|
* Dump the XML string from the context.
|
|
641
641
|
* @param context a #GladeXmlContext
|
|
642
642
|
* @returns the XML string, free the allocated memory with g_free() after use
|
|
643
643
|
*/
|
|
644
644
|
export function xml_dump_from_context(context: XmlContext): string | null
|
|
645
|
-
export function xml_get_boolean(node: XmlNode, name: string
|
|
645
|
+
export function xml_get_boolean(node: XmlNode, name: string, _default: boolean): boolean
|
|
646
646
|
/**
|
|
647
647
|
* Gets a string containing the content of `node_in`.
|
|
648
648
|
* @param node_in a #GladeXmlNode
|
|
649
649
|
* @returns A newly allocated string
|
|
650
650
|
*/
|
|
651
651
|
export function xml_get_content(node_in: XmlNode): string | null
|
|
652
|
-
export function xml_get_property_boolean(node_in: XmlNode, name: string
|
|
653
|
-
export function xml_get_property_double(node_in: XmlNode, name: string
|
|
654
|
-
export function xml_get_property_int(node_in: XmlNode, name: string
|
|
655
|
-
export function xml_get_property_string(node_in: XmlNode, name: string
|
|
656
|
-
export function xml_get_property_string_required(node_in: XmlNode, name: string
|
|
652
|
+
export function xml_get_property_boolean(node_in: XmlNode, name: string, _default: boolean): boolean
|
|
653
|
+
export function xml_get_property_double(node_in: XmlNode, name: string, _default: number): number
|
|
654
|
+
export function xml_get_property_int(node_in: XmlNode, name: string, _default: number): number
|
|
655
|
+
export function xml_get_property_string(node_in: XmlNode, name: string): string | null
|
|
656
|
+
export function xml_get_property_string_required(node_in: XmlNode, name: string, xtra: string): string | null
|
|
657
657
|
/**
|
|
658
658
|
* Get the list of targetable versions for a property
|
|
659
659
|
* @param node_in a #GladeXmlNode
|
|
660
660
|
* @param name a property name
|
|
661
661
|
* @returns a list of #GladeTargetableVersion
|
|
662
662
|
*/
|
|
663
|
-
export function xml_get_property_targetable_versions(node_in: XmlNode, name: string
|
|
664
|
-
export function xml_get_property_version(node_in: XmlNode, name: string
|
|
663
|
+
export function xml_get_property_targetable_versions(node_in: XmlNode, name: string): TargetableVersion[]
|
|
664
|
+
export function xml_get_property_version(node_in: XmlNode, name: string, major: number, minor: number): boolean
|
|
665
665
|
/**
|
|
666
666
|
* Gets an integer value for a node either carried as an attribute or as
|
|
667
667
|
* the content of a child.
|
|
@@ -670,7 +670,7 @@ export function xml_get_property_version(node_in: XmlNode, name: string | null,
|
|
|
670
670
|
* @param val a pointer to an #int
|
|
671
671
|
* @returns %TRUE if the node is found, %FALSE otherwise
|
|
672
672
|
*/
|
|
673
|
-
export function xml_get_value_int(node_in: XmlNode, name: string
|
|
673
|
+
export function xml_get_value_int(node_in: XmlNode, name: string, val: number): boolean
|
|
674
674
|
/**
|
|
675
675
|
* This is a wrapper around glade_xml_get_value_int(), only it emits
|
|
676
676
|
* a g_warning() if `node` did not contain the requested tag
|
|
@@ -679,11 +679,11 @@ export function xml_get_value_int(node_in: XmlNode, name: string | null, val: nu
|
|
|
679
679
|
* @param val a pointer to an #int
|
|
680
680
|
* @returns %FALSE if @name is not in @node
|
|
681
681
|
*/
|
|
682
|
-
export function xml_get_value_int_required(node: XmlNode, name: string
|
|
683
|
-
export function xml_get_value_string(node: XmlNode, name: string
|
|
684
|
-
export function xml_get_value_string_required(node: XmlNode, name: string
|
|
682
|
+
export function xml_get_value_int_required(node: XmlNode, name: string, val: number): boolean
|
|
683
|
+
export function xml_get_value_string(node: XmlNode, name: string): string | null
|
|
684
|
+
export function xml_get_value_string_required(node: XmlNode, name: string, xtra_info: string): string | null
|
|
685
685
|
export function xml_load_sym_from_node(node_in: XmlNode, module: GModule.Module, tagname: string | null, sym_location: any | null): boolean
|
|
686
|
-
export function xml_search_child(node: XmlNode, name: string
|
|
686
|
+
export function xml_search_child(node: XmlNode, name: string): XmlNode
|
|
687
687
|
/**
|
|
688
688
|
* just a small wrapper around glade_xml_search_child that displays
|
|
689
689
|
* an error if the child was not found
|
|
@@ -691,20 +691,20 @@ export function xml_search_child(node: XmlNode, name: string | null): XmlNode
|
|
|
691
691
|
* @param name the name of the child
|
|
692
692
|
* @returns the requested #GladeXmlNode
|
|
693
693
|
*/
|
|
694
|
-
export function xml_search_child_required(tree: XmlNode, name: string
|
|
694
|
+
export function xml_search_child_required(tree: XmlNode, name: string): XmlNode | null
|
|
695
695
|
/**
|
|
696
696
|
* Sets the content of `node` to `content`.
|
|
697
697
|
* @param node_in a #GladeXmlNode
|
|
698
698
|
* @param content a string
|
|
699
699
|
*/
|
|
700
|
-
export function xml_set_content(node_in: XmlNode, content: string
|
|
700
|
+
export function xml_set_content(node_in: XmlNode, content: string): void
|
|
701
701
|
/**
|
|
702
702
|
* Sets the property `name` in `node_in` to `val`
|
|
703
703
|
* @param node_in a #GladeXmlNode
|
|
704
704
|
* @param name a string
|
|
705
705
|
* @param val a string
|
|
706
706
|
*/
|
|
707
|
-
export function xml_set_value(node_in: XmlNode, name: string
|
|
707
|
+
export function xml_set_value(node_in: XmlNode, name: string, val: string): void
|
|
708
708
|
/**
|
|
709
709
|
* This delegate function is used to catch actions from the core.
|
|
710
710
|
* @callback
|
|
@@ -713,7 +713,7 @@ export function xml_set_value(node_in: XmlNode, name: string | null, val: string
|
|
|
713
713
|
* @param action_path The action identifier in the action tree
|
|
714
714
|
*/
|
|
715
715
|
export interface ActionActivateFunc {
|
|
716
|
-
(adaptor: WidgetAdaptor, object: GObject.Object, action_path: string
|
|
716
|
+
(adaptor: WidgetAdaptor, object: GObject.Object, action_path: string): void
|
|
717
717
|
}
|
|
718
718
|
/**
|
|
719
719
|
* This delegate function is used to create dynamically customized
|
|
@@ -725,7 +725,7 @@ export interface ActionActivateFunc {
|
|
|
725
725
|
* @returns A newly created #GtkMenu or %NULL
|
|
726
726
|
*/
|
|
727
727
|
export interface ActionSubmenuFunc {
|
|
728
|
-
(adaptor: WidgetAdaptor, object: GObject.Object, action_path: string
|
|
728
|
+
(adaptor: WidgetAdaptor, object: GObject.Object, action_path: string): Gtk.Widget | null
|
|
729
729
|
}
|
|
730
730
|
/**
|
|
731
731
|
* Called to add `child` to `container`.
|
|
@@ -760,7 +760,7 @@ export interface AddChildVerifyFunc {
|
|
|
760
760
|
* @param name The name of the catalog
|
|
761
761
|
*/
|
|
762
762
|
export interface CatalogInitFunc {
|
|
763
|
-
(name: string
|
|
763
|
+
(name: string): void
|
|
764
764
|
}
|
|
765
765
|
/**
|
|
766
766
|
* This delegate function is used to catch packing actions from the core.
|
|
@@ -771,7 +771,7 @@ export interface CatalogInitFunc {
|
|
|
771
771
|
* @param action_path The action identifier in the action tree
|
|
772
772
|
*/
|
|
773
773
|
export interface ChildActionActivateFunc {
|
|
774
|
-
(adaptor: WidgetAdaptor, container: GObject.Object, object: GObject.Object, action_path: string
|
|
774
|
+
(adaptor: WidgetAdaptor, container: GObject.Object, object: GObject.Object, action_path: string): void
|
|
775
775
|
}
|
|
776
776
|
/**
|
|
777
777
|
* Called to get the packing property `property_name`
|
|
@@ -784,7 +784,7 @@ export interface ChildActionActivateFunc {
|
|
|
784
784
|
* @param value The `GValue`
|
|
785
785
|
*/
|
|
786
786
|
export interface ChildGetPropertyFunc {
|
|
787
|
-
(adaptor: WidgetAdaptor, container: GObject.Object, child: GObject.Object, property_name: string
|
|
787
|
+
(adaptor: WidgetAdaptor, container: GObject.Object, child: GObject.Object, property_name: string, value: any): void
|
|
788
788
|
}
|
|
789
789
|
/**
|
|
790
790
|
* Called to set the packing property `property_name` to `value`
|
|
@@ -797,7 +797,7 @@ export interface ChildGetPropertyFunc {
|
|
|
797
797
|
* @param value The `GValue`
|
|
798
798
|
*/
|
|
799
799
|
export interface ChildSetPropertyFunc {
|
|
800
|
-
(adaptor: WidgetAdaptor, container: GObject.Object, child: GObject.Object, property_name: string
|
|
800
|
+
(adaptor: WidgetAdaptor, container: GObject.Object, child: GObject.Object, property_name: string, value: any): void
|
|
801
801
|
}
|
|
802
802
|
/**
|
|
803
803
|
* This delegate function is always called whenever setting any
|
|
@@ -814,7 +814,7 @@ export interface ChildSetPropertyFunc {
|
|
|
814
814
|
* @returns whether or not its OK to set @value on @object, this function will silently return TRUE if the class did not provide a verify function.
|
|
815
815
|
*/
|
|
816
816
|
export interface ChildVerifyPropertyFunc {
|
|
817
|
-
(adaptor: WidgetAdaptor, container: GObject.Object, child: GObject.Object, property_name: string
|
|
817
|
+
(adaptor: WidgetAdaptor, container: GObject.Object, child: GObject.Object, property_name: string, value: any): boolean
|
|
818
818
|
}
|
|
819
819
|
/**
|
|
820
820
|
* This function is called to construct a GObject instance.
|
|
@@ -903,7 +903,7 @@ export interface GetChildrenFunc {
|
|
|
903
903
|
* @returns The internal #GObject
|
|
904
904
|
*/
|
|
905
905
|
export interface GetInternalFunc {
|
|
906
|
-
(adaptor: WidgetAdaptor, object: GObject.Object, internal_name: string
|
|
906
|
+
(adaptor: WidgetAdaptor, object: GObject.Object, internal_name: string): GObject.Object | null
|
|
907
907
|
}
|
|
908
908
|
/**
|
|
909
909
|
* Gets `value` on `object` for a given #GladePropertyDef
|
|
@@ -914,7 +914,7 @@ export interface GetInternalFunc {
|
|
|
914
914
|
* @param value The #GValue
|
|
915
915
|
*/
|
|
916
916
|
export interface GetPropertyFunc {
|
|
917
|
-
(adaptor: WidgetAdaptor, object: GObject.Object, property_name: string
|
|
917
|
+
(adaptor: WidgetAdaptor, object: GObject.Object, property_name: string, value: any): void
|
|
918
918
|
}
|
|
919
919
|
/**
|
|
920
920
|
* This function is called exactly once for any project object
|
|
@@ -971,7 +971,7 @@ export interface ReplaceChildFunc {
|
|
|
971
971
|
* @param value The #GValue
|
|
972
972
|
*/
|
|
973
973
|
export interface SetPropertyFunc {
|
|
974
|
-
(adaptor: WidgetAdaptor, object: GObject.Object, property_name: string
|
|
974
|
+
(adaptor: WidgetAdaptor, object: GObject.Object, property_name: string, value: any): void
|
|
975
975
|
}
|
|
976
976
|
/**
|
|
977
977
|
* For normal properties this is used to serialize
|
|
@@ -1001,7 +1001,7 @@ export interface StringFromValueFunc {
|
|
|
1001
1001
|
* @returns whether or not its OK to set @value on @object, this function will silently return TRUE if the class did not provide a verify function.
|
|
1002
1002
|
*/
|
|
1003
1003
|
export interface VerifyPropertyFunc {
|
|
1004
|
-
(adaptor: WidgetAdaptor, object: GObject.Object, property_name: string
|
|
1004
|
+
(adaptor: WidgetAdaptor, object: GObject.Object, property_name: string, value: any): boolean
|
|
1005
1005
|
}
|
|
1006
1006
|
/**
|
|
1007
1007
|
* This function is called to fill in `node` from `widget`.
|
|
@@ -1242,7 +1242,7 @@ export interface AdaptorChooser extends Atk.ImplementorIface, Gtk.Buildable, Gtk
|
|
|
1242
1242
|
* @param child the child widget
|
|
1243
1243
|
* @param child_property the name of a child property installed on the class of `container`
|
|
1244
1244
|
*/
|
|
1245
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
1245
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
1246
1246
|
|
|
1247
1247
|
// Overloads of child_notify
|
|
1248
1248
|
|
|
@@ -1256,7 +1256,7 @@ export interface AdaptorChooser extends Atk.ImplementorIface, Gtk.Buildable, Gtk
|
|
|
1256
1256
|
* Also see gtk_container_child_notify().
|
|
1257
1257
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
1258
1258
|
*/
|
|
1259
|
-
child_notify(child_property: string
|
|
1259
|
+
child_notify(child_property: string): void
|
|
1260
1260
|
/**
|
|
1261
1261
|
* Emits a #GtkWidget::child-notify signal for the
|
|
1262
1262
|
* [child property][child-properties] `child_property`
|
|
@@ -1267,7 +1267,7 @@ export interface AdaptorChooser extends Atk.ImplementorIface, Gtk.Buildable, Gtk
|
|
|
1267
1267
|
* Also see gtk_container_child_notify().
|
|
1268
1268
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
1269
1269
|
*/
|
|
1270
|
-
child_notify(child_property: string
|
|
1270
|
+
child_notify(child_property: string): void
|
|
1271
1271
|
|
|
1272
1272
|
// Class property signals of Gladeui-2.0.Gladeui.AdaptorChooser
|
|
1273
1273
|
|
|
@@ -1531,26 +1531,26 @@ export class App extends GObject.Object {
|
|
|
1531
1531
|
static do_event(event: Gdk.Event): boolean
|
|
1532
1532
|
static get(): App
|
|
1533
1533
|
static get_accel_group(): Gtk.AccelGroup
|
|
1534
|
-
static get_bin_dir(): string
|
|
1535
|
-
static get_catalog(name: string
|
|
1536
|
-
static get_catalog_version(name: string
|
|
1534
|
+
static get_bin_dir(): string
|
|
1535
|
+
static get_catalog(name: string): Catalog | null
|
|
1536
|
+
static get_catalog_version(name: string): [ /* returnType */ boolean, /* major */ number, /* minor */ number ]
|
|
1537
1537
|
static get_catalogs(): Catalog[]
|
|
1538
|
-
static get_catalogs_dir(): string
|
|
1538
|
+
static get_catalogs_dir(): string
|
|
1539
1539
|
static get_clipboard(): Clipboard
|
|
1540
1540
|
static get_config(): GLib.KeyFile
|
|
1541
|
-
static get_lib_dir(): string
|
|
1542
|
-
static get_locale_dir(): string
|
|
1543
|
-
static get_modules_dir(): string
|
|
1544
|
-
static get_pixmaps_dir(): string
|
|
1541
|
+
static get_lib_dir(): string
|
|
1542
|
+
static get_locale_dir(): string
|
|
1543
|
+
static get_modules_dir(): string
|
|
1544
|
+
static get_pixmaps_dir(): string
|
|
1545
1545
|
/**
|
|
1546
1546
|
* Finds an open project with `path`
|
|
1547
1547
|
* @param project_path The path of an open project
|
|
1548
1548
|
* @returns A #GladeProject, or NULL if no such open project was found
|
|
1549
1549
|
*/
|
|
1550
|
-
static get_project_by_path(project_path: string
|
|
1550
|
+
static get_project_by_path(project_path: string): Project | null
|
|
1551
1551
|
static get_projects(): Catalog[]
|
|
1552
1552
|
static get_window(): Gtk.Widget
|
|
1553
|
-
static is_project_loaded(project_path: string
|
|
1553
|
+
static is_project_loaded(project_path: string): boolean
|
|
1554
1554
|
static remove_project(project: Project): void
|
|
1555
1555
|
/**
|
|
1556
1556
|
* Searches for `book,` `page` and `search` in the documentation.
|
|
@@ -1558,7 +1558,7 @@ export class App extends GObject.Object {
|
|
|
1558
1558
|
* @param page the name of a page
|
|
1559
1559
|
* @param search the search query
|
|
1560
1560
|
*/
|
|
1561
|
-
static search_docs(book: string
|
|
1561
|
+
static search_docs(book: string, page: string, search: string): void
|
|
1562
1562
|
/**
|
|
1563
1563
|
* Sets `accel_group` to app.
|
|
1564
1564
|
* The acceleration group will made available for editor dialog windows
|
|
@@ -1691,7 +1691,7 @@ export interface BaseEditor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Ori
|
|
|
1691
1691
|
* @param child the child widget
|
|
1692
1692
|
* @param child_property the name of a child property installed on the class of `container`
|
|
1693
1693
|
*/
|
|
1694
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
1694
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
1695
1695
|
|
|
1696
1696
|
// Overloads of child_notify
|
|
1697
1697
|
|
|
@@ -1705,7 +1705,7 @@ export interface BaseEditor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Ori
|
|
|
1705
1705
|
* Also see gtk_container_child_notify().
|
|
1706
1706
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
1707
1707
|
*/
|
|
1708
|
-
child_notify(child_property: string
|
|
1708
|
+
child_notify(child_property: string): void
|
|
1709
1709
|
/**
|
|
1710
1710
|
* Emits a #GtkWidget::child-notify signal for the
|
|
1711
1711
|
* [child property][child-properties] `child_property`
|
|
@@ -1716,7 +1716,7 @@ export interface BaseEditor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Ori
|
|
|
1716
1716
|
* Also see gtk_container_child_notify().
|
|
1717
1717
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
1718
1718
|
*/
|
|
1719
|
-
child_notify(child_property: string
|
|
1719
|
+
child_notify(child_property: string): void
|
|
1720
1720
|
|
|
1721
1721
|
// Own virtual methods of Gladeui-2.0.Gladeui.BaseEditor
|
|
1722
1722
|
|
|
@@ -1953,7 +1953,7 @@ export interface CellRendererIcon {
|
|
|
1953
1953
|
|
|
1954
1954
|
// Own virtual methods of Gladeui-2.0.Gladeui.CellRendererIcon
|
|
1955
1955
|
|
|
1956
|
-
vfunc_activate(path: string
|
|
1956
|
+
vfunc_activate(path: string): void
|
|
1957
1957
|
|
|
1958
1958
|
// Overloads of vfunc_activate
|
|
1959
1959
|
|
|
@@ -1970,7 +1970,7 @@ export interface CellRendererIcon {
|
|
|
1970
1970
|
* @param flags render flags
|
|
1971
1971
|
* @returns %TRUE if the event was consumed/handled
|
|
1972
1972
|
*/
|
|
1973
|
-
vfunc_activate(event: Gdk.Event, widget: Gtk.Widget, path: string
|
|
1973
|
+
vfunc_activate(event: Gdk.Event, widget: Gtk.Widget, path: string, background_area: Gdk.Rectangle, cell_area: Gdk.Rectangle, flags: Gtk.CellRendererState): boolean
|
|
1974
1974
|
|
|
1975
1975
|
// Own signals of Gladeui-2.0.Gladeui.CellRendererIcon
|
|
1976
1976
|
|
|
@@ -2098,7 +2098,6 @@ export interface Clipboard {
|
|
|
2098
2098
|
|
|
2099
2099
|
// Own properties of Gladeui-2.0.Gladeui.Clipboard
|
|
2100
2100
|
|
|
2101
|
-
readonly has_selection: boolean
|
|
2102
2101
|
readonly hasSelection: boolean
|
|
2103
2102
|
|
|
2104
2103
|
// Own fields of Gladeui-2.0.Gladeui.Clipboard
|
|
@@ -2169,7 +2168,7 @@ export interface Command {
|
|
|
2169
2168
|
* @param other another #GladeCommand
|
|
2170
2169
|
*/
|
|
2171
2170
|
collapse(other: Command): void
|
|
2172
|
-
description(): string
|
|
2171
|
+
description(): string
|
|
2173
2172
|
/**
|
|
2174
2173
|
* Executes `command`
|
|
2175
2174
|
* @returns whether the command was successfully executed
|
|
@@ -2329,26 +2328,26 @@ export class Command extends GObject.Object {
|
|
|
2329
2328
|
* @param context a #const gchar *
|
|
2330
2329
|
* @param comment a #const gchar *
|
|
2331
2330
|
*/
|
|
2332
|
-
static set_i18n(property: Property, translatable: boolean, context: string
|
|
2333
|
-
static set_name(glade_widget: Widget, name: string
|
|
2331
|
+
static set_i18n(property: Property, translatable: boolean, context: string, comment: string): void
|
|
2332
|
+
static set_name(glade_widget: Widget, name: string): void
|
|
2334
2333
|
/**
|
|
2335
2334
|
* Sets `domain` as the translation domain for `project`.
|
|
2336
2335
|
* @param project A #GladeProject
|
|
2337
2336
|
* @param domain The translation domain for `project`
|
|
2338
2337
|
*/
|
|
2339
|
-
static set_project_domain(project: Project, domain: string
|
|
2338
|
+
static set_project_domain(project: Project, domain: string): void
|
|
2340
2339
|
/**
|
|
2341
2340
|
* Sets the license agreement for `project`. It will be saved in the xml as comment.
|
|
2342
2341
|
* @param project A #GladeProject
|
|
2343
2342
|
* @param license License of `project`
|
|
2344
2343
|
*/
|
|
2345
|
-
static set_project_license(project: Project, license: string
|
|
2344
|
+
static set_project_license(project: Project, license: string): void
|
|
2346
2345
|
/**
|
|
2347
2346
|
* Sets a resource path `project`.
|
|
2348
2347
|
* @param project A #GladeProject
|
|
2349
2348
|
* @param path path to load resources from.
|
|
2350
2349
|
*/
|
|
2351
|
-
static set_project_resource_path(project: Project, path: string
|
|
2350
|
+
static set_project_resource_path(project: Project, path: string): void
|
|
2352
2351
|
/**
|
|
2353
2352
|
* Sets the target of `catalog` to `major`.`minor` in `project`.
|
|
2354
2353
|
* @param project A #GladeProject
|
|
@@ -2356,7 +2355,7 @@ export class Command extends GObject.Object {
|
|
|
2356
2355
|
* @param major The new major version of `catalog` to target
|
|
2357
2356
|
* @param minor The new minor version of `catalog` to target
|
|
2358
2357
|
*/
|
|
2359
|
-
static set_project_target(project: Project, catalog: string
|
|
2358
|
+
static set_project_target(project: Project, catalog: string, major: number, minor: number): void
|
|
2360
2359
|
/**
|
|
2361
2360
|
* Sets `widget` to be the template widget in `project`.
|
|
2362
2361
|
* @param project A #GladeProject
|
|
@@ -2421,7 +2420,7 @@ export interface DesignView extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Ori
|
|
|
2421
2420
|
* @param child the child widget
|
|
2422
2421
|
* @param child_property the name of a child property installed on the class of `container`
|
|
2423
2422
|
*/
|
|
2424
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
2423
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
2425
2424
|
|
|
2426
2425
|
// Overloads of child_notify
|
|
2427
2426
|
|
|
@@ -2435,7 +2434,7 @@ export interface DesignView extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Ori
|
|
|
2435
2434
|
* Also see gtk_container_child_notify().
|
|
2436
2435
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
2437
2436
|
*/
|
|
2438
|
-
child_notify(child_property: string
|
|
2437
|
+
child_notify(child_property: string): void
|
|
2439
2438
|
/**
|
|
2440
2439
|
* Emits a #GtkWidget::child-notify signal for the
|
|
2441
2440
|
* [child property][child-properties] `child_property`
|
|
@@ -2446,7 +2445,7 @@ export interface DesignView extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Ori
|
|
|
2446
2445
|
* Also see gtk_container_child_notify().
|
|
2447
2446
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
2448
2447
|
*/
|
|
2449
|
-
child_notify(child_property: string
|
|
2448
|
+
child_notify(child_property: string): void
|
|
2450
2449
|
|
|
2451
2450
|
// Class property signals of Gladeui-2.0.Gladeui.DesignView
|
|
2452
2451
|
|
|
@@ -2665,7 +2664,7 @@ export interface EPropBool extends Atk.ImplementorIface, Editable, Gtk.Buildable
|
|
|
2665
2664
|
* @param property_name the name of the property to get
|
|
2666
2665
|
* @param value return location for the property value
|
|
2667
2666
|
*/
|
|
2668
|
-
get_property(property_name: string
|
|
2667
|
+
get_property(property_name: string, value: any): void
|
|
2669
2668
|
/**
|
|
2670
2669
|
* Gets a property of an object.
|
|
2671
2670
|
*
|
|
@@ -2686,7 +2685,7 @@ export interface EPropBool extends Atk.ImplementorIface, Editable, Gtk.Buildable
|
|
|
2686
2685
|
* @param property_name the name of the property to get
|
|
2687
2686
|
* @param value return location for the property value
|
|
2688
2687
|
*/
|
|
2689
|
-
get_property(property_name: string
|
|
2688
|
+
get_property(property_name: string, value: any): void
|
|
2690
2689
|
/**
|
|
2691
2690
|
* Loads `widget` property values into `editable`
|
|
2692
2691
|
* (the editable will watch the widgets properties
|
|
@@ -2721,7 +2720,7 @@ export interface EPropBool extends Atk.ImplementorIface, Editable, Gtk.Buildable
|
|
|
2721
2720
|
* Also see gtk_container_child_notify().
|
|
2722
2721
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
2723
2722
|
*/
|
|
2724
|
-
child_notify(child_property: string
|
|
2723
|
+
child_notify(child_property: string): void
|
|
2725
2724
|
/**
|
|
2726
2725
|
* Emits a #GtkWidget::child-notify signal for the
|
|
2727
2726
|
* [child property][child-properties]
|
|
@@ -2733,7 +2732,7 @@ export interface EPropBool extends Atk.ImplementorIface, Editable, Gtk.Buildable
|
|
|
2733
2732
|
* @param child the child widget
|
|
2734
2733
|
* @param child_property the name of a child property installed on the class of `container`
|
|
2735
2734
|
*/
|
|
2736
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
2735
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
2737
2736
|
|
|
2738
2737
|
// Overloads of child_notify
|
|
2739
2738
|
|
|
@@ -2747,7 +2746,7 @@ export interface EPropBool extends Atk.ImplementorIface, Editable, Gtk.Buildable
|
|
|
2747
2746
|
* Also see gtk_container_child_notify().
|
|
2748
2747
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
2749
2748
|
*/
|
|
2750
|
-
child_notify(child_property: string
|
|
2749
|
+
child_notify(child_property: string): void
|
|
2751
2750
|
/**
|
|
2752
2751
|
* Loads `widget` property values into `editable`
|
|
2753
2752
|
* (the editable will watch the widgets properties
|
|
@@ -2988,7 +2987,7 @@ export interface EPropCheck extends Atk.ImplementorIface, Editable, Gtk.Buildabl
|
|
|
2988
2987
|
* @param property_name the name of the property to get
|
|
2989
2988
|
* @param value return location for the property value
|
|
2990
2989
|
*/
|
|
2991
|
-
get_property(property_name: string
|
|
2990
|
+
get_property(property_name: string, value: any): void
|
|
2992
2991
|
/**
|
|
2993
2992
|
* Gets a property of an object.
|
|
2994
2993
|
*
|
|
@@ -3009,7 +3008,7 @@ export interface EPropCheck extends Atk.ImplementorIface, Editable, Gtk.Buildabl
|
|
|
3009
3008
|
* @param property_name the name of the property to get
|
|
3010
3009
|
* @param value return location for the property value
|
|
3011
3010
|
*/
|
|
3012
|
-
get_property(property_name: string
|
|
3011
|
+
get_property(property_name: string, value: any): void
|
|
3013
3012
|
/**
|
|
3014
3013
|
* Loads `widget` property values into `editable`
|
|
3015
3014
|
* (the editable will watch the widgets properties
|
|
@@ -3044,7 +3043,7 @@ export interface EPropCheck extends Atk.ImplementorIface, Editable, Gtk.Buildabl
|
|
|
3044
3043
|
* Also see gtk_container_child_notify().
|
|
3045
3044
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
3046
3045
|
*/
|
|
3047
|
-
child_notify(child_property: string
|
|
3046
|
+
child_notify(child_property: string): void
|
|
3048
3047
|
/**
|
|
3049
3048
|
* Emits a #GtkWidget::child-notify signal for the
|
|
3050
3049
|
* [child property][child-properties]
|
|
@@ -3056,7 +3055,7 @@ export interface EPropCheck extends Atk.ImplementorIface, Editable, Gtk.Buildabl
|
|
|
3056
3055
|
* @param child the child widget
|
|
3057
3056
|
* @param child_property the name of a child property installed on the class of `container`
|
|
3058
3057
|
*/
|
|
3059
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
3058
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
3060
3059
|
|
|
3061
3060
|
// Overloads of child_notify
|
|
3062
3061
|
|
|
@@ -3070,7 +3069,7 @@ export interface EPropCheck extends Atk.ImplementorIface, Editable, Gtk.Buildabl
|
|
|
3070
3069
|
* Also see gtk_container_child_notify().
|
|
3071
3070
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
3072
3071
|
*/
|
|
3073
|
-
child_notify(child_property: string
|
|
3072
|
+
child_notify(child_property: string): void
|
|
3074
3073
|
/**
|
|
3075
3074
|
* Loads `widget` property values into `editable`
|
|
3076
3075
|
* (the editable will watch the widgets properties
|
|
@@ -3311,7 +3310,7 @@ export interface EPropColor extends Atk.ImplementorIface, Editable, Gtk.Buildabl
|
|
|
3311
3310
|
* @param property_name the name of the property to get
|
|
3312
3311
|
* @param value return location for the property value
|
|
3313
3312
|
*/
|
|
3314
|
-
get_property(property_name: string
|
|
3313
|
+
get_property(property_name: string, value: any): void
|
|
3315
3314
|
/**
|
|
3316
3315
|
* Gets a property of an object.
|
|
3317
3316
|
*
|
|
@@ -3332,7 +3331,7 @@ export interface EPropColor extends Atk.ImplementorIface, Editable, Gtk.Buildabl
|
|
|
3332
3331
|
* @param property_name the name of the property to get
|
|
3333
3332
|
* @param value return location for the property value
|
|
3334
3333
|
*/
|
|
3335
|
-
get_property(property_name: string
|
|
3334
|
+
get_property(property_name: string, value: any): void
|
|
3336
3335
|
/**
|
|
3337
3336
|
* Loads `widget` property values into `editable`
|
|
3338
3337
|
* (the editable will watch the widgets properties
|
|
@@ -3367,7 +3366,7 @@ export interface EPropColor extends Atk.ImplementorIface, Editable, Gtk.Buildabl
|
|
|
3367
3366
|
* Also see gtk_container_child_notify().
|
|
3368
3367
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
3369
3368
|
*/
|
|
3370
|
-
child_notify(child_property: string
|
|
3369
|
+
child_notify(child_property: string): void
|
|
3371
3370
|
/**
|
|
3372
3371
|
* Emits a #GtkWidget::child-notify signal for the
|
|
3373
3372
|
* [child property][child-properties]
|
|
@@ -3379,7 +3378,7 @@ export interface EPropColor extends Atk.ImplementorIface, Editable, Gtk.Buildabl
|
|
|
3379
3378
|
* @param child the child widget
|
|
3380
3379
|
* @param child_property the name of a child property installed on the class of `container`
|
|
3381
3380
|
*/
|
|
3382
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
3381
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
3383
3382
|
|
|
3384
3383
|
// Overloads of child_notify
|
|
3385
3384
|
|
|
@@ -3393,7 +3392,7 @@ export interface EPropColor extends Atk.ImplementorIface, Editable, Gtk.Buildabl
|
|
|
3393
3392
|
* Also see gtk_container_child_notify().
|
|
3394
3393
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
3395
3394
|
*/
|
|
3396
|
-
child_notify(child_property: string
|
|
3395
|
+
child_notify(child_property: string): void
|
|
3397
3396
|
/**
|
|
3398
3397
|
* Loads `widget` property values into `editable`
|
|
3399
3398
|
* (the editable will watch the widgets properties
|
|
@@ -3634,7 +3633,7 @@ export interface EPropEnum extends Atk.ImplementorIface, Editable, Gtk.Buildable
|
|
|
3634
3633
|
* @param property_name the name of the property to get
|
|
3635
3634
|
* @param value return location for the property value
|
|
3636
3635
|
*/
|
|
3637
|
-
get_property(property_name: string
|
|
3636
|
+
get_property(property_name: string, value: any): void
|
|
3638
3637
|
/**
|
|
3639
3638
|
* Gets a property of an object.
|
|
3640
3639
|
*
|
|
@@ -3655,7 +3654,7 @@ export interface EPropEnum extends Atk.ImplementorIface, Editable, Gtk.Buildable
|
|
|
3655
3654
|
* @param property_name the name of the property to get
|
|
3656
3655
|
* @param value return location for the property value
|
|
3657
3656
|
*/
|
|
3658
|
-
get_property(property_name: string
|
|
3657
|
+
get_property(property_name: string, value: any): void
|
|
3659
3658
|
/**
|
|
3660
3659
|
* Loads `widget` property values into `editable`
|
|
3661
3660
|
* (the editable will watch the widgets properties
|
|
@@ -3690,7 +3689,7 @@ export interface EPropEnum extends Atk.ImplementorIface, Editable, Gtk.Buildable
|
|
|
3690
3689
|
* Also see gtk_container_child_notify().
|
|
3691
3690
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
3692
3691
|
*/
|
|
3693
|
-
child_notify(child_property: string
|
|
3692
|
+
child_notify(child_property: string): void
|
|
3694
3693
|
/**
|
|
3695
3694
|
* Emits a #GtkWidget::child-notify signal for the
|
|
3696
3695
|
* [child property][child-properties]
|
|
@@ -3702,7 +3701,7 @@ export interface EPropEnum extends Atk.ImplementorIface, Editable, Gtk.Buildable
|
|
|
3702
3701
|
* @param child the child widget
|
|
3703
3702
|
* @param child_property the name of a child property installed on the class of `container`
|
|
3704
3703
|
*/
|
|
3705
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
3704
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
3706
3705
|
|
|
3707
3706
|
// Overloads of child_notify
|
|
3708
3707
|
|
|
@@ -3716,7 +3715,7 @@ export interface EPropEnum extends Atk.ImplementorIface, Editable, Gtk.Buildable
|
|
|
3716
3715
|
* Also see gtk_container_child_notify().
|
|
3717
3716
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
3718
3717
|
*/
|
|
3719
|
-
child_notify(child_property: string
|
|
3718
|
+
child_notify(child_property: string): void
|
|
3720
3719
|
/**
|
|
3721
3720
|
* Loads `widget` property values into `editable`
|
|
3722
3721
|
* (the editable will watch the widgets properties
|
|
@@ -3957,7 +3956,7 @@ export interface EPropFlags extends Atk.ImplementorIface, Editable, Gtk.Buildabl
|
|
|
3957
3956
|
* @param property_name the name of the property to get
|
|
3958
3957
|
* @param value return location for the property value
|
|
3959
3958
|
*/
|
|
3960
|
-
get_property(property_name: string
|
|
3959
|
+
get_property(property_name: string, value: any): void
|
|
3961
3960
|
/**
|
|
3962
3961
|
* Gets a property of an object.
|
|
3963
3962
|
*
|
|
@@ -3978,7 +3977,7 @@ export interface EPropFlags extends Atk.ImplementorIface, Editable, Gtk.Buildabl
|
|
|
3978
3977
|
* @param property_name the name of the property to get
|
|
3979
3978
|
* @param value return location for the property value
|
|
3980
3979
|
*/
|
|
3981
|
-
get_property(property_name: string
|
|
3980
|
+
get_property(property_name: string, value: any): void
|
|
3982
3981
|
/**
|
|
3983
3982
|
* Loads `widget` property values into `editable`
|
|
3984
3983
|
* (the editable will watch the widgets properties
|
|
@@ -4013,7 +4012,7 @@ export interface EPropFlags extends Atk.ImplementorIface, Editable, Gtk.Buildabl
|
|
|
4013
4012
|
* Also see gtk_container_child_notify().
|
|
4014
4013
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
4015
4014
|
*/
|
|
4016
|
-
child_notify(child_property: string
|
|
4015
|
+
child_notify(child_property: string): void
|
|
4017
4016
|
/**
|
|
4018
4017
|
* Emits a #GtkWidget::child-notify signal for the
|
|
4019
4018
|
* [child property][child-properties]
|
|
@@ -4025,7 +4024,7 @@ export interface EPropFlags extends Atk.ImplementorIface, Editable, Gtk.Buildabl
|
|
|
4025
4024
|
* @param child the child widget
|
|
4026
4025
|
* @param child_property the name of a child property installed on the class of `container`
|
|
4027
4026
|
*/
|
|
4028
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
4027
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
4029
4028
|
|
|
4030
4029
|
// Overloads of child_notify
|
|
4031
4030
|
|
|
@@ -4039,7 +4038,7 @@ export interface EPropFlags extends Atk.ImplementorIface, Editable, Gtk.Buildabl
|
|
|
4039
4038
|
* Also see gtk_container_child_notify().
|
|
4040
4039
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
4041
4040
|
*/
|
|
4042
|
-
child_notify(child_property: string
|
|
4041
|
+
child_notify(child_property: string): void
|
|
4043
4042
|
/**
|
|
4044
4043
|
* Loads `widget` property values into `editable`
|
|
4045
4044
|
* (the editable will watch the widgets properties
|
|
@@ -4280,7 +4279,7 @@ export interface EPropNamedIcon extends Atk.ImplementorIface, Editable, Gtk.Buil
|
|
|
4280
4279
|
* @param property_name the name of the property to get
|
|
4281
4280
|
* @param value return location for the property value
|
|
4282
4281
|
*/
|
|
4283
|
-
get_property(property_name: string
|
|
4282
|
+
get_property(property_name: string, value: any): void
|
|
4284
4283
|
/**
|
|
4285
4284
|
* Gets a property of an object.
|
|
4286
4285
|
*
|
|
@@ -4301,7 +4300,7 @@ export interface EPropNamedIcon extends Atk.ImplementorIface, Editable, Gtk.Buil
|
|
|
4301
4300
|
* @param property_name the name of the property to get
|
|
4302
4301
|
* @param value return location for the property value
|
|
4303
4302
|
*/
|
|
4304
|
-
get_property(property_name: string
|
|
4303
|
+
get_property(property_name: string, value: any): void
|
|
4305
4304
|
/**
|
|
4306
4305
|
* Loads `widget` property values into `editable`
|
|
4307
4306
|
* (the editable will watch the widgets properties
|
|
@@ -4336,7 +4335,7 @@ export interface EPropNamedIcon extends Atk.ImplementorIface, Editable, Gtk.Buil
|
|
|
4336
4335
|
* Also see gtk_container_child_notify().
|
|
4337
4336
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
4338
4337
|
*/
|
|
4339
|
-
child_notify(child_property: string
|
|
4338
|
+
child_notify(child_property: string): void
|
|
4340
4339
|
/**
|
|
4341
4340
|
* Emits a #GtkWidget::child-notify signal for the
|
|
4342
4341
|
* [child property][child-properties]
|
|
@@ -4348,7 +4347,7 @@ export interface EPropNamedIcon extends Atk.ImplementorIface, Editable, Gtk.Buil
|
|
|
4348
4347
|
* @param child the child widget
|
|
4349
4348
|
* @param child_property the name of a child property installed on the class of `container`
|
|
4350
4349
|
*/
|
|
4351
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
4350
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
4352
4351
|
|
|
4353
4352
|
// Overloads of child_notify
|
|
4354
4353
|
|
|
@@ -4362,7 +4361,7 @@ export interface EPropNamedIcon extends Atk.ImplementorIface, Editable, Gtk.Buil
|
|
|
4362
4361
|
* Also see gtk_container_child_notify().
|
|
4363
4362
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
4364
4363
|
*/
|
|
4365
|
-
child_notify(child_property: string
|
|
4364
|
+
child_notify(child_property: string): void
|
|
4366
4365
|
/**
|
|
4367
4366
|
* Loads `widget` property values into `editable`
|
|
4368
4367
|
* (the editable will watch the widgets properties
|
|
@@ -4603,7 +4602,7 @@ export interface EPropNumeric extends Atk.ImplementorIface, Editable, Gtk.Builda
|
|
|
4603
4602
|
* @param property_name the name of the property to get
|
|
4604
4603
|
* @param value return location for the property value
|
|
4605
4604
|
*/
|
|
4606
|
-
get_property(property_name: string
|
|
4605
|
+
get_property(property_name: string, value: any): void
|
|
4607
4606
|
/**
|
|
4608
4607
|
* Gets a property of an object.
|
|
4609
4608
|
*
|
|
@@ -4624,7 +4623,7 @@ export interface EPropNumeric extends Atk.ImplementorIface, Editable, Gtk.Builda
|
|
|
4624
4623
|
* @param property_name the name of the property to get
|
|
4625
4624
|
* @param value return location for the property value
|
|
4626
4625
|
*/
|
|
4627
|
-
get_property(property_name: string
|
|
4626
|
+
get_property(property_name: string, value: any): void
|
|
4628
4627
|
/**
|
|
4629
4628
|
* Loads `widget` property values into `editable`
|
|
4630
4629
|
* (the editable will watch the widgets properties
|
|
@@ -4659,7 +4658,7 @@ export interface EPropNumeric extends Atk.ImplementorIface, Editable, Gtk.Builda
|
|
|
4659
4658
|
* Also see gtk_container_child_notify().
|
|
4660
4659
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
4661
4660
|
*/
|
|
4662
|
-
child_notify(child_property: string
|
|
4661
|
+
child_notify(child_property: string): void
|
|
4663
4662
|
/**
|
|
4664
4663
|
* Emits a #GtkWidget::child-notify signal for the
|
|
4665
4664
|
* [child property][child-properties]
|
|
@@ -4671,7 +4670,7 @@ export interface EPropNumeric extends Atk.ImplementorIface, Editable, Gtk.Builda
|
|
|
4671
4670
|
* @param child the child widget
|
|
4672
4671
|
* @param child_property the name of a child property installed on the class of `container`
|
|
4673
4672
|
*/
|
|
4674
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
4673
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
4675
4674
|
|
|
4676
4675
|
// Overloads of child_notify
|
|
4677
4676
|
|
|
@@ -4685,7 +4684,7 @@ export interface EPropNumeric extends Atk.ImplementorIface, Editable, Gtk.Builda
|
|
|
4685
4684
|
* Also see gtk_container_child_notify().
|
|
4686
4685
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
4687
4686
|
*/
|
|
4688
|
-
child_notify(child_property: string
|
|
4687
|
+
child_notify(child_property: string): void
|
|
4689
4688
|
/**
|
|
4690
4689
|
* Loads `widget` property values into `editable`
|
|
4691
4690
|
* (the editable will watch the widgets properties
|
|
@@ -4926,7 +4925,7 @@ export interface EPropObject extends Atk.ImplementorIface, Editable, Gtk.Buildab
|
|
|
4926
4925
|
* @param property_name the name of the property to get
|
|
4927
4926
|
* @param value return location for the property value
|
|
4928
4927
|
*/
|
|
4929
|
-
get_property(property_name: string
|
|
4928
|
+
get_property(property_name: string, value: any): void
|
|
4930
4929
|
/**
|
|
4931
4930
|
* Gets a property of an object.
|
|
4932
4931
|
*
|
|
@@ -4947,7 +4946,7 @@ export interface EPropObject extends Atk.ImplementorIface, Editable, Gtk.Buildab
|
|
|
4947
4946
|
* @param property_name the name of the property to get
|
|
4948
4947
|
* @param value return location for the property value
|
|
4949
4948
|
*/
|
|
4950
|
-
get_property(property_name: string
|
|
4949
|
+
get_property(property_name: string, value: any): void
|
|
4951
4950
|
/**
|
|
4952
4951
|
* Loads `widget` property values into `editable`
|
|
4953
4952
|
* (the editable will watch the widgets properties
|
|
@@ -4982,7 +4981,7 @@ export interface EPropObject extends Atk.ImplementorIface, Editable, Gtk.Buildab
|
|
|
4982
4981
|
* Also see gtk_container_child_notify().
|
|
4983
4982
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
4984
4983
|
*/
|
|
4985
|
-
child_notify(child_property: string
|
|
4984
|
+
child_notify(child_property: string): void
|
|
4986
4985
|
/**
|
|
4987
4986
|
* Emits a #GtkWidget::child-notify signal for the
|
|
4988
4987
|
* [child property][child-properties]
|
|
@@ -4994,7 +4993,7 @@ export interface EPropObject extends Atk.ImplementorIface, Editable, Gtk.Buildab
|
|
|
4994
4993
|
* @param child the child widget
|
|
4995
4994
|
* @param child_property the name of a child property installed on the class of `container`
|
|
4996
4995
|
*/
|
|
4997
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
4996
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
4998
4997
|
|
|
4999
4998
|
// Overloads of child_notify
|
|
5000
4999
|
|
|
@@ -5008,7 +5007,7 @@ export interface EPropObject extends Atk.ImplementorIface, Editable, Gtk.Buildab
|
|
|
5008
5007
|
* Also see gtk_container_child_notify().
|
|
5009
5008
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
5010
5009
|
*/
|
|
5011
|
-
child_notify(child_property: string
|
|
5010
|
+
child_notify(child_property: string): void
|
|
5012
5011
|
/**
|
|
5013
5012
|
* Loads `widget` property values into `editable`
|
|
5014
5013
|
* (the editable will watch the widgets properties
|
|
@@ -5249,7 +5248,7 @@ export interface EPropObjects extends Atk.ImplementorIface, Editable, Gtk.Builda
|
|
|
5249
5248
|
* @param property_name the name of the property to get
|
|
5250
5249
|
* @param value return location for the property value
|
|
5251
5250
|
*/
|
|
5252
|
-
get_property(property_name: string
|
|
5251
|
+
get_property(property_name: string, value: any): void
|
|
5253
5252
|
/**
|
|
5254
5253
|
* Gets a property of an object.
|
|
5255
5254
|
*
|
|
@@ -5270,7 +5269,7 @@ export interface EPropObjects extends Atk.ImplementorIface, Editable, Gtk.Builda
|
|
|
5270
5269
|
* @param property_name the name of the property to get
|
|
5271
5270
|
* @param value return location for the property value
|
|
5272
5271
|
*/
|
|
5273
|
-
get_property(property_name: string
|
|
5272
|
+
get_property(property_name: string, value: any): void
|
|
5274
5273
|
/**
|
|
5275
5274
|
* Loads `widget` property values into `editable`
|
|
5276
5275
|
* (the editable will watch the widgets properties
|
|
@@ -5305,7 +5304,7 @@ export interface EPropObjects extends Atk.ImplementorIface, Editable, Gtk.Builda
|
|
|
5305
5304
|
* Also see gtk_container_child_notify().
|
|
5306
5305
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
5307
5306
|
*/
|
|
5308
|
-
child_notify(child_property: string
|
|
5307
|
+
child_notify(child_property: string): void
|
|
5309
5308
|
/**
|
|
5310
5309
|
* Emits a #GtkWidget::child-notify signal for the
|
|
5311
5310
|
* [child property][child-properties]
|
|
@@ -5317,7 +5316,7 @@ export interface EPropObjects extends Atk.ImplementorIface, Editable, Gtk.Builda
|
|
|
5317
5316
|
* @param child the child widget
|
|
5318
5317
|
* @param child_property the name of a child property installed on the class of `container`
|
|
5319
5318
|
*/
|
|
5320
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
5319
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
5321
5320
|
|
|
5322
5321
|
// Overloads of child_notify
|
|
5323
5322
|
|
|
@@ -5331,7 +5330,7 @@ export interface EPropObjects extends Atk.ImplementorIface, Editable, Gtk.Builda
|
|
|
5331
5330
|
* Also see gtk_container_child_notify().
|
|
5332
5331
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
5333
5332
|
*/
|
|
5334
|
-
child_notify(child_property: string
|
|
5333
|
+
child_notify(child_property: string): void
|
|
5335
5334
|
/**
|
|
5336
5335
|
* Loads `widget` property values into `editable`
|
|
5337
5336
|
* (the editable will watch the widgets properties
|
|
@@ -5572,7 +5571,7 @@ export interface EPropText extends Atk.ImplementorIface, Editable, Gtk.Buildable
|
|
|
5572
5571
|
* @param property_name the name of the property to get
|
|
5573
5572
|
* @param value return location for the property value
|
|
5574
5573
|
*/
|
|
5575
|
-
get_property(property_name: string
|
|
5574
|
+
get_property(property_name: string, value: any): void
|
|
5576
5575
|
/**
|
|
5577
5576
|
* Gets a property of an object.
|
|
5578
5577
|
*
|
|
@@ -5593,7 +5592,7 @@ export interface EPropText extends Atk.ImplementorIface, Editable, Gtk.Buildable
|
|
|
5593
5592
|
* @param property_name the name of the property to get
|
|
5594
5593
|
* @param value return location for the property value
|
|
5595
5594
|
*/
|
|
5596
|
-
get_property(property_name: string
|
|
5595
|
+
get_property(property_name: string, value: any): void
|
|
5597
5596
|
/**
|
|
5598
5597
|
* Loads `widget` property values into `editable`
|
|
5599
5598
|
* (the editable will watch the widgets properties
|
|
@@ -5628,7 +5627,7 @@ export interface EPropText extends Atk.ImplementorIface, Editable, Gtk.Buildable
|
|
|
5628
5627
|
* Also see gtk_container_child_notify().
|
|
5629
5628
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
5630
5629
|
*/
|
|
5631
|
-
child_notify(child_property: string
|
|
5630
|
+
child_notify(child_property: string): void
|
|
5632
5631
|
/**
|
|
5633
5632
|
* Emits a #GtkWidget::child-notify signal for the
|
|
5634
5633
|
* [child property][child-properties]
|
|
@@ -5640,7 +5639,7 @@ export interface EPropText extends Atk.ImplementorIface, Editable, Gtk.Buildable
|
|
|
5640
5639
|
* @param child the child widget
|
|
5641
5640
|
* @param child_property the name of a child property installed on the class of `container`
|
|
5642
5641
|
*/
|
|
5643
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
5642
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
5644
5643
|
|
|
5645
5644
|
// Overloads of child_notify
|
|
5646
5645
|
|
|
@@ -5654,7 +5653,7 @@ export interface EPropText extends Atk.ImplementorIface, Editable, Gtk.Buildable
|
|
|
5654
5653
|
* Also see gtk_container_child_notify().
|
|
5655
5654
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
5656
5655
|
*/
|
|
5657
|
-
child_notify(child_property: string
|
|
5656
|
+
child_notify(child_property: string): void
|
|
5658
5657
|
/**
|
|
5659
5658
|
* Loads `widget` property values into `editable`
|
|
5660
5659
|
* (the editable will watch the widgets properties
|
|
@@ -5895,7 +5894,7 @@ export interface EPropUnichar extends Atk.ImplementorIface, Editable, Gtk.Builda
|
|
|
5895
5894
|
* @param property_name the name of the property to get
|
|
5896
5895
|
* @param value return location for the property value
|
|
5897
5896
|
*/
|
|
5898
|
-
get_property(property_name: string
|
|
5897
|
+
get_property(property_name: string, value: any): void
|
|
5899
5898
|
/**
|
|
5900
5899
|
* Gets a property of an object.
|
|
5901
5900
|
*
|
|
@@ -5916,7 +5915,7 @@ export interface EPropUnichar extends Atk.ImplementorIface, Editable, Gtk.Builda
|
|
|
5916
5915
|
* @param property_name the name of the property to get
|
|
5917
5916
|
* @param value return location for the property value
|
|
5918
5917
|
*/
|
|
5919
|
-
get_property(property_name: string
|
|
5918
|
+
get_property(property_name: string, value: any): void
|
|
5920
5919
|
/**
|
|
5921
5920
|
* Loads `widget` property values into `editable`
|
|
5922
5921
|
* (the editable will watch the widgets properties
|
|
@@ -5951,7 +5950,7 @@ export interface EPropUnichar extends Atk.ImplementorIface, Editable, Gtk.Builda
|
|
|
5951
5950
|
* Also see gtk_container_child_notify().
|
|
5952
5951
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
5953
5952
|
*/
|
|
5954
|
-
child_notify(child_property: string
|
|
5953
|
+
child_notify(child_property: string): void
|
|
5955
5954
|
/**
|
|
5956
5955
|
* Emits a #GtkWidget::child-notify signal for the
|
|
5957
5956
|
* [child property][child-properties]
|
|
@@ -5963,7 +5962,7 @@ export interface EPropUnichar extends Atk.ImplementorIface, Editable, Gtk.Builda
|
|
|
5963
5962
|
* @param child the child widget
|
|
5964
5963
|
* @param child_property the name of a child property installed on the class of `container`
|
|
5965
5964
|
*/
|
|
5966
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
5965
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
5967
5966
|
|
|
5968
5967
|
// Overloads of child_notify
|
|
5969
5968
|
|
|
@@ -5977,7 +5976,7 @@ export interface EPropUnichar extends Atk.ImplementorIface, Editable, Gtk.Builda
|
|
|
5977
5976
|
* Also see gtk_container_child_notify().
|
|
5978
5977
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
5979
5978
|
*/
|
|
5980
|
-
child_notify(child_property: string
|
|
5979
|
+
child_notify(child_property: string): void
|
|
5981
5980
|
/**
|
|
5982
5981
|
* Loads `widget` property values into `editable`
|
|
5983
5982
|
* (the editable will watch the widgets properties
|
|
@@ -6185,11 +6184,9 @@ export module Editor {
|
|
|
6185
6184
|
|
|
6186
6185
|
// Own constructor properties of Gladeui-2.0.Gladeui.Editor
|
|
6187
6186
|
|
|
6188
|
-
show_boder?: boolean | null
|
|
6189
|
-
show_class_field?: boolean | null
|
|
6190
|
-
widget?: Widget | null
|
|
6191
6187
|
showBoder?: boolean | null
|
|
6192
6188
|
showClassField?: boolean | null
|
|
6189
|
+
widget?: Widget | null
|
|
6193
6190
|
}
|
|
6194
6191
|
|
|
6195
6192
|
}
|
|
@@ -6198,15 +6195,10 @@ export interface Editor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orienta
|
|
|
6198
6195
|
|
|
6199
6196
|
// Own properties of Gladeui-2.0.Gladeui.Editor
|
|
6200
6197
|
|
|
6201
|
-
readonly class_field: string | null
|
|
6202
6198
|
readonly classField: string | null
|
|
6203
|
-
show_boder: boolean
|
|
6204
6199
|
showBoder: boolean
|
|
6205
|
-
show_class_field: boolean
|
|
6206
6200
|
showClassField: boolean
|
|
6207
|
-
readonly show_info: boolean
|
|
6208
6201
|
readonly showInfo: boolean
|
|
6209
|
-
readonly signal_editor: SignalEditor
|
|
6210
6202
|
readonly signalEditor: SignalEditor
|
|
6211
6203
|
widget: any
|
|
6212
6204
|
|
|
@@ -6223,6 +6215,8 @@ export interface Editor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orienta
|
|
|
6223
6215
|
* @param widget a #GladeWidget
|
|
6224
6216
|
*/
|
|
6225
6217
|
load_widget(widget: Widget): void
|
|
6218
|
+
show_class_field(): void
|
|
6219
|
+
show_info(): void
|
|
6226
6220
|
|
|
6227
6221
|
// Conflicting methods
|
|
6228
6222
|
|
|
@@ -6237,7 +6231,7 @@ export interface Editor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orienta
|
|
|
6237
6231
|
* @param child the child widget
|
|
6238
6232
|
* @param child_property the name of a child property installed on the class of `container`
|
|
6239
6233
|
*/
|
|
6240
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
6234
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
6241
6235
|
|
|
6242
6236
|
// Overloads of child_notify
|
|
6243
6237
|
|
|
@@ -6251,7 +6245,7 @@ export interface Editor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orienta
|
|
|
6251
6245
|
* Also see gtk_container_child_notify().
|
|
6252
6246
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
6253
6247
|
*/
|
|
6254
|
-
child_notify(child_property: string
|
|
6248
|
+
child_notify(child_property: string): void
|
|
6255
6249
|
/**
|
|
6256
6250
|
* Emits a #GtkWidget::child-notify signal for the
|
|
6257
6251
|
* [child property][child-properties] `child_property`
|
|
@@ -6262,7 +6256,7 @@ export interface Editor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orienta
|
|
|
6262
6256
|
* Also see gtk_container_child_notify().
|
|
6263
6257
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
6264
6258
|
*/
|
|
6265
|
-
child_notify(child_property: string
|
|
6259
|
+
child_notify(child_property: string): void
|
|
6266
6260
|
|
|
6267
6261
|
// Class property signals of Gladeui-2.0.Gladeui.Editor
|
|
6268
6262
|
|
|
@@ -6488,10 +6482,6 @@ export module EditorProperty {
|
|
|
6488
6482
|
|
|
6489
6483
|
// Own constructor properties of Gladeui-2.0.Gladeui.EditorProperty
|
|
6490
6484
|
|
|
6491
|
-
custom_text?: string | null
|
|
6492
|
-
disable_check?: boolean | null
|
|
6493
|
-
property_def?: any | null
|
|
6494
|
-
use_command?: boolean | null
|
|
6495
6485
|
customText?: string | null
|
|
6496
6486
|
disableCheck?: boolean | null
|
|
6497
6487
|
propertyDef?: any | null
|
|
@@ -6504,13 +6494,9 @@ export interface EditorProperty extends Atk.ImplementorIface, Editable, Gtk.Buil
|
|
|
6504
6494
|
|
|
6505
6495
|
// Own properties of Gladeui-2.0.Gladeui.EditorProperty
|
|
6506
6496
|
|
|
6507
|
-
custom_text: string | null
|
|
6508
6497
|
customText: string | null
|
|
6509
|
-
disable_check: boolean
|
|
6510
6498
|
disableCheck: boolean
|
|
6511
|
-
readonly property_def: any
|
|
6512
6499
|
readonly propertyDef: any
|
|
6513
|
-
use_command: boolean
|
|
6514
6500
|
useCommand: boolean
|
|
6515
6501
|
|
|
6516
6502
|
// Own fields of Gladeui-2.0.Gladeui.EditorProperty
|
|
@@ -6525,7 +6511,7 @@ export interface EditorProperty extends Atk.ImplementorIface, Editable, Gtk.Buil
|
|
|
6525
6511
|
*/
|
|
6526
6512
|
commit(value: any): void
|
|
6527
6513
|
commit_no_callback(value: any): void
|
|
6528
|
-
get_custom_text(): string
|
|
6514
|
+
get_custom_text(): string
|
|
6529
6515
|
get_disable_check(): boolean
|
|
6530
6516
|
get_item_label(): Gtk.Widget
|
|
6531
6517
|
get_property(): Property
|
|
@@ -6552,7 +6538,7 @@ export interface EditorProperty extends Atk.ImplementorIface, Editable, Gtk.Buil
|
|
|
6552
6538
|
* @param property_name the name of the property to get
|
|
6553
6539
|
* @param value return location for the property value
|
|
6554
6540
|
*/
|
|
6555
|
-
get_property(property_name: string
|
|
6541
|
+
get_property(property_name: string, value: any): void
|
|
6556
6542
|
get_property_def(): PropertyDef
|
|
6557
6543
|
/**
|
|
6558
6544
|
* Loads `property` values into `eprop` and connects.
|
|
@@ -6578,7 +6564,7 @@ export interface EditorProperty extends Atk.ImplementorIface, Editable, Gtk.Buil
|
|
|
6578
6564
|
*/
|
|
6579
6565
|
load_by_widget(widget: Widget): void
|
|
6580
6566
|
loading(): boolean
|
|
6581
|
-
set_custom_text(custom_text: string
|
|
6567
|
+
set_custom_text(custom_text: string): void
|
|
6582
6568
|
set_disable_check(disable_check: boolean): void
|
|
6583
6569
|
|
|
6584
6570
|
// Conflicting methods
|
|
@@ -6593,7 +6579,7 @@ export interface EditorProperty extends Atk.ImplementorIface, Editable, Gtk.Buil
|
|
|
6593
6579
|
* Also see gtk_container_child_notify().
|
|
6594
6580
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
6595
6581
|
*/
|
|
6596
|
-
child_notify(child_property: string
|
|
6582
|
+
child_notify(child_property: string): void
|
|
6597
6583
|
/**
|
|
6598
6584
|
* Emits a #GtkWidget::child-notify signal for the
|
|
6599
6585
|
* [child property][child-properties]
|
|
@@ -6605,7 +6591,7 @@ export interface EditorProperty extends Atk.ImplementorIface, Editable, Gtk.Buil
|
|
|
6605
6591
|
* @param child the child widget
|
|
6606
6592
|
* @param child_property the name of a child property installed on the class of `container`
|
|
6607
6593
|
*/
|
|
6608
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
6594
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
6609
6595
|
|
|
6610
6596
|
// Overloads of child_notify
|
|
6611
6597
|
|
|
@@ -6619,7 +6605,7 @@ export interface EditorProperty extends Atk.ImplementorIface, Editable, Gtk.Buil
|
|
|
6619
6605
|
* Also see gtk_container_child_notify().
|
|
6620
6606
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
6621
6607
|
*/
|
|
6622
|
-
child_notify(child_property: string
|
|
6608
|
+
child_notify(child_property: string): void
|
|
6623
6609
|
|
|
6624
6610
|
// Own virtual methods of Gladeui-2.0.Gladeui.EditorProperty
|
|
6625
6611
|
|
|
@@ -6838,7 +6824,7 @@ export class EditorProperty extends Gtk.Box {
|
|
|
6838
6824
|
* @returns %TRUE if OK was selected.
|
|
6839
6825
|
*/
|
|
6840
6826
|
static show_i18n_dialog(parent: Gtk.Widget, text: string | null, context: string | null, comment: string | null, translatable: boolean): boolean
|
|
6841
|
-
static show_object_dialog(project: Project, title: string
|
|
6827
|
+
static show_object_dialog(project: Project, title: string, parent: Gtk.Widget, object_type: GObject.GType, exception: Widget, object: Widget): boolean
|
|
6842
6828
|
static show_resource_dialog(project: Project, parent: Gtk.Widget, filename: string | null): boolean
|
|
6843
6829
|
}
|
|
6844
6830
|
|
|
@@ -6873,7 +6859,7 @@ export interface EditorSkeleton extends Atk.ImplementorIface, Editable, Gtk.Buil
|
|
|
6873
6859
|
* Also see gtk_container_child_notify().
|
|
6874
6860
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
6875
6861
|
*/
|
|
6876
|
-
child_notify(child_property: string
|
|
6862
|
+
child_notify(child_property: string): void
|
|
6877
6863
|
/**
|
|
6878
6864
|
* Emits a #GtkWidget::child-notify signal for the
|
|
6879
6865
|
* [child property][child-properties]
|
|
@@ -6885,7 +6871,7 @@ export interface EditorSkeleton extends Atk.ImplementorIface, Editable, Gtk.Buil
|
|
|
6885
6871
|
* @param child the child widget
|
|
6886
6872
|
* @param child_property the name of a child property installed on the class of `container`
|
|
6887
6873
|
*/
|
|
6888
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
6874
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
6889
6875
|
|
|
6890
6876
|
// Overloads of child_notify
|
|
6891
6877
|
|
|
@@ -6899,7 +6885,7 @@ export interface EditorSkeleton extends Atk.ImplementorIface, Editable, Gtk.Buil
|
|
|
6899
6885
|
* Also see gtk_container_child_notify().
|
|
6900
6886
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
6901
6887
|
*/
|
|
6902
|
-
child_notify(child_property: string
|
|
6888
|
+
child_notify(child_property: string): void
|
|
6903
6889
|
|
|
6904
6890
|
// Class property signals of Gladeui-2.0.Gladeui.EditorSkeleton
|
|
6905
6891
|
|
|
@@ -7081,7 +7067,6 @@ export module EditorTable {
|
|
|
7081
7067
|
|
|
7082
7068
|
// Own constructor properties of Gladeui-2.0.Gladeui.EditorTable
|
|
7083
7069
|
|
|
7084
|
-
page_type?: EditorPageType | null
|
|
7085
7070
|
pageType?: EditorPageType | null
|
|
7086
7071
|
}
|
|
7087
7072
|
|
|
@@ -7091,7 +7076,6 @@ export interface EditorTable extends Atk.ImplementorIface, Editable, Gtk.Buildab
|
|
|
7091
7076
|
|
|
7092
7077
|
// Own properties of Gladeui-2.0.Gladeui.EditorTable
|
|
7093
7078
|
|
|
7094
|
-
readonly page_type: EditorPageType
|
|
7095
7079
|
readonly pageType: EditorPageType
|
|
7096
7080
|
|
|
7097
7081
|
// Own fields of Gladeui-2.0.Gladeui.EditorTable
|
|
@@ -7110,7 +7094,7 @@ export interface EditorTable extends Atk.ImplementorIface, Editable, Gtk.Buildab
|
|
|
7110
7094
|
* Also see gtk_container_child_notify().
|
|
7111
7095
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
7112
7096
|
*/
|
|
7113
|
-
child_notify(child_property: string
|
|
7097
|
+
child_notify(child_property: string): void
|
|
7114
7098
|
/**
|
|
7115
7099
|
* Emits a #GtkWidget::child-notify signal for the
|
|
7116
7100
|
* [child property][child-properties]
|
|
@@ -7122,7 +7106,7 @@ export interface EditorTable extends Atk.ImplementorIface, Editable, Gtk.Buildab
|
|
|
7122
7106
|
* @param child the child widget
|
|
7123
7107
|
* @param child_property the name of a child property installed on the class of `container`
|
|
7124
7108
|
*/
|
|
7125
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
7109
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
7126
7110
|
|
|
7127
7111
|
// Overloads of child_notify
|
|
7128
7112
|
|
|
@@ -7136,7 +7120,7 @@ export interface EditorTable extends Atk.ImplementorIface, Editable, Gtk.Buildab
|
|
|
7136
7120
|
* Also see gtk_container_child_notify().
|
|
7137
7121
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
7138
7122
|
*/
|
|
7139
|
-
child_notify(child_property: string
|
|
7123
|
+
child_notify(child_property: string): void
|
|
7140
7124
|
|
|
7141
7125
|
// Class property signals of Gladeui-2.0.Gladeui.EditorTable
|
|
7142
7126
|
|
|
@@ -7403,7 +7387,7 @@ export interface Inspector extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orie
|
|
|
7403
7387
|
* @param child the child widget
|
|
7404
7388
|
* @param child_property the name of a child property installed on the class of `container`
|
|
7405
7389
|
*/
|
|
7406
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
7390
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
7407
7391
|
|
|
7408
7392
|
// Overloads of child_notify
|
|
7409
7393
|
|
|
@@ -7417,7 +7401,7 @@ export interface Inspector extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orie
|
|
|
7417
7401
|
* Also see gtk_container_child_notify().
|
|
7418
7402
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
7419
7403
|
*/
|
|
7420
|
-
child_notify(child_property: string
|
|
7404
|
+
child_notify(child_property: string): void
|
|
7421
7405
|
/**
|
|
7422
7406
|
* Emits a #GtkWidget::child-notify signal for the
|
|
7423
7407
|
* [child property][child-properties] `child_property`
|
|
@@ -7428,7 +7412,7 @@ export interface Inspector extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orie
|
|
|
7428
7412
|
* Also see gtk_container_child_notify().
|
|
7429
7413
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
7430
7414
|
*/
|
|
7431
|
-
child_notify(child_property: string
|
|
7415
|
+
child_notify(child_property: string): void
|
|
7432
7416
|
|
|
7433
7417
|
// Own virtual methods of Gladeui-2.0.Gladeui.Inspector
|
|
7434
7418
|
|
|
@@ -7680,8 +7664,21 @@ export interface NamedIconChooserDialog extends Atk.ImplementorIface, Gtk.Builda
|
|
|
7680
7664
|
|
|
7681
7665
|
get_context(): string | null
|
|
7682
7666
|
get_icon_name(): string | null
|
|
7683
|
-
set_context(context: string
|
|
7684
|
-
set_icon_name(icon_name: string
|
|
7667
|
+
set_context(context: string): boolean
|
|
7668
|
+
set_icon_name(icon_name: string): void
|
|
7669
|
+
|
|
7670
|
+
// Overloads of set_icon_name
|
|
7671
|
+
|
|
7672
|
+
/**
|
|
7673
|
+
* Sets the icon for the window from a named themed icon.
|
|
7674
|
+
* See the docs for #GtkIconTheme for more details.
|
|
7675
|
+
* On some platforms, the window icon is not used at all.
|
|
7676
|
+
*
|
|
7677
|
+
* Note that this has nothing to do with the WM_ICON_NAME
|
|
7678
|
+
* property which is mentioned in the ICCCM.
|
|
7679
|
+
* @param name the name of the themed icon
|
|
7680
|
+
*/
|
|
7681
|
+
set_icon_name(name: string | null): void
|
|
7685
7682
|
|
|
7686
7683
|
// Conflicting methods
|
|
7687
7684
|
|
|
@@ -7718,7 +7715,7 @@ export interface NamedIconChooserDialog extends Atk.ImplementorIface, Gtk.Builda
|
|
|
7718
7715
|
* @param child the child widget
|
|
7719
7716
|
* @param child_property the name of a child property installed on the class of `container`
|
|
7720
7717
|
*/
|
|
7721
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
7718
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
7722
7719
|
|
|
7723
7720
|
// Overloads of child_notify
|
|
7724
7721
|
|
|
@@ -7732,7 +7729,7 @@ export interface NamedIconChooserDialog extends Atk.ImplementorIface, Gtk.Builda
|
|
|
7732
7729
|
* Also see gtk_container_child_notify().
|
|
7733
7730
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
7734
7731
|
*/
|
|
7735
|
-
child_notify(child_property: string
|
|
7732
|
+
child_notify(child_property: string): void
|
|
7736
7733
|
/**
|
|
7737
7734
|
* Emits a #GtkWidget::child-notify signal for the
|
|
7738
7735
|
* [child property][child-properties] `child_property`
|
|
@@ -7743,7 +7740,7 @@ export interface NamedIconChooserDialog extends Atk.ImplementorIface, Gtk.Builda
|
|
|
7743
7740
|
* Also see gtk_container_child_notify().
|
|
7744
7741
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
7745
7742
|
*/
|
|
7746
|
-
child_notify(child_property: string
|
|
7743
|
+
child_notify(child_property: string): void
|
|
7747
7744
|
|
|
7748
7745
|
// Own virtual methods of Gladeui-2.0.Gladeui.NamedIconChooserDialog
|
|
7749
7746
|
|
|
@@ -8030,11 +8027,8 @@ export module Palette {
|
|
|
8030
8027
|
|
|
8031
8028
|
// Own constructor properties of Gladeui-2.0.Gladeui.Palette
|
|
8032
8029
|
|
|
8033
|
-
item_appearance?: ItemAppearance | null
|
|
8034
|
-
project?: Project | null
|
|
8035
|
-
show_selector_button?: boolean | null
|
|
8036
|
-
use_small_item_icons?: boolean | null
|
|
8037
8030
|
itemAppearance?: ItemAppearance | null
|
|
8031
|
+
project?: Project | null
|
|
8038
8032
|
showSelectorButton?: boolean | null
|
|
8039
8033
|
useSmallItemIcons?: boolean | null
|
|
8040
8034
|
}
|
|
@@ -8045,12 +8039,9 @@ export interface Palette extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orient
|
|
|
8045
8039
|
|
|
8046
8040
|
// Own properties of Gladeui-2.0.Gladeui.Palette
|
|
8047
8041
|
|
|
8048
|
-
item_appearance: ItemAppearance
|
|
8049
8042
|
itemAppearance: ItemAppearance
|
|
8050
8043
|
project: Project
|
|
8051
|
-
show_selector_button: boolean
|
|
8052
8044
|
showSelectorButton: boolean
|
|
8053
|
-
use_small_item_icons: boolean
|
|
8054
8045
|
useSmallItemIcons: boolean
|
|
8055
8046
|
|
|
8056
8047
|
// Own fields of Gladeui-2.0.Gladeui.Palette
|
|
@@ -8095,7 +8086,7 @@ export interface Palette extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orient
|
|
|
8095
8086
|
* @param child the child widget
|
|
8096
8087
|
* @param child_property the name of a child property installed on the class of `container`
|
|
8097
8088
|
*/
|
|
8098
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
8089
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
8099
8090
|
|
|
8100
8091
|
// Overloads of child_notify
|
|
8101
8092
|
|
|
@@ -8109,7 +8100,7 @@ export interface Palette extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orient
|
|
|
8109
8100
|
* Also see gtk_container_child_notify().
|
|
8110
8101
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
8111
8102
|
*/
|
|
8112
|
-
child_notify(child_property: string
|
|
8103
|
+
child_notify(child_property: string): void
|
|
8113
8104
|
/**
|
|
8114
8105
|
* Emits a #GtkWidget::child-notify signal for the
|
|
8115
8106
|
* [child property][child-properties] `child_property`
|
|
@@ -8120,7 +8111,7 @@ export interface Palette extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orient
|
|
|
8120
8111
|
* Also see gtk_container_child_notify().
|
|
8121
8112
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
8122
8113
|
*/
|
|
8123
|
-
child_notify(child_property: string
|
|
8114
|
+
child_notify(child_property: string): void
|
|
8124
8115
|
|
|
8125
8116
|
// Own virtual methods of Gladeui-2.0.Gladeui.Palette
|
|
8126
8117
|
|
|
@@ -8634,13 +8625,10 @@ export module Project {
|
|
|
8634
8625
|
|
|
8635
8626
|
// Own constructor properties of Gladeui-2.0.Gladeui.Project
|
|
8636
8627
|
|
|
8637
|
-
css_provider_path?: string | null
|
|
8638
|
-
license?: string | null
|
|
8639
|
-
resource_path?: string | null
|
|
8640
|
-
template?: Widget | null
|
|
8641
|
-
translation_domain?: string | null
|
|
8642
8628
|
cssProviderPath?: string | null
|
|
8629
|
+
license?: string | null
|
|
8643
8630
|
resourcePath?: string | null
|
|
8631
|
+
template?: Widget | null
|
|
8644
8632
|
translationDomain?: string | null
|
|
8645
8633
|
}
|
|
8646
8634
|
|
|
@@ -8650,23 +8638,16 @@ export interface Project extends Gtk.TreeDragSource, Gtk.TreeModel {
|
|
|
8650
8638
|
|
|
8651
8639
|
// Own properties of Gladeui-2.0.Gladeui.Project
|
|
8652
8640
|
|
|
8653
|
-
readonly add_item: WidgetAdaptor
|
|
8654
8641
|
readonly addItem: WidgetAdaptor
|
|
8655
|
-
css_provider_path: string | null
|
|
8656
8642
|
cssProviderPath: string | null
|
|
8657
|
-
readonly has_selection: boolean
|
|
8658
8643
|
readonly hasSelection: boolean
|
|
8659
8644
|
license: string | null
|
|
8660
8645
|
readonly modified: boolean
|
|
8661
8646
|
readonly path: string | null
|
|
8662
|
-
readonly pointer_mode: PointerMode
|
|
8663
8647
|
readonly pointerMode: PointerMode
|
|
8664
|
-
readonly read_only: boolean
|
|
8665
8648
|
readonly readOnly: boolean
|
|
8666
|
-
resource_path: string | null
|
|
8667
8649
|
resourcePath: string | null
|
|
8668
8650
|
template: Widget
|
|
8669
|
-
translation_domain: string | null
|
|
8670
8651
|
translationDomain: string | null
|
|
8671
8652
|
|
|
8672
8653
|
// Own fields of Gladeui-2.0.Gladeui.Project
|
|
@@ -8694,7 +8675,7 @@ export interface Project extends Gtk.TreeDragSource, Gtk.TreeModel {
|
|
|
8694
8675
|
* @param name base name of the widget to create
|
|
8695
8676
|
* @returns whether the name is available or not.
|
|
8696
8677
|
*/
|
|
8697
|
-
available_widget_name(widget: Widget, name: string
|
|
8678
|
+
available_widget_name(widget: Widget, name: string): boolean
|
|
8698
8679
|
/**
|
|
8699
8680
|
* Backup the last file which `project` has saved to
|
|
8700
8681
|
* or was loaded from.
|
|
@@ -8708,7 +8689,7 @@ export interface Project extends Gtk.TreeDragSource, Gtk.TreeModel {
|
|
|
8708
8689
|
* @param path location to save glade file
|
|
8709
8690
|
* @returns %TRUE on success, %FALSE on failure
|
|
8710
8691
|
*/
|
|
8711
|
-
backup(path: string
|
|
8692
|
+
backup(path: string): boolean
|
|
8712
8693
|
cancel_load(): void
|
|
8713
8694
|
check_reordered(parent: Widget, old_order: GObject.Object[]): void
|
|
8714
8695
|
command_cut(): void
|
|
@@ -8717,10 +8698,10 @@ export interface Project extends Gtk.TreeDragSource, Gtk.TreeModel {
|
|
|
8717
8698
|
copy_selection(): void
|
|
8718
8699
|
display_dependencies(): string | null
|
|
8719
8700
|
get_add_item(): WidgetAdaptor
|
|
8720
|
-
get_css_provider_path(): string
|
|
8701
|
+
get_css_provider_path(): string
|
|
8721
8702
|
get_file_mtime(): number
|
|
8722
8703
|
get_has_selection(): boolean
|
|
8723
|
-
get_license(): string
|
|
8704
|
+
get_license(): string
|
|
8724
8705
|
/**
|
|
8725
8706
|
* Get's whether the project has been modified since it was last saved.
|
|
8726
8707
|
* @returns %TRUE if the project has been modified since it was last saved
|
|
@@ -8728,7 +8709,7 @@ export interface Project extends Gtk.TreeDragSource, Gtk.TreeModel {
|
|
|
8728
8709
|
get_modified(): boolean
|
|
8729
8710
|
get_name(): string | null
|
|
8730
8711
|
get_objects(): GObject.Object[]
|
|
8731
|
-
get_path(): string
|
|
8712
|
+
get_path(): string
|
|
8732
8713
|
|
|
8733
8714
|
// Overloads of get_path
|
|
8734
8715
|
|
|
@@ -8746,27 +8727,27 @@ export interface Project extends Gtk.TreeDragSource, Gtk.TreeModel {
|
|
|
8746
8727
|
* @returns TRUE if project is read only
|
|
8747
8728
|
*/
|
|
8748
8729
|
get_readonly(): boolean
|
|
8749
|
-
get_resource_path(): string
|
|
8730
|
+
get_resource_path(): string
|
|
8750
8731
|
/**
|
|
8751
8732
|
* Fetches the target version of the `project` for `catalog`.
|
|
8752
8733
|
* @param catalog the name of the catalog `project` includes
|
|
8753
8734
|
* @param major the return location for the target major version
|
|
8754
8735
|
* @param minor the return location for the target minor version
|
|
8755
8736
|
*/
|
|
8756
|
-
get_target_version(catalog: string
|
|
8737
|
+
get_target_version(catalog: string, major: number, minor: number): void
|
|
8757
8738
|
get_template(): Widget
|
|
8758
|
-
get_translation_domain(): string
|
|
8739
|
+
get_translation_domain(): string
|
|
8759
8740
|
/**
|
|
8760
8741
|
* Searches under `ancestor` in `project` looking for a #GladeWidget named `name`.
|
|
8761
8742
|
* @param name The user visible name of the widget we are looking for
|
|
8762
8743
|
* @returns a pointer to the widget, %NULL if the widget does not exist
|
|
8763
8744
|
*/
|
|
8764
|
-
get_widget_by_name(name: string
|
|
8745
|
+
get_widget_by_name(name: string): Widget | null
|
|
8765
8746
|
has_object(object: GObject.Object): boolean
|
|
8766
8747
|
is_loading(): boolean
|
|
8767
8748
|
is_selected(object: GObject.Object): boolean
|
|
8768
8749
|
load_cancelled(): boolean
|
|
8769
|
-
load_from_file(path: string
|
|
8750
|
+
load_from_file(path: string): boolean
|
|
8770
8751
|
/**
|
|
8771
8752
|
* Creates a new name for a widget that doesn't collide with any of the names
|
|
8772
8753
|
* already in `project`. This name will start with `base_name`.
|
|
@@ -8776,7 +8757,7 @@ export interface Project extends Gtk.TreeDragSource, Gtk.TreeModel {
|
|
|
8776
8757
|
* @param base_name base name of the widget to create
|
|
8777
8758
|
* @returns a string containing the new name, %NULL if there is not enough memory for this string
|
|
8778
8759
|
*/
|
|
8779
|
-
new_widget_name(widget: Widget, base_name: string
|
|
8760
|
+
new_widget_name(widget: Widget, base_name: string): string | null
|
|
8780
8761
|
/**
|
|
8781
8762
|
* Gets the next redo item on `project'`s command stack.
|
|
8782
8763
|
* @returns the #GladeCommand
|
|
@@ -8832,20 +8813,20 @@ export interface Project extends Gtk.TreeDragSource, Gtk.TreeModel {
|
|
|
8832
8813
|
* @param resource The resource basename
|
|
8833
8814
|
* @returns A newly allocated string holding the full path to the resource.
|
|
8834
8815
|
*/
|
|
8835
|
-
resource_fullpath(resource: string
|
|
8816
|
+
resource_fullpath(resource: string): string | null
|
|
8836
8817
|
/**
|
|
8837
8818
|
* Saves `project` to the given path.
|
|
8838
8819
|
* @param path location to save glade file
|
|
8839
8820
|
* @returns %TRUE on success, %FALSE on failure
|
|
8840
8821
|
*/
|
|
8841
|
-
save(path: string
|
|
8822
|
+
save(path: string): boolean
|
|
8842
8823
|
/**
|
|
8843
8824
|
* Saves `project` to the given path.
|
|
8844
8825
|
* @param path location to save glade file
|
|
8845
8826
|
* @param flags the #GladeVerifyFlags to warn about
|
|
8846
8827
|
* @returns %TRUE on success, %FALSE on failure
|
|
8847
8828
|
*/
|
|
8848
|
-
save_verify(path: string
|
|
8829
|
+
save_verify(path: string, flags: VerifyFlags): boolean
|
|
8849
8830
|
/**
|
|
8850
8831
|
* Adds `object` to the selection chain of `project`
|
|
8851
8832
|
*
|
|
@@ -8887,24 +8868,24 @@ export interface Project extends Gtk.TreeDragSource, Gtk.TreeModel {
|
|
|
8887
8868
|
* Set the custom CSS provider path to use in `project`
|
|
8888
8869
|
* @param path a CSS file path
|
|
8889
8870
|
*/
|
|
8890
|
-
set_css_provider_path(path: string
|
|
8891
|
-
set_license(license: string
|
|
8871
|
+
set_css_provider_path(path: string): void
|
|
8872
|
+
set_license(license: string): void
|
|
8892
8873
|
set_pointer_mode(mode: PointerMode): void
|
|
8893
|
-
set_resource_path(path: string
|
|
8894
|
-
set_target_version(catalog: string
|
|
8874
|
+
set_resource_path(path: string): void
|
|
8875
|
+
set_target_version(catalog: string, major: number, minor: number): void
|
|
8895
8876
|
set_template(widget: Widget): void
|
|
8896
8877
|
/**
|
|
8897
8878
|
* Set the project translation domain.
|
|
8898
8879
|
* @param domain the translation domain
|
|
8899
8880
|
*/
|
|
8900
|
-
set_translation_domain(domain: string
|
|
8881
|
+
set_translation_domain(domain: string): void
|
|
8901
8882
|
/**
|
|
8902
8883
|
* Sets `name` on `widget` in `project,` if `name` is not
|
|
8903
8884
|
* available then a new name will be used.
|
|
8904
8885
|
* @param widget the #GladeWidget to set a name on
|
|
8905
8886
|
* @param name the name to set.
|
|
8906
8887
|
*/
|
|
8907
|
-
set_widget_name(widget: Widget, name: string
|
|
8888
|
+
set_widget_name(widget: Widget, name: string): void
|
|
8908
8889
|
toplevels(): Gtk.Widget[]
|
|
8909
8890
|
/**
|
|
8910
8891
|
* Undoes a #GladeCommand in this project.
|
|
@@ -9106,7 +9087,7 @@ export class Project extends GObject.Object {
|
|
|
9106
9087
|
* @param path the path of the project to load
|
|
9107
9088
|
* @returns a new #GladeProject for the opened project on success, %NULL on failure
|
|
9108
9089
|
*/
|
|
9109
|
-
static load(path: string
|
|
9090
|
+
static load(path: string): Project | null
|
|
9110
9091
|
static verify_property(property: Property): void
|
|
9111
9092
|
static verify_signal(widget: Widget, signal: Signal): void
|
|
9112
9093
|
}
|
|
@@ -9138,14 +9119,11 @@ export module Property {
|
|
|
9138
9119
|
|
|
9139
9120
|
"class"?: any | null
|
|
9140
9121
|
enabled?: boolean | null
|
|
9141
|
-
i18n_comment?: string | null
|
|
9142
|
-
i18n_context?: string | null
|
|
9143
|
-
i18n_translatable?: boolean | null
|
|
9144
|
-
precision?: number | null
|
|
9145
|
-
sensitive?: boolean | null
|
|
9146
9122
|
i18nComment?: string | null
|
|
9147
9123
|
i18nContext?: string | null
|
|
9148
9124
|
i18nTranslatable?: boolean | null
|
|
9125
|
+
precision?: number | null
|
|
9126
|
+
sensitive?: boolean | null
|
|
9149
9127
|
}
|
|
9150
9128
|
|
|
9151
9129
|
}
|
|
@@ -9156,11 +9134,8 @@ export interface Property {
|
|
|
9156
9134
|
|
|
9157
9135
|
readonly "class": any
|
|
9158
9136
|
enabled: boolean
|
|
9159
|
-
i18n_comment: string | null
|
|
9160
9137
|
i18nComment: string | null
|
|
9161
|
-
i18n_context: string | null
|
|
9162
9138
|
i18nContext: string | null
|
|
9163
|
-
i18n_translatable: boolean
|
|
9164
9139
|
i18nTranslatable: boolean
|
|
9165
9140
|
precision: number
|
|
9166
9141
|
sensitive: boolean
|
|
@@ -9198,18 +9173,18 @@ export interface Property {
|
|
|
9198
9173
|
get_save_always(): boolean
|
|
9199
9174
|
get_sensitive(): boolean
|
|
9200
9175
|
get_state(): PropertyState
|
|
9201
|
-
get_support_warning(): string
|
|
9176
|
+
get_support_warning(): string
|
|
9202
9177
|
/**
|
|
9203
9178
|
* Retrieve the property value
|
|
9204
9179
|
* @param value a #GValue
|
|
9205
9180
|
*/
|
|
9206
9181
|
get_value(value: any): void
|
|
9207
9182
|
get_widget(): Widget
|
|
9208
|
-
i18n_get_comment(): string
|
|
9209
|
-
i18n_get_context(): string
|
|
9183
|
+
i18n_get_comment(): string
|
|
9184
|
+
i18n_get_context(): string
|
|
9210
9185
|
i18n_get_translatable(): boolean
|
|
9211
|
-
i18n_set_comment(str: string
|
|
9212
|
-
i18n_set_context(str: string
|
|
9186
|
+
i18n_set_comment(str: string): void
|
|
9187
|
+
i18n_set_context(str: string): void
|
|
9213
9188
|
i18n_set_translatable(translatable: boolean): void
|
|
9214
9189
|
inline_value(): any
|
|
9215
9190
|
/**
|
|
@@ -9254,8 +9229,8 @@ export interface Property {
|
|
|
9254
9229
|
* @param setting the value to set
|
|
9255
9230
|
*/
|
|
9256
9231
|
set_save_always(setting: boolean): void
|
|
9257
|
-
set_sensitive(sensitive: boolean, reason: string
|
|
9258
|
-
set_support_warning(disable: boolean, reason: string
|
|
9232
|
+
set_sensitive(sensitive: boolean, reason: string): void
|
|
9233
|
+
set_support_warning(disable: boolean, reason: string): void
|
|
9259
9234
|
/**
|
|
9260
9235
|
* Sets the property's value
|
|
9261
9236
|
* @param value a #GValue
|
|
@@ -9302,7 +9277,7 @@ export interface Property {
|
|
|
9302
9277
|
* @virtual
|
|
9303
9278
|
*/
|
|
9304
9279
|
vfunc_sync(): void
|
|
9305
|
-
vfunc_tooltip_changed(tooltip: string
|
|
9280
|
+
vfunc_tooltip_changed(tooltip: string, insensitive_tooltip: string, support_warning: string): void
|
|
9306
9281
|
vfunc_value_changed(old_value: any, new_value: any): void
|
|
9307
9282
|
|
|
9308
9283
|
// Own signals of Gladeui-2.0.Gladeui.Property
|
|
@@ -9392,15 +9367,11 @@ export module PropertyLabel {
|
|
|
9392
9367
|
|
|
9393
9368
|
// Own constructor properties of Gladeui-2.0.Gladeui.PropertyLabel
|
|
9394
9369
|
|
|
9395
|
-
append_colon?: boolean | null
|
|
9396
|
-
custom_text?: string | null
|
|
9397
|
-
custom_tooltip?: string | null
|
|
9398
|
-
packing?: boolean | null
|
|
9399
|
-
property?: Property | null
|
|
9400
|
-
property_name?: string | null
|
|
9401
9370
|
appendColon?: boolean | null
|
|
9402
9371
|
customText?: string | null
|
|
9403
9372
|
customTooltip?: string | null
|
|
9373
|
+
packing?: boolean | null
|
|
9374
|
+
property?: Property | null
|
|
9404
9375
|
propertyName?: string | null
|
|
9405
9376
|
}
|
|
9406
9377
|
|
|
@@ -9410,22 +9381,18 @@ export interface PropertyLabel extends Atk.ImplementorIface, Editable, Gtk.Build
|
|
|
9410
9381
|
|
|
9411
9382
|
// Own properties of Gladeui-2.0.Gladeui.PropertyLabel
|
|
9412
9383
|
|
|
9413
|
-
append_colon: boolean
|
|
9414
9384
|
appendColon: boolean
|
|
9415
|
-
custom_text: string | null
|
|
9416
9385
|
customText: string | null
|
|
9417
|
-
custom_tooltip: string | null
|
|
9418
9386
|
customTooltip: string | null
|
|
9419
9387
|
packing: boolean
|
|
9420
9388
|
property: Property
|
|
9421
|
-
property_name: string | null
|
|
9422
9389
|
propertyName: string | null
|
|
9423
9390
|
|
|
9424
9391
|
// Owm methods of Gladeui-2.0.Gladeui.PropertyLabel
|
|
9425
9392
|
|
|
9426
9393
|
get_append_colon(): boolean
|
|
9427
|
-
get_custom_text(): string
|
|
9428
|
-
get_custom_tooltip(): string
|
|
9394
|
+
get_custom_text(): string
|
|
9395
|
+
get_custom_tooltip(): string
|
|
9429
9396
|
get_packing(): boolean
|
|
9430
9397
|
get_property(): Property
|
|
9431
9398
|
|
|
@@ -9451,11 +9418,11 @@ export interface PropertyLabel extends Atk.ImplementorIface, Editable, Gtk.Build
|
|
|
9451
9418
|
* @param property_name the name of the property to get
|
|
9452
9419
|
* @param value return location for the property value
|
|
9453
9420
|
*/
|
|
9454
|
-
get_property(property_name: string
|
|
9455
|
-
get_property_name(): string
|
|
9421
|
+
get_property(property_name: string, value: any): void
|
|
9422
|
+
get_property_name(): string
|
|
9456
9423
|
set_append_colon(append_colon: boolean): void
|
|
9457
|
-
set_custom_text(custom_text: string
|
|
9458
|
-
set_custom_tooltip(custom_tooltip: string
|
|
9424
|
+
set_custom_text(custom_text: string): void
|
|
9425
|
+
set_custom_tooltip(custom_tooltip: string): void
|
|
9459
9426
|
set_packing(packing: boolean): void
|
|
9460
9427
|
set_property(property: Property): void
|
|
9461
9428
|
|
|
@@ -9466,8 +9433,8 @@ export interface PropertyLabel extends Atk.ImplementorIface, Editable, Gtk.Build
|
|
|
9466
9433
|
* @param property_name the name of the property to set
|
|
9467
9434
|
* @param value the value
|
|
9468
9435
|
*/
|
|
9469
|
-
set_property(property_name: string
|
|
9470
|
-
set_property_name(property_name: string
|
|
9436
|
+
set_property(property_name: string, value: any): void
|
|
9437
|
+
set_property_name(property_name: string): void
|
|
9471
9438
|
|
|
9472
9439
|
// Conflicting methods
|
|
9473
9440
|
|
|
@@ -9481,7 +9448,7 @@ export interface PropertyLabel extends Atk.ImplementorIface, Editable, Gtk.Build
|
|
|
9481
9448
|
* Also see gtk_container_child_notify().
|
|
9482
9449
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
9483
9450
|
*/
|
|
9484
|
-
child_notify(child_property: string
|
|
9451
|
+
child_notify(child_property: string): void
|
|
9485
9452
|
/**
|
|
9486
9453
|
* Emits a #GtkWidget::child-notify signal for the
|
|
9487
9454
|
* [child property][child-properties]
|
|
@@ -9493,7 +9460,7 @@ export interface PropertyLabel extends Atk.ImplementorIface, Editable, Gtk.Build
|
|
|
9493
9460
|
* @param child the child widget
|
|
9494
9461
|
* @param child_property the name of a child property installed on the class of `container`
|
|
9495
9462
|
*/
|
|
9496
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
9463
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
9497
9464
|
|
|
9498
9465
|
// Overloads of child_notify
|
|
9499
9466
|
|
|
@@ -9507,7 +9474,7 @@ export interface PropertyLabel extends Atk.ImplementorIface, Editable, Gtk.Build
|
|
|
9507
9474
|
* Also see gtk_container_child_notify().
|
|
9508
9475
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
9509
9476
|
*/
|
|
9510
|
-
child_notify(child_property: string
|
|
9477
|
+
child_notify(child_property: string): void
|
|
9511
9478
|
|
|
9512
9479
|
// Class property signals of Gladeui-2.0.Gladeui.PropertyLabel
|
|
9513
9480
|
|
|
@@ -9707,15 +9674,10 @@ export module PropertyShell {
|
|
|
9707
9674
|
|
|
9708
9675
|
// Own constructor properties of Gladeui-2.0.Gladeui.PropertyShell
|
|
9709
9676
|
|
|
9710
|
-
custom_text?: string | null
|
|
9711
|
-
disable_check?: boolean | null
|
|
9712
|
-
editor_type?: string | null
|
|
9713
|
-
packing?: boolean | null
|
|
9714
|
-
property_name?: string | null
|
|
9715
|
-
use_command?: boolean | null
|
|
9716
9677
|
customText?: string | null
|
|
9717
9678
|
disableCheck?: boolean | null
|
|
9718
9679
|
editorType?: string | null
|
|
9680
|
+
packing?: boolean | null
|
|
9719
9681
|
propertyName?: string | null
|
|
9720
9682
|
useCommand?: boolean | null
|
|
9721
9683
|
}
|
|
@@ -9726,29 +9688,24 @@ export interface PropertyShell extends Atk.ImplementorIface, Editable, Gtk.Build
|
|
|
9726
9688
|
|
|
9727
9689
|
// Own properties of Gladeui-2.0.Gladeui.PropertyShell
|
|
9728
9690
|
|
|
9729
|
-
custom_text: string | null
|
|
9730
9691
|
customText: string | null
|
|
9731
|
-
disable_check: boolean
|
|
9732
9692
|
disableCheck: boolean
|
|
9733
|
-
readonly editor_type: string | null
|
|
9734
9693
|
readonly editorType: string | null
|
|
9735
9694
|
packing: boolean
|
|
9736
|
-
property_name: string | null
|
|
9737
9695
|
propertyName: string | null
|
|
9738
|
-
use_command: boolean
|
|
9739
9696
|
useCommand: boolean
|
|
9740
9697
|
|
|
9741
9698
|
// Owm methods of Gladeui-2.0.Gladeui.PropertyShell
|
|
9742
9699
|
|
|
9743
|
-
get_custom_text(): string
|
|
9700
|
+
get_custom_text(): string
|
|
9744
9701
|
get_disable_check(): boolean
|
|
9745
9702
|
get_packing(): boolean
|
|
9746
|
-
get_property_name(): string
|
|
9703
|
+
get_property_name(): string
|
|
9747
9704
|
get_use_command(): boolean
|
|
9748
|
-
set_custom_text(custom_text: string
|
|
9705
|
+
set_custom_text(custom_text: string): void
|
|
9749
9706
|
set_disable_check(disable_check: boolean): void
|
|
9750
9707
|
set_packing(packing: boolean): void
|
|
9751
|
-
set_property_name(property_name: string
|
|
9708
|
+
set_property_name(property_name: string): void
|
|
9752
9709
|
set_use_command(use_command: boolean): void
|
|
9753
9710
|
|
|
9754
9711
|
// Conflicting methods
|
|
@@ -9763,7 +9720,7 @@ export interface PropertyShell extends Atk.ImplementorIface, Editable, Gtk.Build
|
|
|
9763
9720
|
* Also see gtk_container_child_notify().
|
|
9764
9721
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
9765
9722
|
*/
|
|
9766
|
-
child_notify(child_property: string
|
|
9723
|
+
child_notify(child_property: string): void
|
|
9767
9724
|
/**
|
|
9768
9725
|
* Emits a #GtkWidget::child-notify signal for the
|
|
9769
9726
|
* [child property][child-properties]
|
|
@@ -9775,7 +9732,7 @@ export interface PropertyShell extends Atk.ImplementorIface, Editable, Gtk.Build
|
|
|
9775
9732
|
* @param child the child widget
|
|
9776
9733
|
* @param child_property the name of a child property installed on the class of `container`
|
|
9777
9734
|
*/
|
|
9778
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
9735
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
9779
9736
|
|
|
9780
9737
|
// Overloads of child_notify
|
|
9781
9738
|
|
|
@@ -9789,7 +9746,7 @@ export interface PropertyShell extends Atk.ImplementorIface, Editable, Gtk.Build
|
|
|
9789
9746
|
* Also see gtk_container_child_notify().
|
|
9790
9747
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
9791
9748
|
*/
|
|
9792
|
-
child_notify(child_property: string
|
|
9749
|
+
child_notify(child_property: string): void
|
|
9793
9750
|
|
|
9794
9751
|
// Own signals of Gladeui-2.0.Gladeui.PropertyShell
|
|
9795
9752
|
|
|
@@ -10002,10 +9959,9 @@ export module Signal {
|
|
|
10002
9959
|
"class"?: any | null
|
|
10003
9960
|
detail?: string | null
|
|
10004
9961
|
handler?: string | null
|
|
10005
|
-
|
|
9962
|
+
supportWarning?: string | null
|
|
10006
9963
|
swapped?: boolean | null
|
|
10007
9964
|
userdata?: string | null
|
|
10008
|
-
supportWarning?: string | null
|
|
10009
9965
|
}
|
|
10010
9966
|
|
|
10011
9967
|
}
|
|
@@ -10018,7 +9974,6 @@ export interface Signal {
|
|
|
10018
9974
|
readonly "class": any
|
|
10019
9975
|
detail: string | null
|
|
10020
9976
|
handler: string | null
|
|
10021
|
-
support_warning: string | null
|
|
10022
9977
|
supportWarning: string | null
|
|
10023
9978
|
swapped: boolean
|
|
10024
9979
|
userdata: string | null
|
|
@@ -10047,18 +10002,18 @@ export interface Signal {
|
|
|
10047
10002
|
* Get the signal detail.
|
|
10048
10003
|
* @returns the detail of the signal
|
|
10049
10004
|
*/
|
|
10050
|
-
get_detail(): string
|
|
10005
|
+
get_detail(): string
|
|
10051
10006
|
/**
|
|
10052
10007
|
* Get the signal handler.
|
|
10053
10008
|
* @returns the handler of the signal
|
|
10054
10009
|
*/
|
|
10055
|
-
get_handler(): string
|
|
10010
|
+
get_handler(): string
|
|
10056
10011
|
/**
|
|
10057
10012
|
* Get the name of the signal from the signal definition.
|
|
10058
10013
|
* @returns The name of the signal
|
|
10059
10014
|
*/
|
|
10060
|
-
get_name(): string
|
|
10061
|
-
get_support_warning(): string
|
|
10015
|
+
get_name(): string
|
|
10016
|
+
get_support_warning(): string
|
|
10062
10017
|
/**
|
|
10063
10018
|
* Get whether the instance and userdata arguments should be swapped.
|
|
10064
10019
|
* @returns whether the instance and userdata arguments should be swapped
|
|
@@ -10068,7 +10023,7 @@ export interface Signal {
|
|
|
10068
10023
|
* Get the userdata handler.
|
|
10069
10024
|
* @returns the userdata of the signal
|
|
10070
10025
|
*/
|
|
10071
|
-
get_userdata(): string
|
|
10026
|
+
get_userdata(): string
|
|
10072
10027
|
/**
|
|
10073
10028
|
* Set whether the handler should be called before or after the default handler
|
|
10074
10029
|
* of the signal.
|
|
@@ -10079,13 +10034,13 @@ export interface Signal {
|
|
|
10079
10034
|
* Set the detail of the signal.
|
|
10080
10035
|
* @param detail the detail of the signal
|
|
10081
10036
|
*/
|
|
10082
|
-
set_detail(detail: string
|
|
10037
|
+
set_detail(detail: string): void
|
|
10083
10038
|
/**
|
|
10084
10039
|
* Set the handler of the signal.
|
|
10085
10040
|
* @param handler the handler of the signal
|
|
10086
10041
|
*/
|
|
10087
|
-
set_handler(handler: string
|
|
10088
|
-
set_support_warning(support_warning: string
|
|
10042
|
+
set_handler(handler: string): void
|
|
10043
|
+
set_support_warning(support_warning: string): void
|
|
10089
10044
|
/**
|
|
10090
10045
|
* Set whether the instance and userdata arguments should be swapped.
|
|
10091
10046
|
* @param swapped if the instance and userdata arguments should be swapped
|
|
@@ -10095,7 +10050,7 @@ export interface Signal {
|
|
|
10095
10050
|
* Set the userdata of the signal.
|
|
10096
10051
|
* @param userdata the userdata of the signal
|
|
10097
10052
|
*/
|
|
10098
|
-
set_userdata(userdata: string
|
|
10053
|
+
set_userdata(userdata: string): void
|
|
10099
10054
|
/**
|
|
10100
10055
|
* Writes `signal` to `node`
|
|
10101
10056
|
* @param context A #GladeXmlContext
|
|
@@ -10152,7 +10107,7 @@ export class Signal extends GObject.Object {
|
|
|
10152
10107
|
* @param swapped whether the handler's user data should be swapped with the emitter instance.
|
|
10153
10108
|
* @returns the new #GladeSignal
|
|
10154
10109
|
*/
|
|
10155
|
-
constructor(sig_def: SignalDef, handler: string
|
|
10110
|
+
constructor(sig_def: SignalDef, handler: string, userdata: string, after: boolean, swapped: boolean)
|
|
10156
10111
|
/**
|
|
10157
10112
|
* Creates a new #GladeSignal with the given parameters.
|
|
10158
10113
|
* @constructor
|
|
@@ -10163,7 +10118,7 @@ export class Signal extends GObject.Object {
|
|
|
10163
10118
|
* @param swapped whether the handler's user data should be swapped with the emitter instance.
|
|
10164
10119
|
* @returns the new #GladeSignal
|
|
10165
10120
|
*/
|
|
10166
|
-
static new(sig_def: SignalDef, handler: string
|
|
10121
|
+
static new(sig_def: SignalDef, handler: string, userdata: string, after: boolean, swapped: boolean): Signal
|
|
10167
10122
|
_init(config?: Signal.ConstructorProperties): void
|
|
10168
10123
|
/**
|
|
10169
10124
|
* Reads and creates a ner #GladeSignal based on `node`
|
|
@@ -10206,7 +10161,6 @@ export module SignalEditor {
|
|
|
10206
10161
|
|
|
10207
10162
|
// Own constructor properties of Gladeui-2.0.Gladeui.SignalEditor
|
|
10208
10163
|
|
|
10209
|
-
glade_widget?: Gtk.TreeModel | null
|
|
10210
10164
|
gladeWidget?: Gtk.TreeModel | null
|
|
10211
10165
|
}
|
|
10212
10166
|
|
|
@@ -10216,7 +10170,6 @@ export interface SignalEditor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.O
|
|
|
10216
10170
|
|
|
10217
10171
|
// Own properties of Gladeui-2.0.Gladeui.SignalEditor
|
|
10218
10172
|
|
|
10219
|
-
glade_widget: Gtk.TreeModel
|
|
10220
10173
|
gladeWidget: Gtk.TreeModel
|
|
10221
10174
|
|
|
10222
10175
|
// Own fields of Gladeui-2.0.Gladeui.SignalEditor
|
|
@@ -10254,7 +10207,7 @@ export interface SignalEditor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.O
|
|
|
10254
10207
|
* @param child the child widget
|
|
10255
10208
|
* @param child_property the name of a child property installed on the class of `container`
|
|
10256
10209
|
*/
|
|
10257
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
10210
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
10258
10211
|
|
|
10259
10212
|
// Overloads of child_notify
|
|
10260
10213
|
|
|
@@ -10268,7 +10221,7 @@ export interface SignalEditor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.O
|
|
|
10268
10221
|
* Also see gtk_container_child_notify().
|
|
10269
10222
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
10270
10223
|
*/
|
|
10271
|
-
child_notify(child_property: string
|
|
10224
|
+
child_notify(child_property: string): void
|
|
10272
10225
|
/**
|
|
10273
10226
|
* Emits a #GtkWidget::child-notify signal for the
|
|
10274
10227
|
* [child property][child-properties] `child_property`
|
|
@@ -10279,7 +10232,7 @@ export interface SignalEditor extends Atk.ImplementorIface, Gtk.Buildable, Gtk.O
|
|
|
10279
10232
|
* Also see gtk_container_child_notify().
|
|
10280
10233
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
10281
10234
|
*/
|
|
10282
|
-
child_notify(child_property: string
|
|
10235
|
+
child_notify(child_property: string): void
|
|
10283
10236
|
|
|
10284
10237
|
// Own signals of Gladeui-2.0.Gladeui.SignalEditor
|
|
10285
10238
|
|
|
@@ -10593,7 +10546,7 @@ export module Widget {
|
|
|
10593
10546
|
anarchist?: boolean | null
|
|
10594
10547
|
composite?: boolean | null
|
|
10595
10548
|
internal?: string | null
|
|
10596
|
-
|
|
10549
|
+
internalName?: string | null
|
|
10597
10550
|
name?: string | null
|
|
10598
10551
|
object?: GObject.Object | null
|
|
10599
10552
|
parent?: Widget | null
|
|
@@ -10601,10 +10554,6 @@ export module Widget {
|
|
|
10601
10554
|
properties?: any | null
|
|
10602
10555
|
reason?: number | null
|
|
10603
10556
|
template?: Widget | null
|
|
10604
|
-
template_exact?: boolean | null
|
|
10605
|
-
toplevel_height?: number | null
|
|
10606
|
-
toplevel_width?: number | null
|
|
10607
|
-
internalName?: string | null
|
|
10608
10557
|
templateExact?: boolean | null
|
|
10609
10558
|
toplevelHeight?: number | null
|
|
10610
10559
|
toplevelWidth?: number | null
|
|
@@ -10620,7 +10569,6 @@ export interface Widget {
|
|
|
10620
10569
|
readonly anarchist: boolean
|
|
10621
10570
|
composite: boolean
|
|
10622
10571
|
internal: string | null
|
|
10623
|
-
readonly internal_name: string | null
|
|
10624
10572
|
readonly internalName: string | null
|
|
10625
10573
|
name: string | null
|
|
10626
10574
|
object: GObject.Object
|
|
@@ -10628,14 +10576,10 @@ export interface Widget {
|
|
|
10628
10576
|
project: Project
|
|
10629
10577
|
readonly properties: any
|
|
10630
10578
|
readonly reason: number
|
|
10631
|
-
readonly support_warning: string | null
|
|
10632
10579
|
readonly supportWarning: string | null
|
|
10633
10580
|
readonly template: Widget
|
|
10634
|
-
readonly template_exact: boolean
|
|
10635
10581
|
readonly templateExact: boolean
|
|
10636
|
-
toplevel_height: number
|
|
10637
10582
|
toplevelHeight: number
|
|
10638
|
-
toplevel_width: number
|
|
10639
10583
|
toplevelWidth: number
|
|
10640
10584
|
readonly visible: boolean
|
|
10641
10585
|
|
|
@@ -10656,7 +10600,7 @@ export interface Widget {
|
|
|
10656
10600
|
* @param reason The #GladeCreateReason for which this internal widget was created (usually just pass the reason from the post_create function; note also this is used only by the plugin code so pass something useful here).
|
|
10657
10601
|
* @returns a freshly created #GladeWidget wrapper object for the @internal_object of name @internal_name
|
|
10658
10602
|
*/
|
|
10659
|
-
adaptor_create_internal(internal_object: GObject.Object, internal_name: string
|
|
10603
|
+
adaptor_create_internal(internal_object: GObject.Object, internal_name: string, parent_name: string, anarchist: boolean, reason: CreateReason): Widget
|
|
10660
10604
|
/**
|
|
10661
10605
|
* Adds `child` to `parent` in a generic way for this #GladeWidget parent.
|
|
10662
10606
|
* @param child the #GladeWidget to add
|
|
@@ -10699,14 +10643,14 @@ export interface Widget {
|
|
|
10699
10643
|
* @param property_name The id of the property
|
|
10700
10644
|
* @param value The `GValue`
|
|
10701
10645
|
*/
|
|
10702
|
-
child_get_property(child: Widget, property_name: string
|
|
10646
|
+
child_get_property(child: Widget, property_name: string, value: any): void
|
|
10703
10647
|
/**
|
|
10704
10648
|
* Sets `child'`s packing property identified by `property_name` to `value`.
|
|
10705
10649
|
* @param child The #GladeWidget child
|
|
10706
10650
|
* @param property_name The id of the property
|
|
10707
10651
|
* @param value The `GValue`
|
|
10708
10652
|
*/
|
|
10709
|
-
child_set_property(child: Widget, property_name: string
|
|
10653
|
+
child_set_property(child: Widget, property_name: string, value: any): void
|
|
10710
10654
|
/**
|
|
10711
10655
|
* Sets properties in `widget` based on the values of
|
|
10712
10656
|
* matching properties in `template_widget`
|
|
@@ -10729,7 +10673,7 @@ export interface Widget {
|
|
|
10729
10673
|
* @param use_command Whether the undo/redo stack applies here.
|
|
10730
10674
|
* @returns A newly created and connected GladeEditorProperty
|
|
10731
10675
|
*/
|
|
10732
|
-
create_editor_property(property: string
|
|
10676
|
+
create_editor_property(property: string, packing: boolean, use_command: boolean): EditorProperty
|
|
10733
10677
|
/**
|
|
10734
10678
|
* Determines whether `widget` is somehow dependent on `other,` in
|
|
10735
10679
|
* which case it should be serialized after `other`.
|
|
@@ -10772,7 +10716,7 @@ export interface Widget {
|
|
|
10772
10716
|
* @param name child name
|
|
10773
10717
|
* @returns The child of widget or %NULL if it was not found.
|
|
10774
10718
|
*/
|
|
10775
|
-
find_child(name: string
|
|
10719
|
+
find_child(name: string): Widget | null
|
|
10776
10720
|
/**
|
|
10777
10721
|
* Creates a user friendly name to describe project widgets
|
|
10778
10722
|
* @returns A newly allocated string
|
|
@@ -10783,7 +10727,7 @@ export interface Widget {
|
|
|
10783
10727
|
* @param action_path a full action path including groups
|
|
10784
10728
|
* @returns the action or %NULL if not found.
|
|
10785
10729
|
*/
|
|
10786
|
-
get_action(action_path: string
|
|
10730
|
+
get_action(action_path: string): WidgetAction | null
|
|
10787
10731
|
get_actions(): WidgetAction[]
|
|
10788
10732
|
get_adaptor(): WidgetAdaptor
|
|
10789
10733
|
/**
|
|
@@ -10791,8 +10735,8 @@ export interface Widget {
|
|
|
10791
10735
|
* @returns The children of widget <note><para>This differs from a direct call to glade_widget_adaptor_get_children() as it only returns children which have an associated GladeWidget. This function will not return any placeholders or internal composite children that have not been exposed for Glade configuration</para></note>
|
|
10792
10736
|
*/
|
|
10793
10737
|
get_children(): GObject.Object[]
|
|
10794
|
-
get_display_name(): string
|
|
10795
|
-
get_internal(): string
|
|
10738
|
+
get_display_name(): string
|
|
10739
|
+
get_internal(): string
|
|
10796
10740
|
/**
|
|
10797
10741
|
* Checks if `widget` is a composite template to be used
|
|
10798
10742
|
* with gtk_widget_class_set_template().
|
|
@@ -10805,23 +10749,23 @@ export interface Widget {
|
|
|
10805
10749
|
* @returns a #GladeWidget or %NULL if none is locked
|
|
10806
10750
|
*/
|
|
10807
10751
|
get_locker(): Widget | null
|
|
10808
|
-
get_name(): string
|
|
10752
|
+
get_name(): string
|
|
10809
10753
|
get_object(): GObject.Object
|
|
10810
10754
|
/**
|
|
10811
10755
|
* Returns a #GladeWidgetAction object indentified by `action_path`.
|
|
10812
10756
|
* @param action_path a full action path including groups
|
|
10813
10757
|
* @returns the action or %NULL if not found.
|
|
10814
10758
|
*/
|
|
10815
|
-
get_pack_action(action_path: string
|
|
10759
|
+
get_pack_action(action_path: string): WidgetAction | null
|
|
10816
10760
|
get_pack_actions(): WidgetAction[]
|
|
10817
|
-
get_pack_property(id_property: string
|
|
10761
|
+
get_pack_property(id_property: string): Property | null
|
|
10818
10762
|
get_packing_properties(): Property[]
|
|
10819
10763
|
get_parent(): Widget
|
|
10820
10764
|
get_parentless_reffed_widgets(): Property[]
|
|
10821
10765
|
get_parentless_widget_ref(): Property
|
|
10822
10766
|
get_project(): Project
|
|
10823
10767
|
get_properties(): Property[]
|
|
10824
|
-
get_property(id_property: string
|
|
10768
|
+
get_property(id_property: string): Property | null
|
|
10825
10769
|
|
|
10826
10770
|
// Overloads of get_property
|
|
10827
10771
|
|
|
@@ -10845,7 +10789,7 @@ export interface Widget {
|
|
|
10845
10789
|
* @param property_name the name of the property to get
|
|
10846
10790
|
* @param value return location for the property value
|
|
10847
10791
|
*/
|
|
10848
|
-
get_property(property_name: string
|
|
10792
|
+
get_property(property_name: string, value: any): void
|
|
10849
10793
|
/**
|
|
10850
10794
|
* Compiles a list of #GladeSignal elements
|
|
10851
10795
|
* @returns a newly allocated #GList of #GladeSignal, the caller must call g_list_free() to free the list.
|
|
@@ -10870,7 +10814,7 @@ export interface Widget {
|
|
|
10870
10814
|
is_ancestor(ancestor: Widget): boolean
|
|
10871
10815
|
list_locked_widgets(): Widget[]
|
|
10872
10816
|
list_prop_refs(): Property[]
|
|
10873
|
-
list_signal_handlers(signal_name: string
|
|
10817
|
+
list_signal_handlers(signal_name: string): Signal[]
|
|
10874
10818
|
/**
|
|
10875
10819
|
* Sets `locked` to be in a locked up state
|
|
10876
10820
|
* spoken for by `widget,` locked widgets cannot
|
|
@@ -10884,21 +10828,21 @@ export interface Widget {
|
|
|
10884
10828
|
* @param property_name The property identifier
|
|
10885
10829
|
* @param value The #GValue
|
|
10886
10830
|
*/
|
|
10887
|
-
object_get_property(property_name: string
|
|
10831
|
+
object_get_property(property_name: string, value: any): void
|
|
10888
10832
|
/**
|
|
10889
10833
|
* This function applies `value` to the property `property_name` on
|
|
10890
10834
|
* the runtime object of `widget`.
|
|
10891
10835
|
* @param property_name The property identifier
|
|
10892
10836
|
* @param value The #GValue
|
|
10893
10837
|
*/
|
|
10894
|
-
object_set_property(property_name: string
|
|
10895
|
-
pack_property_default(id_property: string
|
|
10838
|
+
object_set_property(property_name: string, value: any): void
|
|
10839
|
+
pack_property_default(id_property: string): boolean
|
|
10896
10840
|
/**
|
|
10897
10841
|
* Resets `id_property` in `widget'`s packing properties to it's default value
|
|
10898
10842
|
* @param id_property a string naming a #GladeProperty
|
|
10899
10843
|
* @returns whether @id_property was found or not.
|
|
10900
10844
|
*/
|
|
10901
|
-
pack_property_reset(id_property: string
|
|
10845
|
+
pack_property_reset(id_property: string): boolean
|
|
10902
10846
|
/**
|
|
10903
10847
|
* Sets the enabled state of `id_property` in `widget'`s packing
|
|
10904
10848
|
* properties; this is used for optional properties.
|
|
@@ -10906,7 +10850,7 @@ export interface Widget {
|
|
|
10906
10850
|
* @param enabled setting enabled or disabled
|
|
10907
10851
|
* @returns whether @id_property was found or not.
|
|
10908
10852
|
*/
|
|
10909
|
-
pack_property_set_enabled(id_property: string
|
|
10853
|
+
pack_property_set_enabled(id_property: string, enabled: boolean): boolean
|
|
10910
10854
|
/**
|
|
10911
10855
|
* Sets whether `id_property` in `widget` should be special cased
|
|
10912
10856
|
* to always be saved regardless of its default value.
|
|
@@ -10917,7 +10861,7 @@ export interface Widget {
|
|
|
10917
10861
|
* @param setting the setting
|
|
10918
10862
|
* @returns whether @id_property was found or not.
|
|
10919
10863
|
*/
|
|
10920
|
-
pack_property_set_save_always(id_property: string
|
|
10864
|
+
pack_property_set_save_always(id_property: string, setting: boolean): boolean
|
|
10921
10865
|
/**
|
|
10922
10866
|
* Sets the sensitivity of `id_property` in `widget'`s packing properties.
|
|
10923
10867
|
* @param id_property a string naming a #GladeProperty
|
|
@@ -10925,7 +10869,7 @@ export interface Widget {
|
|
|
10925
10869
|
* @param reason a description of why the user cant edit this property which will be used as a tooltip
|
|
10926
10870
|
* @returns whether @id_property was found or not.
|
|
10927
10871
|
*/
|
|
10928
|
-
pack_property_set_sensitive(id_property: string
|
|
10872
|
+
pack_property_set_sensitive(id_property: string, sensitive: boolean, reason: string): boolean
|
|
10929
10873
|
/**
|
|
10930
10874
|
* Same as glade_widget_property_string() but for packing
|
|
10931
10875
|
* properties.
|
|
@@ -10933,7 +10877,7 @@ export interface Widget {
|
|
|
10933
10877
|
* @param value the #GValue to print or %NULL
|
|
10934
10878
|
* @returns A newly allocated string representing @id_property
|
|
10935
10879
|
*/
|
|
10936
|
-
pack_property_string(id_property: string
|
|
10880
|
+
pack_property_string(id_property: string, value: any): string | null
|
|
10937
10881
|
/**
|
|
10938
10882
|
* Returns whether placeholders should be used
|
|
10939
10883
|
* in operations concerning this parent & child.
|
|
@@ -10945,14 +10889,14 @@ export interface Widget {
|
|
|
10945
10889
|
* @returns whether to use placeholders for this relationship.
|
|
10946
10890
|
*/
|
|
10947
10891
|
placeholder_relation(widget: Widget): boolean
|
|
10948
|
-
property_default(id_property: string
|
|
10949
|
-
property_original_default(id_property: string
|
|
10892
|
+
property_default(id_property: string): boolean
|
|
10893
|
+
property_original_default(id_property: string): boolean
|
|
10950
10894
|
/**
|
|
10951
10895
|
* Resets `id_property` in `widget` to it's default value
|
|
10952
10896
|
* @param id_property a string naming a #GladeProperty
|
|
10953
10897
|
* @returns whether @id_property was found or not.
|
|
10954
10898
|
*/
|
|
10955
|
-
property_reset(id_property: string
|
|
10899
|
+
property_reset(id_property: string): boolean
|
|
10956
10900
|
/**
|
|
10957
10901
|
* Sets the enabled state of `id_property` in `widget;` this is
|
|
10958
10902
|
* used for optional properties.
|
|
@@ -10960,7 +10904,7 @@ export interface Widget {
|
|
|
10960
10904
|
* @param enabled setting enabled or disabled
|
|
10961
10905
|
* @returns whether @id_property was found or not.
|
|
10962
10906
|
*/
|
|
10963
|
-
property_set_enabled(id_property: string
|
|
10907
|
+
property_set_enabled(id_property: string, enabled: boolean): boolean
|
|
10964
10908
|
/**
|
|
10965
10909
|
* Sets whether `id_property` in `widget` should be special cased
|
|
10966
10910
|
* to always be saved regardless of its default value.
|
|
@@ -10971,7 +10915,7 @@ export interface Widget {
|
|
|
10971
10915
|
* @param setting the setting
|
|
10972
10916
|
* @returns whether @id_property was found or not.
|
|
10973
10917
|
*/
|
|
10974
|
-
property_set_save_always(id_property: string
|
|
10918
|
+
property_set_save_always(id_property: string, setting: boolean): boolean
|
|
10975
10919
|
/**
|
|
10976
10920
|
* Sets the sensitivity of `id_property` in `widget`
|
|
10977
10921
|
* @param id_property a string naming a #GladeProperty
|
|
@@ -10979,7 +10923,7 @@ export interface Widget {
|
|
|
10979
10923
|
* @param reason a description of why the user cant edit this property which will be used as a tooltip
|
|
10980
10924
|
* @returns whether @id_property was found or not.
|
|
10981
10925
|
*/
|
|
10982
|
-
property_set_sensitive(id_property: string
|
|
10926
|
+
property_set_sensitive(id_property: string, sensitive: boolean, reason: string): boolean
|
|
10983
10927
|
/**
|
|
10984
10928
|
* Creates a printable string representing `id_property` in
|
|
10985
10929
|
* `widget,` if `value` is specified it will be used in place
|
|
@@ -10990,7 +10934,7 @@ export interface Widget {
|
|
|
10990
10934
|
* @param value the #GValue to print or %NULL
|
|
10991
10935
|
* @returns A newly allocated string representing @id_property
|
|
10992
10936
|
*/
|
|
10993
|
-
property_string(id_property: string
|
|
10937
|
+
property_string(id_property: string, value: any): string | null
|
|
10994
10938
|
/**
|
|
10995
10939
|
* Reads in a child widget from the xml (handles 'child' tag)
|
|
10996
10940
|
* @param node a #GladeXmlNode
|
|
@@ -11024,7 +10968,7 @@ export interface Widget {
|
|
|
11024
10968
|
* style properties).
|
|
11025
10969
|
* @param id_property the name of the property
|
|
11026
10970
|
*/
|
|
11027
|
-
remove_property(id_property: string
|
|
10971
|
+
remove_property(id_property: string): void
|
|
11028
10972
|
/**
|
|
11029
10973
|
* Removes a signal handler from `widget`
|
|
11030
10974
|
* @param signal_handler The #GladeSignal
|
|
@@ -11045,21 +10989,21 @@ export interface Widget {
|
|
|
11045
10989
|
* @param sensitive setting sensitive or insensitive
|
|
11046
10990
|
* @returns whether @action_path was found or not.
|
|
11047
10991
|
*/
|
|
11048
|
-
set_action_sensitive(action_path: string
|
|
10992
|
+
set_action_sensitive(action_path: string, sensitive: boolean): boolean
|
|
11049
10993
|
/**
|
|
11050
10994
|
* Sets the visibility of `action_path` in `widget`
|
|
11051
10995
|
* @param action_path a full action path including groups
|
|
11052
10996
|
* @param visible setting visible or invisible
|
|
11053
10997
|
* @returns whether @action_path was found or not.
|
|
11054
10998
|
*/
|
|
11055
|
-
set_action_visible(action_path: string
|
|
10999
|
+
set_action_visible(action_path: string, visible: boolean): boolean
|
|
11056
11000
|
set_child_type_from_node(child: GObject.Object, node: XmlNode): void
|
|
11057
11001
|
set_in_project(in_project: boolean): void
|
|
11058
11002
|
/**
|
|
11059
11003
|
* Sets the internal name of `widget` to `internal`
|
|
11060
11004
|
* @param internal The internal name
|
|
11061
11005
|
*/
|
|
11062
|
-
set_internal(internal: string
|
|
11006
|
+
set_internal(internal: string): void
|
|
11063
11007
|
/**
|
|
11064
11008
|
* Set's this widget to be toplevel composite object to be
|
|
11065
11009
|
* eventually used with gtk_widget_class_set_template()
|
|
@@ -11072,21 +11016,21 @@ export interface Widget {
|
|
|
11072
11016
|
* Sets `widget'`s name to `name`.
|
|
11073
11017
|
* @param name a string
|
|
11074
11018
|
*/
|
|
11075
|
-
set_name(name: string
|
|
11019
|
+
set_name(name: string): void
|
|
11076
11020
|
/**
|
|
11077
11021
|
* Sets the sensitivity of `action_path` in `widget`
|
|
11078
11022
|
* @param action_path a full action path including groups
|
|
11079
11023
|
* @param sensitive setting sensitive or insensitive
|
|
11080
11024
|
* @returns whether @action_path was found or not.
|
|
11081
11025
|
*/
|
|
11082
|
-
set_pack_action_sensitive(action_path: string
|
|
11026
|
+
set_pack_action_sensitive(action_path: string, sensitive: boolean): boolean
|
|
11083
11027
|
/**
|
|
11084
11028
|
* Sets the visibility of `action_path` in `widget`
|
|
11085
11029
|
* @param action_path a full action path including groups
|
|
11086
11030
|
* @param visible setting visible or invisible
|
|
11087
11031
|
* @returns whether @action_path was found or not.
|
|
11088
11032
|
*/
|
|
11089
|
-
set_pack_action_visible(action_path: string
|
|
11033
|
+
set_pack_action_visible(action_path: string, visible: boolean): boolean
|
|
11090
11034
|
/**
|
|
11091
11035
|
* Generates the packing_properties list of the widget, given
|
|
11092
11036
|
* the class of the container we are adding the widget to.
|
|
@@ -11105,7 +11049,7 @@ export interface Widget {
|
|
|
11105
11049
|
* @param project a #GladeProject
|
|
11106
11050
|
*/
|
|
11107
11051
|
set_project(project: Project): void
|
|
11108
|
-
set_support_warning(warning: string
|
|
11052
|
+
set_support_warning(warning: string): void
|
|
11109
11053
|
/**
|
|
11110
11054
|
* Display `widget` in it's project's GladeDesignView
|
|
11111
11055
|
*/
|
|
@@ -11114,6 +11058,7 @@ export interface Widget {
|
|
|
11114
11058
|
* Notifies that support metadata has changed on the widget.
|
|
11115
11059
|
*/
|
|
11116
11060
|
support_changed(): void
|
|
11061
|
+
support_warning(): string
|
|
11117
11062
|
/**
|
|
11118
11063
|
* Unlocks `widget` so that it can be removed
|
|
11119
11064
|
* from the project again
|
|
@@ -11411,16 +11356,13 @@ export module WidgetAdaptor {
|
|
|
11411
11356
|
|
|
11412
11357
|
book?: string | null
|
|
11413
11358
|
catalog?: string | null
|
|
11414
|
-
|
|
11415
|
-
|
|
11359
|
+
genericName?: string | null
|
|
11360
|
+
iconName?: string | null
|
|
11416
11361
|
name?: string | null
|
|
11417
11362
|
query?: boolean | null
|
|
11418
|
-
|
|
11363
|
+
specialChildType?: string | null
|
|
11419
11364
|
title?: string | null
|
|
11420
11365
|
type?: GObject.GType | null
|
|
11421
|
-
genericName?: string | null
|
|
11422
|
-
iconName?: string | null
|
|
11423
|
-
specialChildType?: string | null
|
|
11424
11366
|
}
|
|
11425
11367
|
|
|
11426
11368
|
}
|
|
@@ -11432,13 +11374,10 @@ export interface WidgetAdaptor {
|
|
|
11432
11374
|
readonly book: string | null
|
|
11433
11375
|
readonly catalog: string | null
|
|
11434
11376
|
readonly cursor: any
|
|
11435
|
-
readonly generic_name: string | null
|
|
11436
11377
|
readonly genericName: string | null
|
|
11437
|
-
readonly icon_name: string | null
|
|
11438
11378
|
readonly iconName: string | null
|
|
11439
11379
|
readonly name: string | null
|
|
11440
11380
|
query: boolean
|
|
11441
|
-
readonly special_child_type: string | null
|
|
11442
11381
|
readonly specialChildType: string | null
|
|
11443
11382
|
title: string | null
|
|
11444
11383
|
readonly type: GObject.GType
|
|
@@ -11454,7 +11393,7 @@ export interface WidgetAdaptor {
|
|
|
11454
11393
|
* @param object The #GObject
|
|
11455
11394
|
* @param action_path The action identifier in the action tree
|
|
11456
11395
|
*/
|
|
11457
|
-
action_activate(object: GObject.Object, action_path: string
|
|
11396
|
+
action_activate(object: GObject.Object, action_path: string): void
|
|
11458
11397
|
/**
|
|
11459
11398
|
* Add an action to `adaptor`.
|
|
11460
11399
|
* If the action is present then it overrides label and stock
|
|
@@ -11464,13 +11403,13 @@ export interface WidgetAdaptor {
|
|
|
11464
11403
|
* @param important if this action is important.
|
|
11465
11404
|
* @returns whether or not the action was added/updated.
|
|
11466
11405
|
*/
|
|
11467
|
-
action_add(action_path: string
|
|
11406
|
+
action_add(action_path: string, label: string, stock: string, important: boolean): boolean
|
|
11468
11407
|
/**
|
|
11469
11408
|
* Remove an `adaptor'`s action.
|
|
11470
11409
|
* @param action_path The identifier of this action in the action tree
|
|
11471
11410
|
* @returns whether or not the action was removed.
|
|
11472
11411
|
*/
|
|
11473
|
-
action_remove(action_path: string
|
|
11412
|
+
action_remove(action_path: string): boolean
|
|
11474
11413
|
/**
|
|
11475
11414
|
* This delegate function is used to create dynamically customized
|
|
11476
11415
|
* submenus. Called only for actions that don't have children.
|
|
@@ -11478,7 +11417,7 @@ export interface WidgetAdaptor {
|
|
|
11478
11417
|
* @param action_path The action identifier in the action tree
|
|
11479
11418
|
* @returns A newly created #GtkMenu or %NULL
|
|
11480
11419
|
*/
|
|
11481
|
-
action_submenu(object: GObject.Object, action_path: string
|
|
11420
|
+
action_submenu(object: GObject.Object, action_path: string): Gtk.Widget | null
|
|
11482
11421
|
/**
|
|
11483
11422
|
* Create a list of actions.
|
|
11484
11423
|
* @returns a new list of GladeWidgetAction.
|
|
@@ -11508,7 +11447,7 @@ export interface WidgetAdaptor {
|
|
|
11508
11447
|
* @param object The #GObject
|
|
11509
11448
|
* @param action_path The action identifier in the action tree
|
|
11510
11449
|
*/
|
|
11511
|
-
child_action_activate(container: GObject.Object, object: GObject.Object, action_path: string
|
|
11450
|
+
child_action_activate(container: GObject.Object, object: GObject.Object, action_path: string): void
|
|
11512
11451
|
/**
|
|
11513
11452
|
* Gets `child'`s packing property identified by `property_name`.
|
|
11514
11453
|
* @param container The #GObject container
|
|
@@ -11516,7 +11455,7 @@ export interface WidgetAdaptor {
|
|
|
11516
11455
|
* @param property_name The id of the property
|
|
11517
11456
|
* @param value The `GValue`
|
|
11518
11457
|
*/
|
|
11519
|
-
child_get_property(container: GObject.Object, child: GObject.Object, property_name: string
|
|
11458
|
+
child_get_property(container: GObject.Object, child: GObject.Object, property_name: string, value: any): void
|
|
11520
11459
|
/**
|
|
11521
11460
|
* Sets `child'`s packing property identified by `property_name` to `value`.
|
|
11522
11461
|
* @param container The #GObject container
|
|
@@ -11524,7 +11463,7 @@ export interface WidgetAdaptor {
|
|
|
11524
11463
|
* @param property_name The id of the property
|
|
11525
11464
|
* @param value The `GValue`
|
|
11526
11465
|
*/
|
|
11527
|
-
child_set_property(container: GObject.Object, child: GObject.Object, property_name: string
|
|
11466
|
+
child_set_property(container: GObject.Object, child: GObject.Object, property_name: string, value: any): void
|
|
11528
11467
|
/**
|
|
11529
11468
|
* This delegate function is always called whenever setting any
|
|
11530
11469
|
* properties with the exception of load time, and copy/paste time
|
|
@@ -11537,7 +11476,7 @@ export interface WidgetAdaptor {
|
|
|
11537
11476
|
* @param value The `GValue`
|
|
11538
11477
|
* @returns whether or not its OK to set @value on @object, this function will silently return TRUE if the class did not provide a verify function.
|
|
11539
11478
|
*/
|
|
11540
|
-
child_verify_property(container: GObject.Object, child: GObject.Object, property_name: string
|
|
11479
|
+
child_verify_property(container: GObject.Object, child: GObject.Object, property_name: string, value: any): boolean
|
|
11541
11480
|
/**
|
|
11542
11481
|
* This function is called to construct a GObject instance for
|
|
11543
11482
|
* a #GladeWidget of the said `adaptor`. (provided for language
|
|
@@ -11569,7 +11508,7 @@ export interface WidgetAdaptor {
|
|
|
11569
11508
|
* @param use_command whether to use the GladeCommand interface to commit property changes
|
|
11570
11509
|
* @returns A newly created #GladeEditorProperty
|
|
11571
11510
|
*/
|
|
11572
|
-
create_eprop_by_name(property_id: string
|
|
11511
|
+
create_eprop_by_name(property_id: string, packing: boolean, use_command: boolean): EditorProperty
|
|
11573
11512
|
default_params(construct: boolean): GObject.Parameter[]
|
|
11574
11513
|
/**
|
|
11575
11514
|
* Checks whether `widget` depends on `another` to be placed earlier in
|
|
@@ -11592,33 +11531,33 @@ export interface WidgetAdaptor {
|
|
|
11592
11531
|
* @returns the closest #GladeWidgetAdaptor in the ancestry to @adaptor which is responsable for introducing @pspec.
|
|
11593
11532
|
*/
|
|
11594
11533
|
from_pspec(pspec: GObject.ParamSpec): WidgetAdaptor
|
|
11595
|
-
get_book(): string
|
|
11596
|
-
get_catalog(): string
|
|
11534
|
+
get_book(): string
|
|
11535
|
+
get_catalog(): string
|
|
11597
11536
|
/**
|
|
11598
11537
|
* Lists the children of `container`.
|
|
11599
11538
|
* @param container The #GObject container
|
|
11600
11539
|
* @returns A #GList of children
|
|
11601
11540
|
*/
|
|
11602
11541
|
get_children(container: GObject.Object): GObject.Object[]
|
|
11603
|
-
get_display_name(): string
|
|
11604
|
-
get_generic_name(): string
|
|
11605
|
-
get_icon_name(): string
|
|
11542
|
+
get_display_name(): string
|
|
11543
|
+
get_generic_name(): string
|
|
11544
|
+
get_icon_name(): string
|
|
11606
11545
|
/**
|
|
11607
11546
|
* Retrieves the internal object `internal_name` from `object`
|
|
11608
11547
|
* @param object The #GObject
|
|
11609
11548
|
* @param internal_name The string identifier of the internal object
|
|
11610
11549
|
* @returns The internal #GObject
|
|
11611
11550
|
*/
|
|
11612
|
-
get_internal_child(object: GObject.Object, internal_name: string
|
|
11613
|
-
get_missing_icon(): string
|
|
11614
|
-
get_name(): string
|
|
11551
|
+
get_internal_child(object: GObject.Object, internal_name: string): GObject.Object | null
|
|
11552
|
+
get_missing_icon(): string
|
|
11553
|
+
get_name(): string
|
|
11615
11554
|
get_object_type(): GObject.GType
|
|
11616
11555
|
/**
|
|
11617
11556
|
* Retrieves the #GladePropertyDef for `name` in `adaptor'`s child properties
|
|
11618
11557
|
* @param name a string
|
|
11619
11558
|
* @returns A #GladePropertyDef object
|
|
11620
11559
|
*/
|
|
11621
|
-
get_pack_property_def(name: string
|
|
11560
|
+
get_pack_property_def(name: string): PropertyDef | null
|
|
11622
11561
|
/**
|
|
11623
11562
|
* Gets the default value for `property_id` on a widget governed by
|
|
11624
11563
|
* `child_adaptor` when parented in a widget governed by `parent_adaptor`
|
|
@@ -11626,7 +11565,7 @@ export interface WidgetAdaptor {
|
|
|
11626
11565
|
* @param id The string property identifier
|
|
11627
11566
|
* @returns a string representing the default value for @property_id
|
|
11628
11567
|
*/
|
|
11629
|
-
get_packing_default(container_adaptor: WidgetAdaptor, id: string
|
|
11568
|
+
get_packing_default(container_adaptor: WidgetAdaptor, id: string): string
|
|
11630
11569
|
get_packing_props(): PropertyDef[]
|
|
11631
11570
|
get_parent_adaptor(): WidgetAdaptor
|
|
11632
11571
|
get_properties(): PropertyDef[]
|
|
@@ -11636,7 +11575,7 @@ export interface WidgetAdaptor {
|
|
|
11636
11575
|
* @param property_name The property identifier
|
|
11637
11576
|
* @param value The #GValue
|
|
11638
11577
|
*/
|
|
11639
|
-
get_property(object: GObject.Object, property_name: string
|
|
11578
|
+
get_property(object: GObject.Object, property_name: string, value: any): void
|
|
11640
11579
|
|
|
11641
11580
|
// Overloads of get_property
|
|
11642
11581
|
|
|
@@ -11660,21 +11599,21 @@ export interface WidgetAdaptor {
|
|
|
11660
11599
|
* @param property_name the name of the property to get
|
|
11661
11600
|
* @param value return location for the property value
|
|
11662
11601
|
*/
|
|
11663
|
-
get_property(property_name: string
|
|
11602
|
+
get_property(property_name: string, value: any): void
|
|
11664
11603
|
/**
|
|
11665
11604
|
* Retrieves the #GladePropertyDef for `name` in `adaptor`
|
|
11666
11605
|
* @param name a string
|
|
11667
11606
|
* @returns A #GladePropertyDef object
|
|
11668
11607
|
*/
|
|
11669
|
-
get_property_def(name: string
|
|
11608
|
+
get_property_def(name: string): PropertyDef | null
|
|
11670
11609
|
/**
|
|
11671
11610
|
* Looks up signal class `name` on `adaptor`.
|
|
11672
11611
|
* @param name the name of the signal class.
|
|
11673
11612
|
* @returns a #GladeSignalDef or %NULL
|
|
11674
11613
|
*/
|
|
11675
|
-
get_signal_def(name: string
|
|
11614
|
+
get_signal_def(name: string): SignalDef | null
|
|
11676
11615
|
get_signals(): SignalDef[]
|
|
11677
|
-
get_title(): string
|
|
11616
|
+
get_title(): string
|
|
11678
11617
|
/**
|
|
11679
11618
|
* Get the _get_type () function name if it is set, a %NULL value means that the
|
|
11680
11619
|
* default heuristic for getting the GType is enough for both Glade and GtkBuilder.
|
|
@@ -11698,13 +11637,13 @@ export interface WidgetAdaptor {
|
|
|
11698
11637
|
* @param important if this action is important.
|
|
11699
11638
|
* @returns whether or not the action was added/updated.
|
|
11700
11639
|
*/
|
|
11701
|
-
pack_action_add(action_path: string
|
|
11640
|
+
pack_action_add(action_path: string, label: string, stock: string, important: boolean): boolean
|
|
11702
11641
|
/**
|
|
11703
11642
|
* Remove an `adaptor'`s packing action.
|
|
11704
11643
|
* @param action_path The identifier of this action in the action tree
|
|
11705
11644
|
* @returns whether or not the action was removed.
|
|
11706
11645
|
*/
|
|
11707
|
-
pack_action_remove(action_path: string
|
|
11646
|
+
pack_action_remove(action_path: string): boolean
|
|
11708
11647
|
/**
|
|
11709
11648
|
* Create a list of packing actions.
|
|
11710
11649
|
* @returns a new list of GladeWidgetAction.
|
|
@@ -11758,7 +11697,7 @@ export interface WidgetAdaptor {
|
|
|
11758
11697
|
* @param property_name The property identifier
|
|
11759
11698
|
* @param value The #GValue
|
|
11760
11699
|
*/
|
|
11761
|
-
set_property(object: GObject.Object, property_name: string
|
|
11700
|
+
set_property(object: GObject.Object, property_name: string, value: any): void
|
|
11762
11701
|
|
|
11763
11702
|
// Overloads of set_property
|
|
11764
11703
|
|
|
@@ -11767,7 +11706,7 @@ export interface WidgetAdaptor {
|
|
|
11767
11706
|
* @param property_name the name of the property to set
|
|
11768
11707
|
* @param value the value
|
|
11769
11708
|
*/
|
|
11770
|
-
set_property(property_name: string
|
|
11709
|
+
set_property(property_name: string, value: any): void
|
|
11771
11710
|
/**
|
|
11772
11711
|
* For normal properties this is used to serialize
|
|
11773
11712
|
* property values, for custom properties its still
|
|
@@ -11788,7 +11727,7 @@ export interface WidgetAdaptor {
|
|
|
11788
11727
|
* @param value The #GValue
|
|
11789
11728
|
* @returns whether or not its OK to set @value on @object, this function will silently return TRUE if the class did not provide a verify function.
|
|
11790
11729
|
*/
|
|
11791
|
-
verify_property(object: GObject.Object, property_name: string
|
|
11730
|
+
verify_property(object: GObject.Object, property_name: string, value: any): boolean
|
|
11792
11731
|
/**
|
|
11793
11732
|
* This function is called to write the child `widget` to `node`
|
|
11794
11733
|
* when writing xml files (takes care of packing and recurses
|
|
@@ -11823,7 +11762,7 @@ export interface WidgetAdaptor {
|
|
|
11823
11762
|
* @param object The #GObject
|
|
11824
11763
|
* @param action_path The action identifier in the action tree
|
|
11825
11764
|
*/
|
|
11826
|
-
vfunc_action_activate(object: GObject.Object, action_path: string
|
|
11765
|
+
vfunc_action_activate(object: GObject.Object, action_path: string): void
|
|
11827
11766
|
/**
|
|
11828
11767
|
* This delegate function is used to create dynamically customized
|
|
11829
11768
|
* submenus. Called only for actions that don't have children.
|
|
@@ -11832,7 +11771,7 @@ export interface WidgetAdaptor {
|
|
|
11832
11771
|
* @param action_path The action identifier in the action tree
|
|
11833
11772
|
* @returns A newly created #GtkMenu or %NULL
|
|
11834
11773
|
*/
|
|
11835
|
-
vfunc_action_submenu(object: GObject.Object, action_path: string
|
|
11774
|
+
vfunc_action_submenu(object: GObject.Object, action_path: string): Gtk.Widget | null
|
|
11836
11775
|
/**
|
|
11837
11776
|
* Adds `child` to `container`.
|
|
11838
11777
|
* @virtual
|
|
@@ -11860,7 +11799,7 @@ export interface WidgetAdaptor {
|
|
|
11860
11799
|
* @param object The #GObject
|
|
11861
11800
|
* @param action_path The action identifier in the action tree
|
|
11862
11801
|
*/
|
|
11863
|
-
vfunc_child_action_activate(container: GObject.Object, object: GObject.Object, action_path: string
|
|
11802
|
+
vfunc_child_action_activate(container: GObject.Object, object: GObject.Object, action_path: string): void
|
|
11864
11803
|
/**
|
|
11865
11804
|
* Gets `child'`s packing property identified by `property_name`.
|
|
11866
11805
|
* @virtual
|
|
@@ -11869,7 +11808,7 @@ export interface WidgetAdaptor {
|
|
|
11869
11808
|
* @param property_name The id of the property
|
|
11870
11809
|
* @param value The `GValue`
|
|
11871
11810
|
*/
|
|
11872
|
-
vfunc_child_get_property(container: GObject.Object, child: GObject.Object, property_name: string
|
|
11811
|
+
vfunc_child_get_property(container: GObject.Object, child: GObject.Object, property_name: string, value: any): void
|
|
11873
11812
|
/**
|
|
11874
11813
|
* Sets `child'`s packing property identified by `property_name` to `value`.
|
|
11875
11814
|
* @virtual
|
|
@@ -11878,7 +11817,7 @@ export interface WidgetAdaptor {
|
|
|
11878
11817
|
* @param property_name The id of the property
|
|
11879
11818
|
* @param value The `GValue`
|
|
11880
11819
|
*/
|
|
11881
|
-
vfunc_child_set_property(container: GObject.Object, child: GObject.Object, property_name: string
|
|
11820
|
+
vfunc_child_set_property(container: GObject.Object, child: GObject.Object, property_name: string, value: any): void
|
|
11882
11821
|
/**
|
|
11883
11822
|
* This delegate function is always called whenever setting any
|
|
11884
11823
|
* properties with the exception of load time, and copy/paste time
|
|
@@ -11892,7 +11831,7 @@ export interface WidgetAdaptor {
|
|
|
11892
11831
|
* @param value The `GValue`
|
|
11893
11832
|
* @returns whether or not its OK to set @value on @object, this function will silently return TRUE if the class did not provide a verify function.
|
|
11894
11833
|
*/
|
|
11895
|
-
vfunc_child_verify_property(container: GObject.Object, child: GObject.Object, property_name: string
|
|
11834
|
+
vfunc_child_verify_property(container: GObject.Object, child: GObject.Object, property_name: string, value: any): boolean
|
|
11896
11835
|
/**
|
|
11897
11836
|
* This function is called to construct a GObject instance for
|
|
11898
11837
|
* a #GladeWidget of the said `adaptor`. (provided for language
|
|
@@ -11950,7 +11889,7 @@ export interface WidgetAdaptor {
|
|
|
11950
11889
|
* @param internal_name The string identifier of the internal object
|
|
11951
11890
|
* @returns The internal #GObject
|
|
11952
11891
|
*/
|
|
11953
|
-
vfunc_get_internal_child(object: GObject.Object, internal_name: string
|
|
11892
|
+
vfunc_get_internal_child(object: GObject.Object, internal_name: string): GObject.Object | null
|
|
11954
11893
|
/**
|
|
11955
11894
|
* Gets `value` of `property_name` on `object`.
|
|
11956
11895
|
* @virtual
|
|
@@ -11958,7 +11897,7 @@ export interface WidgetAdaptor {
|
|
|
11958
11897
|
* @param property_name The property identifier
|
|
11959
11898
|
* @param value The #GValue
|
|
11960
11899
|
*/
|
|
11961
|
-
vfunc_get_property(object: GObject.Object, property_name: string
|
|
11900
|
+
vfunc_get_property(object: GObject.Object, property_name: string, value: any): void
|
|
11962
11901
|
|
|
11963
11902
|
// Overloads of vfunc_get_property
|
|
11964
11903
|
|
|
@@ -12012,7 +11951,7 @@ export interface WidgetAdaptor {
|
|
|
12012
11951
|
* @param property_name The property identifier
|
|
12013
11952
|
* @param value The #GValue
|
|
12014
11953
|
*/
|
|
12015
|
-
vfunc_set_property(object: GObject.Object, property_name: string
|
|
11954
|
+
vfunc_set_property(object: GObject.Object, property_name: string, value: any): void
|
|
12016
11955
|
|
|
12017
11956
|
// Overloads of vfunc_set_property
|
|
12018
11957
|
|
|
@@ -12039,7 +11978,7 @@ export interface WidgetAdaptor {
|
|
|
12039
11978
|
* @param value The #GValue
|
|
12040
11979
|
* @returns whether or not its OK to set @value on @object, this function will silently return TRUE if the class did not provide a verify function.
|
|
12041
11980
|
*/
|
|
12042
|
-
vfunc_verify_property(object: GObject.Object, property_name: string
|
|
11981
|
+
vfunc_verify_property(object: GObject.Object, property_name: string, value: any): boolean
|
|
12043
11982
|
/**
|
|
12044
11983
|
* This function is called to write the child `widget` to `node`
|
|
12045
11984
|
* when writing xml files (takes care of packing and recurses
|
|
@@ -12129,7 +12068,7 @@ export class WidgetAdaptor extends GObject.Object {
|
|
|
12129
12068
|
* @returns a newly allocated #GladeWidgetAdaptor
|
|
12130
12069
|
*/
|
|
12131
12070
|
static from_catalog(catalog: Catalog, class_node: XmlNode, module: GModule.Module): WidgetAdaptor
|
|
12132
|
-
static get_by_name(name: string
|
|
12071
|
+
static get_by_name(name: string): WidgetAdaptor | null
|
|
12133
12072
|
static get_by_type(type: GObject.GType): WidgetAdaptor | null
|
|
12134
12073
|
/**
|
|
12135
12074
|
* Compiles a list of all registered adaptors.
|
|
@@ -12192,13 +12131,13 @@ export interface Catalog {
|
|
|
12192
12131
|
// Owm methods of Gladeui-2.0.Gladeui.Catalog
|
|
12193
12132
|
|
|
12194
12133
|
get_adaptors(): WidgetAdaptor[]
|
|
12195
|
-
get_book(): string
|
|
12196
|
-
get_domain(): string
|
|
12197
|
-
get_icon_prefix(): string
|
|
12134
|
+
get_book(): string
|
|
12135
|
+
get_domain(): string
|
|
12136
|
+
get_icon_prefix(): string
|
|
12198
12137
|
get_major_version(): number
|
|
12199
12138
|
get_minor_version(): number
|
|
12200
|
-
get_name(): string
|
|
12201
|
-
get_prefix(): string
|
|
12139
|
+
get_name(): string
|
|
12140
|
+
get_prefix(): string
|
|
12202
12141
|
get_targets(): TargetableVersion[]
|
|
12203
12142
|
get_widget_groups(): WidgetGroup[]
|
|
12204
12143
|
}
|
|
@@ -12215,13 +12154,13 @@ export class Catalog {
|
|
|
12215
12154
|
* Adds a new path to the list of path to look catalogs for.
|
|
12216
12155
|
* @param path the new path containing catalogs
|
|
12217
12156
|
*/
|
|
12218
|
-
static add_path(path: string
|
|
12157
|
+
static add_path(path: string): void
|
|
12219
12158
|
/**
|
|
12220
12159
|
* Destroy and free all resources related with every loaded catalog.
|
|
12221
12160
|
*/
|
|
12222
12161
|
static destroy_all(): void
|
|
12223
12162
|
static get_extra_paths(): string[]
|
|
12224
|
-
static is_loaded(name: string
|
|
12163
|
+
static is_loaded(name: string): boolean
|
|
12225
12164
|
/**
|
|
12226
12165
|
* Loads all available catalogs in the system.
|
|
12227
12166
|
* First loads catalogs from GLADE_ENV_CATALOG_PATH,
|
|
@@ -12243,7 +12182,7 @@ export interface CellRendererIconClass {
|
|
|
12243
12182
|
// Own fields of Gladeui-2.0.Gladeui.CellRendererIconClass
|
|
12244
12183
|
|
|
12245
12184
|
parent_class: Gtk.CellRendererPixbufClass
|
|
12246
|
-
activate: (cell_renderer_icon: CellRendererIcon, path: string
|
|
12185
|
+
activate: (cell_renderer_icon: CellRendererIcon, path: string) => void
|
|
12247
12186
|
}
|
|
12248
12187
|
|
|
12249
12188
|
export abstract class CellRendererIconClass {
|
|
@@ -12506,12 +12445,12 @@ export interface NameContext {
|
|
|
12506
12445
|
|
|
12507
12446
|
// Owm methods of Gladeui-2.0.Gladeui.NameContext
|
|
12508
12447
|
|
|
12509
|
-
add_name(name: string
|
|
12448
|
+
add_name(name: string): boolean
|
|
12510
12449
|
destroy(): void
|
|
12511
|
-
has_name(name: string
|
|
12450
|
+
has_name(name: string): boolean
|
|
12512
12451
|
n_names(): number
|
|
12513
|
-
new_name(base_name: string
|
|
12514
|
-
release_name(name: string
|
|
12452
|
+
new_name(base_name: string): string | null
|
|
12453
|
+
release_name(name: string): void
|
|
12515
12454
|
}
|
|
12516
12455
|
|
|
12517
12456
|
export class NameContext {
|
|
@@ -12666,7 +12605,7 @@ export interface PropertyClass {
|
|
|
12666
12605
|
sync: (property: Property) => void
|
|
12667
12606
|
load: (property: Property) => void
|
|
12668
12607
|
value_changed: (property: Property, old_value: any, new_value: any) => void
|
|
12669
|
-
tooltip_changed: (property: Property, tooltip: string
|
|
12608
|
+
tooltip_changed: (property: Property, tooltip: string, insensitive_tooltip: string, support_warning: string) => void
|
|
12670
12609
|
glade_reserved1: () => void
|
|
12671
12610
|
glade_reserved2: () => void
|
|
12672
12611
|
glade_reserved3: () => void
|
|
@@ -12696,7 +12635,7 @@ export interface PropertyDef {
|
|
|
12696
12635
|
* @returns -1, 0 or +1, if value1 is found to be less than, equal to or greater than value2, respectively.
|
|
12697
12636
|
*/
|
|
12698
12637
|
compare(value1: any, value2: any): number
|
|
12699
|
-
create_type(): string
|
|
12638
|
+
create_type(): string
|
|
12700
12639
|
custom_layout(): boolean
|
|
12701
12640
|
deprecated(): boolean
|
|
12702
12641
|
deprecated_since_major(): number
|
|
@@ -12710,12 +12649,12 @@ export interface PropertyDef {
|
|
|
12710
12649
|
get_default(): any
|
|
12711
12650
|
get_ignore(): boolean
|
|
12712
12651
|
get_is_packing(): boolean
|
|
12713
|
-
get_name(): string
|
|
12652
|
+
get_name(): string
|
|
12714
12653
|
get_original_default(): any
|
|
12715
12654
|
get_pspec(): GObject.ParamSpec
|
|
12716
|
-
get_tooltip(): string
|
|
12655
|
+
get_tooltip(): string
|
|
12717
12656
|
get_virtual(): boolean
|
|
12718
|
-
id(): string
|
|
12657
|
+
id(): string
|
|
12719
12658
|
is_object(): boolean
|
|
12720
12659
|
is_visible(): boolean
|
|
12721
12660
|
load_defaults_from_spec(): void
|
|
@@ -12724,7 +12663,7 @@ export interface PropertyDef {
|
|
|
12724
12663
|
* @returns An appropriate #GtkAdjustment for use in the Property editor
|
|
12725
12664
|
*/
|
|
12726
12665
|
make_adjustment(): Gtk.Adjustment
|
|
12727
|
-
make_gvalue_from_string(string: string
|
|
12666
|
+
make_gvalue_from_string(string: string, project: Project): any
|
|
12728
12667
|
make_string_from_gvalue(value: any): string | null
|
|
12729
12668
|
match(comp: PropertyDef): boolean
|
|
12730
12669
|
multiline(): boolean
|
|
@@ -12739,9 +12678,9 @@ export interface PropertyDef {
|
|
|
12739
12678
|
set_construct_only(construct_only: boolean): void
|
|
12740
12679
|
set_ignore(ignore: boolean): void
|
|
12741
12680
|
set_is_packing(is_packing: boolean): void
|
|
12742
|
-
set_name(name: string
|
|
12681
|
+
set_name(name: string): void
|
|
12743
12682
|
set_pspec(pspec: GObject.ParamSpec): void
|
|
12744
|
-
set_tooltip(tooltip: string
|
|
12683
|
+
set_tooltip(tooltip: string): void
|
|
12745
12684
|
set_virtual(value: boolean): void
|
|
12746
12685
|
since_major(): number
|
|
12747
12686
|
since_minor(): number
|
|
@@ -12762,12 +12701,12 @@ export class PropertyDef {
|
|
|
12762
12701
|
|
|
12763
12702
|
// Constructors of Gladeui-2.0.Gladeui.PropertyDef
|
|
12764
12703
|
|
|
12765
|
-
constructor(adaptor: WidgetAdaptor, id: string
|
|
12766
|
-
static new(adaptor: WidgetAdaptor, id: string
|
|
12704
|
+
constructor(adaptor: WidgetAdaptor, id: string)
|
|
12705
|
+
static new(adaptor: WidgetAdaptor, id: string): PropertyDef
|
|
12767
12706
|
static new_from_spec(adaptor: WidgetAdaptor, spec: GObject.ParamSpec): PropertyDef
|
|
12768
12707
|
static new_from_spec_full(adaptor: WidgetAdaptor, spec: GObject.ParamSpec, need_handle: boolean): PropertyDef
|
|
12769
12708
|
static get_default_from_spec(spec: GObject.ParamSpec): any
|
|
12770
|
-
static make_flags_from_string(type: GObject.GType, string: string
|
|
12709
|
+
static make_flags_from_string(type: GObject.GType, string: string): number
|
|
12771
12710
|
/**
|
|
12772
12711
|
* This function assigns "weight" to each property in its natural order staring from 1.
|
|
12773
12712
|
* If parent is 0 weight will be set for every #GladePropertyDef in the list.
|
|
@@ -12785,7 +12724,7 @@ export class PropertyDef {
|
|
|
12785
12724
|
* @param domain the domain to translate catalog strings from
|
|
12786
12725
|
* @returns %TRUE on success. @property_def_ref is set to NULL if the property has Disabled="TRUE".
|
|
12787
12726
|
*/
|
|
12788
|
-
static update_from_node(node: XmlNode, object_type: GObject.GType, property_def_ref: PropertyDef | null, domain: string
|
|
12727
|
+
static update_from_node(node: XmlNode, object_type: GObject.GType, property_def_ref: PropertyDef | null, domain: string): [ /* returnType */ boolean, /* property_def_ref */ PropertyDef | null ]
|
|
12789
12728
|
}
|
|
12790
12729
|
|
|
12791
12730
|
export interface PropertyLabelClass {
|
|
@@ -12907,12 +12846,12 @@ export interface SignalDef {
|
|
|
12907
12846
|
* Get the name of the signal.
|
|
12908
12847
|
* @returns the name of the signal
|
|
12909
12848
|
*/
|
|
12910
|
-
get_name(): string
|
|
12849
|
+
get_name(): string
|
|
12911
12850
|
/**
|
|
12912
12851
|
* Get the name of the object class that this signal belongs to.
|
|
12913
12852
|
* @returns the type name of the signal
|
|
12914
12853
|
*/
|
|
12915
|
-
get_object_type_name(): string
|
|
12854
|
+
get_object_type_name(): string
|
|
12916
12855
|
/**
|
|
12917
12856
|
* Set if the signal is deprecated.
|
|
12918
12857
|
* @param deprecated %TRUE if the signal is deprecated
|
|
@@ -12934,7 +12873,7 @@ export interface SignalDef {
|
|
|
12934
12873
|
* @returns the minor version
|
|
12935
12874
|
*/
|
|
12936
12875
|
since_minor(): number
|
|
12937
|
-
update_from_node(node: XmlNode, domain: string
|
|
12876
|
+
update_from_node(node: XmlNode, domain: string): void
|
|
12938
12877
|
}
|
|
12939
12878
|
|
|
12940
12879
|
export class SignalDef {
|
|
@@ -13051,7 +12990,7 @@ export interface WidgetActionDef {
|
|
|
13051
12990
|
|
|
13052
12991
|
// Own fields of Gladeui-2.0.Gladeui.WidgetActionDef
|
|
13053
12992
|
|
|
13054
|
-
id: string
|
|
12993
|
+
id: string
|
|
13055
12994
|
path: string | null
|
|
13056
12995
|
label: string | null
|
|
13057
12996
|
stock: string | null
|
|
@@ -13066,8 +13005,8 @@ export interface WidgetActionDef {
|
|
|
13066
13005
|
*/
|
|
13067
13006
|
free(): void
|
|
13068
13007
|
set_important(important: boolean): void
|
|
13069
|
-
set_label(label: string
|
|
13070
|
-
set_stock(stock: string
|
|
13008
|
+
set_label(label: string): void
|
|
13009
|
+
set_stock(stock: string): void
|
|
13071
13010
|
}
|
|
13072
13011
|
|
|
13073
13012
|
export class WidgetActionDef {
|
|
@@ -13078,8 +13017,8 @@ export class WidgetActionDef {
|
|
|
13078
13017
|
|
|
13079
13018
|
// Constructors of Gladeui-2.0.Gladeui.WidgetActionDef
|
|
13080
13019
|
|
|
13081
|
-
constructor(path: string
|
|
13082
|
-
static new(path: string
|
|
13020
|
+
constructor(path: string)
|
|
13021
|
+
static new(path: string): WidgetActionDef
|
|
13083
13022
|
}
|
|
13084
13023
|
|
|
13085
13024
|
export interface WidgetActionPrivate {
|
|
@@ -13186,8 +13125,8 @@ export interface WidgetGroup {
|
|
|
13186
13125
|
|
|
13187
13126
|
get_adaptors(): WidgetAdaptor[]
|
|
13188
13127
|
get_expanded(): boolean
|
|
13189
|
-
get_name(): string
|
|
13190
|
-
get_title(): string
|
|
13128
|
+
get_name(): string
|
|
13129
|
+
get_title(): string
|
|
13191
13130
|
}
|
|
13192
13131
|
|
|
13193
13132
|
export class WidgetGroup {
|
|
@@ -13241,7 +13180,7 @@ export class XmlContext {
|
|
|
13241
13180
|
* @param root_name the expected root name
|
|
13242
13181
|
* @returns a new #GladeXmlContext or %NULL on failure
|
|
13243
13182
|
*/
|
|
13244
|
-
static new_from_path(full_path: string
|
|
13183
|
+
static new_from_path(full_path: string, nspace: string | null, root_name: string | null): XmlContext
|
|
13245
13184
|
}
|
|
13246
13185
|
|
|
13247
13186
|
export interface XmlDoc {
|
|
@@ -13249,13 +13188,13 @@ export interface XmlDoc {
|
|
|
13249
13188
|
// Owm methods of Gladeui-2.0.Gladeui.XmlDoc
|
|
13250
13189
|
|
|
13251
13190
|
get_root(): XmlNode
|
|
13252
|
-
new_comment(comment: string
|
|
13191
|
+
new_comment(comment: string): XmlNode
|
|
13253
13192
|
/**
|
|
13254
13193
|
* Increases the reference of the #GladeXmlDoc.
|
|
13255
13194
|
* @returns the given #GladeXmlDoc
|
|
13256
13195
|
*/
|
|
13257
13196
|
ref(): XmlDoc
|
|
13258
|
-
save(full_path: string
|
|
13197
|
+
save(full_path: string): number
|
|
13259
13198
|
set_root(node: XmlNode): void
|
|
13260
13199
|
/**
|
|
13261
13200
|
* Decreases the reference of the #GladeXmlDoc.
|
|
@@ -13296,29 +13235,29 @@ export interface XmlNode {
|
|
|
13296
13235
|
delete(): void
|
|
13297
13236
|
get_children(): XmlNode
|
|
13298
13237
|
get_children_with_comments(): XmlNode
|
|
13299
|
-
get_name(): string
|
|
13238
|
+
get_name(): string
|
|
13300
13239
|
get_parent(): XmlNode
|
|
13301
13240
|
is_comment(): boolean
|
|
13302
13241
|
next(): XmlNode
|
|
13303
13242
|
next_with_comments(): XmlNode
|
|
13304
13243
|
prev_with_comments(): XmlNode
|
|
13305
13244
|
remove(): void
|
|
13306
|
-
set_property_boolean(name: string
|
|
13245
|
+
set_property_boolean(name: string, value: boolean): void
|
|
13307
13246
|
/**
|
|
13308
13247
|
* Set a property as a string in the `node_in`. Note that %NULL `string` value
|
|
13309
13248
|
* Are simply ignored and not written in the XML.
|
|
13310
13249
|
* @param name the name of the property to set
|
|
13311
13250
|
* @param string the string value of the property to set
|
|
13312
13251
|
*/
|
|
13313
|
-
set_property_string(name: string
|
|
13252
|
+
set_property_string(name: string, string: string | null): void
|
|
13314
13253
|
/**
|
|
13315
13254
|
* This is a wrapper around glade_xml_node_verify_silent(), only it emits
|
|
13316
13255
|
* a g_warning() if `node_in` has a name different than `name`.
|
|
13317
13256
|
* @param name a string
|
|
13318
13257
|
* @returns %TRUE if @node_in's name is equal to @name, %FALSE otherwise
|
|
13319
13258
|
*/
|
|
13320
|
-
verify(name: string
|
|
13321
|
-
verify_silent(name: string
|
|
13259
|
+
verify(name: string): boolean
|
|
13260
|
+
verify_silent(name: string): boolean
|
|
13322
13261
|
}
|
|
13323
13262
|
|
|
13324
13263
|
export class XmlNode {
|
|
@@ -13329,9 +13268,9 @@ export class XmlNode {
|
|
|
13329
13268
|
|
|
13330
13269
|
// Constructors of Gladeui-2.0.Gladeui.XmlNode
|
|
13331
13270
|
|
|
13332
|
-
constructor(context: XmlContext, name: string
|
|
13333
|
-
static new(context: XmlContext, name: string
|
|
13334
|
-
static new_comment(context: XmlContext, comment: string
|
|
13271
|
+
constructor(context: XmlContext, name: string)
|
|
13272
|
+
static new(context: XmlContext, name: string): XmlNode
|
|
13273
|
+
static new_comment(context: XmlContext, comment: string): XmlNode
|
|
13335
13274
|
}
|
|
13336
13275
|
|
|
13337
13276
|
/**
|