[gtkmm] ListBoxRow: Add some methods and properties.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] ListBoxRow: Add some methods and properties.
- Date: Mon, 15 Sep 2014 15:24:45 +0000 (UTC)
commit 84ca6834bc91b5badec1cdd46838badd174f7bbc
Author: Murray Cumming <murrayc murrayc com>
Date: Mon Sep 15 17:22:48 2014 +0200
ListBoxRow: Add some methods and properties.
* gtk/src/listboxrow.hg:
Add is_selected(), set/get_selectable(), set/get_activatable().
Add the selectable and activatable properties.
gtk/src/listboxrow.hg | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/gtk/src/listboxrow.hg b/gtk/src/listboxrow.hg
index c722ac8..c34aaea 100644
--- a/gtk/src/listboxrow.hg
+++ b/gtk/src/listboxrow.hg
@@ -72,6 +72,17 @@ public:
_WRAP_METHOD(int get_index() const, gtk_list_box_row_get_index)
_WRAP_METHOD(void changed(), gtk_list_box_row_changed)
+ _WRAP_METHOD(bool is_selected() const, gtk_list_box_row_is_selected)
+
+ _WRAP_METHOD(void set_selectable(bool selectable = true), gtk_list_box_row_set_selectable)
+ _WRAP_METHOD(bool get_selectable() const, gtk_list_box_row_get_selectable)
+
+ _WRAP_METHOD(void set_activatable(bool activatable = true), gtk_list_box_row_set_activatable)
+ _WRAP_METHOD(bool get_activatable() const, gtk_list_box_row_get_activatable)
+
+ _WRAP_PROPERTY("selectable", bool)
+ _WRAP_PROPERTY("activatable", bool)
+
_IGNORE_SIGNAL(activate) // Action signal
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]