enum Gtk::PrintStatus

Overview

The status gives a rough indication of the completion of a running print operation.

Defined in:

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

Enum Members

Initial = 0_u32

The printing has not started yet; this status is set initially, and while the print dialog is shown.

Preparing = 1_u32

This status is set while the begin-print signal is emitted and during pagination.

GeneratingData = 2_u32

This status is set while the pages are being rendered.

SendingData = 3_u32

The print job is being sent off to the printer.

Pending = 4_u32

The print job has been sent to the printer, but is not printed for some reason, e.g. the printer may be stopped.

PendingIssue = 5_u32

Some problem has occurred during printing, e.g. a paper jam.

Printing = 6_u32

The printer is processing the print job.

Finished = 7_u32

The printing has been completed successfully.

FinishedAborted = 8_u32

The printing has been aborted.

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 finished? #

def finished_aborted? #

def generating_data? #

def initial? #

def pending? #

def pending_issue? #

def preparing? #

def printing? #

def sending_data? #