Method

GtkPageSetupget_page_width

since: 2.10

Declaration [src]

gdouble
gtk_page_setup_get_page_width (
  GtkPageSetup* setup,
  GtkUnit unit
)

Description [src]

Returns the page width in units of unit.

Note that this function takes orientation and margins into consideration. See gtk_page_setup_get_paper_width().

Available since: 2.10

Parameters

unit

Type: GtkUnit

The unit for the return value.

Return value

Type: gdouble

The page width.