Gtk::PageSetupUnixDialog
class Gtk::PageSetupUnixDialog
A page setup dialog.
Gtk::PageSetupUnixDialog implements a page setup dialog for platforms which don't provide a native page setup dialog, like Unix. It can be used very much like any other GTK+ dialog, at the cost of the portability offered by Gtk::PrintOperation.
Class Methods
Gtk::PageSetupUnixDialog.new(title=nil, parent=nil)
-
Creates a new page setup dialog.
- title: the title of the dialog, or nil
- parent: transient parent of the dialog, or nil
- Returns: the new Gtk::PageSetupUnixDialog
Instance Methods
page_setup
-
Gets the currently selected page setup from the dialog.
- Returns: the current page setup
page_setup=(page_setup)
-
Sets the #GtkPageSetup from which the page setup
dialog takes its values.
- page_setup: a Gtk::PageSetup
- Returns: self
set_page_setup(page_setup)
-
Same as page_setup= but returns nil.
- Returns: nil
print_settings
-
Gets the current print settings from the dialog.
- Returns: the current print settings
print_settings=(print_settings)
-
Sets the Gtk::PrintSettings from which the page setup dialog
takes its values.
- print_settings: a Gtk::PrintSettings
- Returns: self
set_print_settings
-
Same as set_print_setup= but returns nil.
- Returns: nil
ref_accessible
- See Atk::Implementor#ref_accessible.
add_child
- See Gtk::Buildable#add_child.
construct_child
- See Gtk::Buildable#construct_child.
get_internal_child
- See Gtk::Buildable#get_internal_child.
name
- See Gtk::Buildable#name.
name=
- See Gtk::Buildable#name=.
set_buildable_property
- See Gtk::Buildable#set_buildable_property.
set_name
- See Gtk::Buildable#set_name.
builder_name
- See Gtk::Buildable#builder_name.
builder_name=
- See Gtk::Buildable#builder_name=.
set_builder_name
- See Gtk::Buildable#set_builder_name.
Keyword(s):
References:[News_20061229_1] [Gtk::PageSetupUnixDialog] [api-gtk-index] [index-ruby-gtk2] [Ruby/GTK]