LibreOffice
LibreOffice 24.2 SDK API Reference
Public Member Functions | List of all members
XDisplayConnection Interface Referencepublished

This interface should be implemented by toolkits that want to give access to their internal message handling loop. More...

import"XDisplayConnection.idl";

Inheritance diagram for XDisplayConnection:
XInterface

Public Member Functions

void addEventHandler ([in] any window, [in] XEventHandler eventHandler, [in] long eventMask)
 registers an event handler. More...
 
void removeEventHandler ([in] any window, [in] XEventHandler eventHandler)
 removes an eventHandler from the handler list. More...
 
void addErrorHandler ([in] XEventHandler errorHandler)
 register an error handler for toolkit specific errors. More...
 
void removeErrorHandler ([in] XEventHandler errorHandler)
 remover an error handler from the handler list. More...
 
any getIdentifier ()
 returns an identifier. More...
 
- Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object. More...
 
void acquire ()
 increases the reference counter by one. More...
 
void release ()
 decreases the reference counter by one. More...
 

Detailed Description

This interface should be implemented by toolkits that want to give access to their internal message handling loop.

Member Function Documentation

◆ addErrorHandler()

void addErrorHandler ( [in] XEventHandler  errorHandler)

register an error handler for toolkit specific errors.

Parameters
errorHandlerthe handler to register.

◆ addEventHandler()

void addEventHandler ( [in] any  window,
[in] XEventHandler  eventHandler,
[in] long  eventMask 
)

registers an event handler.

Parameters
windowthe platform specific window id. If empty, the handler should be registered for all windows.
eventHandlerthe handler to register.
eventMaskthe event mask specifies the events the handler is interested in.

◆ getIdentifier()

any getIdentifier ( )

returns an identifier.

Returns
a unique platform dependent identifier for a display connection.

◆ removeErrorHandler()

void removeErrorHandler ( [in] XEventHandler  errorHandler)

remover an error handler from the handler list.

Parameters
errorHandlerthe handler to remove.

◆ removeEventHandler()

void removeEventHandler ( [in] any  window,
[in] XEventHandler  eventHandler 
)

removes an eventHandler from the handler list.

Parameters
windowthe platform specific window id the handler should be unregistered for. If empty, the handler should be unregistered completely.
eventHandlerthe handler to remove.

The documentation for this interface was generated from the following file: