ExoCellRendererEllipsizedText

## ExoCellRendererEllipsizedText ExoCellRendererEllipsizedText — Renders text in a cell and optionally ellipsizes the text. |

## Synopsis

    #include <exo/exo.h>

                ExoCellRendererEllipsizedText;
    GtkCellRenderer* exo_cell_renderer_ellipsized_text_new
                                                (void);

## Object Hierarchy

      GObject
       +----GtkObject
             +----GtkCellRenderer
                   +----GtkCellRendererText
                         +----ExoCellRendererEllipsizedText

## 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). The text will be ellipsized if its too long and the "ellipsize" property allows it.

ExoCellRendererEllipsizedText is compatible with Gtk+ 2.5 and above in that it automatically detects if GtkCellRendererText has the "ellipsize" property and reuses the built-in functionality if available. For Gtk+ 2.4, it uses the Pango Extensions to ellipsize text properly.

## Details

### ExoCellRendererEllipsizedText

    typedef struct _ExoCellRendererEllipsizedText ExoCellRendererEllipsizedText;

### exo_cell_renderer_ellipsized_text_new ()

    GtkCellRenderer* exo_cell_renderer_ellipsized_text_new
                                                (void);

Creates a new ExoCellRendererEllipsizedText. Adjust how text is drawn using object properties. Object properties can be set globally (with `g_object_set()`). Also, with GtkTreeViewColumn, you can bind a property to a value in a GtkTreeModel. For example, you can bind the "text" property on the cell renderer to a string value in the model, thus rendering a different string in each row of the GtkTreeView.

Returns : | The new cell renderer.

## See Also

GtkCellRendererText, Exo Pango Extensions