Method

GtkPrintContextget_hard_margins

since: 2.20

Declaration [src]

gboolean
gtk_print_context_get_hard_margins (
  GtkPrintContext* context,
  gdouble* top,
  gdouble* bottom,
  gdouble* left,
  gdouble* right
)

Description [src]

Obtains the hardware printer margins of the GtkPrintContext, in units.

Available since: 2.20

Parameters

top

Type: gdouble*

Top hardware printer margin.

The argument will be set by the function.
bottom

Type: gdouble*

Bottom hardware printer margin.

The argument will be set by the function.
left

Type: gdouble*

Left hardware printer margin.

The argument will be set by the function.
right

Type: gdouble*

Right hardware printer margin.

The argument will be set by the function.

Return value

Type: gboolean

TRUE if the hard margins were retrieved.