enum Gtk::PrintOperationAction

Overview

Determines what action the print operation should perform.

A parameter of this typs is passed to Gtk::PrintOperation#run.

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/gtk.cr

Enum Members

PrintDialog = 0_u32

Show the print dialog.

Print = 1_u32

Start to print without showing the print dialog, based on the current print settings.

Preview = 2_u32

Show the print preview.

Export = 3_u32

Export to a file. This requires the export-filename property to be set.

Class Method Summary

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


Instance Method Detail

def export? #

def preview? #

def print? #

def print_dialog? #