OssoABookAlphaShortcuts

OssoABookAlphaShortcuts — A widget for scrolling the contact chooser dialog in portrait mode.

Synopsis

                    OssoABookAlphaShortcuts;
GtkWidget*          osso_abook_alpha_shortcuts_new      (void);
void                osso_abook_alpha_shortcuts_show     (OssoABookAlphaShortcuts *shortcuts);
void                osso_abook_alpha_shortcuts_hide     (OssoABookAlphaShortcuts *shortcuts);
void                osso_abook_alpha_shortcuts_widget_hook
                                                        (OssoABookAlphaShortcuts *shortcuts,
                                                         OssoABookContactView *contact_view);
void                osso_abook_alpha_shortcuts_widget_unhook
                                                        (OssoABookAlphaShortcuts *shortcuts);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GtkBox
                                 +----GtkVBox
                                       +----OssoABookAlphaShortcuts

Implemented Interfaces

OssoABookAlphaShortcuts implements AtkImplementorIface and GtkBuildable.

Description

This widget provides a user interface for scrolling OssoABookContactChooser instances.

Details

OssoABookAlphaShortcuts

typedef struct _OssoABookAlphaShortcuts OssoABookAlphaShortcuts;

All the fields of this structure are private to the object's implementation and should never be accessed directly.


osso_abook_alpha_shortcuts_new ()

GtkWidget*          osso_abook_alpha_shortcuts_new      (void);

Creates and returns a new OssoABookAlphaShortcuts widget.

Returns : The newly created alpha bar widget.

osso_abook_alpha_shortcuts_show ()

void                osso_abook_alpha_shortcuts_show     (OssoABookAlphaShortcuts *shortcuts);

Shows the alpha bar widget.

shortcuts : An OssoABookAlphaShortcuts widget

osso_abook_alpha_shortcuts_hide ()

void                osso_abook_alpha_shortcuts_hide     (OssoABookAlphaShortcuts *shortcuts);

Hides the alpha bar widget.

shortcuts : An OssoABookAlphaShortcuts widget

osso_abook_alpha_shortcuts_widget_hook ()

void                osso_abook_alpha_shortcuts_widget_hook
                                                        (OssoABookAlphaShortcuts *shortcuts,
                                                         OssoABookContactView *contact_view);

This function must be called after an OssoABookAlphaShortcuts widget is constructed to set the OssoABookContactView which needs to be scrolled. After that, the OssoABookAlphaShortcuts widget can be packed into a container and used.

shortcuts : An OssoABookAlphaShortcuts widget
contact_view : The OssoABookContactView which is scrolled by the alpha bar

osso_abook_alpha_shortcuts_widget_unhook ()

void                osso_abook_alpha_shortcuts_widget_unhook
                                                        (OssoABookAlphaShortcuts *shortcuts);

This function unsets the contact view widget which was set earlier using osso_abook_alpha_shortcuts_widget_hook().

shortcuts : An OssoABookAlphaShortcuts widget