## WnckTasklist

WnckTasklist —

## Synopsis

    struct      WnckTasklistPrivate;
    enum        WnckTasklistGroupingType;
    GtkWidget*  wnck_tasklist_new               (WnckScreen *screen);
    void        wnck_tasklist_set_screen        (WnckTasklist *tasklist,
                                                 WnckScreen *screen);
    const int*  wnck_tasklist_get_size_hint_list
                                                (WnckTasklist *tasklist,
                                                 int *n_elements);
    void        wnck_tasklist_set_grouping      (WnckTasklist *tasklist,
                                                 WnckTasklistGroupingType grouping);
    void        wnck_tasklist_set_switch_workspace_on_unminimize
                                                (WnckTasklist *tasklist,
                                                 gboolean switch_workspace_on_unminimize);
    void        wnck_tasklist_set_grouping_limit
                                                (WnckTasklist *tasklist,
                                                 gint limit);
    void        wnck_tasklist_set_include_all_workspaces
                                                (WnckTasklist *tasklist,
                                                 gboolean include_all_workspaces);
    void        wnck_tasklist_set_minimum_width (WnckTasklist *tasklist,
                                                 gint size);
    gint        wnck_tasklist_get_minimum_width (WnckTasklist *tasklist);
    void        wnck_tasklist_set_minimum_height
                                                (WnckTasklist *tasklist,
                                                 gint size);
    gint        wnck_tasklist_get_minimum_height
                                                (WnckTasklist *tasklist);
    GdkPixbuf*  (*WnckLoadIconFunction)         (const char *icon_name,
                                                 int size,
                                                 unsigned int flags,
                                                 void *data);
    void        wnck_tasklist_set_icon_loader   (WnckTasklist *tasklist,
                                                 WnckLoadIconFunction load_icon_func,
                                                 void *data,
                                                 GDestroyNotify free_data_func);

## Description

## Details

### struct WnckTasklistPrivate

    struct WnckTasklistPrivate;

### enum WnckTasklistGroupingType

    typedef enum {
      WNCK_TASKLIST_NEVER_GROUP,
      WNCK_TASKLIST_AUTO_GROUP,
      WNCK_TASKLIST_ALWAYS_GROUP
    } WnckTasklistGroupingType;

### wnck_tasklist_new ()

    GtkWidget*  wnck_tasklist_new               (WnckScreen *screen);

`screen` : |
Returns : |

### wnck_tasklist_set_screen ()

    void        wnck_tasklist_set_screen        (WnckTasklist *tasklist,
                                                 WnckScreen *screen);

`tasklist` : |
`screen` : |

### wnck_tasklist_get_size_hint_list ()

    const int*  wnck_tasklist_get_size_hint_list
                                                (WnckTasklist *tasklist,
                                                 int *n_elements);

`tasklist` : |
`n_elements` : |
Returns : |

### wnck_tasklist_set_grouping ()

    void        wnck_tasklist_set_grouping      (WnckTasklist *tasklist,
                                                 WnckTasklistGroupingType grouping);

`tasklist` : |
`grouping` : |

### wnck_tasklist_set_switch_workspace_on_unminimize ()

    void        wnck_tasklist_set_switch_workspace_on_unminimize
                                                (WnckTasklist *tasklist,
                                                 gboolean switch_workspace_on_unminimize);

`tasklist` : |
`switch_workspace_on_unminimize` : |

### wnck_tasklist_set_grouping_limit ()

    void        wnck_tasklist_set_grouping_limit
                                                (WnckTasklist *tasklist,
                                                 gint limit);

`tasklist` : |
`limit` : |

### wnck_tasklist_set_include_all_workspaces ()

    void        wnck_tasklist_set_include_all_workspaces
                                                (WnckTasklist *tasklist,
                                                 gboolean include_all_workspaces);

`tasklist` : |
`include_all_workspaces` : |

### wnck_tasklist_set_minimum_width ()

    void        wnck_tasklist_set_minimum_width (WnckTasklist *tasklist,
                                                 gint size);

`tasklist` : |
`size` : |

### wnck_tasklist_get_minimum_width ()

    gint        wnck_tasklist_get_minimum_width (WnckTasklist *tasklist);

`tasklist` : |
Returns : |

### wnck_tasklist_set_minimum_height ()

    void        wnck_tasklist_set_minimum_height
                                                (WnckTasklist *tasklist,
                                                 gint size);

`tasklist` : |
`size` : |

### wnck_tasklist_get_minimum_height ()

    gint        wnck_tasklist_get_minimum_height
                                                (WnckTasklist *tasklist);

`tasklist` : |
Returns : |

### WnckLoadIconFunction ()

    GdkPixbuf*  (*WnckLoadIconFunction)         (const char *icon_name,
                                                 int size,
                                                 unsigned int flags,
                                                 void *data);

`icon_name` : |
`size` : |
`flags` : |
`data` : |
Returns : |

### wnck_tasklist_set_icon_loader ()

    void        wnck_tasklist_set_icon_loader   (WnckTasklist *tasklist,
                                                 WnckLoadIconFunction load_icon_func,
                                                 void *data,
                                                 GDestroyNotify free_data_func);

Sets a function to be used for loading icons. The icon loader function takes an icon name as in the Icon field in a .desktop file. The "flags" field for the function is not defined to do anything yet.

`tasklist` : | a WnckTasklist
`load_icon_func` : | icon loader function
`data` : | data for icon loader function
`free_data_func` : | function to free the data