![]() |
![]() |
![]() |
Moblin UI Toolkit Reference Manual | ![]() |
---|---|---|---|---|
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);
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".
time_ : |
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);
child : |
|
childbox : |
|
x_alignment : |
|
y_alignment : |
|
x_fill : |
|
y_fill : |