Method

GtkStyleContextget_border

Declaration [src]

void
gtk_style_context_get_border (
  GtkStyleContext* context,
  GtkStateFlags state,
  GtkBorder* border
)

Description [src]

Gets the border for a given state as a GtkBorder.

See gtk_style_context_get_property() and

GTK_STYLE_PROPERTY_BORDER_WIDTH for details.

Available since:3.0

Parameters

state

Type: GtkStateFlags

State to retrieve the border for.

border

Type: GtkBorder

Return value for the border settings.

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