GtkList: GTK+ 2 Reference Manual

## GtkList GtkList |

## Functions

GtkWidget * | gtk_list_new ()
void | gtk_list_insert_items ()
void | gtk_list_append_items ()
void | gtk_list_prepend_items ()
void | gtk_list_remove_items ()
void | gtk_list_remove_items_no_unref ()
void | gtk_list_clear_items ()
void | gtk_list_select_item ()
void | gtk_list_unselect_item ()
void | gtk_list_select_child ()
void | gtk_list_unselect_child ()
gint | gtk_list_child_position ()
void | gtk_list_set_selection_mode ()
void | gtk_list_extend_selection ()
void | gtk_list_start_selection ()
void | gtk_list_end_selection ()
void | gtk_list_select_all ()
void | gtk_list_unselect_all ()
void | gtk_list_scroll_horizontal ()
void | gtk_list_scroll_vertical ()
void | gtk_list_toggle_add_mode ()
void | gtk_list_toggle_focus_row ()
void | gtk_list_toggle_row ()
void | gtk_list_undo_selection ()
void | gtk_list_end_drag_selection ()

## Properties

GtkSelectionMode | selection-mode | Read / Write

## Signals

void | select-child | Run First
void | selection-changed | Run First
void | unselect-child | Run First

## Types and Values

struct | GtkList

## Object Hierarchy

        GObject
        ╰── GInitiallyUnowned
            ╰── GtkObject
                ╰── GtkWidget
                    ╰── GtkContainer
                        ╰── GtkList

## Implemented Interfaces

GtkList implements AtkImplementorIface and GtkBuildable.

## Includes

    #include <gtk/gtk.h>

## Description

## Functions

### gtk_list_new ()

    GtkWidget *
    gtk_list_new (void);

`gtk_list_new` is deprecated and should not be used in newly-written code.

### gtk_list_insert_items ()

    void
    gtk_list_insert_items (GtkList *list,
                           GList *items,
                           gint position);

`gtk_list_insert_items` is deprecated and should not be used in newly-written code.

### gtk_list_append_items ()

    void
    gtk_list_append_items (GtkList *list,
                           GList *items);

`gtk_list_append_items` is deprecated and should not be used in newly-written code.

### gtk_list_prepend_items ()

    void
    gtk_list_prepend_items (GtkList *list,
                            GList *items);

`gtk_list_prepend_items` is deprecated and should not be used in newly-written code.

### gtk_list_remove_items ()

    void
    gtk_list_remove_items (GtkList *list,
                           GList *items);

`gtk_list_remove_items` is deprecated and should not be used in newly-written code.

### gtk_list_remove_items_no_unref ()

    void
    gtk_list_remove_items_no_unref (GtkList *list,
                                    GList *items);

`gtk_list_remove_items_no_unref` is deprecated and should not be used in newly-written code.

### gtk_list_clear_items ()

    void
    gtk_list_clear_items (GtkList *list,
                          gint start,
                          gint end);

`gtk_list_clear_items` is deprecated and should not be used in newly-written code.

### gtk_list_select_item ()

    void
    gtk_list_select_item (GtkList *list,
                          gint item);

`gtk_list_select_item` is deprecated and should not be used in newly-written code.

### gtk_list_unselect_item ()

    void
    gtk_list_unselect_item (GtkList *list,
                            gint item);

`gtk_list_unselect_item` is deprecated and should not be used in newly-written code.

### gtk_list_select_child ()

    void
    gtk_list_select_child (GtkList *list,
                           GtkWidget *child);

`gtk_list_select_child` is deprecated and should not be used in newly-written code.

### gtk_list_unselect_child ()

    void
    gtk_list_unselect_child (GtkList *list,
                             GtkWidget *child);

`gtk_list_unselect_child` is deprecated and should not be used in newly-written code.

### gtk_list_child_position ()

    gint
    gtk_list_child_position (GtkList *list,
                             GtkWidget *child);

`gtk_list_child_position` is deprecated and should not be used in newly-written code.

### gtk_list_set_selection_mode ()

    void
    gtk_list_set_selection_mode (GtkList *list,
                                 GtkSelectionMode mode);

`gtk_list_set_selection_mode` is deprecated and should not be used in newly-written code.

### gtk_list_extend_selection ()

    void
    gtk_list_extend_selection (GtkList *list,
                               GtkScrollType scroll_type,
                               gfloat position,
                               gboolean auto_start_selection);

`gtk_list_extend_selection` is deprecated and should not be used in newly-written code.

### gtk_list_start_selection ()

    void
    gtk_list_start_selection (GtkList *list);

`gtk_list_start_selection` is deprecated and should not be used in newly-written code.

### gtk_list_end_selection ()

    void
    gtk_list_end_selection (GtkList *list);

`gtk_list_end_selection` is deprecated and should not be used in newly-written code.

### gtk_list_select_all ()

    void
    gtk_list_select_all (GtkList *list);

`gtk_list_select_all` is deprecated and should not be used in newly-written code.

### gtk_list_unselect_all ()

    void
    gtk_list_unselect_all (GtkList *list);

`gtk_list_unselect_all` is deprecated and should not be used in newly-written code.

### gtk_list_scroll_horizontal ()

    void
    gtk_list_scroll_horizontal (GtkList *list,
                                GtkScrollType scroll_type,
                                gfloat position);

`gtk_list_scroll_horizontal` is deprecated and should not be used in newly-written code.

### gtk_list_scroll_vertical ()

    void
    gtk_list_scroll_vertical (GtkList *list,
                              GtkScrollType scroll_type,
                              gfloat position);

`gtk_list_scroll_vertical` is deprecated and should not be used in newly-written code.

### gtk_list_toggle_add_mode ()

    void
    gtk_list_toggle_add_mode (GtkList *list);

`gtk_list_toggle_add_mode` is deprecated and should not be used in newly-written code.

### gtk_list_toggle_focus_row ()

    void
    gtk_list_toggle_focus_row (GtkList *list);

`gtk_list_toggle_focus_row` is deprecated and should not be used in newly-written code.

### gtk_list_toggle_row ()

    void
    gtk_list_toggle_row (GtkList *list,
                         GtkWidget *item);

`gtk_list_toggle_row` is deprecated and should not be used in newly-written code.

### gtk_list_undo_selection ()

    void
    gtk_list_undo_selection (GtkList *list);

`gtk_list_undo_selection` is deprecated and should not be used in newly-written code.

### gtk_list_end_drag_selection ()

    void
    gtk_list_end_drag_selection (GtkList *list);

`gtk_list_end_drag_selection` is deprecated and should not be used in newly-written code.

## Types and Values

### struct GtkList

    struct GtkList;

`GtkList` is deprecated and should not be used in newly-written code.

## Property Details

### The `“selection-mode”` property

      “selection-mode”           GtkSelectionMode

Owner: GtkList

Flags: Read / Write

Default value: GTK_SELECTION_NONE

## Signal Details

### The `“select-child”` signal

    void
    user_function (GtkList   *list,
                   GtkWidget *widget,
                   gpointer   user_data)

Flags: Run First

### The `“selection-changed”` signal

    void
    user_function (GtkList *list,
                   gpointer user_data)

Flags: Run First

### The `“unselect-child”` signal

    void
    user_function (GtkList   *list,
                   GtkWidget *widget,
                   gpointer   user_data)

Flags: Run First