Method

GtkStylecopy

Declaration [src]

GtkStyle*
gtk_style_copy (
  GtkStyle* style
)

Description [src]

Creates a copy of the passed in GtkStyle object.

Deprecated since:3.0

Use GtkStyleContext instead.

Return value

Type: GtkStyle

A copy of style.

The caller of the method takes ownership of the data, and is responsible for freeing it.