summaryrefslogtreecommitdiff
path: root/libcaribou/row-model.vala
diff options
context:
space:
mode:
authorEitan Isaacson <eitan@monotonous.org>2011-05-31 12:09:24 -0700
committerEitan Isaacson <eitan@monotonous.org>2011-06-01 12:47:01 -0700
commit6ce0faf5d814a8b791427ac20aaa8b87a46c77eb (patch)
tree131f127ccd4635f052f257d4b4677ea68a835b00 /libcaribou/row-model.vala
parent22ed36c74597159cf4866abee35bb898127dea5a (diff)
downloadcaribou-6ce0faf5d814a8b791427ac20aaa8b87a46c77eb.tar.gz
Added IKeyboardObject interface, and have all model classes implement it.
Diffstat (limited to 'libcaribou/row-model.vala')
-rw-r--r--libcaribou/row-model.vala6
1 files changed, 5 insertions, 1 deletions
diff --git a/libcaribou/row-model.vala b/libcaribou/row-model.vala
index 3774519..8387689 100644
--- a/libcaribou/row-model.vala
+++ b/libcaribou/row-model.vala
@@ -1,5 +1,5 @@
namespace Caribou {
- public class RowModel : ScannableGroup, IScannableItem {
+ public class RowModel : ScannableGroup, IScannableItem, IKeyboardObject {
public bool scan_stepping { get; set; }
public bool scan_selected { get; set; }
@@ -47,5 +47,9 @@ namespace Caribou {
else
return (IScannableItem[]) columns.to_array ();
}
+
+ public IKeyboardObject[] get_children () {
+ return (IKeyboardObject[]) get_columns ();
+ }
}
}