summaryrefslogtreecommitdiff
path: root/src/fltk_binding/c_fl_group.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fltk_binding/c_fl_group.cpp')
-rw-r--r--src/fltk_binding/c_fl_group.cpp16
1 files changed, 14 insertions, 2 deletions
diff --git a/src/fltk_binding/c_fl_group.cpp b/src/fltk_binding/c_fl_group.cpp
index 58cb6f3..8adc9dd 100644
--- a/src/fltk_binding/c_fl_group.cpp
+++ b/src/fltk_binding/c_fl_group.cpp
@@ -31,8 +31,8 @@ void fl_group_add(GROUP g, WIDGET item) {
}
-void fl_group_clear(GROUP g) {
- reinterpret_cast<Fl_Group*>(g)->clear();
+int fl_group_find(GROUP g, WIDGET item) {
+ return reinterpret_cast<Fl_Group*>(g)->find(reinterpret_cast<Fl_Widget*>(item));
}
@@ -50,3 +50,15 @@ void fl_group_remove2(GROUP g, int place) {
reinterpret_cast<Fl_Group*>(g)->remove(place);
}
+
+
+
+int fl_group_children(GROUP g) {
+ return reinterpret_cast<Fl_Group*>(g)->children();
+}
+
+
+void * fl_group_child(GROUP g, int place) {
+ return reinterpret_cast<Fl_Group*>(g)->child(place);
+}
+