gtkmm: Gtk::PageSetupUnixDialog Class Reference

PageSetupUnixDialog implements a page setup dialog for platforms which don't provide a native page setup dialog, like Unix. More...

Inheritance diagram for Gtk::PageSetupUnixDialog:
Collaboration diagram for Gtk::PageSetupUnixDialog:

List of all members.

Public Member Functions

virtual ~PageSetupUnixDialog ()
GtkPageSetupUnixDialog* gobj ()
 Provides access to the underlying C GtkObject.

const GtkPageSetupUnixDialog* gobj () const
 Provides access to the underlying C GtkObject.

 PageSetupUnixDialog (Gtk::Window& parent, const Glib::ustring& title)
 PageSetupUnixDialog (const Glib::ustring& title)
void set_page_setup (const Glib::RefPtr< PageSetup >& page_setup)
 Sets the Gtk::PageSetup from which the page setup dialog takes its values.

Glib::RefPtr< PageSetupget_page_setup ()
 Gets the currently selected page setup from the dialog.

Glib::RefPtr< const PageSetupget_page_setup () const
 Gets the currently selected page setup from the dialog.

void set_print_settings (const Glib::RefPtr< PrintSettings >& print_settings)
 Sets the Gtk::PrintSettings from which the page setup dialog takes its values.

Glib::RefPtr< PrintSettingsget_print_settings ()
 Gets the current print settings from the dialog.

Glib::RefPtr< const PrintSettingsget_print_settings () const
 Gets the current print settings from the dialog.

Related Functions

(Note that these are not member functions.)

Gtk::PageSetupUnixDialogwrap (GtkPageSetupUnixDialog* object, bool take_copy=false)
 A Glib::wrap() method for this object.


Detailed Description

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 the high-level printing API exposed through PrintOperation.

Since gtkmm 2.10:

Constructor & Destructor Documentation

virtual Gtk::PageSetupUnixDialog::~PageSetupUnixDialog ( ) [virtual]
Gtk::PageSetupUnixDialog::PageSetupUnixDialog ( Gtk::Window parent,
const Glib::ustring title 
) [explicit]
Gtk::PageSetupUnixDialog::PageSetupUnixDialog ( const Glib::ustring title) [explicit]

Member Function Documentation

Glib::RefPtr<PageSetup> Gtk::PageSetupUnixDialog::get_page_setup ( )

Gets the currently selected page setup from the dialog.

Since gtkmm 2.10:
Returns:
The current page setup.
Glib::RefPtr<const PageSetup> Gtk::PageSetupUnixDialog::get_page_setup ( ) const

Gets the currently selected page setup from the dialog.

Since gtkmm 2.10:
Returns:
The current page setup.
Glib::RefPtr<const PrintSettings> Gtk::PageSetupUnixDialog::get_print_settings ( ) const

Gets the current print settings from the dialog.

Since gtkmm 2.10:
Returns:
The current print settings.
Glib::RefPtr<PrintSettings> Gtk::PageSetupUnixDialog::get_print_settings ( )

Gets the current print settings from the dialog.

Since gtkmm 2.10:
Returns:
The current print settings.
GtkPageSetupUnixDialog* Gtk::PageSetupUnixDialog::gobj ( ) [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Dialog.

const GtkPageSetupUnixDialog* Gtk::PageSetupUnixDialog::gobj ( ) const [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Dialog.

void Gtk::PageSetupUnixDialog::set_page_setup ( const Glib::RefPtr< PageSetup >&  page_setup)

Sets the Gtk::PageSetup from which the page setup dialog takes its values.

Since gtkmm 2.10:
Parameters:
page_setupA Gtk::PageSetup.
void Gtk::PageSetupUnixDialog::set_print_settings ( const Glib::RefPtr< PrintSettings >&  print_settings)

Sets the Gtk::PrintSettings from which the page setup dialog takes its values.

Since gtkmm 2.10:
Parameters:
print_settingsA Gtk::PrintSettings.

Friends And Related Function Documentation

Gtk::PageSetupUnixDialog* wrap ( GtkPageSetupUnixDialog *  object,
bool  take_copy = false 
) [related]

A Glib::wrap() method for this object.

Parameters:
objectThe C instance.
take_copyFalse if the result should take ownership of the C instance. True if it should take a new copy or ref.
Returns:
A C++ instance that wraps this C instance.

The documentation for this class was generated from the following file:
  • gtkmm/pagesetupunixdialog.h