@gjsify/video 0.4.21 → 0.4.22

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.
@@ -23,7 +23,7 @@ type VideoReadyCallback = (video: globalThis.HTMLVideoElement) => void;
23
23
  * ```
24
24
  */
25
25
  export declare const VideoBridge: {
26
- new (params?: Partial<Gtk.Box.ConstructorProps>): {
26
+ new (...args: any[]): GObject.RegisteredPrototype<{
27
27
  _overlay: Gtk.Overlay;
28
28
  _picture: Gtk.Picture;
29
29
  _video: HTMLVideoElement;
@@ -102,10 +102,10 @@ export declare const VideoBridge: {
102
102
  get_baseline_position(): Gtk.BaselinePosition;
103
103
  get_homogeneous(): boolean;
104
104
  get_spacing(): number;
105
- insert_child_after(child: Gtk.Widget, sibling: (Gtk.Widget | null)): void;
105
+ insert_child_after(child: Gtk.Widget, sibling: Gtk.Widget | null): void;
106
106
  prepend(child: Gtk.Widget): void;
107
107
  remove(child: Gtk.Widget): void;
108
- reorder_child_after(child: Gtk.Widget, sibling: (Gtk.Widget | null)): void;
108
+ reorder_child_after(child: Gtk.Widget, sibling: Gtk.Widget | null): void;
109
109
  set_baseline_child(child: number): void;
110
110
  set_baseline_position(position: Gtk.BaselinePosition): void;
111
111
  set_homogeneous(homogeneous: boolean): void;
@@ -117,35 +117,35 @@ export declare const VideoBridge: {
117
117
  get orientation(): Gtk.Orientation;
118
118
  set orientation(val: Gtk.Orientation);
119
119
  announce(message: string, priority: Gtk.AccessibleAnnouncementPriority): void;
120
- get_accessible_id(): (string | null);
121
- get_accessible_parent(): (Gtk.Accessible | null);
120
+ get_accessible_id(): string | null;
121
+ get_accessible_parent(): Gtk.Accessible | null;
122
122
  get_accessible_role(): Gtk.AccessibleRole;
123
123
  get_at_context(): Gtk.ATContext;
124
124
  get_bounds(): [boolean, number, number, number, number];
125
- get_first_accessible_child(): (Gtk.Accessible | null);
126
- get_next_accessible_sibling(): (Gtk.Accessible | null);
125
+ get_first_accessible_child(): Gtk.Accessible | null;
126
+ get_next_accessible_sibling(): Gtk.Accessible | null;
127
127
  get_platform_state(state: Gtk.AccessiblePlatformState): boolean;
128
128
  reset_property(property: Gtk.AccessibleProperty): void;
129
129
  reset_relation(relation: Gtk.AccessibleRelation): void;
130
130
  reset_state(state: Gtk.AccessibleState): void;
131
- set_accessible_parent(parent: (Gtk.Accessible | null), next_sibling: (Gtk.Accessible | null)): void;
132
- update_next_accessible_sibling(new_sibling: (Gtk.Accessible | null)): void;
131
+ set_accessible_parent(parent: Gtk.Accessible | null, next_sibling: Gtk.Accessible | null): void;
132
+ update_next_accessible_sibling(new_sibling: Gtk.Accessible | null): void;
133
133
  update_platform_state(state: Gtk.AccessiblePlatformState): void;
134
134
  update_property(properties: Gtk.AccessibleProperty[], values: (GObject.Value | any)[]): void;
135
135
  update_relation(relations: Gtk.AccessibleRelation[], values: (GObject.Value | any)[]): void;
136
136
  update_state(states: Gtk.AccessibleState[], values: (GObject.Value | any)[]): void;
137
- vfunc_get_accessible_id(): (string | null);
138
- vfunc_get_accessible_parent(): (Gtk.Accessible | null);
139
- vfunc_get_at_context(): (Gtk.ATContext | null);
137
+ vfunc_get_accessible_id(): string | null;
138
+ vfunc_get_accessible_parent(): Gtk.Accessible | null;
139
+ vfunc_get_at_context(): Gtk.ATContext | null;
140
140
  vfunc_get_bounds(): [boolean, number, number, number, number];
141
- vfunc_get_first_accessible_child(): (Gtk.Accessible | null);
142
- vfunc_get_next_accessible_sibling(): (Gtk.Accessible | null);
141
+ vfunc_get_first_accessible_child(): Gtk.Accessible | null;
142
+ vfunc_get_next_accessible_sibling(): Gtk.Accessible | null;
143
143
  vfunc_get_platform_state(state: Gtk.AccessiblePlatformState): boolean;
144
- get_buildable_id(): (string | null);
145
- vfunc_add_child(builder: Gtk.Builder, child: GObject.Object, type: (string | null)): void;
146
- vfunc_custom_finished(builder: Gtk.Builder, child: (GObject.Object | null), tagname: string, data: null): void;
147
- vfunc_custom_tag_end(builder: Gtk.Builder, child: (GObject.Object | null), tagname: string, data: null): void;
148
- vfunc_custom_tag_start(builder: Gtk.Builder, child: (GObject.Object | null), tagname: string): [boolean, Gtk.BuildableParser, never];
144
+ get_buildable_id(): string | null;
145
+ vfunc_add_child(builder: Gtk.Builder, child: GObject.Object, type: string | null): void;
146
+ vfunc_custom_finished(builder: Gtk.Builder, child: GObject.Object | null, tagname: string, data: null): void;
147
+ vfunc_custom_tag_end(builder: Gtk.Builder, child: GObject.Object | null, tagname: string, data: null): void;
148
+ vfunc_custom_tag_start(builder: Gtk.Builder, child: GObject.Object | null, tagname: string): [boolean, Gtk.BuildableParser, never];
149
149
  vfunc_get_id(): string;
150
150
  vfunc_get_internal_child<T = GObject.Object>(builder: Gtk.Builder, childname: string): T;
151
151
  vfunc_parser_finished(builder: Gtk.Builder): void;
@@ -167,8 +167,8 @@ export declare const VideoBridge: {
167
167
  set cssClasses(val: string[]);
168
168
  get css_name(): string;
169
169
  get cssName(): string;
170
- get cursor(): (import("@girs/gdk-4.0").default.Cursor | null);
171
- set cursor(val: (import("@girs/gdk-4.0").default.Cursor | null));
170
+ get cursor(): import("@girs/gdk-4.0").default.Cursor | null;
171
+ set cursor(val: import("@girs/gdk-4.0").default.Cursor | null);
172
172
  get focus_on_click(): boolean;
173
173
  set focus_on_click(val: boolean);
174
174
  get focusOnClick(): boolean;
@@ -195,10 +195,10 @@ export declare const VideoBridge: {
195
195
  set hexpand_set(val: boolean);
196
196
  get hexpandSet(): boolean;
197
197
  set hexpandSet(val: boolean);
198
- get layout_manager(): (Gtk.LayoutManager | null);
199
- set layout_manager(val: (Gtk.LayoutManager | null));
200
- get layoutManager(): (Gtk.LayoutManager | null);
201
- set layoutManager(val: (Gtk.LayoutManager | null));
198
+ get layout_manager(): Gtk.LayoutManager | null;
199
+ set layout_manager(val: Gtk.LayoutManager | null);
200
+ get layoutManager(): Gtk.LayoutManager | null;
201
+ set layoutManager(val: Gtk.LayoutManager | null);
202
202
  get limit_events(): boolean;
203
203
  set limit_events(val: boolean);
204
204
  get limitEvents(): boolean;
@@ -225,24 +225,24 @@ export declare const VideoBridge: {
225
225
  set opacity(val: number);
226
226
  get overflow(): Gtk.Overflow;
227
227
  set overflow(val: Gtk.Overflow);
228
- get parent(): (Gtk.Widget | null);
228
+ get parent(): Gtk.Widget | null;
229
229
  get receives_default(): boolean;
230
230
  set receives_default(val: boolean);
231
231
  get receivesDefault(): boolean;
232
232
  set receivesDefault(val: boolean);
233
- get root(): (Gtk.Root | null);
233
+ get root(): Gtk.Root | null;
234
234
  get scale_factor(): number;
235
235
  get scaleFactor(): number;
236
236
  get sensitive(): boolean;
237
237
  set sensitive(val: boolean);
238
- get tooltip_markup(): (string | null);
239
- set tooltip_markup(val: (string | null));
240
- get tooltipMarkup(): (string | null);
241
- set tooltipMarkup(val: (string | null));
242
- get tooltip_text(): (string | null);
243
- set tooltip_text(val: (string | null));
244
- get tooltipText(): (string | null);
245
- set tooltipText(val: (string | null));
238
+ get tooltip_markup(): string | null;
239
+ set tooltip_markup(val: string | null);
240
+ get tooltipMarkup(): string | null;
241
+ set tooltipMarkup(val: string | null);
242
+ get tooltip_text(): string | null;
243
+ set tooltip_text(val: string | null);
244
+ get tooltipText(): string | null;
245
+ set tooltipText(val: string | null);
246
246
  get valign(): Gtk.Align;
247
247
  set valign(val: Gtk.Align);
248
248
  get vexpand(): boolean;
@@ -273,7 +273,7 @@ export declare const VideoBridge: {
273
273
  vfunc_query_tooltip(x: number, y: number, keyboard_tooltip: boolean, tooltip: Gtk.Tooltip): boolean;
274
274
  vfunc_realize(): void;
275
275
  vfunc_root(): void;
276
- vfunc_set_focus_child(child: (Gtk.Widget | null)): void;
276
+ vfunc_set_focus_child(child: Gtk.Widget | null): void;
277
277
  vfunc_show(): void;
278
278
  vfunc_size_allocate(width: number, height: number, baseline: number): void;
279
279
  vfunc_snapshot(snapshot: Gtk.Snapshot): void;
@@ -284,13 +284,13 @@ export declare const VideoBridge: {
284
284
  vfunc_unroot(): void;
285
285
  action_set_enabled(action_name: string, enabled: boolean): void;
286
286
  activate(): boolean;
287
- activate_action(name: string, args: (GLib.Variant | null)): boolean;
287
+ activate_action(name: string, args: GLib.Variant | null): boolean;
288
288
  activate_default(): void;
289
289
  add_controller(controller: Gtk.EventController): void;
290
290
  add_css_class(css_class: string): void;
291
291
  add_mnemonic_label(label: Gtk.Widget): void;
292
292
  add_tick_callback(callback: Gtk.TickCallback): number;
293
- allocate(width: number, height: number, baseline: number, transform: (import("@girs/gsk-4.0").default.Transform | null)): void;
293
+ allocate(width: number, height: number, baseline: number, transform: import("@girs/gsk-4.0").default.Transform | null): void;
294
294
  child_focus(direction: Gtk.DirectionType): boolean;
295
295
  compute_bounds(target: Gtk.Widget): [boolean, import("@girs/graphene-1.0").default.Rect];
296
296
  compute_expand(orientation: Gtk.Orientation): boolean;
@@ -298,7 +298,7 @@ export declare const VideoBridge: {
298
298
  compute_transform(target: Gtk.Widget): [boolean, import("@girs/graphene-1.0").default.Matrix];
299
299
  contains(x: number, y: number): boolean;
300
300
  create_pango_context(): import("@girs/pango-1.0").default.Context;
301
- create_pango_layout(text: (string | null)): import("@girs/pango-1.0").default.Layout;
301
+ create_pango_layout(text: string | null): import("@girs/pango-1.0").default.Layout;
302
302
  dispose_template(widget_type: GObject.GType): void;
303
303
  drag_check_threshold(start_x: number, start_y: number, current_x: number, current_y: number): boolean;
304
304
  error_bell(): void;
@@ -306,7 +306,7 @@ export declare const VideoBridge: {
306
306
  get_allocated_height(): number;
307
307
  get_allocated_width(): number;
308
308
  get_allocation(): Gtk.Allocation;
309
- get_ancestor(widget_type: GObject.GType): (Gtk.Widget | null);
309
+ get_ancestor(widget_type: GObject.GType): Gtk.Widget | null;
310
310
  get_baseline(): number;
311
311
  get_can_focus(): boolean;
312
312
  get_can_target(): boolean;
@@ -315,23 +315,23 @@ export declare const VideoBridge: {
315
315
  get_color(): import("@girs/gdk-4.0").default.RGBA;
316
316
  get_css_classes(): string[];
317
317
  get_css_name(): string;
318
- get_cursor(): (import("@girs/gdk-4.0").default.Cursor | null);
318
+ get_cursor(): import("@girs/gdk-4.0").default.Cursor | null;
319
319
  get_direction(): Gtk.TextDirection;
320
320
  get_display(): import("@girs/gdk-4.0").default.Display;
321
- get_first_child(): (Gtk.Widget | null);
322
- get_focus_child(): (Gtk.Widget | null);
321
+ get_first_child(): Gtk.Widget | null;
322
+ get_focus_child(): Gtk.Widget | null;
323
323
  get_focus_on_click(): boolean;
324
324
  get_focusable(): boolean;
325
- get_font_map(): (import("@girs/pango-1.0").default.FontMap | null);
326
- get_font_options(): (import("@girs/gjs/cairo").default.FontOptions | null);
327
- get_frame_clock(): (import("@girs/gdk-4.0").default.FrameClock | null);
325
+ get_font_map(): import("@girs/pango-1.0").default.FontMap | null;
326
+ get_font_options(): import("@girs/gjs/cairo").default.FontOptions | null;
327
+ get_frame_clock(): import("@girs/gdk-4.0").default.FrameClock | null;
328
328
  get_halign(): Gtk.Align;
329
329
  get_has_tooltip(): boolean;
330
330
  get_height(): number;
331
331
  get_hexpand(): boolean;
332
332
  get_hexpand_set(): boolean;
333
- get_last_child(): (Gtk.Widget | null);
334
- get_layout_manager(): (Gtk.LayoutManager | null);
333
+ get_last_child(): Gtk.Widget | null;
334
+ get_layout_manager(): Gtk.LayoutManager | null;
335
335
  get_limit_events(): boolean;
336
336
  get_mapped(): boolean;
337
337
  get_margin_bottom(): number;
@@ -339,19 +339,19 @@ export declare const VideoBridge: {
339
339
  get_margin_start(): number;
340
340
  get_margin_top(): number;
341
341
  get_name(): string;
342
- get_native(): (Gtk.Native | null);
343
- get_next_sibling(): (Gtk.Widget | null);
342
+ get_native(): Gtk.Native | null;
343
+ get_next_sibling(): Gtk.Widget | null;
344
344
  get_opacity(): number;
345
345
  get_overflow(): Gtk.Overflow;
346
346
  get_pango_context(): import("@girs/pango-1.0").default.Context;
347
- get_parent(): (Gtk.Widget | null);
347
+ get_parent(): Gtk.Widget | null;
348
348
  get_preferred_size(): [Gtk.Requisition | null, Gtk.Requisition | null];
349
- get_prev_sibling(): (Gtk.Widget | null);
349
+ get_prev_sibling(): Gtk.Widget | null;
350
350
  get_primary_clipboard(): import("@girs/gdk-4.0").default.Clipboard;
351
351
  get_realized(): boolean;
352
352
  get_receives_default(): boolean;
353
353
  get_request_mode(): Gtk.SizeRequestMode;
354
- get_root(): (Gtk.Root | null);
354
+ get_root(): Gtk.Root | null;
355
355
  get_scale_factor(): number;
356
356
  get_sensitive(): boolean;
357
357
  get_settings(): Gtk.Settings;
@@ -360,8 +360,8 @@ export declare const VideoBridge: {
360
360
  get_state_flags(): Gtk.StateFlags;
361
361
  get_style_context(): Gtk.StyleContext;
362
362
  get_template_child<T = GObject.Object>(widget_type: GObject.GType, name: string): T;
363
- get_tooltip_markup(): (string | null);
364
- get_tooltip_text(): (string | null);
363
+ get_tooltip_markup(): string | null;
364
+ get_tooltip_text(): string | null;
365
365
  get_valign(): Gtk.Align;
366
366
  get_vexpand(): boolean;
367
367
  get_vexpand_set(): boolean;
@@ -373,9 +373,9 @@ export declare const VideoBridge: {
373
373
  hide(): void;
374
374
  in_destruction(): boolean;
375
375
  init_template(): void;
376
- insert_action_group(name: string, group: (import("@girs/gio-2.0").default.ActionGroup | null)): void;
377
- insert_after(parent: Gtk.Widget, previous_sibling: (Gtk.Widget | null)): void;
378
- insert_before(parent: Gtk.Widget, next_sibling: (Gtk.Widget | null)): void;
376
+ insert_action_group(name: string, group: import("@girs/gio-2.0").default.ActionGroup | null): void;
377
+ insert_after(parent: Gtk.Widget, previous_sibling: Gtk.Widget | null): void;
378
+ insert_before(parent: Gtk.Widget, next_sibling: Gtk.Widget | null): void;
379
379
  is_ancestor(ancestor: Gtk.Widget): boolean;
380
380
  is_drawable(): boolean;
381
381
  is_focus(): boolean;
@@ -388,7 +388,7 @@ export declare const VideoBridge: {
388
388
  mnemonic_activate(group_cycling: boolean): boolean;
389
389
  observe_children(): import("@girs/gio-2.0").default.ListModel;
390
390
  observe_controllers(): import("@girs/gio-2.0").default.ListModel;
391
- pick(x: number, y: number, flags: Gtk.PickFlags): (Gtk.Widget | null);
391
+ pick(x: number, y: number, flags: Gtk.PickFlags): Gtk.Widget | null;
392
392
  queue_allocate(): void;
393
393
  queue_draw(): void;
394
394
  queue_resize(): void;
@@ -401,19 +401,19 @@ export declare const VideoBridge: {
401
401
  set_can_target(can_target: boolean): void;
402
402
  set_child_visible(child_visible: boolean): void;
403
403
  set_css_classes(classes: string[]): void;
404
- set_cursor(cursor: (import("@girs/gdk-4.0").default.Cursor | null)): void;
405
- set_cursor_from_name(name: (string | null)): void;
404
+ set_cursor(cursor: import("@girs/gdk-4.0").default.Cursor | null): void;
405
+ set_cursor_from_name(name: string | null): void;
406
406
  set_direction(dir: Gtk.TextDirection): void;
407
- set_focus_child(child: (Gtk.Widget | null)): void;
407
+ set_focus_child(child: Gtk.Widget | null): void;
408
408
  set_focus_on_click(focus_on_click: boolean): void;
409
409
  set_focusable(focusable: boolean): void;
410
- set_font_map(font_map: (import("@girs/pango-1.0").default.FontMap | null)): void;
411
- set_font_options(options: (import("@girs/gjs/cairo").default.FontOptions | null)): void;
410
+ set_font_map(font_map: import("@girs/pango-1.0").default.FontMap | null): void;
411
+ set_font_options(options: import("@girs/gjs/cairo").default.FontOptions | null): void;
412
412
  set_halign(align: Gtk.Align): void;
413
413
  set_has_tooltip(has_tooltip: boolean): void;
414
414
  set_hexpand(expand: boolean): void;
415
415
  set_hexpand_set(set: boolean): void;
416
- set_layout_manager(layout_manager: (Gtk.LayoutManager | null)): void;
416
+ set_layout_manager(layout_manager: Gtk.LayoutManager | null): void;
417
417
  set_limit_events(limit_events: boolean): void;
418
418
  set_margin_bottom(margin: number): void;
419
419
  set_margin_end(margin: number): void;
@@ -427,8 +427,8 @@ export declare const VideoBridge: {
427
427
  set_sensitive(sensitive: boolean): void;
428
428
  set_size_request(width: number, height: number): void;
429
429
  set_state_flags(flags: Gtk.StateFlags, clear: boolean): void;
430
- set_tooltip_markup(markup: (string | null)): void;
431
- set_tooltip_text(text: (string | null)): void;
430
+ set_tooltip_markup(markup: string | null): void;
431
+ set_tooltip_text(text: string | null): void;
432
432
  set_valign(align: Gtk.Align): void;
433
433
  set_vexpand(expand: boolean): void;
434
434
  set_vexpand_set(set: boolean): void;
@@ -452,11 +452,11 @@ export declare const VideoBridge: {
452
452
  vfunc_notify(pspec: GObject.ParamSpec): void;
453
453
  vfunc_set_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
454
454
  bind_property(source_property: string, target: GObject.Object, target_property: string, flags: GObject.BindingFlags): GObject.Binding;
455
- bind_property_full(source_property: string, target: GObject.Object, target_property: string, flags: GObject.BindingFlags, transform_to: (GObject.Closure | null), transform_from: (GObject.Closure | null)): GObject.Binding;
455
+ bind_property_full(source_property: string, target: GObject.Object, target_property: string, flags: GObject.BindingFlags, transform_to: GObject.Closure | null, transform_from: GObject.Closure | null): GObject.Binding;
456
456
  force_floating(): void;
457
457
  freeze_notify(): void;
458
458
  get_data(key: string): null;
459
- get_property(property_name: string, value: (GObject.Value | any)): any;
459
+ get_property(property_name: string, value: GObject.Value | any): any;
460
460
  get_qdata(quark: GLib.Quark): null;
461
461
  getv(names: string[], values: (GObject.Value | any)[]): void;
462
462
  is_floating(): boolean;
@@ -466,7 +466,7 @@ export declare const VideoBridge: {
466
466
  ref_sink(): GObject.Object;
467
467
  run_dispose(): void;
468
468
  set_data(key: string, data: null): void;
469
- set_property(property_name: string, value: (GObject.Value | any)): void;
469
+ set_property(property_name: string, value: GObject.Value | any): void;
470
470
  steal_data(key: string): null;
471
471
  steal_qdata(quark: GLib.Quark): null;
472
472
  thaw_notify(): void;
@@ -479,40 +479,2309 @@ export declare const VideoBridge: {
479
479
  block_signal_handler(id: number): void;
480
480
  unblock_signal_handler(id: number): void;
481
481
  stop_emission_by_name(detailedName: string): void;
482
- };
483
- $gtype: GObject.GType<Gtk.Box>;
484
- "new"(orientation: Gtk.Orientation, spacing: number): Gtk.Box;
485
- get_default_direction(): Gtk.TextDirection;
486
- set_default_direction(dir: Gtk.TextDirection): void;
487
- add_shortcut(shortcut: Gtk.Shortcut): void;
488
- bind_template_callback_full(callback_name: string, callback_symbol: GObject.Callback): void;
489
- bind_template_child_full(name: string, internal_child: boolean, struct_offset: (bigint | number)): void;
490
- get_accessible_role(): Gtk.AccessibleRole;
491
- get_activate_signal(): number;
492
- get_css_name(): string;
493
- get_layout_manager_type(): GObject.GType;
494
- install_action(action_name: string, parameter_type: (string | null), activate: Gtk.WidgetActionActivateFunc): void;
495
- install_property_action(action_name: string, property_name: string): void;
496
- query_action(index_: number): [boolean, GObject.GType, string, GLib.VariantType | null, string];
497
- set_accessible_role(accessible_role: Gtk.AccessibleRole): void;
498
- set_activate_signal(signal_id: number): void;
499
- set_activate_signal_from_name(signal_name: string): void;
500
- set_css_name(name: string): void;
501
- set_layout_manager_type(type: GObject.GType): void;
502
- set_template(template_bytes: (GLib.Bytes | Uint8Array)): void;
503
- set_template_from_resource(resource_name: string): void;
504
- set_template_scope(scope: Gtk.BuilderScope): void;
505
- newv(object_type: GObject.GType, parameters: GObject.Parameter[]): GObject.Object;
506
- compat_control(what: (bigint | number), data: null): number;
507
- interface_find_property(g_iface: GObject.TypeInterface, property_name: string): GObject.ParamSpec;
508
- interface_install_property(g_iface: GObject.TypeInterface, pspec: GObject.ParamSpec): void;
509
- interface_list_properties(g_iface: GObject.TypeInterface): GObject.ParamSpec[];
510
- find_property(property_name: string): GObject.ParamSpec;
511
- install_properties(pspecs: GObject.ParamSpec[]): void;
512
- install_property(property_id: number, pspec: GObject.ParamSpec): void;
513
- list_properties(): GObject.ParamSpec[];
514
- override_property(property_id: number, name: string): void;
515
- _classInit(klass: any): any;
482
+ }, {
483
+ [key: string]: GObject.ParamSpec<unknown>;
484
+ }, unknown[]>;
485
+ $gtype: GObject.GType<{
486
+ new (...args: any[]): GObject.RegisteredPrototype<{
487
+ _overlay: Gtk.Overlay;
488
+ _picture: Gtk.Picture;
489
+ _video: HTMLVideoElement;
490
+ _environment: BridgeEnvironment;
491
+ _timeOrigin: number;
492
+ _pipeline: Gst.Pipeline | null;
493
+ _pipelineBus: Gst.Bus | null;
494
+ _pipelineBusHandlers: number[];
495
+ _readyCallbacks: VideoReadyCallback[];
496
+ _resizeCallbacks: ((w: number, h: number) => void)[];
497
+ _ready: boolean;
498
+ _controls: {
499
+ bar: Gtk.Box;
500
+ playBtn: Gtk.Button;
501
+ seekAdj: Gtk.Adjustment;
502
+ seekScale: Gtk.Scale;
503
+ timeLabel: Gtk.Label;
504
+ volumeBtn: Gtk.VolumeButton;
505
+ lastSeekValue: number;
506
+ lastTimeText: string;
507
+ } | null;
508
+ _positionTimerId: number | null;
509
+ _updatingFromTimer: boolean;
510
+ _hideTimerId: number | null;
511
+ get element(): HTMLVideoElement;
512
+ get videoElement(): HTMLVideoElement;
513
+ get environment(): BridgeEnvironment;
514
+ onReady(cb: VideoReadyCallback): void;
515
+ onResize(cb: (width: number, height: number) => void): void;
516
+ installGlobals(): void;
517
+ /**
518
+ * Show or hide the built-in play/pause + seek + time + volume control bar.
519
+ * Controls auto-hide after 2 seconds of mouse inactivity.
520
+ */
521
+ showControls(show?: boolean): void;
522
+ _setupAutoHideMotion(controlBar: Gtk.Box): void;
523
+ _revealControls(): void;
524
+ _buildControlBar(): NonNullable<{
525
+ bar: Gtk.Box;
526
+ playBtn: Gtk.Button;
527
+ seekAdj: Gtk.Adjustment;
528
+ seekScale: Gtk.Scale;
529
+ timeLabel: Gtk.Label;
530
+ volumeBtn: Gtk.VolumeButton;
531
+ lastSeekValue: number;
532
+ lastTimeText: string;
533
+ }>;
534
+ _startPositionTimer(): void;
535
+ _stopPositionTimer(): void;
536
+ _onSrcObjectChange(): void;
537
+ _onSrcChange(): void;
538
+ _attachPipeline(pipeline: Gst.Pipeline, paintable: Parameters<Gtk.Picture["set_paintable"]>[0]): void;
539
+ _destroyPipeline(): void;
540
+ get baseline_child(): number;
541
+ set baseline_child(val: number);
542
+ get baselineChild(): number;
543
+ set baselineChild(val: number);
544
+ get baseline_position(): Gtk.BaselinePosition;
545
+ set baseline_position(val: Gtk.BaselinePosition);
546
+ get baselinePosition(): Gtk.BaselinePosition;
547
+ set baselinePosition(val: Gtk.BaselinePosition);
548
+ get homogeneous(): boolean;
549
+ set homogeneous(val: boolean);
550
+ get spacing(): number;
551
+ set spacing(val: number);
552
+ $signals: Gtk.Box.SignalSignatures;
553
+ _init(...args: any[]): void;
554
+ connect<K extends keyof Gtk.Box.SignalSignatures>(signal: K, callback: GObject.SignalCallback</*elided*/ any, Gtk.Box.SignalSignatures[K]>): number;
555
+ connect(signal: string, callback: (...args: any[]) => any): number;
556
+ connect_after<K extends keyof Gtk.Box.SignalSignatures>(signal: K, callback: GObject.SignalCallback</*elided*/ any, Gtk.Box.SignalSignatures[K]>): number;
557
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
558
+ emit<K extends keyof Gtk.Box.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<Gtk.Box.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never): void;
559
+ emit(signal: string, ...args: any[]): void;
560
+ append(child: Gtk.Widget): void;
561
+ get_baseline_child(): number;
562
+ get_baseline_position(): Gtk.BaselinePosition;
563
+ get_homogeneous(): boolean;
564
+ get_spacing(): number;
565
+ insert_child_after(child: Gtk.Widget, sibling: Gtk.Widget | null): void;
566
+ prepend(child: Gtk.Widget): void;
567
+ remove(child: Gtk.Widget): void;
568
+ reorder_child_after(child: Gtk.Widget, sibling: Gtk.Widget | null): void;
569
+ set_baseline_child(child: number): void;
570
+ set_baseline_position(position: Gtk.BaselinePosition): void;
571
+ set_homogeneous(homogeneous: boolean): void;
572
+ set_spacing(spacing: number): void;
573
+ get accessible_role(): Gtk.AccessibleRole;
574
+ set accessible_role(val: Gtk.AccessibleRole);
575
+ get accessibleRole(): Gtk.AccessibleRole;
576
+ set accessibleRole(val: Gtk.AccessibleRole);
577
+ get orientation(): Gtk.Orientation;
578
+ set orientation(val: Gtk.Orientation);
579
+ announce(message: string, priority: Gtk.AccessibleAnnouncementPriority): void;
580
+ get_accessible_id(): string | null;
581
+ get_accessible_parent(): Gtk.Accessible | null;
582
+ get_accessible_role(): Gtk.AccessibleRole;
583
+ get_at_context(): Gtk.ATContext;
584
+ get_bounds(): [boolean, number, number, number, number];
585
+ get_first_accessible_child(): Gtk.Accessible | null;
586
+ get_next_accessible_sibling(): Gtk.Accessible | null;
587
+ get_platform_state(state: Gtk.AccessiblePlatformState): boolean;
588
+ reset_property(property: Gtk.AccessibleProperty): void;
589
+ reset_relation(relation: Gtk.AccessibleRelation): void;
590
+ reset_state(state: Gtk.AccessibleState): void;
591
+ set_accessible_parent(parent: Gtk.Accessible | null, next_sibling: Gtk.Accessible | null): void;
592
+ update_next_accessible_sibling(new_sibling: Gtk.Accessible | null): void;
593
+ update_platform_state(state: Gtk.AccessiblePlatformState): void;
594
+ update_property(properties: Gtk.AccessibleProperty[], values: (GObject.Value | any)[]): void;
595
+ update_relation(relations: Gtk.AccessibleRelation[], values: (GObject.Value | any)[]): void;
596
+ update_state(states: Gtk.AccessibleState[], values: (GObject.Value | any)[]): void;
597
+ vfunc_get_accessible_id(): string | null;
598
+ vfunc_get_accessible_parent(): Gtk.Accessible | null;
599
+ vfunc_get_at_context(): Gtk.ATContext | null;
600
+ vfunc_get_bounds(): [boolean, number, number, number, number];
601
+ vfunc_get_first_accessible_child(): Gtk.Accessible | null;
602
+ vfunc_get_next_accessible_sibling(): Gtk.Accessible | null;
603
+ vfunc_get_platform_state(state: Gtk.AccessiblePlatformState): boolean;
604
+ get_buildable_id(): string | null;
605
+ vfunc_add_child(builder: Gtk.Builder, child: GObject.Object, type: string | null): void;
606
+ vfunc_custom_finished(builder: Gtk.Builder, child: GObject.Object | null, tagname: string, data: null): void;
607
+ vfunc_custom_tag_end(builder: Gtk.Builder, child: GObject.Object | null, tagname: string, data: null): void;
608
+ vfunc_custom_tag_start(builder: Gtk.Builder, child: GObject.Object | null, tagname: string): [boolean, Gtk.BuildableParser, never];
609
+ vfunc_get_id(): string;
610
+ vfunc_get_internal_child<T = GObject.Object>(builder: Gtk.Builder, childname: string): T;
611
+ vfunc_parser_finished(builder: Gtk.Builder): void;
612
+ vfunc_set_buildable_property(builder: Gtk.Builder, name: string, value: unknown): void;
613
+ vfunc_set_id(id: string): void;
614
+ get_orientation(): Gtk.Orientation;
615
+ set_orientation(orientation: Gtk.Orientation): void;
616
+ get can_focus(): boolean;
617
+ set can_focus(val: boolean);
618
+ get canFocus(): boolean;
619
+ set canFocus(val: boolean);
620
+ get can_target(): boolean;
621
+ set can_target(val: boolean);
622
+ get canTarget(): boolean;
623
+ set canTarget(val: boolean);
624
+ get css_classes(): string[];
625
+ set css_classes(val: string[]);
626
+ get cssClasses(): string[];
627
+ set cssClasses(val: string[]);
628
+ get css_name(): string;
629
+ get cssName(): string;
630
+ get cursor(): import("@girs/gdk-4.0").default.Cursor | null;
631
+ set cursor(val: import("@girs/gdk-4.0").default.Cursor | null);
632
+ get focus_on_click(): boolean;
633
+ set focus_on_click(val: boolean);
634
+ get focusOnClick(): boolean;
635
+ set focusOnClick(val: boolean);
636
+ get focusable(): boolean;
637
+ set focusable(val: boolean);
638
+ get halign(): Gtk.Align;
639
+ set halign(val: Gtk.Align);
640
+ get has_default(): boolean;
641
+ get hasDefault(): boolean;
642
+ get has_focus(): boolean;
643
+ get hasFocus(): boolean;
644
+ get has_tooltip(): boolean;
645
+ set has_tooltip(val: boolean);
646
+ get hasTooltip(): boolean;
647
+ set hasTooltip(val: boolean);
648
+ get height_request(): number;
649
+ set height_request(val: number);
650
+ get heightRequest(): number;
651
+ set heightRequest(val: number);
652
+ get hexpand(): boolean;
653
+ set hexpand(val: boolean);
654
+ get hexpand_set(): boolean;
655
+ set hexpand_set(val: boolean);
656
+ get hexpandSet(): boolean;
657
+ set hexpandSet(val: boolean);
658
+ get layout_manager(): Gtk.LayoutManager | null;
659
+ set layout_manager(val: Gtk.LayoutManager | null);
660
+ get layoutManager(): Gtk.LayoutManager | null;
661
+ set layoutManager(val: Gtk.LayoutManager | null);
662
+ get limit_events(): boolean;
663
+ set limit_events(val: boolean);
664
+ get limitEvents(): boolean;
665
+ set limitEvents(val: boolean);
666
+ get margin_bottom(): number;
667
+ set margin_bottom(val: number);
668
+ get marginBottom(): number;
669
+ set marginBottom(val: number);
670
+ get margin_end(): number;
671
+ set margin_end(val: number);
672
+ get marginEnd(): number;
673
+ set marginEnd(val: number);
674
+ get margin_start(): number;
675
+ set margin_start(val: number);
676
+ get marginStart(): number;
677
+ set marginStart(val: number);
678
+ get margin_top(): number;
679
+ set margin_top(val: number);
680
+ get marginTop(): number;
681
+ set marginTop(val: number);
682
+ get name(): string;
683
+ set name(val: string);
684
+ get opacity(): number;
685
+ set opacity(val: number);
686
+ get overflow(): Gtk.Overflow;
687
+ set overflow(val: Gtk.Overflow);
688
+ get parent(): Gtk.Widget | null;
689
+ get receives_default(): boolean;
690
+ set receives_default(val: boolean);
691
+ get receivesDefault(): boolean;
692
+ set receivesDefault(val: boolean);
693
+ get root(): Gtk.Root | null;
694
+ get scale_factor(): number;
695
+ get scaleFactor(): number;
696
+ get sensitive(): boolean;
697
+ set sensitive(val: boolean);
698
+ get tooltip_markup(): string | null;
699
+ set tooltip_markup(val: string | null);
700
+ get tooltipMarkup(): string | null;
701
+ set tooltipMarkup(val: string | null);
702
+ get tooltip_text(): string | null;
703
+ set tooltip_text(val: string | null);
704
+ get tooltipText(): string | null;
705
+ set tooltipText(val: string | null);
706
+ get valign(): Gtk.Align;
707
+ set valign(val: Gtk.Align);
708
+ get vexpand(): boolean;
709
+ set vexpand(val: boolean);
710
+ get vexpand_set(): boolean;
711
+ set vexpand_set(val: boolean);
712
+ get vexpandSet(): boolean;
713
+ set vexpandSet(val: boolean);
714
+ get visible(): boolean;
715
+ set visible(val: boolean);
716
+ get width_request(): number;
717
+ set width_request(val: number);
718
+ get widthRequest(): number;
719
+ set widthRequest(val: number);
720
+ vfunc_compute_expand(hexpand_p: boolean, vexpand_p: boolean): void;
721
+ vfunc_contains(x: number, y: number): boolean;
722
+ vfunc_css_changed(change: Gtk.CssStyleChange): void;
723
+ vfunc_direction_changed(previous_direction: Gtk.TextDirection): void;
724
+ vfunc_focus(direction: Gtk.DirectionType): boolean;
725
+ vfunc_get_request_mode(): Gtk.SizeRequestMode;
726
+ vfunc_grab_focus(): boolean;
727
+ vfunc_hide(): void;
728
+ vfunc_keynav_failed(direction: Gtk.DirectionType): boolean;
729
+ vfunc_map(): void;
730
+ vfunc_measure(orientation: Gtk.Orientation, for_size: number): [number, number, number, number];
731
+ vfunc_mnemonic_activate(group_cycling: boolean): boolean;
732
+ vfunc_move_focus(direction: Gtk.DirectionType): void;
733
+ vfunc_query_tooltip(x: number, y: number, keyboard_tooltip: boolean, tooltip: Gtk.Tooltip): boolean;
734
+ vfunc_realize(): void;
735
+ vfunc_root(): void;
736
+ vfunc_set_focus_child(child: Gtk.Widget | null): void;
737
+ vfunc_show(): void;
738
+ vfunc_size_allocate(width: number, height: number, baseline: number): void;
739
+ vfunc_snapshot(snapshot: Gtk.Snapshot): void;
740
+ vfunc_state_flags_changed(previous_state_flags: Gtk.StateFlags): void;
741
+ vfunc_system_setting_changed(settings: Gtk.SystemSetting): void;
742
+ vfunc_unmap(): void;
743
+ vfunc_unrealize(): void;
744
+ vfunc_unroot(): void;
745
+ action_set_enabled(action_name: string, enabled: boolean): void;
746
+ activate(): boolean;
747
+ activate_action(name: string, args: GLib.Variant | null): boolean;
748
+ activate_default(): void;
749
+ add_controller(controller: Gtk.EventController): void;
750
+ add_css_class(css_class: string): void;
751
+ add_mnemonic_label(label: Gtk.Widget): void;
752
+ add_tick_callback(callback: Gtk.TickCallback): number;
753
+ allocate(width: number, height: number, baseline: number, transform: import("@girs/gsk-4.0").default.Transform | null): void;
754
+ child_focus(direction: Gtk.DirectionType): boolean;
755
+ compute_bounds(target: Gtk.Widget): [boolean, import("@girs/graphene-1.0").default.Rect];
756
+ compute_expand(orientation: Gtk.Orientation): boolean;
757
+ compute_point(target: Gtk.Widget, point: import("@girs/graphene-1.0").default.Point): [boolean, import("@girs/graphene-1.0").default.Point];
758
+ compute_transform(target: Gtk.Widget): [boolean, import("@girs/graphene-1.0").default.Matrix];
759
+ contains(x: number, y: number): boolean;
760
+ create_pango_context(): import("@girs/pango-1.0").default.Context;
761
+ create_pango_layout(text: string | null): import("@girs/pango-1.0").default.Layout;
762
+ dispose_template(widget_type: GObject.GType): void;
763
+ drag_check_threshold(start_x: number, start_y: number, current_x: number, current_y: number): boolean;
764
+ error_bell(): void;
765
+ get_allocated_baseline(): number;
766
+ get_allocated_height(): number;
767
+ get_allocated_width(): number;
768
+ get_allocation(): Gtk.Allocation;
769
+ get_ancestor(widget_type: GObject.GType): Gtk.Widget | null;
770
+ get_baseline(): number;
771
+ get_can_focus(): boolean;
772
+ get_can_target(): boolean;
773
+ get_child_visible(): boolean;
774
+ get_clipboard(): import("@girs/gdk-4.0").default.Clipboard;
775
+ get_color(): import("@girs/gdk-4.0").default.RGBA;
776
+ get_css_classes(): string[];
777
+ get_css_name(): string;
778
+ get_cursor(): import("@girs/gdk-4.0").default.Cursor | null;
779
+ get_direction(): Gtk.TextDirection;
780
+ get_display(): import("@girs/gdk-4.0").default.Display;
781
+ get_first_child(): Gtk.Widget | null;
782
+ get_focus_child(): Gtk.Widget | null;
783
+ get_focus_on_click(): boolean;
784
+ get_focusable(): boolean;
785
+ get_font_map(): import("@girs/pango-1.0").default.FontMap | null;
786
+ get_font_options(): import("@girs/gjs/cairo").default.FontOptions | null;
787
+ get_frame_clock(): import("@girs/gdk-4.0").default.FrameClock | null;
788
+ get_halign(): Gtk.Align;
789
+ get_has_tooltip(): boolean;
790
+ get_height(): number;
791
+ get_hexpand(): boolean;
792
+ get_hexpand_set(): boolean;
793
+ get_last_child(): Gtk.Widget | null;
794
+ get_layout_manager(): Gtk.LayoutManager | null;
795
+ get_limit_events(): boolean;
796
+ get_mapped(): boolean;
797
+ get_margin_bottom(): number;
798
+ get_margin_end(): number;
799
+ get_margin_start(): number;
800
+ get_margin_top(): number;
801
+ get_name(): string;
802
+ get_native(): Gtk.Native | null;
803
+ get_next_sibling(): Gtk.Widget | null;
804
+ get_opacity(): number;
805
+ get_overflow(): Gtk.Overflow;
806
+ get_pango_context(): import("@girs/pango-1.0").default.Context;
807
+ get_parent(): Gtk.Widget | null;
808
+ get_preferred_size(): [Gtk.Requisition | null, Gtk.Requisition | null];
809
+ get_prev_sibling(): Gtk.Widget | null;
810
+ get_primary_clipboard(): import("@girs/gdk-4.0").default.Clipboard;
811
+ get_realized(): boolean;
812
+ get_receives_default(): boolean;
813
+ get_request_mode(): Gtk.SizeRequestMode;
814
+ get_root(): Gtk.Root | null;
815
+ get_scale_factor(): number;
816
+ get_sensitive(): boolean;
817
+ get_settings(): Gtk.Settings;
818
+ get_size(orientation: Gtk.Orientation): number;
819
+ get_size_request(): [number, number];
820
+ get_state_flags(): Gtk.StateFlags;
821
+ get_style_context(): Gtk.StyleContext;
822
+ get_template_child<T = GObject.Object>(widget_type: GObject.GType, name: string): T;
823
+ get_tooltip_markup(): string | null;
824
+ get_tooltip_text(): string | null;
825
+ get_valign(): Gtk.Align;
826
+ get_vexpand(): boolean;
827
+ get_vexpand_set(): boolean;
828
+ get_visible(): boolean;
829
+ get_width(): number;
830
+ grab_focus(): boolean;
831
+ has_css_class(css_class: string): boolean;
832
+ has_visible_focus(): boolean;
833
+ hide(): void;
834
+ in_destruction(): boolean;
835
+ init_template(): void;
836
+ insert_action_group(name: string, group: import("@girs/gio-2.0").default.ActionGroup | null): void;
837
+ insert_after(parent: Gtk.Widget, previous_sibling: Gtk.Widget | null): void;
838
+ insert_before(parent: Gtk.Widget, next_sibling: Gtk.Widget | null): void;
839
+ is_ancestor(ancestor: Gtk.Widget): boolean;
840
+ is_drawable(): boolean;
841
+ is_focus(): boolean;
842
+ is_sensitive(): boolean;
843
+ is_visible(): boolean;
844
+ keynav_failed(direction: Gtk.DirectionType): boolean;
845
+ list_mnemonic_labels(): Gtk.Widget[];
846
+ map(): void;
847
+ measure(orientation: Gtk.Orientation, for_size: number): [number, number, number, number];
848
+ mnemonic_activate(group_cycling: boolean): boolean;
849
+ observe_children(): import("@girs/gio-2.0").default.ListModel;
850
+ observe_controllers(): import("@girs/gio-2.0").default.ListModel;
851
+ pick(x: number, y: number, flags: Gtk.PickFlags): Gtk.Widget | null;
852
+ queue_allocate(): void;
853
+ queue_draw(): void;
854
+ queue_resize(): void;
855
+ realize(): void;
856
+ remove_controller(controller: Gtk.EventController): void;
857
+ remove_css_class(css_class: string): void;
858
+ remove_mnemonic_label(label: Gtk.Widget): void;
859
+ remove_tick_callback(id: number): void;
860
+ set_can_focus(can_focus: boolean): void;
861
+ set_can_target(can_target: boolean): void;
862
+ set_child_visible(child_visible: boolean): void;
863
+ set_css_classes(classes: string[]): void;
864
+ set_cursor(cursor: import("@girs/gdk-4.0").default.Cursor | null): void;
865
+ set_cursor_from_name(name: string | null): void;
866
+ set_direction(dir: Gtk.TextDirection): void;
867
+ set_focus_child(child: Gtk.Widget | null): void;
868
+ set_focus_on_click(focus_on_click: boolean): void;
869
+ set_focusable(focusable: boolean): void;
870
+ set_font_map(font_map: import("@girs/pango-1.0").default.FontMap | null): void;
871
+ set_font_options(options: import("@girs/gjs/cairo").default.FontOptions | null): void;
872
+ set_halign(align: Gtk.Align): void;
873
+ set_has_tooltip(has_tooltip: boolean): void;
874
+ set_hexpand(expand: boolean): void;
875
+ set_hexpand_set(set: boolean): void;
876
+ set_layout_manager(layout_manager: Gtk.LayoutManager | null): void;
877
+ set_limit_events(limit_events: boolean): void;
878
+ set_margin_bottom(margin: number): void;
879
+ set_margin_end(margin: number): void;
880
+ set_margin_start(margin: number): void;
881
+ set_margin_top(margin: number): void;
882
+ set_name(name: string): void;
883
+ set_opacity(opacity: number): void;
884
+ set_overflow(overflow: Gtk.Overflow): void;
885
+ set_parent(parent: Gtk.Widget): void;
886
+ set_receives_default(receives_default: boolean): void;
887
+ set_sensitive(sensitive: boolean): void;
888
+ set_size_request(width: number, height: number): void;
889
+ set_state_flags(flags: Gtk.StateFlags, clear: boolean): void;
890
+ set_tooltip_markup(markup: string | null): void;
891
+ set_tooltip_text(text: string | null): void;
892
+ set_valign(align: Gtk.Align): void;
893
+ set_vexpand(expand: boolean): void;
894
+ set_vexpand_set(set: boolean): void;
895
+ set_visible(visible: boolean): void;
896
+ should_layout(): boolean;
897
+ show(): void;
898
+ size_allocate(allocation: Gtk.Allocation, baseline: number): void;
899
+ snapshot_child(child: Gtk.Widget, snapshot: Gtk.Snapshot): void;
900
+ translate_coordinates(dest_widget: Gtk.Widget, src_x: number, src_y: number): [boolean, number, number];
901
+ trigger_tooltip_query(): void;
902
+ unmap(): void;
903
+ unparent(): void;
904
+ unrealize(): void;
905
+ unset_state_flags(flags: Gtk.StateFlags): void;
906
+ [Symbol.iterator]: () => IterableIterator<Gtk.Widget>;
907
+ vfunc_constructed(): void;
908
+ vfunc_dispatch_properties_changed(n_pspecs: number, pspecs: GObject.ParamSpec): void;
909
+ vfunc_dispose(): void;
910
+ vfunc_finalize(): void;
911
+ vfunc_get_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
912
+ vfunc_notify(pspec: GObject.ParamSpec): void;
913
+ vfunc_set_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
914
+ bind_property(source_property: string, target: GObject.Object, target_property: string, flags: GObject.BindingFlags): GObject.Binding;
915
+ bind_property_full(source_property: string, target: GObject.Object, target_property: string, flags: GObject.BindingFlags, transform_to: GObject.Closure | null, transform_from: GObject.Closure | null): GObject.Binding;
916
+ force_floating(): void;
917
+ freeze_notify(): void;
918
+ get_data(key: string): null;
919
+ get_property(property_name: string, value: GObject.Value | any): any;
920
+ get_qdata(quark: GLib.Quark): null;
921
+ getv(names: string[], values: (GObject.Value | any)[]): void;
922
+ is_floating(): boolean;
923
+ notify(property_name: string): void;
924
+ notify_by_pspec(pspec: GObject.ParamSpec): void;
925
+ ref(): GObject.Object;
926
+ ref_sink(): GObject.Object;
927
+ run_dispose(): void;
928
+ set_data(key: string, data: null): void;
929
+ set_property(property_name: string, value: GObject.Value | any): void;
930
+ steal_data(key: string): null;
931
+ steal_qdata(quark: GLib.Quark): null;
932
+ thaw_notify(): void;
933
+ unref(): void;
934
+ watch_closure(closure: GObject.Closure): void;
935
+ disconnect(id: number): void;
936
+ set(properties: {
937
+ [key: string]: any;
938
+ }): void;
939
+ block_signal_handler(id: number): void;
940
+ unblock_signal_handler(id: number): void;
941
+ stop_emission_by_name(detailedName: string): void;
942
+ }, {
943
+ [key: string]: GObject.ParamSpec<unknown>;
944
+ }, never[]>;
945
+ $gtype: GObject.GType<{
946
+ new (...args: any[]): GObject.RegisteredPrototype<{
947
+ _overlay: Gtk.Overlay;
948
+ _picture: Gtk.Picture;
949
+ _video: HTMLVideoElement;
950
+ _environment: BridgeEnvironment;
951
+ _timeOrigin: number;
952
+ _pipeline: Gst.Pipeline | null;
953
+ _pipelineBus: Gst.Bus | null;
954
+ _pipelineBusHandlers: number[];
955
+ _readyCallbacks: VideoReadyCallback[];
956
+ _resizeCallbacks: ((w: number, h: number) => void)[];
957
+ _ready: boolean;
958
+ _controls: {
959
+ bar: Gtk.Box;
960
+ playBtn: Gtk.Button;
961
+ seekAdj: Gtk.Adjustment;
962
+ seekScale: Gtk.Scale;
963
+ timeLabel: Gtk.Label;
964
+ volumeBtn: Gtk.VolumeButton;
965
+ lastSeekValue: number;
966
+ lastTimeText: string;
967
+ } | null;
968
+ _positionTimerId: number | null;
969
+ _updatingFromTimer: boolean;
970
+ _hideTimerId: number | null;
971
+ get element(): HTMLVideoElement;
972
+ get videoElement(): HTMLVideoElement;
973
+ get environment(): BridgeEnvironment;
974
+ onReady(cb: VideoReadyCallback): void;
975
+ onResize(cb: (width: number, height: number) => void): void;
976
+ installGlobals(): void;
977
+ /**
978
+ * Show or hide the built-in play/pause + seek + time + volume control bar.
979
+ * Controls auto-hide after 2 seconds of mouse inactivity.
980
+ */
981
+ showControls(show?: boolean): void;
982
+ _setupAutoHideMotion(controlBar: Gtk.Box): void;
983
+ _revealControls(): void;
984
+ _buildControlBar(): NonNullable<{
985
+ bar: Gtk.Box;
986
+ playBtn: Gtk.Button;
987
+ seekAdj: Gtk.Adjustment;
988
+ seekScale: Gtk.Scale;
989
+ timeLabel: Gtk.Label;
990
+ volumeBtn: Gtk.VolumeButton;
991
+ lastSeekValue: number;
992
+ lastTimeText: string;
993
+ }>;
994
+ _startPositionTimer(): void;
995
+ _stopPositionTimer(): void;
996
+ _onSrcObjectChange(): void;
997
+ _onSrcChange(): void;
998
+ _attachPipeline(pipeline: Gst.Pipeline, paintable: Parameters<Gtk.Picture["set_paintable"]>[0]): void;
999
+ _destroyPipeline(): void;
1000
+ get baseline_child(): number;
1001
+ set baseline_child(val: number);
1002
+ get baselineChild(): number;
1003
+ set baselineChild(val: number);
1004
+ get baseline_position(): Gtk.BaselinePosition;
1005
+ set baseline_position(val: Gtk.BaselinePosition);
1006
+ get baselinePosition(): Gtk.BaselinePosition;
1007
+ set baselinePosition(val: Gtk.BaselinePosition);
1008
+ get homogeneous(): boolean;
1009
+ set homogeneous(val: boolean);
1010
+ get spacing(): number;
1011
+ set spacing(val: number);
1012
+ $signals: Gtk.Box.SignalSignatures;
1013
+ _init(...args: any[]): void;
1014
+ connect<K extends keyof Gtk.Box.SignalSignatures>(signal: K, callback: GObject.SignalCallback</*elided*/ any, Gtk.Box.SignalSignatures[K]>): number;
1015
+ connect(signal: string, callback: (...args: any[]) => any): number;
1016
+ connect_after<K extends keyof Gtk.Box.SignalSignatures>(signal: K, callback: GObject.SignalCallback</*elided*/ any, Gtk.Box.SignalSignatures[K]>): number;
1017
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
1018
+ emit<K extends keyof Gtk.Box.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<Gtk.Box.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never): void;
1019
+ emit(signal: string, ...args: any[]): void;
1020
+ append(child: Gtk.Widget): void;
1021
+ get_baseline_child(): number;
1022
+ get_baseline_position(): Gtk.BaselinePosition;
1023
+ get_homogeneous(): boolean;
1024
+ get_spacing(): number;
1025
+ insert_child_after(child: Gtk.Widget, sibling: Gtk.Widget | null): void;
1026
+ prepend(child: Gtk.Widget): void;
1027
+ remove(child: Gtk.Widget): void;
1028
+ reorder_child_after(child: Gtk.Widget, sibling: Gtk.Widget | null): void;
1029
+ set_baseline_child(child: number): void;
1030
+ set_baseline_position(position: Gtk.BaselinePosition): void;
1031
+ set_homogeneous(homogeneous: boolean): void;
1032
+ set_spacing(spacing: number): void;
1033
+ get accessible_role(): Gtk.AccessibleRole;
1034
+ set accessible_role(val: Gtk.AccessibleRole);
1035
+ get accessibleRole(): Gtk.AccessibleRole;
1036
+ set accessibleRole(val: Gtk.AccessibleRole);
1037
+ get orientation(): Gtk.Orientation;
1038
+ set orientation(val: Gtk.Orientation);
1039
+ announce(message: string, priority: Gtk.AccessibleAnnouncementPriority): void;
1040
+ get_accessible_id(): string | null;
1041
+ get_accessible_parent(): Gtk.Accessible | null;
1042
+ get_accessible_role(): Gtk.AccessibleRole;
1043
+ get_at_context(): Gtk.ATContext;
1044
+ get_bounds(): [boolean, number, number, number, number];
1045
+ get_first_accessible_child(): Gtk.Accessible | null;
1046
+ get_next_accessible_sibling(): Gtk.Accessible | null;
1047
+ get_platform_state(state: Gtk.AccessiblePlatformState): boolean;
1048
+ reset_property(property: Gtk.AccessibleProperty): void;
1049
+ reset_relation(relation: Gtk.AccessibleRelation): void;
1050
+ reset_state(state: Gtk.AccessibleState): void;
1051
+ set_accessible_parent(parent: Gtk.Accessible | null, next_sibling: Gtk.Accessible | null): void;
1052
+ update_next_accessible_sibling(new_sibling: Gtk.Accessible | null): void;
1053
+ update_platform_state(state: Gtk.AccessiblePlatformState): void;
1054
+ update_property(properties: Gtk.AccessibleProperty[], values: (GObject.Value | any)[]): void;
1055
+ update_relation(relations: Gtk.AccessibleRelation[], values: (GObject.Value | any)[]): void;
1056
+ update_state(states: Gtk.AccessibleState[], values: (GObject.Value | any)[]): void;
1057
+ vfunc_get_accessible_id(): string | null;
1058
+ vfunc_get_accessible_parent(): Gtk.Accessible | null;
1059
+ vfunc_get_at_context(): Gtk.ATContext | null;
1060
+ vfunc_get_bounds(): [boolean, number, number, number, number];
1061
+ vfunc_get_first_accessible_child(): Gtk.Accessible | null;
1062
+ vfunc_get_next_accessible_sibling(): Gtk.Accessible | null;
1063
+ vfunc_get_platform_state(state: Gtk.AccessiblePlatformState): boolean;
1064
+ get_buildable_id(): string | null;
1065
+ vfunc_add_child(builder: Gtk.Builder, child: GObject.Object, type: string | null): void;
1066
+ vfunc_custom_finished(builder: Gtk.Builder, child: GObject.Object | null, tagname: string, data: null): void;
1067
+ vfunc_custom_tag_end(builder: Gtk.Builder, child: GObject.Object | null, tagname: string, data: null): void;
1068
+ vfunc_custom_tag_start(builder: Gtk.Builder, child: GObject.Object | null, tagname: string): [boolean, Gtk.BuildableParser, never];
1069
+ vfunc_get_id(): string;
1070
+ vfunc_get_internal_child<T = GObject.Object>(builder: Gtk.Builder, childname: string): T;
1071
+ vfunc_parser_finished(builder: Gtk.Builder): void;
1072
+ vfunc_set_buildable_property(builder: Gtk.Builder, name: string, value: unknown): void;
1073
+ vfunc_set_id(id: string): void;
1074
+ get_orientation(): Gtk.Orientation;
1075
+ set_orientation(orientation: Gtk.Orientation): void;
1076
+ get can_focus(): boolean;
1077
+ set can_focus(val: boolean);
1078
+ get canFocus(): boolean;
1079
+ set canFocus(val: boolean);
1080
+ get can_target(): boolean;
1081
+ set can_target(val: boolean);
1082
+ get canTarget(): boolean;
1083
+ set canTarget(val: boolean);
1084
+ get css_classes(): string[];
1085
+ set css_classes(val: string[]);
1086
+ get cssClasses(): string[];
1087
+ set cssClasses(val: string[]);
1088
+ get css_name(): string;
1089
+ get cssName(): string;
1090
+ get cursor(): import("@girs/gdk-4.0").default.Cursor | null;
1091
+ set cursor(val: import("@girs/gdk-4.0").default.Cursor | null);
1092
+ get focus_on_click(): boolean;
1093
+ set focus_on_click(val: boolean);
1094
+ get focusOnClick(): boolean;
1095
+ set focusOnClick(val: boolean);
1096
+ get focusable(): boolean;
1097
+ set focusable(val: boolean);
1098
+ get halign(): Gtk.Align;
1099
+ set halign(val: Gtk.Align);
1100
+ get has_default(): boolean;
1101
+ get hasDefault(): boolean;
1102
+ get has_focus(): boolean;
1103
+ get hasFocus(): boolean;
1104
+ get has_tooltip(): boolean;
1105
+ set has_tooltip(val: boolean);
1106
+ get hasTooltip(): boolean;
1107
+ set hasTooltip(val: boolean);
1108
+ get height_request(): number;
1109
+ set height_request(val: number);
1110
+ get heightRequest(): number;
1111
+ set heightRequest(val: number);
1112
+ get hexpand(): boolean;
1113
+ set hexpand(val: boolean);
1114
+ get hexpand_set(): boolean;
1115
+ set hexpand_set(val: boolean);
1116
+ get hexpandSet(): boolean;
1117
+ set hexpandSet(val: boolean);
1118
+ get layout_manager(): Gtk.LayoutManager | null;
1119
+ set layout_manager(val: Gtk.LayoutManager | null);
1120
+ get layoutManager(): Gtk.LayoutManager | null;
1121
+ set layoutManager(val: Gtk.LayoutManager | null);
1122
+ get limit_events(): boolean;
1123
+ set limit_events(val: boolean);
1124
+ get limitEvents(): boolean;
1125
+ set limitEvents(val: boolean);
1126
+ get margin_bottom(): number;
1127
+ set margin_bottom(val: number);
1128
+ get marginBottom(): number;
1129
+ set marginBottom(val: number);
1130
+ get margin_end(): number;
1131
+ set margin_end(val: number);
1132
+ get marginEnd(): number;
1133
+ set marginEnd(val: number);
1134
+ get margin_start(): number;
1135
+ set margin_start(val: number);
1136
+ get marginStart(): number;
1137
+ set marginStart(val: number);
1138
+ get margin_top(): number;
1139
+ set margin_top(val: number);
1140
+ get marginTop(): number;
1141
+ set marginTop(val: number);
1142
+ get name(): string;
1143
+ set name(val: string);
1144
+ get opacity(): number;
1145
+ set opacity(val: number);
1146
+ get overflow(): Gtk.Overflow;
1147
+ set overflow(val: Gtk.Overflow);
1148
+ get parent(): Gtk.Widget | null;
1149
+ get receives_default(): boolean;
1150
+ set receives_default(val: boolean);
1151
+ get receivesDefault(): boolean;
1152
+ set receivesDefault(val: boolean);
1153
+ get root(): Gtk.Root | null;
1154
+ get scale_factor(): number;
1155
+ get scaleFactor(): number;
1156
+ get sensitive(): boolean;
1157
+ set sensitive(val: boolean);
1158
+ get tooltip_markup(): string | null;
1159
+ set tooltip_markup(val: string | null);
1160
+ get tooltipMarkup(): string | null;
1161
+ set tooltipMarkup(val: string | null);
1162
+ get tooltip_text(): string | null;
1163
+ set tooltip_text(val: string | null);
1164
+ get tooltipText(): string | null;
1165
+ set tooltipText(val: string | null);
1166
+ get valign(): Gtk.Align;
1167
+ set valign(val: Gtk.Align);
1168
+ get vexpand(): boolean;
1169
+ set vexpand(val: boolean);
1170
+ get vexpand_set(): boolean;
1171
+ set vexpand_set(val: boolean);
1172
+ get vexpandSet(): boolean;
1173
+ set vexpandSet(val: boolean);
1174
+ get visible(): boolean;
1175
+ set visible(val: boolean);
1176
+ get width_request(): number;
1177
+ set width_request(val: number);
1178
+ get widthRequest(): number;
1179
+ set widthRequest(val: number);
1180
+ vfunc_compute_expand(hexpand_p: boolean, vexpand_p: boolean): void;
1181
+ vfunc_contains(x: number, y: number): boolean;
1182
+ vfunc_css_changed(change: Gtk.CssStyleChange): void;
1183
+ vfunc_direction_changed(previous_direction: Gtk.TextDirection): void;
1184
+ vfunc_focus(direction: Gtk.DirectionType): boolean;
1185
+ vfunc_get_request_mode(): Gtk.SizeRequestMode;
1186
+ vfunc_grab_focus(): boolean;
1187
+ vfunc_hide(): void;
1188
+ vfunc_keynav_failed(direction: Gtk.DirectionType): boolean;
1189
+ vfunc_map(): void;
1190
+ vfunc_measure(orientation: Gtk.Orientation, for_size: number): [number, number, number, number];
1191
+ vfunc_mnemonic_activate(group_cycling: boolean): boolean;
1192
+ vfunc_move_focus(direction: Gtk.DirectionType): void;
1193
+ vfunc_query_tooltip(x: number, y: number, keyboard_tooltip: boolean, tooltip: Gtk.Tooltip): boolean;
1194
+ vfunc_realize(): void;
1195
+ vfunc_root(): void;
1196
+ vfunc_set_focus_child(child: Gtk.Widget | null): void;
1197
+ vfunc_show(): void;
1198
+ vfunc_size_allocate(width: number, height: number, baseline: number): void;
1199
+ vfunc_snapshot(snapshot: Gtk.Snapshot): void;
1200
+ vfunc_state_flags_changed(previous_state_flags: Gtk.StateFlags): void;
1201
+ vfunc_system_setting_changed(settings: Gtk.SystemSetting): void;
1202
+ vfunc_unmap(): void;
1203
+ vfunc_unrealize(): void;
1204
+ vfunc_unroot(): void;
1205
+ action_set_enabled(action_name: string, enabled: boolean): void;
1206
+ activate(): boolean;
1207
+ activate_action(name: string, args: GLib.Variant | null): boolean;
1208
+ activate_default(): void;
1209
+ add_controller(controller: Gtk.EventController): void;
1210
+ add_css_class(css_class: string): void;
1211
+ add_mnemonic_label(label: Gtk.Widget): void;
1212
+ add_tick_callback(callback: Gtk.TickCallback): number;
1213
+ allocate(width: number, height: number, baseline: number, transform: import("@girs/gsk-4.0").default.Transform | null): void;
1214
+ child_focus(direction: Gtk.DirectionType): boolean;
1215
+ compute_bounds(target: Gtk.Widget): [boolean, import("@girs/graphene-1.0").default.Rect];
1216
+ compute_expand(orientation: Gtk.Orientation): boolean;
1217
+ compute_point(target: Gtk.Widget, point: import("@girs/graphene-1.0").default.Point): [boolean, import("@girs/graphene-1.0").default.Point];
1218
+ compute_transform(target: Gtk.Widget): [boolean, import("@girs/graphene-1.0").default.Matrix];
1219
+ contains(x: number, y: number): boolean;
1220
+ create_pango_context(): import("@girs/pango-1.0").default.Context;
1221
+ create_pango_layout(text: string | null): import("@girs/pango-1.0").default.Layout;
1222
+ dispose_template(widget_type: GObject.GType): void;
1223
+ drag_check_threshold(start_x: number, start_y: number, current_x: number, current_y: number): boolean;
1224
+ error_bell(): void;
1225
+ get_allocated_baseline(): number;
1226
+ get_allocated_height(): number;
1227
+ get_allocated_width(): number;
1228
+ get_allocation(): Gtk.Allocation;
1229
+ get_ancestor(widget_type: GObject.GType): Gtk.Widget | null;
1230
+ get_baseline(): number;
1231
+ get_can_focus(): boolean;
1232
+ get_can_target(): boolean;
1233
+ get_child_visible(): boolean;
1234
+ get_clipboard(): import("@girs/gdk-4.0").default.Clipboard;
1235
+ get_color(): import("@girs/gdk-4.0").default.RGBA;
1236
+ get_css_classes(): string[];
1237
+ get_css_name(): string;
1238
+ get_cursor(): import("@girs/gdk-4.0").default.Cursor | null;
1239
+ get_direction(): Gtk.TextDirection;
1240
+ get_display(): import("@girs/gdk-4.0").default.Display;
1241
+ get_first_child(): Gtk.Widget | null;
1242
+ get_focus_child(): Gtk.Widget | null;
1243
+ get_focus_on_click(): boolean;
1244
+ get_focusable(): boolean;
1245
+ get_font_map(): import("@girs/pango-1.0").default.FontMap | null;
1246
+ get_font_options(): import("@girs/gjs/cairo").default.FontOptions | null;
1247
+ get_frame_clock(): import("@girs/gdk-4.0").default.FrameClock | null;
1248
+ get_halign(): Gtk.Align;
1249
+ get_has_tooltip(): boolean;
1250
+ get_height(): number;
1251
+ get_hexpand(): boolean;
1252
+ get_hexpand_set(): boolean;
1253
+ get_last_child(): Gtk.Widget | null;
1254
+ get_layout_manager(): Gtk.LayoutManager | null;
1255
+ get_limit_events(): boolean;
1256
+ get_mapped(): boolean;
1257
+ get_margin_bottom(): number;
1258
+ get_margin_end(): number;
1259
+ get_margin_start(): number;
1260
+ get_margin_top(): number;
1261
+ get_name(): string;
1262
+ get_native(): Gtk.Native | null;
1263
+ get_next_sibling(): Gtk.Widget | null;
1264
+ get_opacity(): number;
1265
+ get_overflow(): Gtk.Overflow;
1266
+ get_pango_context(): import("@girs/pango-1.0").default.Context;
1267
+ get_parent(): Gtk.Widget | null;
1268
+ get_preferred_size(): [Gtk.Requisition | null, Gtk.Requisition | null];
1269
+ get_prev_sibling(): Gtk.Widget | null;
1270
+ get_primary_clipboard(): import("@girs/gdk-4.0").default.Clipboard;
1271
+ get_realized(): boolean;
1272
+ get_receives_default(): boolean;
1273
+ get_request_mode(): Gtk.SizeRequestMode;
1274
+ get_root(): Gtk.Root | null;
1275
+ get_scale_factor(): number;
1276
+ get_sensitive(): boolean;
1277
+ get_settings(): Gtk.Settings;
1278
+ get_size(orientation: Gtk.Orientation): number;
1279
+ get_size_request(): [number, number];
1280
+ get_state_flags(): Gtk.StateFlags;
1281
+ get_style_context(): Gtk.StyleContext;
1282
+ get_template_child<T = GObject.Object>(widget_type: GObject.GType, name: string): T;
1283
+ get_tooltip_markup(): string | null;
1284
+ get_tooltip_text(): string | null;
1285
+ get_valign(): Gtk.Align;
1286
+ get_vexpand(): boolean;
1287
+ get_vexpand_set(): boolean;
1288
+ get_visible(): boolean;
1289
+ get_width(): number;
1290
+ grab_focus(): boolean;
1291
+ has_css_class(css_class: string): boolean;
1292
+ has_visible_focus(): boolean;
1293
+ hide(): void;
1294
+ in_destruction(): boolean;
1295
+ init_template(): void;
1296
+ insert_action_group(name: string, group: import("@girs/gio-2.0").default.ActionGroup | null): void;
1297
+ insert_after(parent: Gtk.Widget, previous_sibling: Gtk.Widget | null): void;
1298
+ insert_before(parent: Gtk.Widget, next_sibling: Gtk.Widget | null): void;
1299
+ is_ancestor(ancestor: Gtk.Widget): boolean;
1300
+ is_drawable(): boolean;
1301
+ is_focus(): boolean;
1302
+ is_sensitive(): boolean;
1303
+ is_visible(): boolean;
1304
+ keynav_failed(direction: Gtk.DirectionType): boolean;
1305
+ list_mnemonic_labels(): Gtk.Widget[];
1306
+ map(): void;
1307
+ measure(orientation: Gtk.Orientation, for_size: number): [number, number, number, number];
1308
+ mnemonic_activate(group_cycling: boolean): boolean;
1309
+ observe_children(): import("@girs/gio-2.0").default.ListModel;
1310
+ observe_controllers(): import("@girs/gio-2.0").default.ListModel;
1311
+ pick(x: number, y: number, flags: Gtk.PickFlags): Gtk.Widget | null;
1312
+ queue_allocate(): void;
1313
+ queue_draw(): void;
1314
+ queue_resize(): void;
1315
+ realize(): void;
1316
+ remove_controller(controller: Gtk.EventController): void;
1317
+ remove_css_class(css_class: string): void;
1318
+ remove_mnemonic_label(label: Gtk.Widget): void;
1319
+ remove_tick_callback(id: number): void;
1320
+ set_can_focus(can_focus: boolean): void;
1321
+ set_can_target(can_target: boolean): void;
1322
+ set_child_visible(child_visible: boolean): void;
1323
+ set_css_classes(classes: string[]): void;
1324
+ set_cursor(cursor: import("@girs/gdk-4.0").default.Cursor | null): void;
1325
+ set_cursor_from_name(name: string | null): void;
1326
+ set_direction(dir: Gtk.TextDirection): void;
1327
+ set_focus_child(child: Gtk.Widget | null): void;
1328
+ set_focus_on_click(focus_on_click: boolean): void;
1329
+ set_focusable(focusable: boolean): void;
1330
+ set_font_map(font_map: import("@girs/pango-1.0").default.FontMap | null): void;
1331
+ set_font_options(options: import("@girs/gjs/cairo").default.FontOptions | null): void;
1332
+ set_halign(align: Gtk.Align): void;
1333
+ set_has_tooltip(has_tooltip: boolean): void;
1334
+ set_hexpand(expand: boolean): void;
1335
+ set_hexpand_set(set: boolean): void;
1336
+ set_layout_manager(layout_manager: Gtk.LayoutManager | null): void;
1337
+ set_limit_events(limit_events: boolean): void;
1338
+ set_margin_bottom(margin: number): void;
1339
+ set_margin_end(margin: number): void;
1340
+ set_margin_start(margin: number): void;
1341
+ set_margin_top(margin: number): void;
1342
+ set_name(name: string): void;
1343
+ set_opacity(opacity: number): void;
1344
+ set_overflow(overflow: Gtk.Overflow): void;
1345
+ set_parent(parent: Gtk.Widget): void;
1346
+ set_receives_default(receives_default: boolean): void;
1347
+ set_sensitive(sensitive: boolean): void;
1348
+ set_size_request(width: number, height: number): void;
1349
+ set_state_flags(flags: Gtk.StateFlags, clear: boolean): void;
1350
+ set_tooltip_markup(markup: string | null): void;
1351
+ set_tooltip_text(text: string | null): void;
1352
+ set_valign(align: Gtk.Align): void;
1353
+ set_vexpand(expand: boolean): void;
1354
+ set_vexpand_set(set: boolean): void;
1355
+ set_visible(visible: boolean): void;
1356
+ should_layout(): boolean;
1357
+ show(): void;
1358
+ size_allocate(allocation: Gtk.Allocation, baseline: number): void;
1359
+ snapshot_child(child: Gtk.Widget, snapshot: Gtk.Snapshot): void;
1360
+ translate_coordinates(dest_widget: Gtk.Widget, src_x: number, src_y: number): [boolean, number, number];
1361
+ trigger_tooltip_query(): void;
1362
+ unmap(): void;
1363
+ unparent(): void;
1364
+ unrealize(): void;
1365
+ unset_state_flags(flags: Gtk.StateFlags): void;
1366
+ [Symbol.iterator]: () => IterableIterator<Gtk.Widget>;
1367
+ vfunc_constructed(): void;
1368
+ vfunc_dispatch_properties_changed(n_pspecs: number, pspecs: GObject.ParamSpec): void;
1369
+ vfunc_dispose(): void;
1370
+ vfunc_finalize(): void;
1371
+ vfunc_get_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
1372
+ vfunc_notify(pspec: GObject.ParamSpec): void;
1373
+ vfunc_set_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
1374
+ bind_property(source_property: string, target: GObject.Object, target_property: string, flags: GObject.BindingFlags): GObject.Binding;
1375
+ bind_property_full(source_property: string, target: GObject.Object, target_property: string, flags: GObject.BindingFlags, transform_to: GObject.Closure | null, transform_from: GObject.Closure | null): GObject.Binding;
1376
+ force_floating(): void;
1377
+ freeze_notify(): void;
1378
+ get_data(key: string): null;
1379
+ get_property(property_name: string, value: GObject.Value | any): any;
1380
+ get_qdata(quark: GLib.Quark): null;
1381
+ getv(names: string[], values: (GObject.Value | any)[]): void;
1382
+ is_floating(): boolean;
1383
+ notify(property_name: string): void;
1384
+ notify_by_pspec(pspec: GObject.ParamSpec): void;
1385
+ ref(): GObject.Object;
1386
+ ref_sink(): GObject.Object;
1387
+ run_dispose(): void;
1388
+ set_data(key: string, data: null): void;
1389
+ set_property(property_name: string, value: GObject.Value | any): void;
1390
+ steal_data(key: string): null;
1391
+ steal_qdata(quark: GLib.Quark): null;
1392
+ thaw_notify(): void;
1393
+ unref(): void;
1394
+ watch_closure(closure: GObject.Closure): void;
1395
+ disconnect(id: number): void;
1396
+ set(properties: {
1397
+ [key: string]: any;
1398
+ }): void;
1399
+ block_signal_handler(id: number): void;
1400
+ unblock_signal_handler(id: number): void;
1401
+ stop_emission_by_name(detailedName: string): void;
1402
+ }, {
1403
+ [key: string]: GObject.ParamSpec<unknown>;
1404
+ }, unknown[]>;
1405
+ $gtype: GObject.GType</*elided*/ any>;
1406
+ prototype: GObject.RegisteredPrototype<{
1407
+ _overlay: Gtk.Overlay;
1408
+ _picture: Gtk.Picture;
1409
+ _video: HTMLVideoElement;
1410
+ _environment: BridgeEnvironment;
1411
+ _timeOrigin: number;
1412
+ _pipeline: Gst.Pipeline | null;
1413
+ _pipelineBus: Gst.Bus | null;
1414
+ _pipelineBusHandlers: number[];
1415
+ _readyCallbacks: VideoReadyCallback[];
1416
+ _resizeCallbacks: ((w: number, h: number) => void)[];
1417
+ _ready: boolean;
1418
+ _controls: {
1419
+ bar: Gtk.Box;
1420
+ playBtn: Gtk.Button;
1421
+ seekAdj: Gtk.Adjustment;
1422
+ seekScale: Gtk.Scale;
1423
+ timeLabel: Gtk.Label;
1424
+ volumeBtn: Gtk.VolumeButton;
1425
+ lastSeekValue: number;
1426
+ lastTimeText: string;
1427
+ } | null;
1428
+ _positionTimerId: number | null;
1429
+ _updatingFromTimer: boolean;
1430
+ _hideTimerId: number | null;
1431
+ get element(): HTMLVideoElement;
1432
+ get videoElement(): HTMLVideoElement;
1433
+ get environment(): BridgeEnvironment;
1434
+ onReady(cb: VideoReadyCallback): void;
1435
+ onResize(cb: (width: number, height: number) => void): void;
1436
+ installGlobals(): void;
1437
+ /**
1438
+ * Show or hide the built-in play/pause + seek + time + volume control bar.
1439
+ * Controls auto-hide after 2 seconds of mouse inactivity.
1440
+ */
1441
+ showControls(show?: boolean): void;
1442
+ _setupAutoHideMotion(controlBar: Gtk.Box): void;
1443
+ _revealControls(): void;
1444
+ _buildControlBar(): NonNullable<{
1445
+ bar: Gtk.Box;
1446
+ playBtn: Gtk.Button;
1447
+ seekAdj: Gtk.Adjustment;
1448
+ seekScale: Gtk.Scale;
1449
+ timeLabel: Gtk.Label;
1450
+ volumeBtn: Gtk.VolumeButton;
1451
+ lastSeekValue: number;
1452
+ lastTimeText: string;
1453
+ }>;
1454
+ _startPositionTimer(): void;
1455
+ _stopPositionTimer(): void;
1456
+ _onSrcObjectChange(): void;
1457
+ _onSrcChange(): void;
1458
+ _attachPipeline(pipeline: Gst.Pipeline, paintable: Parameters<Gtk.Picture["set_paintable"]>[0]): void;
1459
+ _destroyPipeline(): void;
1460
+ get baseline_child(): number;
1461
+ set baseline_child(val: number);
1462
+ get baselineChild(): number;
1463
+ set baselineChild(val: number);
1464
+ get baseline_position(): Gtk.BaselinePosition;
1465
+ set baseline_position(val: Gtk.BaselinePosition);
1466
+ get baselinePosition(): Gtk.BaselinePosition;
1467
+ set baselinePosition(val: Gtk.BaselinePosition);
1468
+ get homogeneous(): boolean;
1469
+ set homogeneous(val: boolean);
1470
+ get spacing(): number;
1471
+ set spacing(val: number);
1472
+ $signals: Gtk.Box.SignalSignatures;
1473
+ _init(...args: any[]): void;
1474
+ connect<K extends keyof Gtk.Box.SignalSignatures>(signal: K, callback: GObject.SignalCallback</*elided*/ any, Gtk.Box.SignalSignatures[K]>): number;
1475
+ connect(signal: string, callback: (...args: any[]) => any): number;
1476
+ connect_after<K extends keyof Gtk.Box.SignalSignatures>(signal: K, callback: GObject.SignalCallback</*elided*/ any, Gtk.Box.SignalSignatures[K]>): number;
1477
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
1478
+ emit<K extends keyof Gtk.Box.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<Gtk.Box.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never): void;
1479
+ emit(signal: string, ...args: any[]): void;
1480
+ append(child: Gtk.Widget): void;
1481
+ get_baseline_child(): number;
1482
+ get_baseline_position(): Gtk.BaselinePosition;
1483
+ get_homogeneous(): boolean;
1484
+ get_spacing(): number;
1485
+ insert_child_after(child: Gtk.Widget, sibling: Gtk.Widget | null): void;
1486
+ prepend(child: Gtk.Widget): void;
1487
+ remove(child: Gtk.Widget): void;
1488
+ reorder_child_after(child: Gtk.Widget, sibling: Gtk.Widget | null): void;
1489
+ set_baseline_child(child: number): void;
1490
+ set_baseline_position(position: Gtk.BaselinePosition): void;
1491
+ set_homogeneous(homogeneous: boolean): void;
1492
+ set_spacing(spacing: number): void;
1493
+ get accessible_role(): Gtk.AccessibleRole;
1494
+ set accessible_role(val: Gtk.AccessibleRole);
1495
+ get accessibleRole(): Gtk.AccessibleRole;
1496
+ set accessibleRole(val: Gtk.AccessibleRole);
1497
+ get orientation(): Gtk.Orientation;
1498
+ set orientation(val: Gtk.Orientation);
1499
+ announce(message: string, priority: Gtk.AccessibleAnnouncementPriority): void;
1500
+ get_accessible_id(): string | null;
1501
+ get_accessible_parent(): Gtk.Accessible | null;
1502
+ get_accessible_role(): Gtk.AccessibleRole;
1503
+ get_at_context(): Gtk.ATContext;
1504
+ get_bounds(): [boolean, number, number, number, number];
1505
+ get_first_accessible_child(): Gtk.Accessible | null;
1506
+ get_next_accessible_sibling(): Gtk.Accessible | null;
1507
+ get_platform_state(state: Gtk.AccessiblePlatformState): boolean;
1508
+ reset_property(property: Gtk.AccessibleProperty): void;
1509
+ reset_relation(relation: Gtk.AccessibleRelation): void;
1510
+ reset_state(state: Gtk.AccessibleState): void;
1511
+ set_accessible_parent(parent: Gtk.Accessible | null, next_sibling: Gtk.Accessible | null): void;
1512
+ update_next_accessible_sibling(new_sibling: Gtk.Accessible | null): void;
1513
+ update_platform_state(state: Gtk.AccessiblePlatformState): void;
1514
+ update_property(properties: Gtk.AccessibleProperty[], values: (GObject.Value | any)[]): void;
1515
+ update_relation(relations: Gtk.AccessibleRelation[], values: (GObject.Value | any)[]): void;
1516
+ update_state(states: Gtk.AccessibleState[], values: (GObject.Value | any)[]): void;
1517
+ vfunc_get_accessible_id(): string | null;
1518
+ vfunc_get_accessible_parent(): Gtk.Accessible | null;
1519
+ vfunc_get_at_context(): Gtk.ATContext | null;
1520
+ vfunc_get_bounds(): [boolean, number, number, number, number];
1521
+ vfunc_get_first_accessible_child(): Gtk.Accessible | null;
1522
+ vfunc_get_next_accessible_sibling(): Gtk.Accessible | null;
1523
+ vfunc_get_platform_state(state: Gtk.AccessiblePlatformState): boolean;
1524
+ get_buildable_id(): string | null;
1525
+ vfunc_add_child(builder: Gtk.Builder, child: GObject.Object, type: string | null): void;
1526
+ vfunc_custom_finished(builder: Gtk.Builder, child: GObject.Object | null, tagname: string, data: null): void;
1527
+ vfunc_custom_tag_end(builder: Gtk.Builder, child: GObject.Object | null, tagname: string, data: null): void;
1528
+ vfunc_custom_tag_start(builder: Gtk.Builder, child: GObject.Object | null, tagname: string): [boolean, Gtk.BuildableParser, never];
1529
+ vfunc_get_id(): string;
1530
+ vfunc_get_internal_child<T = GObject.Object>(builder: Gtk.Builder, childname: string): T;
1531
+ vfunc_parser_finished(builder: Gtk.Builder): void;
1532
+ vfunc_set_buildable_property(builder: Gtk.Builder, name: string, value: unknown): void;
1533
+ vfunc_set_id(id: string): void;
1534
+ get_orientation(): Gtk.Orientation;
1535
+ set_orientation(orientation: Gtk.Orientation): void;
1536
+ get can_focus(): boolean;
1537
+ set can_focus(val: boolean);
1538
+ get canFocus(): boolean;
1539
+ set canFocus(val: boolean);
1540
+ get can_target(): boolean;
1541
+ set can_target(val: boolean);
1542
+ get canTarget(): boolean;
1543
+ set canTarget(val: boolean);
1544
+ get css_classes(): string[];
1545
+ set css_classes(val: string[]);
1546
+ get cssClasses(): string[];
1547
+ set cssClasses(val: string[]);
1548
+ get css_name(): string;
1549
+ get cssName(): string;
1550
+ get cursor(): import("@girs/gdk-4.0").default.Cursor | null;
1551
+ set cursor(val: import("@girs/gdk-4.0").default.Cursor | null);
1552
+ get focus_on_click(): boolean;
1553
+ set focus_on_click(val: boolean);
1554
+ get focusOnClick(): boolean;
1555
+ set focusOnClick(val: boolean);
1556
+ get focusable(): boolean;
1557
+ set focusable(val: boolean);
1558
+ get halign(): Gtk.Align;
1559
+ set halign(val: Gtk.Align);
1560
+ get has_default(): boolean;
1561
+ get hasDefault(): boolean;
1562
+ get has_focus(): boolean;
1563
+ get hasFocus(): boolean;
1564
+ get has_tooltip(): boolean;
1565
+ set has_tooltip(val: boolean);
1566
+ get hasTooltip(): boolean;
1567
+ set hasTooltip(val: boolean);
1568
+ get height_request(): number;
1569
+ set height_request(val: number);
1570
+ get heightRequest(): number;
1571
+ set heightRequest(val: number);
1572
+ get hexpand(): boolean;
1573
+ set hexpand(val: boolean);
1574
+ get hexpand_set(): boolean;
1575
+ set hexpand_set(val: boolean);
1576
+ get hexpandSet(): boolean;
1577
+ set hexpandSet(val: boolean);
1578
+ get layout_manager(): Gtk.LayoutManager | null;
1579
+ set layout_manager(val: Gtk.LayoutManager | null);
1580
+ get layoutManager(): Gtk.LayoutManager | null;
1581
+ set layoutManager(val: Gtk.LayoutManager | null);
1582
+ get limit_events(): boolean;
1583
+ set limit_events(val: boolean);
1584
+ get limitEvents(): boolean;
1585
+ set limitEvents(val: boolean);
1586
+ get margin_bottom(): number;
1587
+ set margin_bottom(val: number);
1588
+ get marginBottom(): number;
1589
+ set marginBottom(val: number);
1590
+ get margin_end(): number;
1591
+ set margin_end(val: number);
1592
+ get marginEnd(): number;
1593
+ set marginEnd(val: number);
1594
+ get margin_start(): number;
1595
+ set margin_start(val: number);
1596
+ get marginStart(): number;
1597
+ set marginStart(val: number);
1598
+ get margin_top(): number;
1599
+ set margin_top(val: number);
1600
+ get marginTop(): number;
1601
+ set marginTop(val: number);
1602
+ get name(): string;
1603
+ set name(val: string);
1604
+ get opacity(): number;
1605
+ set opacity(val: number);
1606
+ get overflow(): Gtk.Overflow;
1607
+ set overflow(val: Gtk.Overflow);
1608
+ get parent(): Gtk.Widget | null;
1609
+ get receives_default(): boolean;
1610
+ set receives_default(val: boolean);
1611
+ get receivesDefault(): boolean;
1612
+ set receivesDefault(val: boolean);
1613
+ get root(): Gtk.Root | null;
1614
+ get scale_factor(): number;
1615
+ get scaleFactor(): number;
1616
+ get sensitive(): boolean;
1617
+ set sensitive(val: boolean);
1618
+ get tooltip_markup(): string | null;
1619
+ set tooltip_markup(val: string | null);
1620
+ get tooltipMarkup(): string | null;
1621
+ set tooltipMarkup(val: string | null);
1622
+ get tooltip_text(): string | null;
1623
+ set tooltip_text(val: string | null);
1624
+ get tooltipText(): string | null;
1625
+ set tooltipText(val: string | null);
1626
+ get valign(): Gtk.Align;
1627
+ set valign(val: Gtk.Align);
1628
+ get vexpand(): boolean;
1629
+ set vexpand(val: boolean);
1630
+ get vexpand_set(): boolean;
1631
+ set vexpand_set(val: boolean);
1632
+ get vexpandSet(): boolean;
1633
+ set vexpandSet(val: boolean);
1634
+ get visible(): boolean;
1635
+ set visible(val: boolean);
1636
+ get width_request(): number;
1637
+ set width_request(val: number);
1638
+ get widthRequest(): number;
1639
+ set widthRequest(val: number);
1640
+ vfunc_compute_expand(hexpand_p: boolean, vexpand_p: boolean): void;
1641
+ vfunc_contains(x: number, y: number): boolean;
1642
+ vfunc_css_changed(change: Gtk.CssStyleChange): void;
1643
+ vfunc_direction_changed(previous_direction: Gtk.TextDirection): void;
1644
+ vfunc_focus(direction: Gtk.DirectionType): boolean;
1645
+ vfunc_get_request_mode(): Gtk.SizeRequestMode;
1646
+ vfunc_grab_focus(): boolean;
1647
+ vfunc_hide(): void;
1648
+ vfunc_keynav_failed(direction: Gtk.DirectionType): boolean;
1649
+ vfunc_map(): void;
1650
+ vfunc_measure(orientation: Gtk.Orientation, for_size: number): [number, number, number, number];
1651
+ vfunc_mnemonic_activate(group_cycling: boolean): boolean;
1652
+ vfunc_move_focus(direction: Gtk.DirectionType): void;
1653
+ vfunc_query_tooltip(x: number, y: number, keyboard_tooltip: boolean, tooltip: Gtk.Tooltip): boolean;
1654
+ vfunc_realize(): void;
1655
+ vfunc_root(): void;
1656
+ vfunc_set_focus_child(child: Gtk.Widget | null): void;
1657
+ vfunc_show(): void;
1658
+ vfunc_size_allocate(width: number, height: number, baseline: number): void;
1659
+ vfunc_snapshot(snapshot: Gtk.Snapshot): void;
1660
+ vfunc_state_flags_changed(previous_state_flags: Gtk.StateFlags): void;
1661
+ vfunc_system_setting_changed(settings: Gtk.SystemSetting): void;
1662
+ vfunc_unmap(): void;
1663
+ vfunc_unrealize(): void;
1664
+ vfunc_unroot(): void;
1665
+ action_set_enabled(action_name: string, enabled: boolean): void;
1666
+ activate(): boolean;
1667
+ activate_action(name: string, args: GLib.Variant | null): boolean;
1668
+ activate_default(): void;
1669
+ add_controller(controller: Gtk.EventController): void;
1670
+ add_css_class(css_class: string): void;
1671
+ add_mnemonic_label(label: Gtk.Widget): void;
1672
+ add_tick_callback(callback: Gtk.TickCallback): number;
1673
+ allocate(width: number, height: number, baseline: number, transform: import("@girs/gsk-4.0").default.Transform | null): void;
1674
+ child_focus(direction: Gtk.DirectionType): boolean;
1675
+ compute_bounds(target: Gtk.Widget): [boolean, import("@girs/graphene-1.0").default.Rect];
1676
+ compute_expand(orientation: Gtk.Orientation): boolean;
1677
+ compute_point(target: Gtk.Widget, point: import("@girs/graphene-1.0").default.Point): [boolean, import("@girs/graphene-1.0").default.Point];
1678
+ compute_transform(target: Gtk.Widget): [boolean, import("@girs/graphene-1.0").default.Matrix];
1679
+ contains(x: number, y: number): boolean;
1680
+ create_pango_context(): import("@girs/pango-1.0").default.Context;
1681
+ create_pango_layout(text: string | null): import("@girs/pango-1.0").default.Layout;
1682
+ dispose_template(widget_type: GObject.GType): void;
1683
+ drag_check_threshold(start_x: number, start_y: number, current_x: number, current_y: number): boolean;
1684
+ error_bell(): void;
1685
+ get_allocated_baseline(): number;
1686
+ get_allocated_height(): number;
1687
+ get_allocated_width(): number;
1688
+ get_allocation(): Gtk.Allocation;
1689
+ get_ancestor(widget_type: GObject.GType): Gtk.Widget | null;
1690
+ get_baseline(): number;
1691
+ get_can_focus(): boolean;
1692
+ get_can_target(): boolean;
1693
+ get_child_visible(): boolean;
1694
+ get_clipboard(): import("@girs/gdk-4.0").default.Clipboard;
1695
+ get_color(): import("@girs/gdk-4.0").default.RGBA;
1696
+ get_css_classes(): string[];
1697
+ get_css_name(): string;
1698
+ get_cursor(): import("@girs/gdk-4.0").default.Cursor | null;
1699
+ get_direction(): Gtk.TextDirection;
1700
+ get_display(): import("@girs/gdk-4.0").default.Display;
1701
+ get_first_child(): Gtk.Widget | null;
1702
+ get_focus_child(): Gtk.Widget | null;
1703
+ get_focus_on_click(): boolean;
1704
+ get_focusable(): boolean;
1705
+ get_font_map(): import("@girs/pango-1.0").default.FontMap | null;
1706
+ get_font_options(): import("@girs/gjs/cairo").default.FontOptions | null;
1707
+ get_frame_clock(): import("@girs/gdk-4.0").default.FrameClock | null;
1708
+ get_halign(): Gtk.Align;
1709
+ get_has_tooltip(): boolean;
1710
+ get_height(): number;
1711
+ get_hexpand(): boolean;
1712
+ get_hexpand_set(): boolean;
1713
+ get_last_child(): Gtk.Widget | null;
1714
+ get_layout_manager(): Gtk.LayoutManager | null;
1715
+ get_limit_events(): boolean;
1716
+ get_mapped(): boolean;
1717
+ get_margin_bottom(): number;
1718
+ get_margin_end(): number;
1719
+ get_margin_start(): number;
1720
+ get_margin_top(): number;
1721
+ get_name(): string;
1722
+ get_native(): Gtk.Native | null;
1723
+ get_next_sibling(): Gtk.Widget | null;
1724
+ get_opacity(): number;
1725
+ get_overflow(): Gtk.Overflow;
1726
+ get_pango_context(): import("@girs/pango-1.0").default.Context;
1727
+ get_parent(): Gtk.Widget | null;
1728
+ get_preferred_size(): [Gtk.Requisition | null, Gtk.Requisition | null];
1729
+ get_prev_sibling(): Gtk.Widget | null;
1730
+ get_primary_clipboard(): import("@girs/gdk-4.0").default.Clipboard;
1731
+ get_realized(): boolean;
1732
+ get_receives_default(): boolean;
1733
+ get_request_mode(): Gtk.SizeRequestMode;
1734
+ get_root(): Gtk.Root | null;
1735
+ get_scale_factor(): number;
1736
+ get_sensitive(): boolean;
1737
+ get_settings(): Gtk.Settings;
1738
+ get_size(orientation: Gtk.Orientation): number;
1739
+ get_size_request(): [number, number];
1740
+ get_state_flags(): Gtk.StateFlags;
1741
+ get_style_context(): Gtk.StyleContext;
1742
+ get_template_child<T = GObject.Object>(widget_type: GObject.GType, name: string): T;
1743
+ get_tooltip_markup(): string | null;
1744
+ get_tooltip_text(): string | null;
1745
+ get_valign(): Gtk.Align;
1746
+ get_vexpand(): boolean;
1747
+ get_vexpand_set(): boolean;
1748
+ get_visible(): boolean;
1749
+ get_width(): number;
1750
+ grab_focus(): boolean;
1751
+ has_css_class(css_class: string): boolean;
1752
+ has_visible_focus(): boolean;
1753
+ hide(): void;
1754
+ in_destruction(): boolean;
1755
+ init_template(): void;
1756
+ insert_action_group(name: string, group: import("@girs/gio-2.0").default.ActionGroup | null): void;
1757
+ insert_after(parent: Gtk.Widget, previous_sibling: Gtk.Widget | null): void;
1758
+ insert_before(parent: Gtk.Widget, next_sibling: Gtk.Widget | null): void;
1759
+ is_ancestor(ancestor: Gtk.Widget): boolean;
1760
+ is_drawable(): boolean;
1761
+ is_focus(): boolean;
1762
+ is_sensitive(): boolean;
1763
+ is_visible(): boolean;
1764
+ keynav_failed(direction: Gtk.DirectionType): boolean;
1765
+ list_mnemonic_labels(): Gtk.Widget[];
1766
+ map(): void;
1767
+ measure(orientation: Gtk.Orientation, for_size: number): [number, number, number, number];
1768
+ mnemonic_activate(group_cycling: boolean): boolean;
1769
+ observe_children(): import("@girs/gio-2.0").default.ListModel;
1770
+ observe_controllers(): import("@girs/gio-2.0").default.ListModel;
1771
+ pick(x: number, y: number, flags: Gtk.PickFlags): Gtk.Widget | null;
1772
+ queue_allocate(): void;
1773
+ queue_draw(): void;
1774
+ queue_resize(): void;
1775
+ realize(): void;
1776
+ remove_controller(controller: Gtk.EventController): void;
1777
+ remove_css_class(css_class: string): void;
1778
+ remove_mnemonic_label(label: Gtk.Widget): void;
1779
+ remove_tick_callback(id: number): void;
1780
+ set_can_focus(can_focus: boolean): void;
1781
+ set_can_target(can_target: boolean): void;
1782
+ set_child_visible(child_visible: boolean): void;
1783
+ set_css_classes(classes: string[]): void;
1784
+ set_cursor(cursor: import("@girs/gdk-4.0").default.Cursor | null): void;
1785
+ set_cursor_from_name(name: string | null): void;
1786
+ set_direction(dir: Gtk.TextDirection): void;
1787
+ set_focus_child(child: Gtk.Widget | null): void;
1788
+ set_focus_on_click(focus_on_click: boolean): void;
1789
+ set_focusable(focusable: boolean): void;
1790
+ set_font_map(font_map: import("@girs/pango-1.0").default.FontMap | null): void;
1791
+ set_font_options(options: import("@girs/gjs/cairo").default.FontOptions | null): void;
1792
+ set_halign(align: Gtk.Align): void;
1793
+ set_has_tooltip(has_tooltip: boolean): void;
1794
+ set_hexpand(expand: boolean): void;
1795
+ set_hexpand_set(set: boolean): void;
1796
+ set_layout_manager(layout_manager: Gtk.LayoutManager | null): void;
1797
+ set_limit_events(limit_events: boolean): void;
1798
+ set_margin_bottom(margin: number): void;
1799
+ set_margin_end(margin: number): void;
1800
+ set_margin_start(margin: number): void;
1801
+ set_margin_top(margin: number): void;
1802
+ set_name(name: string): void;
1803
+ set_opacity(opacity: number): void;
1804
+ set_overflow(overflow: Gtk.Overflow): void;
1805
+ set_parent(parent: Gtk.Widget): void;
1806
+ set_receives_default(receives_default: boolean): void;
1807
+ set_sensitive(sensitive: boolean): void;
1808
+ set_size_request(width: number, height: number): void;
1809
+ set_state_flags(flags: Gtk.StateFlags, clear: boolean): void;
1810
+ set_tooltip_markup(markup: string | null): void;
1811
+ set_tooltip_text(text: string | null): void;
1812
+ set_valign(align: Gtk.Align): void;
1813
+ set_vexpand(expand: boolean): void;
1814
+ set_vexpand_set(set: boolean): void;
1815
+ set_visible(visible: boolean): void;
1816
+ should_layout(): boolean;
1817
+ show(): void;
1818
+ size_allocate(allocation: Gtk.Allocation, baseline: number): void;
1819
+ snapshot_child(child: Gtk.Widget, snapshot: Gtk.Snapshot): void;
1820
+ translate_coordinates(dest_widget: Gtk.Widget, src_x: number, src_y: number): [boolean, number, number];
1821
+ trigger_tooltip_query(): void;
1822
+ unmap(): void;
1823
+ unparent(): void;
1824
+ unrealize(): void;
1825
+ unset_state_flags(flags: Gtk.StateFlags): void;
1826
+ [Symbol.iterator]: () => IterableIterator<Gtk.Widget>;
1827
+ vfunc_constructed(): void;
1828
+ vfunc_dispatch_properties_changed(n_pspecs: number, pspecs: GObject.ParamSpec): void;
1829
+ vfunc_dispose(): void;
1830
+ vfunc_finalize(): void;
1831
+ vfunc_get_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
1832
+ vfunc_notify(pspec: GObject.ParamSpec): void;
1833
+ vfunc_set_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
1834
+ bind_property(source_property: string, target: GObject.Object, target_property: string, flags: GObject.BindingFlags): GObject.Binding;
1835
+ bind_property_full(source_property: string, target: GObject.Object, target_property: string, flags: GObject.BindingFlags, transform_to: GObject.Closure | null, transform_from: GObject.Closure | null): GObject.Binding;
1836
+ force_floating(): void;
1837
+ freeze_notify(): void;
1838
+ get_data(key: string): null;
1839
+ get_property(property_name: string, value: GObject.Value | any): any;
1840
+ get_qdata(quark: GLib.Quark): null;
1841
+ getv(names: string[], values: (GObject.Value | any)[]): void;
1842
+ is_floating(): boolean;
1843
+ notify(property_name: string): void;
1844
+ notify_by_pspec(pspec: GObject.ParamSpec): void;
1845
+ ref(): GObject.Object;
1846
+ ref_sink(): GObject.Object;
1847
+ run_dispose(): void;
1848
+ set_data(key: string, data: null): void;
1849
+ set_property(property_name: string, value: GObject.Value | any): void;
1850
+ steal_data(key: string): null;
1851
+ steal_qdata(quark: GLib.Quark): null;
1852
+ thaw_notify(): void;
1853
+ unref(): void;
1854
+ watch_closure(closure: GObject.Closure): void;
1855
+ disconnect(id: number): void;
1856
+ set(properties: {
1857
+ [key: string]: any;
1858
+ }): void;
1859
+ block_signal_handler(id: number): void;
1860
+ unblock_signal_handler(id: number): void;
1861
+ stop_emission_by_name(detailedName: string): void;
1862
+ }, {
1863
+ [key: string]: GObject.ParamSpec<unknown>;
1864
+ }, unknown[]>;
1865
+ }>;
1866
+ prototype: GObject.RegisteredPrototype<{
1867
+ _overlay: Gtk.Overlay;
1868
+ _picture: Gtk.Picture;
1869
+ _video: HTMLVideoElement;
1870
+ _environment: BridgeEnvironment;
1871
+ _timeOrigin: number;
1872
+ _pipeline: Gst.Pipeline | null;
1873
+ _pipelineBus: Gst.Bus | null;
1874
+ _pipelineBusHandlers: number[];
1875
+ _readyCallbacks: VideoReadyCallback[];
1876
+ _resizeCallbacks: ((w: number, h: number) => void)[];
1877
+ _ready: boolean;
1878
+ _controls: {
1879
+ bar: Gtk.Box;
1880
+ playBtn: Gtk.Button;
1881
+ seekAdj: Gtk.Adjustment;
1882
+ seekScale: Gtk.Scale;
1883
+ timeLabel: Gtk.Label;
1884
+ volumeBtn: Gtk.VolumeButton;
1885
+ lastSeekValue: number;
1886
+ lastTimeText: string;
1887
+ } | null;
1888
+ _positionTimerId: number | null;
1889
+ _updatingFromTimer: boolean;
1890
+ _hideTimerId: number | null;
1891
+ get element(): HTMLVideoElement;
1892
+ get videoElement(): HTMLVideoElement;
1893
+ get environment(): BridgeEnvironment;
1894
+ onReady(cb: VideoReadyCallback): void;
1895
+ onResize(cb: (width: number, height: number) => void): void;
1896
+ installGlobals(): void;
1897
+ /**
1898
+ * Show or hide the built-in play/pause + seek + time + volume control bar.
1899
+ * Controls auto-hide after 2 seconds of mouse inactivity.
1900
+ */
1901
+ showControls(show?: boolean): void;
1902
+ _setupAutoHideMotion(controlBar: Gtk.Box): void;
1903
+ _revealControls(): void;
1904
+ _buildControlBar(): NonNullable<{
1905
+ bar: Gtk.Box;
1906
+ playBtn: Gtk.Button;
1907
+ seekAdj: Gtk.Adjustment;
1908
+ seekScale: Gtk.Scale;
1909
+ timeLabel: Gtk.Label;
1910
+ volumeBtn: Gtk.VolumeButton;
1911
+ lastSeekValue: number;
1912
+ lastTimeText: string;
1913
+ }>;
1914
+ _startPositionTimer(): void;
1915
+ _stopPositionTimer(): void;
1916
+ _onSrcObjectChange(): void;
1917
+ _onSrcChange(): void;
1918
+ _attachPipeline(pipeline: Gst.Pipeline, paintable: Parameters<Gtk.Picture["set_paintable"]>[0]): void;
1919
+ _destroyPipeline(): void;
1920
+ get baseline_child(): number;
1921
+ set baseline_child(val: number);
1922
+ get baselineChild(): number;
1923
+ set baselineChild(val: number);
1924
+ get baseline_position(): Gtk.BaselinePosition;
1925
+ set baseline_position(val: Gtk.BaselinePosition);
1926
+ get baselinePosition(): Gtk.BaselinePosition;
1927
+ set baselinePosition(val: Gtk.BaselinePosition);
1928
+ get homogeneous(): boolean;
1929
+ set homogeneous(val: boolean);
1930
+ get spacing(): number;
1931
+ set spacing(val: number);
1932
+ $signals: Gtk.Box.SignalSignatures;
1933
+ _init(...args: any[]): void;
1934
+ connect<K extends keyof Gtk.Box.SignalSignatures>(signal: K, callback: GObject.SignalCallback</*elided*/ any, Gtk.Box.SignalSignatures[K]>): number;
1935
+ connect(signal: string, callback: (...args: any[]) => any): number;
1936
+ connect_after<K extends keyof Gtk.Box.SignalSignatures>(signal: K, callback: GObject.SignalCallback</*elided*/ any, Gtk.Box.SignalSignatures[K]>): number;
1937
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
1938
+ emit<K extends keyof Gtk.Box.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<Gtk.Box.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never): void;
1939
+ emit(signal: string, ...args: any[]): void;
1940
+ append(child: Gtk.Widget): void;
1941
+ get_baseline_child(): number;
1942
+ get_baseline_position(): Gtk.BaselinePosition;
1943
+ get_homogeneous(): boolean;
1944
+ get_spacing(): number;
1945
+ insert_child_after(child: Gtk.Widget, sibling: Gtk.Widget | null): void;
1946
+ prepend(child: Gtk.Widget): void;
1947
+ remove(child: Gtk.Widget): void;
1948
+ reorder_child_after(child: Gtk.Widget, sibling: Gtk.Widget | null): void;
1949
+ set_baseline_child(child: number): void;
1950
+ set_baseline_position(position: Gtk.BaselinePosition): void;
1951
+ set_homogeneous(homogeneous: boolean): void;
1952
+ set_spacing(spacing: number): void;
1953
+ get accessible_role(): Gtk.AccessibleRole;
1954
+ set accessible_role(val: Gtk.AccessibleRole);
1955
+ get accessibleRole(): Gtk.AccessibleRole;
1956
+ set accessibleRole(val: Gtk.AccessibleRole);
1957
+ get orientation(): Gtk.Orientation;
1958
+ set orientation(val: Gtk.Orientation);
1959
+ announce(message: string, priority: Gtk.AccessibleAnnouncementPriority): void;
1960
+ get_accessible_id(): string | null;
1961
+ get_accessible_parent(): Gtk.Accessible | null;
1962
+ get_accessible_role(): Gtk.AccessibleRole;
1963
+ get_at_context(): Gtk.ATContext;
1964
+ get_bounds(): [boolean, number, number, number, number];
1965
+ get_first_accessible_child(): Gtk.Accessible | null;
1966
+ get_next_accessible_sibling(): Gtk.Accessible | null;
1967
+ get_platform_state(state: Gtk.AccessiblePlatformState): boolean;
1968
+ reset_property(property: Gtk.AccessibleProperty): void;
1969
+ reset_relation(relation: Gtk.AccessibleRelation): void;
1970
+ reset_state(state: Gtk.AccessibleState): void;
1971
+ set_accessible_parent(parent: Gtk.Accessible | null, next_sibling: Gtk.Accessible | null): void;
1972
+ update_next_accessible_sibling(new_sibling: Gtk.Accessible | null): void;
1973
+ update_platform_state(state: Gtk.AccessiblePlatformState): void;
1974
+ update_property(properties: Gtk.AccessibleProperty[], values: (GObject.Value | any)[]): void;
1975
+ update_relation(relations: Gtk.AccessibleRelation[], values: (GObject.Value | any)[]): void;
1976
+ update_state(states: Gtk.AccessibleState[], values: (GObject.Value | any)[]): void;
1977
+ vfunc_get_accessible_id(): string | null;
1978
+ vfunc_get_accessible_parent(): Gtk.Accessible | null;
1979
+ vfunc_get_at_context(): Gtk.ATContext | null;
1980
+ vfunc_get_bounds(): [boolean, number, number, number, number];
1981
+ vfunc_get_first_accessible_child(): Gtk.Accessible | null;
1982
+ vfunc_get_next_accessible_sibling(): Gtk.Accessible | null;
1983
+ vfunc_get_platform_state(state: Gtk.AccessiblePlatformState): boolean;
1984
+ get_buildable_id(): string | null;
1985
+ vfunc_add_child(builder: Gtk.Builder, child: GObject.Object, type: string | null): void;
1986
+ vfunc_custom_finished(builder: Gtk.Builder, child: GObject.Object | null, tagname: string, data: null): void;
1987
+ vfunc_custom_tag_end(builder: Gtk.Builder, child: GObject.Object | null, tagname: string, data: null): void;
1988
+ vfunc_custom_tag_start(builder: Gtk.Builder, child: GObject.Object | null, tagname: string): [boolean, Gtk.BuildableParser, never];
1989
+ vfunc_get_id(): string;
1990
+ vfunc_get_internal_child<T = GObject.Object>(builder: Gtk.Builder, childname: string): T;
1991
+ vfunc_parser_finished(builder: Gtk.Builder): void;
1992
+ vfunc_set_buildable_property(builder: Gtk.Builder, name: string, value: unknown): void;
1993
+ vfunc_set_id(id: string): void;
1994
+ get_orientation(): Gtk.Orientation;
1995
+ set_orientation(orientation: Gtk.Orientation): void;
1996
+ get can_focus(): boolean;
1997
+ set can_focus(val: boolean);
1998
+ get canFocus(): boolean;
1999
+ set canFocus(val: boolean);
2000
+ get can_target(): boolean;
2001
+ set can_target(val: boolean);
2002
+ get canTarget(): boolean;
2003
+ set canTarget(val: boolean);
2004
+ get css_classes(): string[];
2005
+ set css_classes(val: string[]);
2006
+ get cssClasses(): string[];
2007
+ set cssClasses(val: string[]);
2008
+ get css_name(): string;
2009
+ get cssName(): string;
2010
+ get cursor(): import("@girs/gdk-4.0").default.Cursor | null;
2011
+ set cursor(val: import("@girs/gdk-4.0").default.Cursor | null);
2012
+ get focus_on_click(): boolean;
2013
+ set focus_on_click(val: boolean);
2014
+ get focusOnClick(): boolean;
2015
+ set focusOnClick(val: boolean);
2016
+ get focusable(): boolean;
2017
+ set focusable(val: boolean);
2018
+ get halign(): Gtk.Align;
2019
+ set halign(val: Gtk.Align);
2020
+ get has_default(): boolean;
2021
+ get hasDefault(): boolean;
2022
+ get has_focus(): boolean;
2023
+ get hasFocus(): boolean;
2024
+ get has_tooltip(): boolean;
2025
+ set has_tooltip(val: boolean);
2026
+ get hasTooltip(): boolean;
2027
+ set hasTooltip(val: boolean);
2028
+ get height_request(): number;
2029
+ set height_request(val: number);
2030
+ get heightRequest(): number;
2031
+ set heightRequest(val: number);
2032
+ get hexpand(): boolean;
2033
+ set hexpand(val: boolean);
2034
+ get hexpand_set(): boolean;
2035
+ set hexpand_set(val: boolean);
2036
+ get hexpandSet(): boolean;
2037
+ set hexpandSet(val: boolean);
2038
+ get layout_manager(): Gtk.LayoutManager | null;
2039
+ set layout_manager(val: Gtk.LayoutManager | null);
2040
+ get layoutManager(): Gtk.LayoutManager | null;
2041
+ set layoutManager(val: Gtk.LayoutManager | null);
2042
+ get limit_events(): boolean;
2043
+ set limit_events(val: boolean);
2044
+ get limitEvents(): boolean;
2045
+ set limitEvents(val: boolean);
2046
+ get margin_bottom(): number;
2047
+ set margin_bottom(val: number);
2048
+ get marginBottom(): number;
2049
+ set marginBottom(val: number);
2050
+ get margin_end(): number;
2051
+ set margin_end(val: number);
2052
+ get marginEnd(): number;
2053
+ set marginEnd(val: number);
2054
+ get margin_start(): number;
2055
+ set margin_start(val: number);
2056
+ get marginStart(): number;
2057
+ set marginStart(val: number);
2058
+ get margin_top(): number;
2059
+ set margin_top(val: number);
2060
+ get marginTop(): number;
2061
+ set marginTop(val: number);
2062
+ get name(): string;
2063
+ set name(val: string);
2064
+ get opacity(): number;
2065
+ set opacity(val: number);
2066
+ get overflow(): Gtk.Overflow;
2067
+ set overflow(val: Gtk.Overflow);
2068
+ get parent(): Gtk.Widget | null;
2069
+ get receives_default(): boolean;
2070
+ set receives_default(val: boolean);
2071
+ get receivesDefault(): boolean;
2072
+ set receivesDefault(val: boolean);
2073
+ get root(): Gtk.Root | null;
2074
+ get scale_factor(): number;
2075
+ get scaleFactor(): number;
2076
+ get sensitive(): boolean;
2077
+ set sensitive(val: boolean);
2078
+ get tooltip_markup(): string | null;
2079
+ set tooltip_markup(val: string | null);
2080
+ get tooltipMarkup(): string | null;
2081
+ set tooltipMarkup(val: string | null);
2082
+ get tooltip_text(): string | null;
2083
+ set tooltip_text(val: string | null);
2084
+ get tooltipText(): string | null;
2085
+ set tooltipText(val: string | null);
2086
+ get valign(): Gtk.Align;
2087
+ set valign(val: Gtk.Align);
2088
+ get vexpand(): boolean;
2089
+ set vexpand(val: boolean);
2090
+ get vexpand_set(): boolean;
2091
+ set vexpand_set(val: boolean);
2092
+ get vexpandSet(): boolean;
2093
+ set vexpandSet(val: boolean);
2094
+ get visible(): boolean;
2095
+ set visible(val: boolean);
2096
+ get width_request(): number;
2097
+ set width_request(val: number);
2098
+ get widthRequest(): number;
2099
+ set widthRequest(val: number);
2100
+ vfunc_compute_expand(hexpand_p: boolean, vexpand_p: boolean): void;
2101
+ vfunc_contains(x: number, y: number): boolean;
2102
+ vfunc_css_changed(change: Gtk.CssStyleChange): void;
2103
+ vfunc_direction_changed(previous_direction: Gtk.TextDirection): void;
2104
+ vfunc_focus(direction: Gtk.DirectionType): boolean;
2105
+ vfunc_get_request_mode(): Gtk.SizeRequestMode;
2106
+ vfunc_grab_focus(): boolean;
2107
+ vfunc_hide(): void;
2108
+ vfunc_keynav_failed(direction: Gtk.DirectionType): boolean;
2109
+ vfunc_map(): void;
2110
+ vfunc_measure(orientation: Gtk.Orientation, for_size: number): [number, number, number, number];
2111
+ vfunc_mnemonic_activate(group_cycling: boolean): boolean;
2112
+ vfunc_move_focus(direction: Gtk.DirectionType): void;
2113
+ vfunc_query_tooltip(x: number, y: number, keyboard_tooltip: boolean, tooltip: Gtk.Tooltip): boolean;
2114
+ vfunc_realize(): void;
2115
+ vfunc_root(): void;
2116
+ vfunc_set_focus_child(child: Gtk.Widget | null): void;
2117
+ vfunc_show(): void;
2118
+ vfunc_size_allocate(width: number, height: number, baseline: number): void;
2119
+ vfunc_snapshot(snapshot: Gtk.Snapshot): void;
2120
+ vfunc_state_flags_changed(previous_state_flags: Gtk.StateFlags): void;
2121
+ vfunc_system_setting_changed(settings: Gtk.SystemSetting): void;
2122
+ vfunc_unmap(): void;
2123
+ vfunc_unrealize(): void;
2124
+ vfunc_unroot(): void;
2125
+ action_set_enabled(action_name: string, enabled: boolean): void;
2126
+ activate(): boolean;
2127
+ activate_action(name: string, args: GLib.Variant | null): boolean;
2128
+ activate_default(): void;
2129
+ add_controller(controller: Gtk.EventController): void;
2130
+ add_css_class(css_class: string): void;
2131
+ add_mnemonic_label(label: Gtk.Widget): void;
2132
+ add_tick_callback(callback: Gtk.TickCallback): number;
2133
+ allocate(width: number, height: number, baseline: number, transform: import("@girs/gsk-4.0").default.Transform | null): void;
2134
+ child_focus(direction: Gtk.DirectionType): boolean;
2135
+ compute_bounds(target: Gtk.Widget): [boolean, import("@girs/graphene-1.0").default.Rect];
2136
+ compute_expand(orientation: Gtk.Orientation): boolean;
2137
+ compute_point(target: Gtk.Widget, point: import("@girs/graphene-1.0").default.Point): [boolean, import("@girs/graphene-1.0").default.Point];
2138
+ compute_transform(target: Gtk.Widget): [boolean, import("@girs/graphene-1.0").default.Matrix];
2139
+ contains(x: number, y: number): boolean;
2140
+ create_pango_context(): import("@girs/pango-1.0").default.Context;
2141
+ create_pango_layout(text: string | null): import("@girs/pango-1.0").default.Layout;
2142
+ dispose_template(widget_type: GObject.GType): void;
2143
+ drag_check_threshold(start_x: number, start_y: number, current_x: number, current_y: number): boolean;
2144
+ error_bell(): void;
2145
+ get_allocated_baseline(): number;
2146
+ get_allocated_height(): number;
2147
+ get_allocated_width(): number;
2148
+ get_allocation(): Gtk.Allocation;
2149
+ get_ancestor(widget_type: GObject.GType): Gtk.Widget | null;
2150
+ get_baseline(): number;
2151
+ get_can_focus(): boolean;
2152
+ get_can_target(): boolean;
2153
+ get_child_visible(): boolean;
2154
+ get_clipboard(): import("@girs/gdk-4.0").default.Clipboard;
2155
+ get_color(): import("@girs/gdk-4.0").default.RGBA;
2156
+ get_css_classes(): string[];
2157
+ get_css_name(): string;
2158
+ get_cursor(): import("@girs/gdk-4.0").default.Cursor | null;
2159
+ get_direction(): Gtk.TextDirection;
2160
+ get_display(): import("@girs/gdk-4.0").default.Display;
2161
+ get_first_child(): Gtk.Widget | null;
2162
+ get_focus_child(): Gtk.Widget | null;
2163
+ get_focus_on_click(): boolean;
2164
+ get_focusable(): boolean;
2165
+ get_font_map(): import("@girs/pango-1.0").default.FontMap | null;
2166
+ get_font_options(): import("@girs/gjs/cairo").default.FontOptions | null;
2167
+ get_frame_clock(): import("@girs/gdk-4.0").default.FrameClock | null;
2168
+ get_halign(): Gtk.Align;
2169
+ get_has_tooltip(): boolean;
2170
+ get_height(): number;
2171
+ get_hexpand(): boolean;
2172
+ get_hexpand_set(): boolean;
2173
+ get_last_child(): Gtk.Widget | null;
2174
+ get_layout_manager(): Gtk.LayoutManager | null;
2175
+ get_limit_events(): boolean;
2176
+ get_mapped(): boolean;
2177
+ get_margin_bottom(): number;
2178
+ get_margin_end(): number;
2179
+ get_margin_start(): number;
2180
+ get_margin_top(): number;
2181
+ get_name(): string;
2182
+ get_native(): Gtk.Native | null;
2183
+ get_next_sibling(): Gtk.Widget | null;
2184
+ get_opacity(): number;
2185
+ get_overflow(): Gtk.Overflow;
2186
+ get_pango_context(): import("@girs/pango-1.0").default.Context;
2187
+ get_parent(): Gtk.Widget | null;
2188
+ get_preferred_size(): [Gtk.Requisition | null, Gtk.Requisition | null];
2189
+ get_prev_sibling(): Gtk.Widget | null;
2190
+ get_primary_clipboard(): import("@girs/gdk-4.0").default.Clipboard;
2191
+ get_realized(): boolean;
2192
+ get_receives_default(): boolean;
2193
+ get_request_mode(): Gtk.SizeRequestMode;
2194
+ get_root(): Gtk.Root | null;
2195
+ get_scale_factor(): number;
2196
+ get_sensitive(): boolean;
2197
+ get_settings(): Gtk.Settings;
2198
+ get_size(orientation: Gtk.Orientation): number;
2199
+ get_size_request(): [number, number];
2200
+ get_state_flags(): Gtk.StateFlags;
2201
+ get_style_context(): Gtk.StyleContext;
2202
+ get_template_child<T = GObject.Object>(widget_type: GObject.GType, name: string): T;
2203
+ get_tooltip_markup(): string | null;
2204
+ get_tooltip_text(): string | null;
2205
+ get_valign(): Gtk.Align;
2206
+ get_vexpand(): boolean;
2207
+ get_vexpand_set(): boolean;
2208
+ get_visible(): boolean;
2209
+ get_width(): number;
2210
+ grab_focus(): boolean;
2211
+ has_css_class(css_class: string): boolean;
2212
+ has_visible_focus(): boolean;
2213
+ hide(): void;
2214
+ in_destruction(): boolean;
2215
+ init_template(): void;
2216
+ insert_action_group(name: string, group: import("@girs/gio-2.0").default.ActionGroup | null): void;
2217
+ insert_after(parent: Gtk.Widget, previous_sibling: Gtk.Widget | null): void;
2218
+ insert_before(parent: Gtk.Widget, next_sibling: Gtk.Widget | null): void;
2219
+ is_ancestor(ancestor: Gtk.Widget): boolean;
2220
+ is_drawable(): boolean;
2221
+ is_focus(): boolean;
2222
+ is_sensitive(): boolean;
2223
+ is_visible(): boolean;
2224
+ keynav_failed(direction: Gtk.DirectionType): boolean;
2225
+ list_mnemonic_labels(): Gtk.Widget[];
2226
+ map(): void;
2227
+ measure(orientation: Gtk.Orientation, for_size: number): [number, number, number, number];
2228
+ mnemonic_activate(group_cycling: boolean): boolean;
2229
+ observe_children(): import("@girs/gio-2.0").default.ListModel;
2230
+ observe_controllers(): import("@girs/gio-2.0").default.ListModel;
2231
+ pick(x: number, y: number, flags: Gtk.PickFlags): Gtk.Widget | null;
2232
+ queue_allocate(): void;
2233
+ queue_draw(): void;
2234
+ queue_resize(): void;
2235
+ realize(): void;
2236
+ remove_controller(controller: Gtk.EventController): void;
2237
+ remove_css_class(css_class: string): void;
2238
+ remove_mnemonic_label(label: Gtk.Widget): void;
2239
+ remove_tick_callback(id: number): void;
2240
+ set_can_focus(can_focus: boolean): void;
2241
+ set_can_target(can_target: boolean): void;
2242
+ set_child_visible(child_visible: boolean): void;
2243
+ set_css_classes(classes: string[]): void;
2244
+ set_cursor(cursor: import("@girs/gdk-4.0").default.Cursor | null): void;
2245
+ set_cursor_from_name(name: string | null): void;
2246
+ set_direction(dir: Gtk.TextDirection): void;
2247
+ set_focus_child(child: Gtk.Widget | null): void;
2248
+ set_focus_on_click(focus_on_click: boolean): void;
2249
+ set_focusable(focusable: boolean): void;
2250
+ set_font_map(font_map: import("@girs/pango-1.0").default.FontMap | null): void;
2251
+ set_font_options(options: import("@girs/gjs/cairo").default.FontOptions | null): void;
2252
+ set_halign(align: Gtk.Align): void;
2253
+ set_has_tooltip(has_tooltip: boolean): void;
2254
+ set_hexpand(expand: boolean): void;
2255
+ set_hexpand_set(set: boolean): void;
2256
+ set_layout_manager(layout_manager: Gtk.LayoutManager | null): void;
2257
+ set_limit_events(limit_events: boolean): void;
2258
+ set_margin_bottom(margin: number): void;
2259
+ set_margin_end(margin: number): void;
2260
+ set_margin_start(margin: number): void;
2261
+ set_margin_top(margin: number): void;
2262
+ set_name(name: string): void;
2263
+ set_opacity(opacity: number): void;
2264
+ set_overflow(overflow: Gtk.Overflow): void;
2265
+ set_parent(parent: Gtk.Widget): void;
2266
+ set_receives_default(receives_default: boolean): void;
2267
+ set_sensitive(sensitive: boolean): void;
2268
+ set_size_request(width: number, height: number): void;
2269
+ set_state_flags(flags: Gtk.StateFlags, clear: boolean): void;
2270
+ set_tooltip_markup(markup: string | null): void;
2271
+ set_tooltip_text(text: string | null): void;
2272
+ set_valign(align: Gtk.Align): void;
2273
+ set_vexpand(expand: boolean): void;
2274
+ set_vexpand_set(set: boolean): void;
2275
+ set_visible(visible: boolean): void;
2276
+ should_layout(): boolean;
2277
+ show(): void;
2278
+ size_allocate(allocation: Gtk.Allocation, baseline: number): void;
2279
+ snapshot_child(child: Gtk.Widget, snapshot: Gtk.Snapshot): void;
2280
+ translate_coordinates(dest_widget: Gtk.Widget, src_x: number, src_y: number): [boolean, number, number];
2281
+ trigger_tooltip_query(): void;
2282
+ unmap(): void;
2283
+ unparent(): void;
2284
+ unrealize(): void;
2285
+ unset_state_flags(flags: Gtk.StateFlags): void;
2286
+ [Symbol.iterator]: () => IterableIterator<Gtk.Widget>;
2287
+ vfunc_constructed(): void;
2288
+ vfunc_dispatch_properties_changed(n_pspecs: number, pspecs: GObject.ParamSpec): void;
2289
+ vfunc_dispose(): void;
2290
+ vfunc_finalize(): void;
2291
+ vfunc_get_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
2292
+ vfunc_notify(pspec: GObject.ParamSpec): void;
2293
+ vfunc_set_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
2294
+ bind_property(source_property: string, target: GObject.Object, target_property: string, flags: GObject.BindingFlags): GObject.Binding;
2295
+ bind_property_full(source_property: string, target: GObject.Object, target_property: string, flags: GObject.BindingFlags, transform_to: GObject.Closure | null, transform_from: GObject.Closure | null): GObject.Binding;
2296
+ force_floating(): void;
2297
+ freeze_notify(): void;
2298
+ get_data(key: string): null;
2299
+ get_property(property_name: string, value: GObject.Value | any): any;
2300
+ get_qdata(quark: GLib.Quark): null;
2301
+ getv(names: string[], values: (GObject.Value | any)[]): void;
2302
+ is_floating(): boolean;
2303
+ notify(property_name: string): void;
2304
+ notify_by_pspec(pspec: GObject.ParamSpec): void;
2305
+ ref(): GObject.Object;
2306
+ ref_sink(): GObject.Object;
2307
+ run_dispose(): void;
2308
+ set_data(key: string, data: null): void;
2309
+ set_property(property_name: string, value: GObject.Value | any): void;
2310
+ steal_data(key: string): null;
2311
+ steal_qdata(quark: GLib.Quark): null;
2312
+ thaw_notify(): void;
2313
+ unref(): void;
2314
+ watch_closure(closure: GObject.Closure): void;
2315
+ disconnect(id: number): void;
2316
+ set(properties: {
2317
+ [key: string]: any;
2318
+ }): void;
2319
+ block_signal_handler(id: number): void;
2320
+ unblock_signal_handler(id: number): void;
2321
+ stop_emission_by_name(detailedName: string): void;
2322
+ }, {
2323
+ [key: string]: GObject.ParamSpec<unknown>;
2324
+ }, never[]>;
2325
+ }>;
2326
+ prototype: GObject.RegisteredPrototype<{
2327
+ _overlay: Gtk.Overlay;
2328
+ _picture: Gtk.Picture;
2329
+ _video: HTMLVideoElement;
2330
+ _environment: BridgeEnvironment;
2331
+ _timeOrigin: number;
2332
+ _pipeline: Gst.Pipeline | null;
2333
+ _pipelineBus: Gst.Bus | null;
2334
+ _pipelineBusHandlers: number[];
2335
+ _readyCallbacks: VideoReadyCallback[];
2336
+ _resizeCallbacks: ((w: number, h: number) => void)[];
2337
+ _ready: boolean;
2338
+ _controls: {
2339
+ bar: Gtk.Box;
2340
+ playBtn: Gtk.Button;
2341
+ seekAdj: Gtk.Adjustment;
2342
+ seekScale: Gtk.Scale;
2343
+ timeLabel: Gtk.Label;
2344
+ volumeBtn: Gtk.VolumeButton;
2345
+ lastSeekValue: number;
2346
+ lastTimeText: string;
2347
+ } | null;
2348
+ _positionTimerId: number | null;
2349
+ _updatingFromTimer: boolean;
2350
+ _hideTimerId: number | null;
2351
+ get element(): HTMLVideoElement;
2352
+ get videoElement(): HTMLVideoElement;
2353
+ get environment(): BridgeEnvironment;
2354
+ onReady(cb: VideoReadyCallback): void;
2355
+ onResize(cb: (width: number, height: number) => void): void;
2356
+ installGlobals(): void;
2357
+ /**
2358
+ * Show or hide the built-in play/pause + seek + time + volume control bar.
2359
+ * Controls auto-hide after 2 seconds of mouse inactivity.
2360
+ */
2361
+ showControls(show?: boolean): void;
2362
+ _setupAutoHideMotion(controlBar: Gtk.Box): void;
2363
+ _revealControls(): void;
2364
+ _buildControlBar(): NonNullable<{
2365
+ bar: Gtk.Box;
2366
+ playBtn: Gtk.Button;
2367
+ seekAdj: Gtk.Adjustment;
2368
+ seekScale: Gtk.Scale;
2369
+ timeLabel: Gtk.Label;
2370
+ volumeBtn: Gtk.VolumeButton;
2371
+ lastSeekValue: number;
2372
+ lastTimeText: string;
2373
+ }>;
2374
+ _startPositionTimer(): void;
2375
+ _stopPositionTimer(): void;
2376
+ _onSrcObjectChange(): void;
2377
+ _onSrcChange(): void;
2378
+ _attachPipeline(pipeline: Gst.Pipeline, paintable: Parameters<Gtk.Picture["set_paintable"]>[0]): void;
2379
+ _destroyPipeline(): void;
2380
+ get baseline_child(): number;
2381
+ set baseline_child(val: number);
2382
+ get baselineChild(): number;
2383
+ set baselineChild(val: number);
2384
+ get baseline_position(): Gtk.BaselinePosition;
2385
+ set baseline_position(val: Gtk.BaselinePosition);
2386
+ get baselinePosition(): Gtk.BaselinePosition;
2387
+ set baselinePosition(val: Gtk.BaselinePosition);
2388
+ get homogeneous(): boolean;
2389
+ set homogeneous(val: boolean);
2390
+ get spacing(): number;
2391
+ set spacing(val: number);
2392
+ $signals: Gtk.Box.SignalSignatures;
2393
+ _init(...args: any[]): void;
2394
+ connect<K extends keyof Gtk.Box.SignalSignatures>(signal: K, callback: GObject.SignalCallback</*elided*/ any, Gtk.Box.SignalSignatures[K]>): number;
2395
+ connect(signal: string, callback: (...args: any[]) => any): number;
2396
+ connect_after<K extends keyof Gtk.Box.SignalSignatures>(signal: K, callback: GObject.SignalCallback</*elided*/ any, Gtk.Box.SignalSignatures[K]>): number;
2397
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
2398
+ emit<K extends keyof Gtk.Box.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<Gtk.Box.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never): void;
2399
+ emit(signal: string, ...args: any[]): void;
2400
+ append(child: Gtk.Widget): void;
2401
+ get_baseline_child(): number;
2402
+ get_baseline_position(): Gtk.BaselinePosition;
2403
+ get_homogeneous(): boolean;
2404
+ get_spacing(): number;
2405
+ insert_child_after(child: Gtk.Widget, sibling: Gtk.Widget | null): void;
2406
+ prepend(child: Gtk.Widget): void;
2407
+ remove(child: Gtk.Widget): void;
2408
+ reorder_child_after(child: Gtk.Widget, sibling: Gtk.Widget | null): void;
2409
+ set_baseline_child(child: number): void;
2410
+ set_baseline_position(position: Gtk.BaselinePosition): void;
2411
+ set_homogeneous(homogeneous: boolean): void;
2412
+ set_spacing(spacing: number): void;
2413
+ get accessible_role(): Gtk.AccessibleRole;
2414
+ set accessible_role(val: Gtk.AccessibleRole);
2415
+ get accessibleRole(): Gtk.AccessibleRole;
2416
+ set accessibleRole(val: Gtk.AccessibleRole);
2417
+ get orientation(): Gtk.Orientation;
2418
+ set orientation(val: Gtk.Orientation);
2419
+ announce(message: string, priority: Gtk.AccessibleAnnouncementPriority): void;
2420
+ get_accessible_id(): string | null;
2421
+ get_accessible_parent(): Gtk.Accessible | null;
2422
+ get_accessible_role(): Gtk.AccessibleRole;
2423
+ get_at_context(): Gtk.ATContext;
2424
+ get_bounds(): [boolean, number, number, number, number];
2425
+ get_first_accessible_child(): Gtk.Accessible | null;
2426
+ get_next_accessible_sibling(): Gtk.Accessible | null;
2427
+ get_platform_state(state: Gtk.AccessiblePlatformState): boolean;
2428
+ reset_property(property: Gtk.AccessibleProperty): void;
2429
+ reset_relation(relation: Gtk.AccessibleRelation): void;
2430
+ reset_state(state: Gtk.AccessibleState): void;
2431
+ set_accessible_parent(parent: Gtk.Accessible | null, next_sibling: Gtk.Accessible | null): void;
2432
+ update_next_accessible_sibling(new_sibling: Gtk.Accessible | null): void;
2433
+ update_platform_state(state: Gtk.AccessiblePlatformState): void;
2434
+ update_property(properties: Gtk.AccessibleProperty[], values: (GObject.Value | any)[]): void;
2435
+ update_relation(relations: Gtk.AccessibleRelation[], values: (GObject.Value | any)[]): void;
2436
+ update_state(states: Gtk.AccessibleState[], values: (GObject.Value | any)[]): void;
2437
+ vfunc_get_accessible_id(): string | null;
2438
+ vfunc_get_accessible_parent(): Gtk.Accessible | null;
2439
+ vfunc_get_at_context(): Gtk.ATContext | null;
2440
+ vfunc_get_bounds(): [boolean, number, number, number, number];
2441
+ vfunc_get_first_accessible_child(): Gtk.Accessible | null;
2442
+ vfunc_get_next_accessible_sibling(): Gtk.Accessible | null;
2443
+ vfunc_get_platform_state(state: Gtk.AccessiblePlatformState): boolean;
2444
+ get_buildable_id(): string | null;
2445
+ vfunc_add_child(builder: Gtk.Builder, child: GObject.Object, type: string | null): void;
2446
+ vfunc_custom_finished(builder: Gtk.Builder, child: GObject.Object | null, tagname: string, data: null): void;
2447
+ vfunc_custom_tag_end(builder: Gtk.Builder, child: GObject.Object | null, tagname: string, data: null): void;
2448
+ vfunc_custom_tag_start(builder: Gtk.Builder, child: GObject.Object | null, tagname: string): [boolean, Gtk.BuildableParser, never];
2449
+ vfunc_get_id(): string;
2450
+ vfunc_get_internal_child<T = GObject.Object>(builder: Gtk.Builder, childname: string): T;
2451
+ vfunc_parser_finished(builder: Gtk.Builder): void;
2452
+ vfunc_set_buildable_property(builder: Gtk.Builder, name: string, value: unknown): void;
2453
+ vfunc_set_id(id: string): void;
2454
+ get_orientation(): Gtk.Orientation;
2455
+ set_orientation(orientation: Gtk.Orientation): void;
2456
+ get can_focus(): boolean;
2457
+ set can_focus(val: boolean);
2458
+ get canFocus(): boolean;
2459
+ set canFocus(val: boolean);
2460
+ get can_target(): boolean;
2461
+ set can_target(val: boolean);
2462
+ get canTarget(): boolean;
2463
+ set canTarget(val: boolean);
2464
+ get css_classes(): string[];
2465
+ set css_classes(val: string[]);
2466
+ get cssClasses(): string[];
2467
+ set cssClasses(val: string[]);
2468
+ get css_name(): string;
2469
+ get cssName(): string;
2470
+ get cursor(): import("@girs/gdk-4.0").default.Cursor | null;
2471
+ set cursor(val: import("@girs/gdk-4.0").default.Cursor | null);
2472
+ get focus_on_click(): boolean;
2473
+ set focus_on_click(val: boolean);
2474
+ get focusOnClick(): boolean;
2475
+ set focusOnClick(val: boolean);
2476
+ get focusable(): boolean;
2477
+ set focusable(val: boolean);
2478
+ get halign(): Gtk.Align;
2479
+ set halign(val: Gtk.Align);
2480
+ get has_default(): boolean;
2481
+ get hasDefault(): boolean;
2482
+ get has_focus(): boolean;
2483
+ get hasFocus(): boolean;
2484
+ get has_tooltip(): boolean;
2485
+ set has_tooltip(val: boolean);
2486
+ get hasTooltip(): boolean;
2487
+ set hasTooltip(val: boolean);
2488
+ get height_request(): number;
2489
+ set height_request(val: number);
2490
+ get heightRequest(): number;
2491
+ set heightRequest(val: number);
2492
+ get hexpand(): boolean;
2493
+ set hexpand(val: boolean);
2494
+ get hexpand_set(): boolean;
2495
+ set hexpand_set(val: boolean);
2496
+ get hexpandSet(): boolean;
2497
+ set hexpandSet(val: boolean);
2498
+ get layout_manager(): Gtk.LayoutManager | null;
2499
+ set layout_manager(val: Gtk.LayoutManager | null);
2500
+ get layoutManager(): Gtk.LayoutManager | null;
2501
+ set layoutManager(val: Gtk.LayoutManager | null);
2502
+ get limit_events(): boolean;
2503
+ set limit_events(val: boolean);
2504
+ get limitEvents(): boolean;
2505
+ set limitEvents(val: boolean);
2506
+ get margin_bottom(): number;
2507
+ set margin_bottom(val: number);
2508
+ get marginBottom(): number;
2509
+ set marginBottom(val: number);
2510
+ get margin_end(): number;
2511
+ set margin_end(val: number);
2512
+ get marginEnd(): number;
2513
+ set marginEnd(val: number);
2514
+ get margin_start(): number;
2515
+ set margin_start(val: number);
2516
+ get marginStart(): number;
2517
+ set marginStart(val: number);
2518
+ get margin_top(): number;
2519
+ set margin_top(val: number);
2520
+ get marginTop(): number;
2521
+ set marginTop(val: number);
2522
+ get name(): string;
2523
+ set name(val: string);
2524
+ get opacity(): number;
2525
+ set opacity(val: number);
2526
+ get overflow(): Gtk.Overflow;
2527
+ set overflow(val: Gtk.Overflow);
2528
+ get parent(): Gtk.Widget | null;
2529
+ get receives_default(): boolean;
2530
+ set receives_default(val: boolean);
2531
+ get receivesDefault(): boolean;
2532
+ set receivesDefault(val: boolean);
2533
+ get root(): Gtk.Root | null;
2534
+ get scale_factor(): number;
2535
+ get scaleFactor(): number;
2536
+ get sensitive(): boolean;
2537
+ set sensitive(val: boolean);
2538
+ get tooltip_markup(): string | null;
2539
+ set tooltip_markup(val: string | null);
2540
+ get tooltipMarkup(): string | null;
2541
+ set tooltipMarkup(val: string | null);
2542
+ get tooltip_text(): string | null;
2543
+ set tooltip_text(val: string | null);
2544
+ get tooltipText(): string | null;
2545
+ set tooltipText(val: string | null);
2546
+ get valign(): Gtk.Align;
2547
+ set valign(val: Gtk.Align);
2548
+ get vexpand(): boolean;
2549
+ set vexpand(val: boolean);
2550
+ get vexpand_set(): boolean;
2551
+ set vexpand_set(val: boolean);
2552
+ get vexpandSet(): boolean;
2553
+ set vexpandSet(val: boolean);
2554
+ get visible(): boolean;
2555
+ set visible(val: boolean);
2556
+ get width_request(): number;
2557
+ set width_request(val: number);
2558
+ get widthRequest(): number;
2559
+ set widthRequest(val: number);
2560
+ vfunc_compute_expand(hexpand_p: boolean, vexpand_p: boolean): void;
2561
+ vfunc_contains(x: number, y: number): boolean;
2562
+ vfunc_css_changed(change: Gtk.CssStyleChange): void;
2563
+ vfunc_direction_changed(previous_direction: Gtk.TextDirection): void;
2564
+ vfunc_focus(direction: Gtk.DirectionType): boolean;
2565
+ vfunc_get_request_mode(): Gtk.SizeRequestMode;
2566
+ vfunc_grab_focus(): boolean;
2567
+ vfunc_hide(): void;
2568
+ vfunc_keynav_failed(direction: Gtk.DirectionType): boolean;
2569
+ vfunc_map(): void;
2570
+ vfunc_measure(orientation: Gtk.Orientation, for_size: number): [number, number, number, number];
2571
+ vfunc_mnemonic_activate(group_cycling: boolean): boolean;
2572
+ vfunc_move_focus(direction: Gtk.DirectionType): void;
2573
+ vfunc_query_tooltip(x: number, y: number, keyboard_tooltip: boolean, tooltip: Gtk.Tooltip): boolean;
2574
+ vfunc_realize(): void;
2575
+ vfunc_root(): void;
2576
+ vfunc_set_focus_child(child: Gtk.Widget | null): void;
2577
+ vfunc_show(): void;
2578
+ vfunc_size_allocate(width: number, height: number, baseline: number): void;
2579
+ vfunc_snapshot(snapshot: Gtk.Snapshot): void;
2580
+ vfunc_state_flags_changed(previous_state_flags: Gtk.StateFlags): void;
2581
+ vfunc_system_setting_changed(settings: Gtk.SystemSetting): void;
2582
+ vfunc_unmap(): void;
2583
+ vfunc_unrealize(): void;
2584
+ vfunc_unroot(): void;
2585
+ action_set_enabled(action_name: string, enabled: boolean): void;
2586
+ activate(): boolean;
2587
+ activate_action(name: string, args: GLib.Variant | null): boolean;
2588
+ activate_default(): void;
2589
+ add_controller(controller: Gtk.EventController): void;
2590
+ add_css_class(css_class: string): void;
2591
+ add_mnemonic_label(label: Gtk.Widget): void;
2592
+ add_tick_callback(callback: Gtk.TickCallback): number;
2593
+ allocate(width: number, height: number, baseline: number, transform: import("@girs/gsk-4.0").default.Transform | null): void;
2594
+ child_focus(direction: Gtk.DirectionType): boolean;
2595
+ compute_bounds(target: Gtk.Widget): [boolean, import("@girs/graphene-1.0").default.Rect];
2596
+ compute_expand(orientation: Gtk.Orientation): boolean;
2597
+ compute_point(target: Gtk.Widget, point: import("@girs/graphene-1.0").default.Point): [boolean, import("@girs/graphene-1.0").default.Point];
2598
+ compute_transform(target: Gtk.Widget): [boolean, import("@girs/graphene-1.0").default.Matrix];
2599
+ contains(x: number, y: number): boolean;
2600
+ create_pango_context(): import("@girs/pango-1.0").default.Context;
2601
+ create_pango_layout(text: string | null): import("@girs/pango-1.0").default.Layout;
2602
+ dispose_template(widget_type: GObject.GType): void;
2603
+ drag_check_threshold(start_x: number, start_y: number, current_x: number, current_y: number): boolean;
2604
+ error_bell(): void;
2605
+ get_allocated_baseline(): number;
2606
+ get_allocated_height(): number;
2607
+ get_allocated_width(): number;
2608
+ get_allocation(): Gtk.Allocation;
2609
+ get_ancestor(widget_type: GObject.GType): Gtk.Widget | null;
2610
+ get_baseline(): number;
2611
+ get_can_focus(): boolean;
2612
+ get_can_target(): boolean;
2613
+ get_child_visible(): boolean;
2614
+ get_clipboard(): import("@girs/gdk-4.0").default.Clipboard;
2615
+ get_color(): import("@girs/gdk-4.0").default.RGBA;
2616
+ get_css_classes(): string[];
2617
+ get_css_name(): string;
2618
+ get_cursor(): import("@girs/gdk-4.0").default.Cursor | null;
2619
+ get_direction(): Gtk.TextDirection;
2620
+ get_display(): import("@girs/gdk-4.0").default.Display;
2621
+ get_first_child(): Gtk.Widget | null;
2622
+ get_focus_child(): Gtk.Widget | null;
2623
+ get_focus_on_click(): boolean;
2624
+ get_focusable(): boolean;
2625
+ get_font_map(): import("@girs/pango-1.0").default.FontMap | null;
2626
+ get_font_options(): import("@girs/gjs/cairo").default.FontOptions | null;
2627
+ get_frame_clock(): import("@girs/gdk-4.0").default.FrameClock | null;
2628
+ get_halign(): Gtk.Align;
2629
+ get_has_tooltip(): boolean;
2630
+ get_height(): number;
2631
+ get_hexpand(): boolean;
2632
+ get_hexpand_set(): boolean;
2633
+ get_last_child(): Gtk.Widget | null;
2634
+ get_layout_manager(): Gtk.LayoutManager | null;
2635
+ get_limit_events(): boolean;
2636
+ get_mapped(): boolean;
2637
+ get_margin_bottom(): number;
2638
+ get_margin_end(): number;
2639
+ get_margin_start(): number;
2640
+ get_margin_top(): number;
2641
+ get_name(): string;
2642
+ get_native(): Gtk.Native | null;
2643
+ get_next_sibling(): Gtk.Widget | null;
2644
+ get_opacity(): number;
2645
+ get_overflow(): Gtk.Overflow;
2646
+ get_pango_context(): import("@girs/pango-1.0").default.Context;
2647
+ get_parent(): Gtk.Widget | null;
2648
+ get_preferred_size(): [Gtk.Requisition | null, Gtk.Requisition | null];
2649
+ get_prev_sibling(): Gtk.Widget | null;
2650
+ get_primary_clipboard(): import("@girs/gdk-4.0").default.Clipboard;
2651
+ get_realized(): boolean;
2652
+ get_receives_default(): boolean;
2653
+ get_request_mode(): Gtk.SizeRequestMode;
2654
+ get_root(): Gtk.Root | null;
2655
+ get_scale_factor(): number;
2656
+ get_sensitive(): boolean;
2657
+ get_settings(): Gtk.Settings;
2658
+ get_size(orientation: Gtk.Orientation): number;
2659
+ get_size_request(): [number, number];
2660
+ get_state_flags(): Gtk.StateFlags;
2661
+ get_style_context(): Gtk.StyleContext;
2662
+ get_template_child<T = GObject.Object>(widget_type: GObject.GType, name: string): T;
2663
+ get_tooltip_markup(): string | null;
2664
+ get_tooltip_text(): string | null;
2665
+ get_valign(): Gtk.Align;
2666
+ get_vexpand(): boolean;
2667
+ get_vexpand_set(): boolean;
2668
+ get_visible(): boolean;
2669
+ get_width(): number;
2670
+ grab_focus(): boolean;
2671
+ has_css_class(css_class: string): boolean;
2672
+ has_visible_focus(): boolean;
2673
+ hide(): void;
2674
+ in_destruction(): boolean;
2675
+ init_template(): void;
2676
+ insert_action_group(name: string, group: import("@girs/gio-2.0").default.ActionGroup | null): void;
2677
+ insert_after(parent: Gtk.Widget, previous_sibling: Gtk.Widget | null): void;
2678
+ insert_before(parent: Gtk.Widget, next_sibling: Gtk.Widget | null): void;
2679
+ is_ancestor(ancestor: Gtk.Widget): boolean;
2680
+ is_drawable(): boolean;
2681
+ is_focus(): boolean;
2682
+ is_sensitive(): boolean;
2683
+ is_visible(): boolean;
2684
+ keynav_failed(direction: Gtk.DirectionType): boolean;
2685
+ list_mnemonic_labels(): Gtk.Widget[];
2686
+ map(): void;
2687
+ measure(orientation: Gtk.Orientation, for_size: number): [number, number, number, number];
2688
+ mnemonic_activate(group_cycling: boolean): boolean;
2689
+ observe_children(): import("@girs/gio-2.0").default.ListModel;
2690
+ observe_controllers(): import("@girs/gio-2.0").default.ListModel;
2691
+ pick(x: number, y: number, flags: Gtk.PickFlags): Gtk.Widget | null;
2692
+ queue_allocate(): void;
2693
+ queue_draw(): void;
2694
+ queue_resize(): void;
2695
+ realize(): void;
2696
+ remove_controller(controller: Gtk.EventController): void;
2697
+ remove_css_class(css_class: string): void;
2698
+ remove_mnemonic_label(label: Gtk.Widget): void;
2699
+ remove_tick_callback(id: number): void;
2700
+ set_can_focus(can_focus: boolean): void;
2701
+ set_can_target(can_target: boolean): void;
2702
+ set_child_visible(child_visible: boolean): void;
2703
+ set_css_classes(classes: string[]): void;
2704
+ set_cursor(cursor: import("@girs/gdk-4.0").default.Cursor | null): void;
2705
+ set_cursor_from_name(name: string | null): void;
2706
+ set_direction(dir: Gtk.TextDirection): void;
2707
+ set_focus_child(child: Gtk.Widget | null): void;
2708
+ set_focus_on_click(focus_on_click: boolean): void;
2709
+ set_focusable(focusable: boolean): void;
2710
+ set_font_map(font_map: import("@girs/pango-1.0").default.FontMap | null): void;
2711
+ set_font_options(options: import("@girs/gjs/cairo").default.FontOptions | null): void;
2712
+ set_halign(align: Gtk.Align): void;
2713
+ set_has_tooltip(has_tooltip: boolean): void;
2714
+ set_hexpand(expand: boolean): void;
2715
+ set_hexpand_set(set: boolean): void;
2716
+ set_layout_manager(layout_manager: Gtk.LayoutManager | null): void;
2717
+ set_limit_events(limit_events: boolean): void;
2718
+ set_margin_bottom(margin: number): void;
2719
+ set_margin_end(margin: number): void;
2720
+ set_margin_start(margin: number): void;
2721
+ set_margin_top(margin: number): void;
2722
+ set_name(name: string): void;
2723
+ set_opacity(opacity: number): void;
2724
+ set_overflow(overflow: Gtk.Overflow): void;
2725
+ set_parent(parent: Gtk.Widget): void;
2726
+ set_receives_default(receives_default: boolean): void;
2727
+ set_sensitive(sensitive: boolean): void;
2728
+ set_size_request(width: number, height: number): void;
2729
+ set_state_flags(flags: Gtk.StateFlags, clear: boolean): void;
2730
+ set_tooltip_markup(markup: string | null): void;
2731
+ set_tooltip_text(text: string | null): void;
2732
+ set_valign(align: Gtk.Align): void;
2733
+ set_vexpand(expand: boolean): void;
2734
+ set_vexpand_set(set: boolean): void;
2735
+ set_visible(visible: boolean): void;
2736
+ should_layout(): boolean;
2737
+ show(): void;
2738
+ size_allocate(allocation: Gtk.Allocation, baseline: number): void;
2739
+ snapshot_child(child: Gtk.Widget, snapshot: Gtk.Snapshot): void;
2740
+ translate_coordinates(dest_widget: Gtk.Widget, src_x: number, src_y: number): [boolean, number, number];
2741
+ trigger_tooltip_query(): void;
2742
+ unmap(): void;
2743
+ unparent(): void;
2744
+ unrealize(): void;
2745
+ unset_state_flags(flags: Gtk.StateFlags): void;
2746
+ [Symbol.iterator]: () => IterableIterator<Gtk.Widget>;
2747
+ vfunc_constructed(): void;
2748
+ vfunc_dispatch_properties_changed(n_pspecs: number, pspecs: GObject.ParamSpec): void;
2749
+ vfunc_dispose(): void;
2750
+ vfunc_finalize(): void;
2751
+ vfunc_get_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
2752
+ vfunc_notify(pspec: GObject.ParamSpec): void;
2753
+ vfunc_set_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
2754
+ bind_property(source_property: string, target: GObject.Object, target_property: string, flags: GObject.BindingFlags): GObject.Binding;
2755
+ bind_property_full(source_property: string, target: GObject.Object, target_property: string, flags: GObject.BindingFlags, transform_to: GObject.Closure | null, transform_from: GObject.Closure | null): GObject.Binding;
2756
+ force_floating(): void;
2757
+ freeze_notify(): void;
2758
+ get_data(key: string): null;
2759
+ get_property(property_name: string, value: GObject.Value | any): any;
2760
+ get_qdata(quark: GLib.Quark): null;
2761
+ getv(names: string[], values: (GObject.Value | any)[]): void;
2762
+ is_floating(): boolean;
2763
+ notify(property_name: string): void;
2764
+ notify_by_pspec(pspec: GObject.ParamSpec): void;
2765
+ ref(): GObject.Object;
2766
+ ref_sink(): GObject.Object;
2767
+ run_dispose(): void;
2768
+ set_data(key: string, data: null): void;
2769
+ set_property(property_name: string, value: GObject.Value | any): void;
2770
+ steal_data(key: string): null;
2771
+ steal_qdata(quark: GLib.Quark): null;
2772
+ thaw_notify(): void;
2773
+ unref(): void;
2774
+ watch_closure(closure: GObject.Closure): void;
2775
+ disconnect(id: number): void;
2776
+ set(properties: {
2777
+ [key: string]: any;
2778
+ }): void;
2779
+ block_signal_handler(id: number): void;
2780
+ unblock_signal_handler(id: number): void;
2781
+ stop_emission_by_name(detailedName: string): void;
2782
+ }, {
2783
+ [key: string]: GObject.ParamSpec<unknown>;
2784
+ }, unknown[]>;
516
2785
  };
517
2786
  export type VideoBridge = InstanceType<typeof VideoBridge>;
518
2787
  export {};