Method

Gtk.Snapshot.render_focus

Declaration [src]

void
gtk_snapshot_render_focus (
  GtkSnapshot* snapshot,
  GtkStyleContext* context,
  double x,
  double y,
  double width,
  double height
)

Description [src]

Creates a render node for the focus outline according to context, and appends it to the current node of snapshot, without changing the current node.

Parameters

context GtkStyleContext
 

the GtkStyleContext to use

 Ownership is not transferred to the callee
x double
 

X origin of the rectangle

y double
 

Y origin of the rectangle

width double
 

rectangle width

height double
 

rectangle height