Import line: | Gtk = imports.gi.Gtk; |
GIR File: | Gtk-3.0.gir |
C documentation: | GtkUnit |
Enum : | Unit |
Properties | |
---|---|
guint32 Gtk.Unit.INCH : 2
|
|
guint32 Gtk.Unit.MM : 3
|
|
guint32 Gtk.Unit.PIXEL : 0
|
|
guint32 Gtk.Unit.POINTS : 1
|
None |
None |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Gtk.PageSetup
Method |
Gets the bottom margin in units of unit.
|
Gtk.PageSetup
Method |
Gets the left margin in units of unit.
|
Gtk.PageSetup
Method |
Returns the page height in units of unit.
|
Gtk.PageSetup
Method |
Returns the page width in units of unit.
|
Gtk.PageSetup
Method |
Returns the paper height in units of unit.
|
Gtk.PageSetup
Method |
Returns the paper width in units of unit.
|
Gtk.PageSetup
Method |
Gets the right margin in units of unit.
|
Gtk.PageSetup
Method |
Gets the top margin in units of unit.
|
Gtk.PageSetup
Method |
Sets the bottom margin of the GtkPageSetup.
|
Gtk.PageSetup
Method |
Sets the left margin of the GtkPageSetup.
|
Gtk.PageSetup
Method |
Sets the right margin of the GtkPageSetup.
|
Gtk.PageSetup
Method |
Sets the top margin of the GtkPageSetup.
|
Gtk.PaperSize
Method |
new Gtk.PaperSize.custom
(String name, String display_name, gdouble width, gdouble height, Unit unit)
:
Gtk.PaperSize
Create a new Gtk.PaperSize
|
Gtk.PaperSize
Method |
Gets the default bottom margin for the GtkPaperSize.
|
Gtk.PaperSize
Method |
Gets the default left margin for the GtkPaperSize.
|
Gtk.PaperSize
Method |
Gets the default right margin for the GtkPaperSize.
|
Gtk.PaperSize
Method |
Gets the default top margin for the GtkPaperSize.
|
Gtk.PaperSize
Method |
Gets the paper height of the GtkPaperSize, in
units of unit. |
Gtk.PaperSize
Method |
Gets the paper width of the GtkPaperSize, in
units of unit. |
Gtk.PaperSize
Method |
Changes the dimensions of a size to width x height.
|
Gtk.PrintOperation
Property |
unit : Gtk.Unit
The transformation for the cairo context obtained from
GtkPrintContext is set up in such a way that distances are measured in units of unit. |
Gtk.PrintOperation
Method |
set_unit
(Unit unit)
:
none
Sets up the transformation for the cairo context obtained from
GtkPrintContext in such a way that distances are measured in units of unit. |
Gtk.PrintSettings
Method |
Returns the value associated with key, interpreted
as a length. |
Gtk.PrintSettings
Method |
Gets the value of GTK_PRINT_SETTINGS_PAPER_HEIGHT,
converted to unit. |
Gtk.PrintSettings
Method |
Gets the value of GTK_PRINT_SETTINGS_PAPER_WIDTH,
converted to unit. |
Gtk.PrintSettings
Method |
Associates a length in units of unit with key.
|
Gtk.PrintSettings
Method |
Sets the value of GTK_PRINT_SETTINGS_PAPER_HEIGHT.
|
Gtk.PrintSettings
Method |
Sets the value of GTK_PRINT_SETTINGS_PAPER_WIDTH.
|
GtkSource.PrintCompositor
Method |
|
GtkSource.PrintCompositor
Method |
|
GtkSource.PrintCompositor
Method |
|
GtkSource.PrintCompositor
Method |
|
GtkSource.PrintCompositor
Method |
|
GtkSource.PrintCompositor
Method |
|
GtkSource.PrintCompositor
Method |
|
GtkSource.PrintCompositor
Method |
|