Gnm.Color

Fields

Name

Type

Access

Description

go_color

int

r/w

is_auto

bool

r/w

ref_count

int

r/w

Methods

class

new_auto (c)

class

new_gdk (c)

class

new_go (c)

class

new_pango (c)

class

new_rgb8 (red, green, blue)

class

new_rgba16 (red, green, blue, alpha)

class

new_rgba8 (red, green, blue, alpha)

Details

class Gnm.Color
classmethod new_auto(c)
Parameters:

c (int) –

Return type:

Gnm.Color

classmethod new_gdk(c)
Parameters:

c (Gdk.RGBA) –

Return type:

Gnm.Color

classmethod new_go(c)
Parameters:

c (int) –

Return type:

Gnm.Color

classmethod new_pango(c)
Parameters:

c (Pango.Color) –

Return type:

Gnm.Color

classmethod new_rgb8(red, green, blue)
Parameters:
  • red (int) –

  • green (int) –

  • blue (int) –

Return type:

Gnm.Color

classmethod new_rgba16(red, green, blue, alpha)
Parameters:
  • red (int) –

  • green (int) –

  • blue (int) –

  • alpha (int) –

Return type:

Gnm.Color

classmethod new_rgba8(red, green, blue, alpha)
Parameters:
  • red (int) –

  • green (int) –

  • blue (int) –

  • alpha (int) –

Return type:

Gnm.Color