class Pango::AttrColor

Overview

The Pango::AttrColor structure is used to represent attributes that are colors.

Defined in:

lib/gi-crystal/src/auto/pango-1.0/attr_color.cr

Constructors

Instance Method Summary

Constructor Detail

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

def self.new(data : LibPango::AttrColor, transfer : GICrystal::Transfer) #

def self.new(attr : Pango::Attribute? = nil, color : Pango::Color? = nil) #

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 attr : Pango::Attribute #

def attr=(value : Pango::Attribute) #

def color : Pango::Color #

def color=(value : Pango::Color) #

def to_unsafe #