GtkType |
gtk_icon_list_get_type |
(void); |
GtkType |
gtk_icon_list_item_get_type |
(void); |
GtkWidget* |
gtk_icon_list_new |
(guint icon_width, |
void |
gtk_icon_list_construct |
(GtkIconList *icon_list, |
void |
gtk_icon_list_set_mode |
(GtkIconList *iconlist, |
guint |
gtk_icon_list_get_mode |
(GtkIconList *iconlist); |
void |
gtk_icon_list_set_editable |
(GtkIconList *iconlist, |
gboolean |
gtk_icon_list_is_editable |
(GtkIconList *iconlist); |
void |
gtk_icon_list_set_row_spacing |
(GtkIconList *iconlist, |
guint |
gtk_icon_list_get_row_spacing |
(GtkIconList *iconlist); |
void |
gtk_icon_list_set_col_spacing |
(GtkIconList *iconlist, guint spacing); |
guint |
gtk_icon_list_get_col_spacing |
(GtkIconList *iconlist); |
void |
gtk_icon_list_set_text_space |
(GtkIconList *iconlist, guint space); |
guint |
gtk_icon_list_get_text_space |
(GtkIconList *iconlist); |
void |
gtk_icon_list_set_icon_border |
(GtkIconList *iconlist, guint space); |
guint |
gtk_icon_list_get_icon_border |
(GtkIconList *iconlist); |
void |
gtk_icon_list_set_icon_width |
(GtkIconList *iconlist, guint space); |
guint |
gtk_icon_list_get_icon_width |
(GtkIconList *iconlist); |
void |
gtk_icon_list_freeze |
(GtkIconList *icon_list); |
void |
gtk_icon_list_thaw |
(GtkIconList *icon_list); |
void |
gtk_icon_list_set_background |
(GtkIconList *icon_list, GdkColor *color); |
GtkIconListItem * |
gtk_icon_list_add_from_pixmap |
(GtkIconList *icon_list, GdkPixmap *pixmap, GdkBitmap *bitmap, const gchar *label, gpointer link); |
GtkIconListItem * |
gtk_icon_list_add_from_data |
(GtkIconList *icon_list, gchar **data, const gchar *label, gpointer link); |
GtkIconListItem * |
gtk_icon_list_add |
(GtkIconList *icon_list, const gchar *pixmap_file, const gchar *label, gpointer link); |
GtkIconListItem * |
gtk_icon_list_get_nth |
(GtkIconList *iconlist, guint n); |
gint |
gtk_icon_list_get_index |
(GtkIconList *iconlist, GtkIconListItem *item); |
void |
gtk_icon_list_remove |
(GtkIconList *iconlist, GtkIconListItem *item); |
void |
gtk_icon_list_set_active_icon |
(GtkIconList *iconlist, GtkIconListItem *icon); |
void |
gtk_icon_list_remove_nth |
(GtkIconList *iconlist, guint n); |
void |
gtk_icon_list_update |
(GtkIconList *iconlist); |
void |
gtk_icon_list_clear |
(GtkIconList *iconlist); |
void |
gtk_icon_list_link |
(GtkIconListItem *item, gpointer data); |
gpointer |
gtk_icon_list_get_link |
(GtkIconListItem *item); |
GtkIconListItem * |
gtk_icon_list_get_icon_from_link |
(GtkIconList *iconlist, gpointer data); |
GtkIconListItem * |
gtk_icon_list_get_icon_at |
(GtkIconList *iconlist, gint x, gint y); |
GtkIconListItem * |
gtk_icon_list_get_active_icon |
(GtkIconList *iconlist); |
GtkWidget * |
gtk_icon_list_get_entry |
(GtkIconListItem *item); |
GtkWidget * |
gtk_icon_list_get_pixmap |
(GtkIconListItem *item); |
void |
gtk_icon_list_set_pixmap |
(GtkIconListItem *item, GdkPixmap *pixmap, GdkBitmap *bitmap); |
void |
gtk_icon_list_set_label |
(GtkIconList *iconlist, GtkIconListItem *item, const gchar *label); |
void |
gtk_icon_list_set_selection_mode |
(GtkIconList *iconlist, gint mode); |
void |
gtk_icon_list_select_icon |
(GtkIconList *iconlist, GtkIconListItem *item); |
void |
gtk_icon_list_unselect_icon |
(GtkIconList *iconlist, GtkIconListItem *item); |
void |
gtk_icon_list_unselect_all |
(GtkIconList *iconlist); |
|
gboolean (*select_icon) (GtkIconList *iconlist, |
struct _GtkIconList |
struct _GtkIconListItem |
num |
|
Screenshot
![]() |
![]() |
GtkWidget* gtk_icon_list_new (guint icon_width, guint mode); |
Create a new iconlist widget.
icon width | the width of the icon |
mode | GTK_ICON_LIST_ICON, GTK_ICON_LIST_TEXT_RIGHT, GTK_ICON_LIST_TEXT_BELOW |
void gtk_icon_list_construct (GtkIconList *icon_list, guint icon_width,guint mode); |
Initialize iconlist structure.
icon_list | icon list widget created with gtk_icon_list_new() |
icon width | the width of the icon |
mode | GTK_ICON_LIST_ICON, GTK_ICON_LIST_TEXT_RIGHT, GTK_ICON_LIST_TEXT_BELOW |
void gtk_icon_list_set_mode (GtkIconList *iconlist, guint mode); |
Set the dispaly mode of the icons.
iconlist | icon list widget created with gtk_icon_list_new() |
mode | GTK_ICON_LIST_ICON, GTK_ICON_LIST_TEXT_RIGHT, GTK_ICON_LIST_TEXT_BELOW |
guint gtk_icon_list_get_mode (GtkIconList *iconlist); |
Get the current display mode of the iconlist
name | name of the font |
height | height of the font |
void gtk_icon_list_set_editable (GtkIconList *iconlist,gboolean editable); |
Set if the user can edit the text in the editable widget or not.
iconlist | icon list widget created with gtk_icon_list_new() |
editable | TRUE or FALSE |
void gtk_icon_list_set_row_spacing (GtkIconList *iconlist,guint spacing); |
Set row spacing of the iconlist in pixels.
iconlist | icon list widget created with gtk_icon_list_new() |
spacing | the distance betwwen rows in pizels |
GtkIconListItem *gtk_icon_list_add (GtkIconList *icon_list, const gchar *pixmap_file, const gchar *label, gpointer link); |
Add a icon to the icon list.
iconlist | icon list widget created with gtk_icon_list_new() |
pixmap_file | from #include "file.xpm" |
label | label of the icon |
link | a pointer to a string ,etc.. |
gboolean (*select_icon) (GtkIconList *iconlist, GtkIconListItem *icon, GdkEvent *event); |
Should be connected if you wish to perform an action whenever the icon is selected
toggle_combo : | the object which received the signal. |
item | icon pointer |
event | event that produced the selection of icon |
void (*unselect_icon) (GtkIconList *iconlist, |
Should be connected if you wish to perform an action whenever the icon is unselected
toggle_combo : | the object which received the signal. |
item | icon pointer |
event | event that produced the unselection of icon |
gboolean (*text_changed) (GtkIconList *iconlist, |
Should be connected if you wish to perform an action whenever text of the icon is changed
toggle_combo : | the object which received the signal. |
item | icon pointer |
new_text | modified text |
gboolean (*activate_icon) (GtkIconList *iconlist, |
Should be connected if you wish to perform an action whenever the icon is activated
toggle_combo : | the object which received the signal. |
item | icon pointer |
gboolean (*deactivate_icon) (GtkIconList *iconlist, |
Should be connected if you wish to perform an action whenever the icon is deactivated
toggle_combo : | the object which received the signal. |
item | icon pointer |
void (*click_event) (GtkIconList *iconlist, |
Should be connected if you wish to perform an action whenever an event occures.
toggle_combo : | the object which received the signal. |
event | GdkEvent that occured |