Import line: | Gtk = imports.gi.Gtk; |
GIR File: | Gtk-2.0.gir |
C documentation: | GtkPaperSize |
Struct : | PaperSize |
Show / Hide Inherited methods, properties and signals |
None |
Method / Constructor | Defined By | |
---|---|---|
Create a new Gtk.PaperSize
Create a new Gtk.PaperSize
|
||
Create a new Gtk.PaperSize
Create a new Gtk.PaperSize
|
||
new Gtk.PaperSize.from_ppd
(String ppd_name, String ppd_display_name, Number width, Number height)
:
Gtk.PaperSize
Create a new Gtk.PaperSize
Create a new Gtk.PaperSize
|
||
copy
()
:
Gtk.PaperSize
Copies an existing GtkPaperSize.
Copies an existing GtkPaperSize.
|
Gtk.PaperSize | |
free
()
:
none
Free the given GtkPaperSize object.
Free the given GtkPaperSize object.
|
Gtk.PaperSize | |
Gtk.PaperSize | ||
Gtk.PaperSize | ||
Gtk.PaperSize | ||
Gtk.PaperSize | ||
get_display_name
()
:
String
Gets the human-readable name of the GtkPaperSize.
Gets the human-readable name of the GtkPaperSize.
|
Gtk.PaperSize | |
Gtk.PaperSize | ||
get_name
()
:
String
Gets the name of the GtkPaperSize.
Gets the name of the GtkPaperSize.
|
Gtk.PaperSize | |
get_ppd_name
()
:
String
Gets the PPD name of the GtkPaperSize, which may be NULL.
Gets the PPD name of the GtkPaperSize, which may be NULL.
|
Gtk.PaperSize | |
Gtk.PaperSize | ||
is_custom
()
:
Boolean
Returns TRUE if size is not a standard paper size.
Returns TRUE if size is not a standard paper size.
|
Gtk.PaperSize | |
Compares two GtkPaperSize objects.
Compares two GtkPaperSize objects. represent the same paper size
|
Gtk.PaperSize | |
Gtk.PaperSize | ||
This function adds the paper size from size to key_file.
This function adds the paper size from size to key_file.
|
Gtk.PaperSize |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Gtk.PageSetup
Method |
get_paper_size
()
:
Gtk.PaperSize
Gets the paper size of the GtkPageSetup.
|
Gtk.PageSetup
Method |
set_paper_size
(PaperSize size)
:
none
Sets the paper size of the GtkPageSetup without changing the margins.
|
Gtk.PageSetup
Method |
set_paper_size_and_default_margins
(PaperSize size)
:
none
Sets the paper size of the GtkPageSetup and modifies the margins according to the new paper size.
|
Gtk.PrintSettings
Method |
get_paper_size
()
:
Gtk.PaperSize
Gets the value of GTK_PRINT_SETTINGS_PAPER_FORMAT, converted to a GtkPaperSize.
|
Gtk.PrintSettings
Method |
set_paper_size
(PaperSize paper_size)
:
none
Sets the value of GTK_PRINT_SETTINGS_PAPER_FORMAT, GTK_PRINT_SETTINGS_PAPER_WIDTH and GTK_PRINT_SETTINGS_PAPER_HEIGHT.
|