Hildon Reference Manual | ||||
---|---|---|---|---|
hildon-bread-crumbhildon-bread-crumb — Interface for elements in a HildonBreadCrumbTrail |
HildonBreadCrumb; HildonBreadCrumbIface; void hildon_bread_crumb_get_natural_size (HildonBreadCrumb *bread_crumb, gint *width, gint *height); void hildon_bread_crumb_activated (HildonBreadCrumb *bread_crumb);
HildonBreadCrumb is an interface for creating new types of items for the HildonBreadCrumbTrail widget.
HildonBreadCrumb is deprecated since hildon 2.2. You should instead use HildonStackableWindow to represent hierarchical structure in applications.
typedef struct _HildonBreadCrumb HildonBreadCrumb;
HildonBreadCrumb
is deprecated and should not be used in newly-written code.
typedef struct { GTypeInterface g_iface; /* virtual table */ void (* get_natural_size) (HildonBreadCrumb *bread_crumb, gint *natural_width, gint *natural_height); /* signals */ void (* crumb_activated) (HildonBreadCrumb *bread_crumb); } HildonBreadCrumbIface;
HildonBreadCrumbIface
is deprecated and should not be used in newly-written code.
void hildon_bread_crumb_get_natural_size (HildonBreadCrumb *bread_crumb, gint *width, gint *height);
hildon_bread_crumb_get_natural_size
is deprecated and should not be used in newly-written code.
Function to ask the bread_crumb
its preferred width and height requisition.
Natural size is different to size_request in that it's not the minimum space
the widget needs, but the ideal space it'd like to be allocated. For example,
in the case of a label the natural size would be the width and height needed
to show the full label without line breaks.
bread_crumb : |
A HildonBreadCrumb |
width : |
location to store the natural width request of the bread_crumb
|
height : |
location to store the natural height request of the bread_crumb
|
void hildon_bread_crumb_activated (HildonBreadCrumb *bread_crumb);
hildon_bread_crumb_activated
is deprecated and should not be used in newly-written code.
Emits the "crumb-activated" signal. The signal is meant to indicate that the user has interacted with the bread crumb.
bread_crumb : |
a HildonBreadCrumb |