summaryrefslogtreecommitdiff
path: root/src/c_fl_group.h
blob: 9b58f8c911225cf56a41b7fd5e4fa88d3efdecfe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29


#ifndef FL_GROUP_GUARD
#define FL_GROUP_GUARD

#include "c_fl_widget.h"


typedef void* GROUP;


extern "C" GROUP new_fl_group(int x, int y, int w, int h, char* label);
extern "C" void free_fl_group(GROUP g);

extern "C" void fl_group_end(GROUP g);

extern "C" void fl_group_add(GROUP g, WIDGET item);
extern "C" int fl_group_find(GROUP g, WIDGET item);
extern "C" void fl_group_insert(GROUP g, WIDGET item, int place);
extern "C" void fl_group_remove(GROUP g, WIDGET item);
extern "C" void fl_group_remove2(GROUP g, int place);
extern "C" void fl_group_resizable(GROUP g, WIDGET item);

extern "C" int fl_group_children(GROUP g);
extern "C" void * fl_group_child(GROUP g, int place);


#endif