Back to Seed Clases

Gtk


Classes

Interfaces

Structs

Unions

Enums

Enum Gtk.Unit

Import line: Gtk = imports.gi.Gtk;
GIR File: Gtk-3.0.gir
C documentation: GtkUnit
Enum : Unit
Values
Properties
Properties
None
Public Methods
None
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Gtk.PageSetup
Method
get_bottom_margin (Unit unit) : gdouble
Gets the bottom margin in units of unit.
Gtk.PageSetup
Method
get_left_margin (Unit unit) : gdouble
Gets the left margin in units of unit.
Gtk.PageSetup
Method
get_page_height (Unit unit) : gdouble
Returns the page height in units of unit.
Gtk.PageSetup
Method
get_page_width (Unit unit) : gdouble
Returns the page width in units of unit.
Gtk.PageSetup
Method
get_paper_height (Unit unit) : gdouble
Returns the paper height in units of unit.
Gtk.PageSetup
Method
get_paper_width (Unit unit) : gdouble
Returns the paper width in units of unit.
Gtk.PageSetup
Method
get_right_margin (Unit unit) : gdouble
Gets the right margin in units of unit.
Gtk.PageSetup
Method
get_top_margin (Unit unit) : gdouble
Gets the top margin in units of unit.
Gtk.PageSetup
Method
set_bottom_margin (gdouble margin, Unit unit) : none
Sets the bottom margin of the GtkPageSetup.
Gtk.PageSetup
Method
set_left_margin (gdouble margin, Unit unit) : none
Sets the left margin of the GtkPageSetup.
Gtk.PageSetup
Method
set_right_margin (gdouble margin, Unit unit) : none
Sets the right margin of the GtkPageSetup.
Gtk.PageSetup
Method
set_top_margin (gdouble margin, Unit unit) : none
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
get_default_bottom_margin (Unit unit) : gdouble
Gets the default bottom margin for the GtkPaperSize.
Gtk.PaperSize
Method
get_default_left_margin (Unit unit) : gdouble
Gets the default left margin for the GtkPaperSize.
Gtk.PaperSize
Method
get_default_right_margin (Unit unit) : gdouble
Gets the default right margin for the GtkPaperSize.
Gtk.PaperSize
Method
get_default_top_margin (Unit unit) : gdouble
Gets the default top margin for the GtkPaperSize.
Gtk.PaperSize
Method
get_height (Unit unit) : gdouble
Gets the paper height of the GtkPaperSize, in
units of unit.
Gtk.PaperSize
Method
get_width (Unit unit) : gdouble
Gets the paper width of the GtkPaperSize, in
units of unit.
Gtk.PaperSize
Method
set_size (gdouble width, gdouble height, Unit unit) : none
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
get_length (String key, Unit unit) : gdouble
Returns the value associated with key, interpreted
as a length.
Gtk.PrintSettings
Method
get_paper_height (Unit unit) : gdouble
Gets the value of GTK_PRINT_SETTINGS_PAPER_HEIGHT,
converted to unit.
Gtk.PrintSettings
Method
get_paper_width (Unit unit) : gdouble
Gets the value of GTK_PRINT_SETTINGS_PAPER_WIDTH,
converted to unit.
Gtk.PrintSettings
Method
set_length (String key, gdouble value, Unit unit) : none
Associates a length in units of unit with key.
Gtk.PrintSettings
Method
set_paper_height (gdouble height, Unit unit) : none
Sets the value of GTK_PRINT_SETTINGS_PAPER_HEIGHT.
Gtk.PrintSettings
Method
set_paper_width (gdouble width, Unit unit) : none
Sets the value of GTK_PRINT_SETTINGS_PAPER_WIDTH.
GtkSource.PrintCompositor
Method
get_bottom_margin (Unit unit) : gdouble
GtkSource.PrintCompositor
Method
get_left_margin (Unit unit) : gdouble
GtkSource.PrintCompositor
Method
get_right_margin (Unit unit) : gdouble
GtkSource.PrintCompositor
Method
get_top_margin (Unit unit) : gdouble
GtkSource.PrintCompositor
Method
set_bottom_margin (gdouble margin, Unit unit) : none
GtkSource.PrintCompositor
Method
set_left_margin (gdouble margin, Unit unit) : none
GtkSource.PrintCompositor
Method
set_right_margin (gdouble margin, Unit unit) : none
GtkSource.PrintCompositor
Method
set_top_margin (gdouble margin, Unit unit) : none
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:16:06 GMT+0800 (HKT)