mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
ae63b21c61
Use a custom tree model and enable dragging from the icon view. Currently, we just support dropping the icon name as text.
27 lines
615 B
C
27 lines
615 B
C
#ifndef __ICON_STORE_H
|
|
#define __ICON_STORE_H
|
|
|
|
#include <gtk/gtk.h>
|
|
|
|
|
|
#define ICON_STORE_TYPE (icon_store_get_type ())
|
|
#define ICON_STORE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ICON_STORE_TYPE, IconStore))
|
|
|
|
|
|
typedef struct _IconStore IconStore;
|
|
typedef struct _IconStoreClass IconStoreClass;
|
|
|
|
enum {
|
|
ICON_STORE_NAME_COLUMN,
|
|
ICON_STORE_SYMBOLIC_NAME_COLUMN,
|
|
ICON_STORE_DESCRIPTION_COLUMN,
|
|
ICON_STORE_CONTEXT_COLUMN
|
|
};
|
|
|
|
GType icon_store_get_type (void);
|
|
|
|
void icon_store_set_text_column (IconStore *store,
|
|
gint column);
|
|
|
|
#endif /* __ICON_STORE_H */
|