Method

MateDesktopDesktopItemget_entry_type

Declaration [src]

MateDesktopItemType
mate_desktop_item_get_entry_type (
  const MateDesktopItem* item
)

Description [src]

Gets the type attribute (the ‘Type’ field) of the item. This should usually be ‘Application’ for an application, but it can be ‘Directory’ for a directory description. There are other types available as well. The type usually indicates how the desktop item should be handeled and how the ‘Exec’ field should be handeled.

Return value

Type: MateDesktopItemType

The type of the specified ‘item’. The returned memory remains owned by the MateDesktopItem and should not be freed.