Method

GtkStyleContextget_margin

Declaration [src]

void
gtk_style_context_get_margin (
  GtkStyleContext* context,
  GtkStateFlags state,
  GtkBorder* margin
)

Description [src]

Gets the margin for a given state as a GtkBorder. See gtk_style_property_get() and #GTK_STYLE_PROPERTY_MARGIN for details.

Available since:3.0

Parameters

state

Type: GtkStateFlags

State to retrieve the border for.

margin

Type: GtkBorder

Return value for the margin settings.

The argument will be set by the function.
The data is owned by the caller of the function.