ExoCellRendererEllipsizedText

ExoCellRendererEllipsizedText — Renders text in a cell

Synopsis

#include <exo/exo.h>

                    ExoCellRendererEllipsizedText;
GtkCellRenderer *   exo_cell_renderer_ellipsized_text_new
                                                        (void);

Description

The ExoCellRendererEllipsizedText renders a given text in its cell, using the font, color and style information provided by its properties (which are actually inherited from GtkCellRendererText).

Despite the rather confusing name of this class, it is mainly useful to render text in an ExoIconView (or a GtkIconView), which require the renderers to actually draw the state indicators. State indicators will be drawn only if the follow-state property is TRUE.

Details

ExoCellRendererEllipsizedText

typedef struct _ExoCellRendererEllipsizedText ExoCellRendererEllipsizedText;

The ExoIconCellRendererEllipsizedText struct contains only private fields and should not be directly accessed.


exo_cell_renderer_ellipsized_text_new ()

GtkCellRenderer *   exo_cell_renderer_ellipsized_text_new
                                                        (void);

Creates a new ExoCellRendererEllipsizedText. Adjust rendering parameters using gobject properties, which can be set globally via g_object_set(). Also, with GtkCellLayout and GtkTreeViewColumn, you can bind a property to a value in a GtkTreeModel.

Returns :

the newly allocated ExoCellRendererEllipsizedText.

See Also

GtkCellRendererText, ExoIconView