Top | ![]() |
![]() |
![]() |
![]() |
GtkTreeView * cryptui_key_list_new (CryptUIKeyStore *ckstore
,guint flags
);
Creates a new key list widget displaying keys from the key store that match the given flags.
void cryptui_key_list_setup (GtkTreeView *view
,CryptUIKeyStore *ckstore
,guint flags
);
Changes an existing GtkTreeView into a CryptUIKeyList using the key store as the model and the filters the view based on the given flags.
CryptUIKeyStore *
cryptui_key_list_get_key_store (GtkTreeView *list
);
Gets the CryptuiKeyStore used as a model by the CryptuiKeyList
CryptUIKeyset *
cryptui_key_list_get_keyset (GtkTreeView *list
);
Gets the keyset from the key store set as the model in the list
gboolean
cryptui_key_list_have_selected_keys (GtkTreeView *list
);
Used to determine if any keys have been selected
GList *
cryptui_key_list_get_selected_keys (GtkTreeView *list
);
Gets the kyes selected in the list
void cryptui_key_list_set_selected_keys (GtkTreeView *list
,GList *keys
);
Selects the given list of keys in the list
const gchar *
cryptui_key_list_get_selected_key (GtkTreeView *list
);
void cryptui_key_list_set_selected_key (GtkTreeView *list
,const gchar *key
);
Selects the given key in the list widget