Osso Addressbook Reference Manual | ||||
---|---|---|---|---|
OssoABookAlphaShortcutsOssoABookAlphaShortcuts — A widget for scrolling the contact chooser dialog in portrait mode. |
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);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBox +----GtkVBox +----OssoABookAlphaShortcuts
typedef struct _OssoABookAlphaShortcuts OssoABookAlphaShortcuts;
All the fields of this structure are private to the object's implementation and should never be accessed directly.
GtkWidget* osso_abook_alpha_shortcuts_new (void);
Creates and returns a new OssoABookAlphaShortcuts widget.
Returns : | The newly created alpha bar widget. |
void osso_abook_alpha_shortcuts_show (OssoABookAlphaShortcuts *shortcuts);
Shows the alpha bar widget.
shortcuts : |
An OssoABookAlphaShortcuts widget |
void osso_abook_alpha_shortcuts_hide (OssoABookAlphaShortcuts *shortcuts);
Hides the alpha bar widget.
shortcuts : |
An OssoABookAlphaShortcuts widget |
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 |
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 |