Method

GtkPaperSizeget_width

since: 2.10

Declaration [src]

gdouble
gtk_paper_size_get_width (
  GtkPaperSize* size,
  GtkUnit unit
)

Description [src]

Gets the paper width of the GtkPaperSize, in units of unit.

Available since: 2.10

Parameters

unit

Type: GtkUnit

The unit for the return value, not GTK_UNIT_NONE.

Return value

Type: gdouble

The paper width.