class GdkPixbuf::PixbufFormat

Overview

A Gdk::PixbufFormat contains information about the image format accepted by a module.

Only modules should access the fields directly, applications should use the gdk_pixbuf_format_* family of functions.

Defined in:

lib/gi-crystal/src/auto/gdk_pixbuf-2.0/pixbuf_format.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(pointer : Pointer(Void), transfer : GICrystal::Transfer) #

[View source]
def self.new(data : LibGdkPixbuf::PixbufFormat, transfer : GICrystal::Transfer) #

[View source]
def self.new(flags : UInt32 | Nil = nil, disabled : Bool | Nil = nil) #

[View source]

Class Method Detail

def self.g_type : UInt64 #

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


[View source]

Instance Method Detail

def ==(other : self) : Bool #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


[View source]

[View source]
def description : String #

[View source]
def description! #

[View source]
def disabled : Bool #

[View source]
def disabled=(disabled : Bool) : Nil #

[View source]
def domain : String | Nil #

[View source]
def domain! #

[View source]
def extensions : Enumerable(String) #

[View source]
def extensions! #

[View source]
def flags : UInt32 #

[View source]
def flags=(value : UInt32) #

[View source]
def free : Nil #

[View source]
def is_disabled : Bool #

[View source]
def is_save_option_supported(option_key : String) : Bool #

[View source]
def is_scalable : Bool #

[View source]
def is_writable : Bool #

[View source]
def license : String #

[View source]
def license! #

[View source]
def mime_types : Enumerable(String) #

[View source]
def mime_types! #

[View source]
def name : String #

[View source]
def name! #

[View source]
def signature : GdkPixbuf::PixbufModulePattern | Nil #

[View source]
def signature! #

[View source]
def to_unsafe #

[View source]