| Mx Toolkit Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
void mx_set_locale (); gchar * mx_utils_format_time (GTimeVal *time_); void mx_allocate_align_fill (ClutterActor *child,ClutterActorBox *childbox,MxAlign x_alignment,MxAlign y_alignment,gboolean x_fill,gboolean y_fill); void mx_actor_box_clamp_to_pixels (ClutterActorBox *box);
void mx_set_locale ();
Initializes internationalization support for Mx. If MxApplication is
used, this is called automatically. Otherwise it has to be called
together with clutter_init() before using Mx.
gchar * mx_utils_format_time (GTimeVal *time_);
Generates a string describing the time given in time_ using
colloquial language suitable for display to the user. Examples of
what might be returned are "A few minutes ago" or "Yesterday".
|
a time value |
Returns : |
a string. Free with g_free(). |
void mx_allocate_align_fill (ClutterActor *child,ClutterActorBox *childbox,MxAlign x_alignment,MxAlign y_alignment,gboolean x_fill,gboolean y_fill);