|
Public Member Functions |
bool | equal (const PaperSize& other) const |
double | get_default_bottom_margin (Unit unit) const |
double | get_default_left_margin (Unit unit) const |
double | get_default_right_margin (Unit unit) const |
double | get_default_top_margin (Unit unit) const |
Glib::ustring | get_display_name () const |
double | get_height (Unit unit) const |
Glib::ustring | get_name () const |
Glib::ustring | get_ppd_name () const |
double | get_width (Unit unit) const |
const GtkPaperSize* | gobj () const |
| Provides access to the underlying C instance.
|
GtkPaperSize* | gobj () |
| Provides access to the underlying C instance.
|
GtkPaperSize* | gobj_copy () const |
| Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs.
|
bool | is_custom () const |
PaperSize& | operator= (const PaperSize& other) |
| PaperSize (const Glib::ustring& name, const Glib::ustring& display_name, double width, double height, Unit unit) |
| PaperSize (const Glib::ustring& ppd_name, const Glib::ustring& ppd_display_name, double width, double height) |
| PaperSize (const Glib::ustring& name="") |
| If a name is not specified, a default value will be used.
|
| PaperSize (const PaperSize& other) |
| PaperSize (GtkPaperSize* gobject, bool make_a_copy=true) |
| PaperSize () |
void | set_size (double width, double height, Unit unit) |
void | swap (PaperSize& other) |
| ~PaperSize () |
Static Public Member Functions |
static Glib::ustring | get_default () |
Protected Attributes |
GtkPaperSize* | gobject_ |
Related Functions |
(Note that these are not member functions.)
|
bool | operator!= (const PaperSize& lhs, const PaperSize& rhs) |
bool | operator== (const PaperSize& lhs, const PaperSize& rhs) |
void | swap (PaperSize& lhs, PaperSize& rhs) |
Gtk::PaperSize | wrap (GtkPaperSize* object, bool take_copy=false) |