Top | ![]() |
![]() |
![]() |
![]() |
ECell * | e_cell_date_new () |
void | e_cell_date_set_format_component () |
gchar * | e_cell_date_value_to_text () |
gchar * | e_cell_date_tm_to_text () |
ECell * e_cell_date_new (const gchar *fontname
,GtkJustification justify
);
e_cell_date_new
is deprecated and should not be used in newly-written code.
Creates a new ECell renderer that can be used to render dates that that come from the model. The value returned from the model is interpreted as being a time_t.
The ECellDate object support a large set of properties that can be configured through the Gtk argument system and allows the user to have a finer control of the way the string is displayed. The arguments supported allow the control of strikeout, bold, color and a date filter.
The arguments "strikeout_column", "underline_column", "bold_column"
and "color_column" set and return an integer that points to a
column in the model that controls these settings. So controlling
the way things are rendered is achieved by having special columns
in the model that will be used to flag whether the date should be
rendered with strikeout, underline, or bolded. In the case of the
"color_column" argument, the column in the model is expected to
have a string that can be parsed by gdk_color_parse()
.
void e_cell_date_set_format_component (ECellDate *ecd
,const gchar *fmt_component
);
e_cell_date_set_format_component
is deprecated and should not be used in newly-written code.
gchar * e_cell_date_value_to_text (ECellDate *ecd
,gint64 value
,gboolean date_only
);
e_cell_date_value_to_text
is deprecated and should not be used in newly-written code.