GimpUi.ResourceSelectButton.get_resource

### Method

# GimpUi ResourceSelectButtonget_resource

since: 2.4

#### Declaration [src]

    GimpResource*
    gimp_resource_select_button_get_resource (
      GimpResourceSelectButton* self
    )

#### Description [src]

Gets the currently selected resource.

Available since: 2.4

Gets property | `GimpUi.ResourceSelectButton:resource`

#### Return value

Type: `GimpResource`

An internal copy of the resource which must not be freed. You should ref and unref it when you want to own the resource.

The data is owned by the instance.