aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-item.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-06-02 08:18:00 +0800
committerChris Lahey <clahey@src.gnome.org>2000-06-02 08:18:00 +0800
commit0a898d1c96145bcc37fef5dad685f8c47bd98189 (patch)
tree8c31740349faf59f9fe4d6736171798bc350f036 /widgets/table/e-table-item.c
parentf4eed74cbc66265957f938f13f1baa15e76c421e (diff)
downloadgsoc2013-evolution-0a898d1c96145bcc37fef5dad685f8c47bd98189.tar
gsoc2013-evolution-0a898d1c96145bcc37fef5dad685f8c47bd98189.tar.gz
gsoc2013-evolution-0a898d1c96145bcc37fef5dad685f8c47bd98189.tar.bz2
gsoc2013-evolution-0a898d1c96145bcc37fef5dad685f8c47bd98189.tar.lz
gsoc2013-evolution-0a898d1c96145bcc37fef5dad685f8c47bd98189.tar.xz
gsoc2013-evolution-0a898d1c96145bcc37fef5dad685f8c47bd98189.tar.zst
gsoc2013-evolution-0a898d1c96145bcc37fef5dad685f8c47bd98189.zip
Added e_table_get_selected_view_row.
2000-06-01 Christopher James Lahey <clahey@helixcode.com> * e-table-group-container.c, e-table-group-leaf.c, e-table-group.c, e-table-group.h, e-table-item.c, e-table.c, e-table.h: Added e_table_get_selected_view_row. svn path=/trunk/; revision=3351
Diffstat (limited to 'widgets/table/e-table-item.c')
-rw-r--r--widgets/table/e-table-item.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c
index 42a91ee2c3..1a10363fcc 100644
--- a/widgets/table/e-table-item.c
+++ b/widgets/table/e-table-item.c
@@ -45,6 +45,7 @@ enum {
ARG_CURSOR_MODE,
ARG_LENGTH_THRESHOLD,
ARG_HAS_CURSOR,
+ ARG_CURSOR_ROW,
ARG_MINIMUM_WIDTH,
ARG_WIDTH,
@@ -793,6 +794,9 @@ eti_get_arg (GtkObject *o, GtkArg *arg, guint arg_id)
case ARG_HAS_CURSOR:
GTK_VALUE_BOOL (*arg) = (eti->cursor_row != -1);
break;
+ case ARG_CURSOR_ROW:
+ GTK_VALUE_INT (*arg) = eti->cursor_row;
+ break;
default:
arg->type = GTK_TYPE_INVALID;
}
@@ -1406,6 +1410,8 @@ eti_class_init (GtkObjectClass *object_class)
GTK_ARG_READABLE, ARG_HEIGHT);
gtk_object_add_arg_type ("ETableItem::has_cursor", GTK_TYPE_BOOL,
GTK_ARG_READWRITE, ARG_HAS_CURSOR);
+ gtk_object_add_arg_type ("ETableItem::has_cursor", GTK_TYPE_INT,
+ GTK_ARG_READABLE, ARG_CURSOR_ROW);
eti_signals [ROW_SELECTION] =
gtk_signal_new ("row_selection",