class Gdk::ContentFormatsBuilder

Overview

A GdkContentFormatsBuilder is an auxiliary struct used to create new GdkContentFormats, and should not be kept around.

Defined in:

lib/gi-crystal/src/auto/gdk-4.0/content_formats_builder.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

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

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 add_formats(formats : Gdk::ContentFormats) : Nil #

def add_gtype(type : UInt64) : Nil #

def add_mime_type(mime_type : String) : Nil #

def finalize #


def to_formats : Gdk::ContentFormats #

def to_unsafe : Pointer(Void) #

def unref : Nil #