Since a Tasklist does not have a fixed size ( Window 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.
Use minimum and natural size instead.
The size hints mechanism is a solution for this. See panel_applet_set_size_hints for more information.
| 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. |
|
a list of size hints that can be used to allocate an appropriate size for this. |