hildon-bread-crumb

hildon-bread-crumb — Interface for elements in a HildonBreadCrumbTrail

Synopsis


#include <hildon/hildon.h>

                    HildonBreadCrumb;
                    HildonBreadCrumbIface;
void                hildon_bread_crumb_get_natural_size (HildonBreadCrumb *bread_crumb,
                                                         gint *width,
                                                         gint *height);
void                hildon_bread_crumb_activated        (HildonBreadCrumb *bread_crumb);

Description

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.

Details

HildonBreadCrumb

typedef struct _HildonBreadCrumb HildonBreadCrumb;

Warning

HildonBreadCrumb is deprecated and should not be used in newly-written code.


HildonBreadCrumbIface

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;

Warning

HildonBreadCrumbIface is deprecated and should not be used in newly-written code.


hildon_bread_crumb_get_natural_size ()

void                hildon_bread_crumb_get_natural_size (HildonBreadCrumb *bread_crumb,
                                                         gint *width,
                                                         gint *height);

Warning

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

hildon_bread_crumb_activated ()

void                hildon_bread_crumb_activated        (HildonBreadCrumb *bread_crumb);

Warning

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