[gtkmm] Fixed: Wrap child properties
- From: Juan R. Garcia Blanco <juanrgar src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Fixed: Wrap child properties
- Date: Sun, 13 Jul 2014 20:07:08 +0000 (UTC)
commit bd2a1478a75f58df27a95e58c8d19ea19db83ca3
Author: Juan R. GarcĂa Blanco <juanrgar gmail com>
Date: Sun Jul 13 22:05:54 2014 +0200
Fixed: Wrap child properties
* gtk/src/gtk_signals.defs: Add definitions for "x" and "y"
properties.
* gtk/src/fixed.hg: Add wrappers for the aforementioned child
properties.
* See https://bugzilla.gnome.org/show_bug.cgi?id=140515
gtk/src/fixed.hg | 3 +++
gtk/src/gtk_signals.defs | 18 ++++++++++++++++++
2 files changed, 21 insertions(+), 0 deletions(-)
---
diff --git a/gtk/src/fixed.hg b/gtk/src/fixed.hg
index 97cc558..e1133b2 100644
--- a/gtk/src/fixed.hg
+++ b/gtk/src/fixed.hg
@@ -46,6 +46,9 @@ public:
_WRAP_METHOD(void put(Widget& widget, int x, int y), gtk_fixed_put)
_WRAP_METHOD(void move(Widget& widget, int x, int y), gtk_fixed_move)
_IGNORE(gtk_fixed_set_has_window, gtk_fixed_get_has_window) // deprecated
+
+ _WRAP_CHILD_PROPERTY("x", int)
+ _WRAP_CHILD_PROPERTY("y", int)
};
} //namespace Gtk
diff --git a/gtk/src/gtk_signals.defs b/gtk/src/gtk_signals.defs
index e4d287b..75827e2 100644
--- a/gtk/src/gtk_signals.defs
+++ b/gtk/src/gtk_signals.defs
@@ -12693,6 +12693,24 @@
(construct-only #f)
)
+(define-child-property x
+ (of-object "GtkFixed")
+ (prop-type "GParamInt")
+ (docs "X position of child widget")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
+(define-child-property y
+ (of-object "GtkFixed")
+ (prop-type "GParamInt")
+ (docs "Y position of child widget")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
(define-child-property tab-label
(of-object "GtkNotebook")
(prop-type "GParamString")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]