LibreOffice
LibreOffice 6.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 a 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 a 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

void addErrorHandler ( [in] XEventHandler  errorHandler)

register an error handler for toolkit specific errors.

Parameters
errorHandlerthe handler to register.
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.
any getIdentifier ( )

returns a identifier.

Returns
a unique platform dependent identifier for a display connection.
void removeErrorHandler ( [in] XEventHandler  errorHandler)

remover an error handler from the handler list.

Parameters
errorHandlerthe handler to remove.
void removeEventHandler ( [in] any  window,
[in] XEventHandler  eventHandler 
)

removes a 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: