|
Packit Service |
f02b19 |
/*
|
|
Packit Service |
f02b19 |
* gnome-keyring
|
|
Packit Service |
f02b19 |
*
|
|
Packit Service |
f02b19 |
* Copyright (C) 2011 Collabora Ltd.
|
|
Packit Service |
f02b19 |
* Copyright (C) 2010 Stefan Walter
|
|
Packit Service |
f02b19 |
*
|
|
Packit Service |
f02b19 |
* This program is free software; you can redistribute it and/or modify
|
|
Packit Service |
f02b19 |
* it under the terms of the GNU Lesser General Public License as
|
|
Packit Service |
f02b19 |
* published by the Free Software Foundation; either version 2.1 of
|
|
Packit Service |
f02b19 |
* the License, or (at your option) any later version.
|
|
Packit Service |
f02b19 |
*
|
|
Packit Service |
f02b19 |
* This program is distributed in the hope that it will be useful, but
|
|
Packit Service |
f02b19 |
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
f02b19 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit Service |
f02b19 |
* Lesser General Public License for more details.
|
|
Packit Service |
f02b19 |
*
|
|
Packit Service |
f02b19 |
* You should have received a copy of the GNU Lesser General Public
|
|
Packit Service |
f02b19 |
* License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
|
Packit Service |
f02b19 |
*
|
|
Packit Service |
f02b19 |
* Author: Stef Walter <stefw@collabora.co.uk>
|
|
Packit Service |
f02b19 |
*/
|
|
Packit Service |
f02b19 |
|
|
Packit Service |
f02b19 |
#ifndef __GCR_LIST_SELECTOR_H__
|
|
Packit Service |
f02b19 |
#define __GCR_LIST_SELECTOR_H__
|
|
Packit Service |
f02b19 |
|
|
Packit Service |
f02b19 |
#include "gcr/gcr-types.h"
|
|
Packit Service |
f02b19 |
|
|
Packit Service |
f02b19 |
#include <gtk/gtk.h>
|
|
Packit Service |
f02b19 |
|
|
Packit Service |
f02b19 |
G_BEGIN_DECLS
|
|
Packit Service |
f02b19 |
|
|
Packit Service |
f02b19 |
#define GCR_TYPE_LIST_SELECTOR (gcr_list_selector_get_type ())
|
|
Packit Service |
f02b19 |
#define GCR_LIST_SELECTOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GCR_TYPE_LIST_SELECTOR, GcrListSelector))
|
|
Packit Service |
f02b19 |
#define GCR_LIST_SELECTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GCR_TYPE_LIST_SELECTOR, GcrListSelectorClass))
|
|
Packit Service |
f02b19 |
#define GCR_IS_LIST_SELECTOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GCR_TYPE_LIST_SELECTOR))
|
|
Packit Service |
f02b19 |
#define GCR_IS_LIST_SELECTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GCR_TYPE_LIST_SELECTOR))
|
|
Packit Service |
f02b19 |
#define GCR_LIST_SELECTOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GCR_TYPE_LIST_SELECTOR, GcrListSelectorClass))
|
|
Packit Service |
f02b19 |
|
|
Packit Service |
f02b19 |
typedef struct _GcrListSelector GcrListSelector;
|
|
Packit Service |
f02b19 |
typedef struct _GcrListSelectorClass GcrListSelectorClass;
|
|
Packit Service |
f02b19 |
typedef struct _GcrListSelectorPrivate GcrListSelectorPrivate;
|
|
Packit Service |
f02b19 |
|
|
Packit Service |
f02b19 |
struct _GcrListSelector {
|
|
Packit Service |
f02b19 |
GtkTreeView parent;
|
|
Packit Service |
f02b19 |
|
|
Packit Service |
f02b19 |
/*< private >*/
|
|
Packit Service |
f02b19 |
GcrListSelectorPrivate *pv;
|
|
Packit Service |
f02b19 |
};
|
|
Packit Service |
f02b19 |
|
|
Packit Service |
f02b19 |
struct _GcrListSelectorClass {
|
|
Packit Service |
f02b19 |
|
|
Packit Service |
f02b19 |
/*< private >*/
|
|
Packit Service |
f02b19 |
GtkTreeViewClass parent_class;
|
|
Packit Service |
f02b19 |
};
|
|
Packit Service |
f02b19 |
|
|
Packit Service |
f02b19 |
GType gcr_list_selector_get_type (void);
|
|
Packit Service |
f02b19 |
|
|
Packit Service |
f02b19 |
GcrListSelector* gcr_list_selector_new (GcrCollection *collection);
|
|
Packit Service |
f02b19 |
|
|
Packit Service |
f02b19 |
GcrCollection* gcr_list_selector_get_collection (GcrListSelector *self);
|
|
Packit Service |
f02b19 |
|
|
Packit Service |
f02b19 |
GList* gcr_list_selector_get_selected (GcrListSelector *self);
|
|
Packit Service |
f02b19 |
|
|
Packit Service |
f02b19 |
void gcr_list_selector_set_selected (GcrListSelector *self,
|
|
Packit Service |
f02b19 |
GList *selected);
|
|
Packit Service |
f02b19 |
|
|
Packit Service |
f02b19 |
G_END_DECLS
|
|
Packit Service |
f02b19 |
|
|
Packit Service |
f02b19 |
#endif /* __GCR_LIST_SELECTOR_H__ */
|