GUPnP.Service.query_variable

### Method

# GUPnP Servicequery_variable

#### Declaration [src]

    void
    gupnp_service_query_variable (
      GUPnPService* service,
      const char* variable,
      GValue* value
    )

#### Description [src]

Default handler for `GUPnPService::query-variable`. See its documentation for details.

Can be overridden by child classes instead of connecting to the signal.

#### Parameters

`variable`

  Type: `const char*`

  The name of the variable that was queried.

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

`value`

  Type: `GValue`

  A value that should be filled to the current value of `variable`.

  The data is owned by the caller of the method.