[gtkmm] Gtk: Add properties and a method
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Gtk: Add properties and a method
- Date: Fri, 11 Mar 2016 15:45:09 +0000 (UTC)
commit 7f6f84311ba308cf7623a6ea4e3f7e27e7660f07
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date: Fri Mar 11 16:41:02 2016 +0100
Gtk: Add properties and a method
* gtk/src/colorbutton.hg: Add property_show_editor()
* gtk/src/settings.hg: Add property_gtk_keynav_use_caret().
* gtk/src/textview.hg: Add reset_cursor_blink().
gtk/src/colorbutton.hg | 1 +
gtk/src/settings.hg | 1 +
gtk/src/textview.hg | 1 +
3 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gtk/src/colorbutton.hg b/gtk/src/colorbutton.hg
index dbf6b32..5941bb3 100644
--- a/gtk/src/colorbutton.hg
+++ b/gtk/src/colorbutton.hg
@@ -142,6 +142,7 @@ public:
_WRAP_PROPERTY("color", Gdk::Color, deprecated "Use property_rgba() instead.")
_WRAP_PROPERTY("rgba", Gdk::RGBA)
_WRAP_PROPERTY("alpha", guint16) //Todo: Remove this when we remove the "color" property too.
+ _WRAP_PROPERTY("show-editor", bool)
_WRAP_SIGNAL(void color_set(), "color-set")
};
diff --git a/gtk/src/settings.hg b/gtk/src/settings.hg
index 75829e2..e85fe6d 100644
--- a/gtk/src/settings.hg
+++ b/gtk/src/settings.hg
@@ -143,6 +143,7 @@ public:
_WRAP_PROPERTY("gtk-dialogs-use-header", bool) // since 3.12
_WRAP_PROPERTY("gtk-long-press-time", guint) // since 3.14
+ _WRAP_PROPERTY("gtk-keynav-use-caret", bool)
};
} //namespace Gtk
diff --git a/gtk/src/textview.hg b/gtk/src/textview.hg
index 6e9bd2a..6ae97a1 100644
--- a/gtk/src/textview.hg
+++ b/gtk/src/textview.hg
@@ -121,6 +121,7 @@ public:
_WRAP_METHOD(void get_visible_rect(Gdk::Rectangle& visible_rect) const, gtk_text_view_get_visible_rect)
_WRAP_METHOD(void set_cursor_visible(bool setting = true), gtk_text_view_set_cursor_visible)
_WRAP_METHOD(bool get_cursor_visible() const, gtk_text_view_get_cursor_visible)
+ _WRAP_METHOD(void reset_cursor_blink(), gtk_text_view_reset_cursor_blink)
_WRAP_METHOD(void get_cursor_locations(const TextBuffer::iterator& iter, Gdk::Rectangle& strong,
Gdk::Rectangle& weak) const, gtk_text_view_get_cursor_locations)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]