LibreOffice: XMenuListener Interface Reference

LibreOffice LibreOffice 25.8 SDK API Reference

Loading...
Searching...
No Matches
XMenuListener Interface Referencepublished

makes it possible to receive menu events on a window. More...

`import "XMenuListener.idl";`

Inheritance diagram for XMenuListener:

## Public Member Functions
void | itemHighlighted ([in] MenuEvent aEvent)
| is invoked when a menu item is highlighted.
void | itemSelected ([in] MenuEvent aEvent)
| is invoked when a menu item is selected.
void | itemActivated ([in] MenuEvent aEvent)
| is invoked when a menu is activated.
void | itemDeactivated ([in] MenuEvent aEvent)
| is invoked when a menu is deactivated.
Public Member Functions inherited from XEventListener
void | disposing ([in] com::sun::star::lang::EventObject Source)
| gets called when the broadcaster is about to be disposed.
Public Member Functions inherited from XInterface
any | queryInterface ([in] type aType)
| queries for a new interface to an existing UNO object.
void | acquire ()
| increases the reference counter by one.
void | release ()
| decreases the reference counter by one.

## Detailed Description

makes it possible to receive menu events on a window.

## Member Function Documentation

## ◆ itemActivated()

void itemActivated | ( | [in] MenuEvent | aEvent | ) |

is invoked when a menu is activated.

## ◆ itemDeactivated()

void itemDeactivated | ( | [in] MenuEvent | aEvent | ) |

is invoked when a menu is deactivated.

## ◆ itemHighlighted()

void itemHighlighted | ( | [in] MenuEvent | aEvent | ) |

is invoked when a menu item is highlighted.

## ◆ itemSelected()

void itemSelected | ( | [in] MenuEvent | aEvent | ) |

is invoked when a menu item is selected.

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

- com/sun/star/awt/XMenuListener.idl