Back to Seed Clases

Gtk


Classes

Interfaces

Structs

Unions

Enums

Enum Gtk.Unit

Import line: Gtk = imports.gi.Gtk;
GIR File: Gtk-2.0.gir
C documentation: GtkUnit
Enum : Unit
  Show / Hide Inherited methods, properties and signals
Values
Properties
Properties
None
Public Methods
None
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
GooCanvas.Canvas
Property
units : Gtk.Unit
Gtk.PageSetup
Method
get_top_margin (Unit unit) : Number
Gets the top margin in units of unit.
Gtk.PageSetup
Method
set_top_margin (Number margin, Unit unit) : none
Sets the top margin of the GtkPageSetup.
Gtk.PageSetup
Method
get_bottom_margin (Unit unit) : Number
Gets the bottom margin in units of unit.
Gtk.PageSetup
Method
set_bottom_margin (Number margin, Unit unit) : none
Sets the bottom margin of the GtkPageSetup.
Gtk.PageSetup
Method
get_left_margin (Unit unit) : Number
Gets the left margin in units of unit.
Gtk.PageSetup
Method
set_left_margin (Number margin, Unit unit) : none
Sets the left margin of the GtkPageSetup.
Gtk.PageSetup
Method
get_right_margin (Unit unit) : Number
Gets the right margin in units of unit.
Gtk.PageSetup
Method
set_right_margin (Number margin, Unit unit) : none
Sets the right margin of the GtkPageSetup.
Gtk.PageSetup
Method
get_paper_width (Unit unit) : Number
Returns the paper width in units of unit.
Gtk.PageSetup
Method
get_paper_height (Unit unit) : Number
Returns the paper height in units of unit.
Gtk.PageSetup
Method
get_page_width (Unit unit) : Number
Returns the page width in units of unit.
Gtk.PageSetup
Method
get_page_height (Unit unit) : Number
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
get_width (Unit unit) : Number
Gets the paper width of the GtkPaperSize, in units of unit.
Gtk.PaperSize
Method
get_height (Unit unit) : Number
Gets the paper height of the GtkPaperSize, in units of unit.
Gtk.PaperSize
Method
set_size (Number width, Number height, Unit unit) : none
Changes the dimensions of a size to width x height.
Gtk.PaperSize
Method
get_default_top_margin (Unit unit) : Number
Gets the default top margin for the GtkPaperSize.
Gtk.PaperSize
Method
get_default_bottom_margin (Unit unit) : Number
Gets the default bottom margin for the GtkPaperSize.
Gtk.PaperSize
Method
get_default_left_margin (Unit unit) : Number
Gets the default left margin for the GtkPaperSize.
Gtk.PaperSize
Method
get_default_right_margin (Unit unit) : Number
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
get_length (String key, Unit unit) : Number
Returns the value associated with key, interpreted as a length.
Gtk.PrintSettings
Method
set_length (String key, Number value, Unit unit) : none
Associates a length in units of unit with key.
Gtk.PrintSettings
Method
get_paper_width (Unit unit) : Number
Gets the value of GTK_PRINT_SETTINGS_PAPER_WIDTH, converted to unit.
Gtk.PrintSettings
Method
set_paper_width (Number width, Unit unit) : none
Sets the value of GTK_PRINT_SETTINGS_PAPER_WIDTH.
Gtk.PrintSettings
Method
get_paper_height (Unit unit) : Number
Gets the value of GTK_PRINT_SETTINGS_PAPER_HEIGHT, converted to unit.
Gtk.PrintSettings
Method
set_paper_height (Number height, Unit unit) : none
Sets the value of GTK_PRINT_SETTINGS_PAPER_HEIGHT.
GtkSource.PrintCompositor
Method
get_top_margin (Unit unit) : Number
Gets the top margin in units of unit.
GtkSource.PrintCompositor
Method
set_top_margin (Number margin, Unit unit) : none
Sets the top margin used by compositor.
GtkSource.PrintCompositor
Method
get_bottom_margin (Unit unit) : Number
Gets the bottom margin in units of unit.
GtkSource.PrintCompositor
Method
set_bottom_margin (Number margin, Unit unit) : none
Sets the bottom margin used by compositor.
GtkSource.PrintCompositor
Method
get_left_margin (Unit unit) : Number
Gets the left margin in units of unit.
GtkSource.PrintCompositor
Method
set_left_margin (Number margin, Unit unit) : none
Sets the left margin used by compositor.
GtkSource.PrintCompositor
Method
get_right_margin (Unit unit) : Number
Gets the right margin in units of unit.
GtkSource.PrintCompositor
Method
set_right_margin (Number margin, Unit unit) : none
Sets the right margin used by compositor.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Tue Jun 22 2010 16:34:43 GMT+0800 (HKT)