[gtkmm] Add a TODO about Widget::reparent().
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Add a TODO about Widget::reparent().
- Date: Fri, 6 Jun 2014 15:31:51 +0000 (UTC)
commit a502d27364572430c2deb3f0a56cbfb0e5c48a19
Author: Murray Cumming <murrayc murrayc com>
Date: Fri Jun 6 17:31:43 2014 +0200
Add a TODO about Widget::reparent().
gtk/src/widget.hg | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/src/widget.hg b/gtk/src/widget.hg
index fd5181a..5a0f82c 100644
--- a/gtk/src/widget.hg
+++ b/gtk/src/widget.hg
@@ -178,6 +178,8 @@ public:
_WRAP_METHOD(bool send_focus_change(GdkEvent* event), gtk_widget_send_focus_change)
_WRAP_METHOD(bool activate(), gtk_widget_activate)
+ //TODO: Maybe keep this or implement it ourselves,
+ //because the C API now requires manual ref/unrefing to stop remove() and add() from breaking things.
_WRAP_METHOD(void reparent(Widget& new_parent), gtk_widget_reparent, deprecated "Use Container::remove()
and Container::add() instead.")
bool intersect(const Gdk::Rectangle& area) const;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]