enum Gtk::PrintOperationResult

Overview

The result of a print operation.

A value of this type is returned by Gtk::PrintOperation#run.

Defined in:

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

Enum Members

Error = 0_u32

An error has occurred.

Apply = 1_u32

The print settings should be stored.

Cancel = 2_u32

The print operation has been canceled, the print settings should not be stored.

InProgress = 3_u32

The print operation is not complete yet. This value will only be returned when running asynchronously.

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

def cancel? #

def error? #

def in_progress? #