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

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

[View source]
def self.new(attr : Pango::Attribute | Nil = nil, color : Pango::Color | Nil = nil) #

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

[View source]
def attr=(value : Pango::Attribute) #

[View source]
def color : Pango::Color #

[View source]
def color=(value : Pango::Color) #

[View source]
def to_unsafe #

[View source]