Document.connectPageChanged

Connect to PageChanged signal.

The 'page-changed' signal is emitted when the current page of a document changes, e.g. pressing page up/down in a document viewer.

interface Document
ulong
connectPageChanged
(
T
)
(,
Flag!"After" after = No.After
)

Parameters

callback T

signal callback delegate or function to connect

void callback(int pageNumber, atk.document.Document document)

pageNumber the new page number. If this value is unknown or not applicable, -1 should be provided. (optional)

document the instance the signal is connected to (optional)

after Flag!"After"

Yes.After to execute callback after default handler, No.After to execute before (default)

Return Value

Type: ulong

Signal ID