| Meego Panel Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Signals | ||||
MplAppBookmarkManager; MplAppBookmarkManagerClass; MplAppBookmarkManager * mpl_app_bookmark_manager_get_default (void); void mpl_app_bookmark_manager_add_uri (MplAppBookmarkManager *manager,const gchar *uri); void mpl_app_bookmark_manager_remove_uri (MplAppBookmarkManager *manager,const gchar *uri); void mpl_app_bookmark_manager_save (MplAppBookmarkManager *manager); GList * mpl_app_bookmark_manager_get_bookmarks (MplAppBookmarkManager *manager);
MplAppBookmarkManager manages user-bookmarked applications, as shown, for example, in the myzone and applications panels. The ::bookmarks-changed signal is emitted when the bookmarks have changed.
typedef struct _MplAppBookmarkManager MplAppBookmarkManager;
Manager for application bookmarks.
typedef struct {
void (*bookmarks_changed)(MplAppBookmarkManager *manager);
} MplAppBookmarkManagerClass;
Class struct for MplAppBookmarkManager.
MplAppBookmarkManager * mpl_app_bookmark_manager_get_default
(void);
Returns an instance of MplAppBookmarkManager object.
Returns : |
MplAppBookmarkManager; the caller holds a reference to the
object, and should release it using g_object_unref() when no longer needed.
|
void mpl_app_bookmark_manager_add_uri (MplAppBookmarkManager *manager,const gchar *uri);
Adds bookmark identified by uri to the manager, and schedules the new bookmark list to be save in the next idle cycle.
|
MplAppBookmarkManager |
|
the bookmark to add |
void mpl_app_bookmark_manager_remove_uri (MplAppBookmarkManager *manager,const gchar *uri);
Removes bookmark identified by uri from the manager, and schedules the new bookmark list to be saved when idle.
|
MplAppBookmarkManager |
|
the bookmark to remove |
void mpl_app_bookmark_manager_save (MplAppBookmarkManager *manager);
Saves current bookmarks to disk.
|
MplAppBookmarkManager |
GList * mpl_app_bookmark_manager_get_bookmarks
(MplAppBookmarkManager *manager);
Obtains list of current bookmarks.
|
MplAppBookmarkManager |
Returns : |
current bookmarks as a GList of constant strings; the list is
owned by the caller and must be freed with g_list_free() when no longer
needed, however, the list data is owned by the manager and must not be freed.
|
"bookmarks-changed" signalvoid user_function (MplAppBookmarkManager *manager, gpointer user_data) : Run First
The ::bookmarks-changed signal is emitted when user changes their bookmarked applications.
|
manager that received the signal |
|
user data set when the signal handler was connected. |