Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing actor member on PopupMenu #30

Merged
merged 3 commits into from
Apr 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/gnome-shell/src/ui/popupMenu.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import type Clutter from '@girs/clutter-14';
import type Meta from '@girs/meta-14';

import * as Signals from '../misc/signals.js';
import * as BoxPointer from './boxpointer.js';

/**
* @version 46
Expand Down Expand Up @@ -190,6 +191,7 @@ export namespace PopupMenu {
*/
export class PopupMenu<S extends Signals.SignalMap<S> = PopupMenu.SignalMap> extends PopupMenuBase<S> {
constructor(sourceActor: St.Widget, arrowAlignment: number, arrowSide: St.Side);
readonly actor: BoxPointer.BoxPointer;

setArrowOrigin(origin: number): void;
setSourceAlignment(alignment: number): void;
Expand All @@ -204,6 +206,7 @@ export class PopupMenu<S extends Signals.SignalMap<S> = PopupMenu.SignalMap> ext
export class PopupDummyMenu extends Signals.EventEmitter {
constructor(sourceActor: St.Widget);

readonly actor: St.Widget;
readonly sensitive: boolean;

getSensitive(): boolean;
Expand Down Expand Up @@ -249,6 +252,8 @@ export namespace PopupMenuSection {
export class PopupMenuSection<S extends Signals.SignalMap<S> = PopupMenuSection.SignalMap> extends PopupMenuBase<S> {
constructor();

readonly actor: St.BoxLayout;

open(): void;
close(): void;
}
Expand Down