GioUnix.DesktopAppInfo.has_key

### Method

# GioUnix DesktopAppInfohas_key

since: 2.36

#### Declaration [src]

    gboolean
    g_desktop_app_info_has_key (
      GDesktopAppInfo* info,
      const char* key
    )

#### Description [src]

Returns whether `key` exists in the `Desktop Entry` group of the keyfile backing `info`.

Available since: 2.36

#### Parameters

`key`

  Type: `const char*`

  The key to look up.

  The data is owned by the caller of the method.
  The value is a NUL terminated UTF-8 string.

#### Return value

Type: `gboolean`

`TRUE` if the `key` exists.