Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: PageSetupUnixDialog

[19:7] extends: object

Presents a page setup dialog for platforms which don’t provide a native page setup dialog, like Unix. An example
GtkPageSetupUnixDialog It can be used very much like any other GTK dialog, at the cost of the portability offered by the high-level printing API in [class@Gtk.PrintOperation]. ## CSS nodes GtkPageSetupUnixDialog has a single CSS node with the name window and style class .pagesetup.

Members

  • handleObj
  • lib
  • retainedCallbacks
  • signalHandlerNames
  • signalSetterHandlers

Methods

  • PageSetupUnixDialog (title = null, parent = null)

    Creates a new page setup dialog.

    • @p title is the title of the dialog.
    • @p parent is transient parent of the dialog.
  • toNativeHandle (Source)

    Normalizes a constructor argument into a raw pointer carrier. Accepts a raw NativeHandle, a raw NativeBuffer returned from fn.call(...), another generated wrapper exposing handle(), or null. Returns null when the argument carries no pointer.

    • @p Source is the raw handle, raw buffer, wrapper, or null.
    • @r A raw pointer carrier or null when no pointer is present.
  • getLib ()

    Returns the opened native library for this generated wrapper.

    • @r The opened native library.
  • handle ()

    Returns the wrapped NativeHandle.

    • @r The wrapped NativeHandle.
  • isNull ()

    Returns true when the wrapped handle is null.

    • @r A bool.
  • describe ()

    Returns a small string for debugging generated wrappers.

    • @r A string.
  • asDialog ()

    Wraps this handle as Dialog.

    • @r A Dialog object.
  • asAccessible ()

    Wraps this handle as Accessible.

    • @r A Accessible object.
  • asBuildable ()

    Wraps this handle as Buildable.

    • @r A Buildable object.
  • asConstraintTarget ()

    Wraps this handle as ConstraintTarget.

    • @r A ConstraintTarget object.
  • asNative ()

    Wraps this handle as Native.

    • @r A Native object.
  • asRoot ()

    Wraps this handle as Root.

    • @r A Root object.
  • asShortcutManager ()

    Wraps this handle as ShortcutManager.

    • @r A ShortcutManager object.
  • get_page_setup ()

    Gets the currently selected page setup from the dialog.

  • get_print_settings ()

    Gets the current print settings from the dialog.

  • set_page_setup (object page_setup)

    Sets the GtkPageSetup from which the page setup dialog takes its values.

    • @p page_setup is a GtkPageSetup.
    • @r None.
  • set_print_settings (object print_settings)

    Sets the GtkPrintSettings from which the page setup dialog takes its values.

    • @p print_settings is a GtkPrintSettings.
    • @r None.