Top | ![]() |
![]() |
![]() |
![]() |
gboolean (*CryptUIKeyStoreFilterFunc) (CryptUIKeyset *ckset
,const gchar *key
,gpointer user_data
);
CryptUIKeyStore * cryptui_key_store_new (CryptUIKeyset *keyset
,gboolean use_checks
,const gchar *none_option
);
Creates a new libcryptui key store setting the keystore, use-checks and none-option properties
CryptUIKeyset *
cryptui_key_store_get_keyset (CryptUIKeyStore *ckstore
);
Gets ckstore's internal keyset
void cryptui_key_store_set_sortable (CryptUIKeyStore *ckstore
,gboolean sortable
);
Sets whether ckstore is sortable or not
gboolean
cryptui_key_store_get_sortable (CryptUIKeyStore *ckstore
);
Gets whether ckstore is sortable or not
void cryptui_key_store_check_toggled (CryptUIKeyStore *ckstore
,GtkTreeView *view
,GtkTreeIter *iter
);
Gets whether the check at iter is toggled
gboolean cryptui_key_store_get_iter_from_key (CryptUIKeyStore *ckstore
,const gchar *key
,GtkTreeIter *iter
);
Get the iter that the key is stored at in ckstore
const gchar * cryptui_key_store_get_key_from_iter (CryptUIKeyStore *ckstore
,GtkTreeIter *iter
);
Gets the key stored at iter in ckstore
const gchar * cryptui_key_store_get_key_from_path (CryptUIKeyStore *ckstore
,GtkTreePath *path
);
Get the key at path in ckstore
GList *
cryptui_key_store_get_all_keys (CryptUIKeyStore *ckstore
);
Get a list of all keys in ckstore
guint
cryptui_key_store_get_count (CryptUIKeyStore *ckstore
);
Get the number of keys stored in ckstore
gboolean cryptui_key_store_have_selected_keys (CryptUIKeyStore *ckstore
,GtkTreeView *view
);
Determines whether keys are selected or not.
GList * cryptui_key_store_get_selected_keys (CryptUIKeyStore *ckstore
,GtkTreeView *view
);
Get the currently selected keys
void cryptui_key_store_set_selected_keys (CryptUIKeyStore *ckstore
,GtkTreeView *view
,GList *keys
);
Set the current selection to be the list of keys
const gchar * cryptui_key_store_get_selected_key (CryptUIKeyStore *ckstore
,GtkTreeView *view
);
Get the currently selected key
void cryptui_key_store_set_selected_key (CryptUIKeyStore *ckstore
,GtkTreeView *view
,const gchar *selkey
);
Marks the given key as selected
void cryptui_key_store_set_search_mode (CryptUIKeyStore *ckstore
,CryptUIKeyStoreMode mode
);
Sets whether the keys returned will be all, just those searched for, or those selected.
void cryptui_key_store_set_search_text (CryptUIKeyStore *ckstore
,const gchar *search_text
);
Filters the keys in the store by the text in search_text.
void cryptui_key_store_set_filter (CryptUIKeyStore *ckstore
,CryptUIKeyStoreFilterFunc func
,gpointer user_data
);
Filters the key store's keys with the given filter function.