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) #

def self.new(data : LibGdkPixbuf::PixbufFormat, transfer : GICrystal::Transfer) #

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

Class Method Detail

def self.g_type : UInt64 #

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


Instance Method Detail

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

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


def copy : GdkPixbuf::PixbufFormat | Nil #

def description : String | Nil #

def description! #

def disabled : Bool #

def disabled=(disabled : Bool) : Nil #

def domain : String | Nil #

def domain! #

def extensions : Enumerable(String) | Nil #

def extensions! #

def flags : UInt32 #

def flags=(value : UInt32) #

def free : Nil #

def is_disabled : Bool #

def is_save_option_supported(option_key : String) : Bool #

def is_scalable : Bool #

def is_writable : Bool #

def license : String | Nil #

def license! #

def mime_types : Enumerable(String) | Nil #

def mime_types! #

def name : String | Nil #

def name! #

def signature : GdkPixbuf::PixbufModulePattern | Nil #

def signature! #

def to_unsafe #