MildenhallMetaInfoFooter

MildenhallMetaInfoFooter — MildenhallMetaInfoFooter is a container widget designed to show footer info.

Functions

MildenhallMetaInfoFooter * mildenhall_meta_info_footer_new ()

Description

Freeing the widget

Call g_object_unref() to free the widget.

Sample C Code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
GObject *object = NULL;
ClutterActor *footer = NULL;
ThornburyModel *footer_model = NULL;
ThornburyItemFactory *item_factory = NULL;

item_factory = thornbury_item_factory_generate_widget_with_props (
    MILDENHALL_TYPE_META_INFO_FOOTER,
    "/usr/share/mildenhall/mildenhall_meta_info_footer_prop.json");

g_object_get (item_factory, "object", &object, NULL);
footer = CLUTTER_ACTOR (object);

footer_model = (ThornburyModel*) thornbury_list_model_new (COLUMN_NONE,
                                                          G_TYPE_POINTER, NULL,
                                                          G_TYPE_STRING, NULL,
                                                          G_TYPE_STRING, NULL, -1);
 thornbury_model_append (footer_model,
                        COLUMN_LEFT_ICON_TEXT, "/var/lib/MILDENHALL_extensions/themes/test-drawer-base/icon_music_AC.png",
                        COLUMN_MID_TEXT, "MUSIC DERFASD AWra wer Araerase",
                        COLUMN_RIGHT_ICON_TEXT, NULL, -1);
 g_object_set (footer, "model", footer_model, NULL);
 clutter_actor_add_child (stage, footer);

Functions

mildenhall_meta_info_footer_new ()

MildenhallMetaInfoFooter *
mildenhall_meta_info_footer_new (void);

Creates a new MildenhallMetaInfoFooter

Returns

a new MildenhallMetaInfoFooter.

[transfer full]

Types and Values

See Also

ThornburyItemFactory, ClutterActor, MildenhallMetaInfoHeader