Method

GtkStyleContextget_padding

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 data is owned by the caller of the function.