Method

GtkStyleContextget_padding

since: 3.0

Declaration [src]

void
gtk_style_context_get_padding (
  GtkStyleContext* context,
  GtkStateFlags state,
  GtkBorder* padding
)

Description [src]

Gets the padding for a given state as a GtkBorder. See gtk_style_context_get() and #GTK_STYLE_PROPERTY_PADDING for details.

Available since: 3.0

Parameters

state

Type: GtkStateFlags

State to retrieve the padding for.

padding

Type: GtkBorder

Return value for the padding settings.

The argument will be set by the function.
The returned data is owned by the instance.