[banshee/a11y: 2/27] [a11y] Added FocusedColumnIndex.
- From: Gabriel Burt <gburt src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [banshee/a11y: 2/27] [a11y] Added FocusedColumnIndex.
- Date: Tue, 6 Oct 2009 00:21:10 +0000 (UTC)
commit 471172b11b9ce2da0cda77dce8d2091ebaaf4ee1
Author: Eitan Isaacson <eitan ascender com>
Date: Wed Sep 30 09:40:02 2009 -0700
[a11y] Added FocusedColumnIndex.
src/Libraries/Hyena/Hyena.Collections/Selection.cs | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/src/Libraries/Hyena/Hyena.Collections/Selection.cs b/src/Libraries/Hyena/Hyena.Collections/Selection.cs
index 178a9a8..078edc7 100644
--- a/src/Libraries/Hyena/Hyena.Collections/Selection.cs
+++ b/src/Libraries/Hyena/Hyena.Collections/Selection.cs
@@ -53,14 +53,26 @@ namespace Hyena.Collections
private int max_index;
private int first_selected_index;
private int focused_row_index = -1;
+ private int focused_column_index = 0;
public event EventHandler Changed;
public event EventHandler FocusRowChanged;
+ public event EventHandler FocusColumnChanged;
public Selection ()
{
}
+ public int FocusedColumnIndex {
+ get { return focused_column_index; }
+ set {
+ focused_column_index = value;
+ EventHandler handler = FocusColumnChanged;
+ if (handler != null)
+ handler (this, EventArgs.Empty);
+ }
+ }
+
public int FocusedRowIndex {
get { return focused_row_index; }
set {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]