Method

ValentDeviceget_menu

unstable since: 1.0

Declaration [src]

GMenuModel*
valent_device_get_menu (
  ValentDevice* device
)

Description [src]

Get the GMenuModel of the device.

Plugins may add items and submenus to this when they want to expose actions with presentation details like a label or icon.

Available since: 1.0

Return value

Type: GMenuModel

A GMenuModel.

The returned data is owned by the instance.