GpeIconList

GpeIconList — Widget to arrange icons in columns and rows. (deprecated, will be removed soon)

Synopsis




#define     GPE_ICONLIST_CONST              (obj)
            GPEIconListPrivate;
void        gpe_iconlist_clicked            (GPEIconList *self,
                                             gpointer udata);
void        gpe_iconlist_show_popup         (GPEIconList *self,
                                             gpointer udata);
GtkWidget*  gpe_iconlist_new                (void);
void        gpe_iconlist_set_bg             (GPEIconList *self,
                                             char *bg);
void        gpe_iconlist_set_bg_pixmap      (GPEIconList *self,
                                             GdkPixbuf *bg);
void        gpe_iconlist_set_bg_color       (GPEIconList *self,
                                             guint32 color);
GObject*    gpe_iconlist_add_item           (GPEIconList *self,
                                             char *title,
                                             char *icon,
                                             gpointer udata);
GObject*    gpe_iconlist_add_item_pixbuf    (GPEIconList *self,
                                             char *title,
                                             GdkPixbuf *icon,
                                             gpointer udata);
void        gpe_iconlist_remove_item        (GPEIconList *self,
                                             GObject *item);
void        gpe_iconlist_set_embolden       (GPEIconList *self,
                                             gboolean yes);
void        gpe_iconlist_set_show_title     (GPEIconList *self,
                                             gboolean yes);
void        gpe_iconlist_set_icon_xmargin   (GPEIconList *self,
                                             guint margin);
void        gpe_iconlist_clear              (GPEIconList *self);
void        gpe_iconlist_set_icon_size      (GPEIconList *self,
                                             guint size);
void        gpe_iconlist_popup_removed      (GPEIconList *self);
#define     gpe_iconlist_connect__clicked   (object,func,data)
#define     gpe_iconlist_connect_after__clicked(object,func,data)
#define     gpe_iconlist_connect_data__clicked(object,func,data,destroy_data,flags)
#define     gpe_iconlist_connect__show_popup(object,func,data)
#define     gpe_iconlist_connect_after__show_popup(object,func,data)
#define     gpe_iconlist_connect_data__show_popup(object,func,data,destroy_data,flags)

Description

This widget is used to arrange icons in columns and rows. It provides functions for user interactive actions clicking on a particular icon and methods to manage icons in the list. This one is deprecated, use GpeIconListView in new code.

Details

GPE_ICONLIST_CONST()

#define GPE_ICONLIST_CONST(obj)	G_TYPE_CHECK_INSTANCE_CAST((obj), gpe_iconlist_get_type(), GPEIconList const)

obj :

GPEIconListPrivate

typedef struct _GPEIconListPrivate GPEIconListPrivate;


gpe_iconlist_clicked ()

void        gpe_iconlist_clicked            (GPEIconList *self,
                                             gpointer udata);

Emits the clicked signal for a GpeIconList widget.

self :Iconlist widget
udata :User data to pass to the signal handler.

gpe_iconlist_show_popup ()

void        gpe_iconlist_show_popup         (GPEIconList *self,
                                             gpointer udata);

Emits the show-popup signal for a GpeIconList widget.

self :Iconlist widget
udata :User data to pass to the signal handler.

gpe_iconlist_new ()

GtkWidget*  gpe_iconlist_new                (void);

This function creates a new GpeIconList widget.

Returns :New widget

gpe_iconlist_set_bg ()

void        gpe_iconlist_set_bg             (GPEIconList *self,
                                             char *bg);

Change widget background to a pixmap from a file.

self :Widget
bg :Bitmap file to display in background.

gpe_iconlist_set_bg_pixmap ()

void        gpe_iconlist_set_bg_pixmap      (GPEIconList *self,
                                             GdkPixbuf *bg);

Set the widget background from a GdkPixbuf.

self :Widget
bg :Pixbuf to use for background.

gpe_iconlist_set_bg_color ()

void        gpe_iconlist_set_bg_color       (GPEIconList *self,
                                             guint32 color);

Change background color of icon list.

self :Widget
color :32 bit integer defining the color.

gpe_iconlist_add_item ()

GObject*    gpe_iconlist_add_item           (GPEIconList *self,
                                             char *title,
                                             char *icon,
                                             gpointer udata);

Add a new icon item to a GpeIconList widget.

self :Widget
title :Short text to label the icon.
icon :Icon bitmap file.
udata :Pointer to user data passed to signal handlers.
Returns :New item widget

gpe_iconlist_add_item_pixbuf ()

GObject*    gpe_iconlist_add_item_pixbuf    (GPEIconList *self,
                                             char *title,
                                             GdkPixbuf *icon,
                                             gpointer udata);

Add a new icon item to a GpeIconList widget using a GdkPixbuf for icon data instead of a file.

self :Widget
title :Short text to label the icon.
icon :Icon pixbuf.
udata :Pointer to user data passed to signal handlers.
Returns :New item widget

gpe_iconlist_remove_item ()

void        gpe_iconlist_remove_item        (GPEIconList *self,
                                             GObject *item);

Remove an item from a GpeIconList.

self :Widget
item :Item widget

gpe_iconlist_set_embolden ()

void        gpe_iconlist_set_embolden       (GPEIconList *self,
                                             gboolean yes);

Turn bold text for selected items on/off.

self :Widget
yes :Set TRUE to enable bold text, FALSE to disable.

gpe_iconlist_set_show_title ()

void        gpe_iconlist_set_show_title     (GPEIconList *self,
                                             gboolean yes);

Turn titles on/off.

self :Widget
yes :Set TRUE to enable, FALSE to disable.

gpe_iconlist_set_icon_xmargin ()

void        gpe_iconlist_set_icon_xmargin   (GPEIconList *self,
                                             guint margin);

Change margin in X dimension for icons inside a GpeIconList.

self :Widget
margin :Margin in pixels

gpe_iconlist_clear ()

void        gpe_iconlist_clear              (GPEIconList *self);

Removes all items from an icon list.

self :Widget to clear

gpe_iconlist_set_icon_size ()

void        gpe_iconlist_set_icon_size      (GPEIconList *self,
                                             guint size);

Changes the size of the icons displayed in the icon list.

self :Widget
size :Size in pixels

gpe_iconlist_popup_removed ()

void        gpe_iconlist_popup_removed      (GPEIconList *self);

self :

gpe_iconlist_connect__clicked()

#define     gpe_iconlist_connect__clicked(object,func,data)

object :
func :
data :

gpe_iconlist_connect_after__clicked()

#define     gpe_iconlist_connect_after__clicked(object,func,data)

object :
func :
data :

gpe_iconlist_connect_data__clicked()

#define     gpe_iconlist_connect_data__clicked(object,func,data,destroy_data,flags)

object :
func :
data :
destroy_data :
flags :

gpe_iconlist_connect__show_popup()

#define     gpe_iconlist_connect__show_popup(object,func,data)

object :
func :
data :

gpe_iconlist_connect_after__show_popup()

#define     gpe_iconlist_connect_after__show_popup(object,func,data)

object :
func :
data :

gpe_iconlist_connect_data__show_popup()

#define     gpe_iconlist_connect_data__show_popup(object,func,data,destroy_data,flags)

object :
func :
data :
destroy_data :
flags :