org.gnu.gtk

Class CellRendererText.Attribute

public static class CellRendererText.Attribute extends CellRenderer.Attribute

Attributes which may be used to connect to data in a TreeModel via methods in the TreeViewColumn object.

Note that these should usually be set to PANGO constants.

Field Summary
static CellRendererText.AttributeATTRIBUTES
(pango.AttrList) A list of style attributes to apply to the text of the renderer
static CellRendererText.AttributeBACKGROUND
(String) Background color
static CellRendererText.AttributeBACKGROUND_GDK
(gdk.Color) Background color
static CellRendererText.AttributeEDITABLE
(boolean) Whether the text can be modified by the user
static CellRendererText.AttributeFONT
(String) Font description as a string
static CellRendererText.AttributeFONT_FAMILY
(String) Name of the font family, e.g.
static CellRendererText.AttributeFOREGROUND
(String) Foreground color
static CellRendererText.AttributeFOREGROUND_GDK
(gdk.Color) Foreground color
static CellRendererText.AttributeMARKUP
(String) Marked up text to render
static CellRendererText.AttributeRISE
(int) Offset of text above the baseline (below the baseline if rise is negative)
static CellRendererText.AttributeSCALE
(double) Font scaling factor
static CellRendererText.AttributeSIZE
(int) Font Size
static CellRendererText.AttributeSTRIKETHROUGH
(boolean) Whether to strike through the text
static CellRendererText.AttributeTEXT
(String) Text to render
static CellRendererText.AttributeUNDERLINE
(pango.Underline) Style of underline for this text
static CellRendererText.AttributeWEIGHT
(Int) Font Weight (see pango.Weight)

Field Detail

ATTRIBUTES

public static final CellRendererText.Attribute ATTRIBUTES
(pango.AttrList) A list of style attributes to apply to the text of the renderer

BACKGROUND

public static final CellRendererText.Attribute BACKGROUND
(String) Background color

BACKGROUND_GDK

public static final CellRendererText.Attribute BACKGROUND_GDK
(gdk.Color) Background color

EDITABLE

public static final CellRendererText.Attribute EDITABLE
(boolean) Whether the text can be modified by the user

FONT

public static final CellRendererText.Attribute FONT
(String) Font description as a string

FONT_FAMILY

public static final CellRendererText.Attribute FONT_FAMILY
(String) Name of the font family, e.g. Sans, Helvetica, Times, Monospace

FOREGROUND

public static final CellRendererText.Attribute FOREGROUND
(String) Foreground color

FOREGROUND_GDK

public static final CellRendererText.Attribute FOREGROUND_GDK
(gdk.Color) Foreground color

MARKUP

public static final CellRendererText.Attribute MARKUP
(String) Marked up text to render

RISE

public static final CellRendererText.Attribute RISE
(int) Offset of text above the baseline (below the baseline if rise is negative)

SCALE

public static final CellRendererText.Attribute SCALE
(double) Font scaling factor

SIZE

public static final CellRendererText.Attribute SIZE
(int) Font Size

STRIKETHROUGH

public static final CellRendererText.Attribute STRIKETHROUGH
(boolean) Whether to strike through the text

TEXT

public static final CellRendererText.Attribute TEXT
(String) Text to render

UNDERLINE

public static final CellRendererText.Attribute UNDERLINE
(pango.Underline) Style of underline for this text

WEIGHT

public static final CellRendererText.Attribute WEIGHT
(Int) Font Weight (see pango.Weight)