org.gnu.gtk

Class CellRendererText.Attribute

Enclosing Class:
CellRendererText

public static class CellRendererText.Attribute
extends CellRendererAttribute

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.Attribute
ATTRIBUTES
(pango.AttrList) A list of style attributes to apply to the text of the renderer
static CellRendererText.Attribute
BACKGROUND
(String) Background color
static CellRendererText.Attribute
BACKGROUND_GDK
(gdk.Color) Background color
static CellRendererText.Attribute
EDITABLE
(boolean) Whether the text can be modified by the user
static CellRendererText.Attribute
FONT
(String) Font description as a string
static CellRendererText.Attribute
FONT_FAMILY
(String) Name of the font family, e.g.
static CellRendererText.Attribute
FOREGROUND
(String) Foreground color
static CellRendererText.Attribute
FOREGROUND_GDK
(gdk.Color) Foreground color
static CellRendererText.Attribute
MARKUP
(String) Marked up text to render
static CellRendererText.Attribute
RISE
(int) Offset of text above the baseline (below the baseline if rise is negative)
static CellRendererText.Attribute
SCALE
(double) Font scaling factor
static CellRendererText.Attribute
SIZE
(int) Font Size
static CellRendererText.Attribute
STRIKETHROUGH
(boolean) Whether to strike through the text
static CellRendererText.Attribute
TEXT
(String) Text to render
static CellRendererText.Attribute
UNDERLINE
(pango.Underline) Style of underline for this text
static CellRendererText.Attribute
WEIGHT
(Int) Font Weight (see pango.Weight)

Method Summary

Methods inherited from class org.gnu.gtk.CellRendererAttribute

toString

Field Details

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)