Import line: | Gtk = imports.gi.Gtk; |
GIR File: | Gtk-2.0.gir |
C documentation: | GtkUnit |
Enum : | Unit |
Show / Hide Inherited methods, properties and signals |
Properties | |
---|---|
Number Gtk.Unit.INCH : 2
|
|
Number Gtk.Unit.MM : 3
|
|
Number Gtk.Unit.PIXEL : 0
|
|
Number Gtk.Unit.POINTS : 1
|
None |
None |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
GooCanvas.Canvas
Property |
units : Gtk.Unit
|
Gtk.PageSetup
Method |
Gets the top margin in units of unit.
|
Gtk.PageSetup
Method |
Sets the top margin of the GtkPageSetup.
|
Gtk.PageSetup
Method |
Gets the bottom margin in units of unit.
|
Gtk.PageSetup
Method |
Sets the bottom margin of the GtkPageSetup.
|
Gtk.PageSetup
Method |
Gets the left margin in units of unit.
|
Gtk.PageSetup
Method |
Sets the left margin of the GtkPageSetup.
|
Gtk.PageSetup
Method |
Gets the right margin in units of unit.
|
Gtk.PageSetup
Method |
Sets the right margin of the GtkPageSetup.
|
Gtk.PageSetup
Method |
Returns the paper width in units of unit.
|
Gtk.PageSetup
Method |
Returns the paper height in units of unit.
|
Gtk.PageSetup
Method |
Returns the page width in units of unit.
|
Gtk.PageSetup
Method |
Returns the page height in units of unit.
|
Gtk.PaperSize
Method |
new Gtk.PaperSize.custom
(String name, String display_name, Number width, Number height, Unit unit)
:
Gtk.PaperSize
Create a new Gtk.PaperSize
|
Gtk.PaperSize
Method |
Gets the paper width of the GtkPaperSize, in units of unit.
|
Gtk.PaperSize
Method |
Gets the paper height of the GtkPaperSize, in units of unit.
|
Gtk.PaperSize
Method |
Changes the dimensions of a size to width x height.
|
Gtk.PaperSize
Method |
Gets the default top margin for the GtkPaperSize.
|
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.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 |
Associates a length in units of unit with key.
|
Gtk.PrintSettings
Method |
Gets the value of GTK_PRINT_SETTINGS_PAPER_WIDTH, converted to unit.
|
Gtk.PrintSettings
Method |
Sets the value of GTK_PRINT_SETTINGS_PAPER_WIDTH.
|
Gtk.PrintSettings
Method |
Gets the value of GTK_PRINT_SETTINGS_PAPER_HEIGHT, converted to unit.
|
Gtk.PrintSettings
Method |
Sets the value of GTK_PRINT_SETTINGS_PAPER_HEIGHT.
|
GtkSource.PrintCompositor
Method |
Gets the top margin in units of unit.
|
GtkSource.PrintCompositor
Method |
Sets the top margin used by compositor.
|
GtkSource.PrintCompositor
Method |
Gets the bottom margin in units of unit.
|
GtkSource.PrintCompositor
Method |
Sets the bottom margin used by compositor.
|
GtkSource.PrintCompositor
Method |
Gets the left margin in units of unit.
|
GtkSource.PrintCompositor
Method |
Sets the left margin used by compositor.
|
GtkSource.PrintCompositor
Method |
Gets the right margin in units of unit.
|
GtkSource.PrintCompositor
Method |
Sets the right margin used by compositor.
|