2.2. Lists

To facilitate the handling of data in GLists and GSLists within Gamma, they are not used as such, but rather as normal Gamma lists. Any widget's method or function (such as gtk_radio_button_new) that would take a GList or GSList as an argument, takes an ordinary Gamma list instead. For example:

...

button_list = list(button1,button2);
button3 = gtk_radio_button_new_with_label(button_list);
...

This feature lets you manipulate the list using Gamma's extensive list functions.