[gtkmm] Gtk::TreeView: Add get/set_activate_on_single_click().
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Gtk::TreeView: Add get/set_activate_on_single_click().
- Date: Wed, 3 Apr 2013 20:42:56 +0000 (UTC)
commit 2d081548684f53ca8b3d4efe7ea338de74c02eca
Author: Murray Cumming <murrayc murrayc com>
Date: Mon Apr 1 19:00:57 2013 +0200
Gtk::TreeView: Add get/set_activate_on_single_click().
* gtk/src/treeview.hg: Wrap the new
gtk_tree_view_set_activate_on_single_click() and
gtk_tree_view_get_activate_on_single_click() functions
and the activate-on-single-click property.
ChangeLog | 9 +++++++++
gtk/src/treeview.hg | 5 ++++-
2 files changed, 13 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index d48893b..bb9f534 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
2013-04-01 Murray Cumming <murrayc murrayc com>
+ Gtk::TreeView: Add get/set_activate_on_single_click().
+
+ * gtk/src/treeview.hg: Wrap the new
+ gtk_tree_view_set_activate_on_single_click() and
+ gtk_tree_view_get_activate_on_single_click() functions
+ and the activate-on-single-click property.
+
+2013-04-01 Murray Cumming <murrayc murrayc com>
+
Gtk::MenuShell: Add bind_model().
* gtk/src/textview: Wrap the new
diff --git a/gtk/src/treeview.hg b/gtk/src/treeview.hg
index 3d02711..c465d36 100644
--- a/gtk/src/treeview.hg
+++ b/gtk/src/treeview.hg
@@ -151,6 +151,9 @@ public:
_WRAP_METHOD(void set_rules_hint(bool setting = true), gtk_tree_view_set_rules_hint)
_WRAP_METHOD(bool get_rules_hint() const, gtk_tree_view_get_rules_hint)
+ _WRAP_METHOD(void set_activate_on_single_click(bool single = true),
gtk_tree_view_set_activate_on_single_click)
+ _WRAP_METHOD(bool get_activate_on_single_click() const, gtk_tree_view_get_activate_on_single_click)
+
_WRAP_METHOD(int append_column(TreeViewColumn& column), gtk_tree_view_append_column)
/** Appends a View column with the appropriate CellRenderer for the Model column.
@@ -790,7 +793,6 @@ public:
_WRAP_METHOD(void set_tooltip_column(int column), gtk_tree_view_set_tooltip_column)
_WRAP_METHOD(int get_tooltip_column() const, gtk_tree_view_get_tooltip_column)
-
#m4begin
dnl // We need this special conversion here since the C++ Gtk::TreeIter carries
dnl // a pointer to the Gtk::TreeModel, whereas the plain GtkTreeIter struct does
@@ -835,6 +837,7 @@ _CONVERSION(`GtkTreeIter*',`const TreeModel::iterator&',`TreeModel::iterator(gtk
_WRAP_PROPERTY("enable-grid-lines", bool)
_WRAP_PROPERTY("enable-tree-lines", bool)
_WRAP_PROPERTY("tooltip-column", int)
+ _WRAP_PROPERTY("activate-on-single-click", bool)
protected:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]