diff options
author | Eitan Isaacson <eitan@monotonous.org> | 2011-05-31 12:09:24 -0700 |
---|---|---|
committer | Eitan Isaacson <eitan@monotonous.org> | 2011-06-01 12:47:01 -0700 |
commit | 6ce0faf5d814a8b791427ac20aaa8b87a46c77eb (patch) | |
tree | 131f127ccd4635f052f257d4b4677ea68a835b00 /libcaribou/row-model.vala | |
parent | 22ed36c74597159cf4866abee35bb898127dea5a (diff) | |
download | caribou-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.vala | 6 |
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 (); + } } } |