enum Gtk::PageOrientation

Overview

See also gtk_print_settings_set_orientation().

Defined in:

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

Enum Members

Portrait = 0_u32

Portrait mode.

Landscape = 1_u32

Landscape mode.

ReversePortrait = 2_u32

Reverse portrait mode.

ReverseLandscape = 3_u32

Reverse landscape mode.

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.


[View source]

Instance Method Detail

def landscape? #

[View source]
def portrait? #

[View source]
def reverse_landscape? #

[View source]
def reverse_portrait? #

[View source]