Method

GimpUiResourceSelectButtonset_resource

since: 2.4

Declaration [src]

void
gimp_resource_select_button_set_resource (
  GimpResourceSelectButton* self,
  GimpResource* resource
)

Description [src]

Sets the currently selected resource. This will select the resource in both the button and any chooser popup.

Available since: 2.4

Parameters

resource

Type: GimpResource

Resource to set.

The data is owned by the caller of the function.