get_size_hint_list


Description:

[ Version ( deprecated = true , deprecated_since = "3.42" ) ]
public int get_size_hint_list (int n_elements)

Warning: get_size_hint_list is deprecated since 3.42.

Since a Tasklist does not have a fixed size (#WnckWindow can be grouped when needed, for example), the standard size request mechanism in GTK+ is not enough to announce what sizes can be used by this.

Note:

Use minimum and natural size instead.

The size hints mechanism is a solution for this. See panel_applet_set_size_hints for more information.

Parameters:

this

a Tasklist.

n_elements

return location for the number of elements in the array returned by this function. This number should always be pair.

Returns:

a list of size hints that can be used to allocate an appropriate size for this.