Method

GtkStyleContextset_screen

Declaration [src]

void
gtk_style_context_set_screen (
  GtkStyleContext* context,
  GdkScreen* screen
)

Description [src]

Attaches context to the given screen.

The screen is used to add style information from “global” style providers, such as the screen’s GtkSettings instance.

If you are using a GtkStyleContext returned from gtk_widget_get_style_context(), you do not need to call this yourself.

Available since:3.0

Parameters

screen GdkScreen
 

A GdkScreen.

 The data is owned by the caller of the function.