Method: Newt::CheckboxTree#get_selection

Defined in:
ext/ruby_newt/ruby_newt.c

#get_selectionObject



1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
# File 'ext/ruby_newt/ruby_newt.c', line 1220

static VALUE rb_ext_CheckboxTree_GetSelection(VALUE self)
{
  newtComponent co;
  VALUE *data;
  int numitems;

  Get_newtComponent(self, co);
  data = (VALUE *) newtCheckboxTreeGetSelection(co, &numitems);
  return checkboxtree_collect_selection(numitems, data);
}