[gtkmm] Gtk::SizeGroup: Deprecate set/get/property_ignore_hidden()
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Gtk::SizeGroup: Deprecate set/get/property_ignore_hidden()
- Date: Fri, 3 Jun 2016 08:49:13 +0000 (UTC)
commit 2db1d2c850fc21301141fc865999df6e211e7ff4
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date: Fri Jun 3 10:47:04 2016 +0200
Gtk::SizeGroup: Deprecate set/get/property_ignore_hidden()
gtk/src/sizegroup.hg | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/gtk/src/sizegroup.hg b/gtk/src/sizegroup.hg
index 839a238..9f42727 100644
--- a/gtk/src/sizegroup.hg
+++ b/gtk/src/sizegroup.hg
@@ -63,8 +63,10 @@ public:
_WRAP_METHOD(void set_mode(SizeGroupMode mode), gtk_size_group_set_mode)
_WRAP_METHOD(SizeGroupMode get_mode() const, gtk_size_group_get_mode)
- _WRAP_METHOD(void set_ignore_hidden(bool ignore_hidden = true), gtk_size_group_set_ignore_hidden)
- _WRAP_METHOD(bool get_ignore_hidden() const, gtk_size_group_get_ignore_hidden)
+ _WRAP_METHOD(void set_ignore_hidden(bool ignore_hidden = true), gtk_size_group_set_ignore_hidden,
+ deprecated "Does not work reliably. Use a Gtk::Stack instead to hide widgets while still having their
size taken into account.")
+ _WRAP_METHOD(bool get_ignore_hidden() const, gtk_size_group_get_ignore_hidden,
+ deprecated "Does not work reliably. Use a Gtk::Stack instead to hide widgets while still having their
size taken into account.")
_WRAP_METHOD(void add_widget(Widget& widget), gtk_size_group_add_widget)
_WRAP_METHOD(void remove_widget(Widget& widget), gtk_size_group_remove_widget)
@@ -75,7 +77,8 @@ public:
_WRAP_METHOD(std::vector<const Widget*> get_widgets() const, gtk_size_group_get_widgets)
_WRAP_PROPERTY("mode", SizeGroupMode)
- _WRAP_PROPERTY("ignore_hidden", bool)
+ _WRAP_PROPERTY("ignore_hidden", bool,
+ deprecated "Does not work reliably. Use a Gtk::Stack instead to hide widgets while still having their
size taken into account.")
};
} //namespace Gtk
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]