A
CellRenderer
for displaying Strings.
See the
TreeView
description for an overview fo the tree and list
objects.
Gtk provides many properties for this renderer. Not all of them have been
implemented in the Java-Gnome system (they're not all useful). If you
have requirements for one of them which isn't implemented, please contact us
and we may add support for it.
getEventListenerClass
public Class getEventListenerClass(String signal)
- getEventListenerClass in interface GObject
getEventType
public EventType getEventType(String signal)
- getEventType in interface GObject
getType
public static Type getType()
Retrieve the runtime type used by the GLib library.
- getType in interface CellRenderer
gtk_cell_renderer_text_get_type
protected static final int gtk_cell_renderer_text_get_type()
gtk_cell_renderer_text_new
protected static final Handle gtk_cell_renderer_text_new()
gtk_cell_renderer_text_set_fixed_height_from_font
protected static final void gtk_cell_renderer_text_set_fixed_height_from_font(Handle renderer,
int numberOfRows)
gtk_getFont
protected static final Handle gtk_getFont(Handle handle)
gtk_setAttributes
protected static final void gtk_setAttributes(Handle handle,
Handle attr)
gtk_setFont
protected static final void gtk_setFont(Handle handle,
Handle font)
gtk_setProperty
protected static final void gtk_setProperty(Handle handle,
String property,
boolean setting)
gtk_setUnderLine
protected static final void gtk_setUnderLine(Handle handle,
int underline)
setAttributes
public void setAttributes(AttrList attr)
Sets the pango attributes for the renderer.
attr
- PangoAttributeList to use.
setEditable
public void setEditable(boolean editable)
Sets whether the user may edit the text.
setUnderline
public void setUnderline(Underline underline)
Sets the underline of all cells