aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-table/e-cell.c
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnu.org>1999-11-28 11:12:22 +0800
committerArturo Espinosa <unammx@src.gnome.org>1999-11-28 11:12:22 +0800
commit8d75b6689bdf5dc7c1efad65867cba2a656f2dcc (patch)
treeb023c7f3a14daa812fd46882017f307cef2cb36f /widgets/e-table/e-cell.c
parentbe9d0c05dbf3a8f10333ee6dc839673afb5befa5 (diff)
downloadgsoc2013-evolution-8d75b6689bdf5dc7c1efad65867cba2a656f2dcc.tar.gz
gsoc2013-evolution-8d75b6689bdf5dc7c1efad65867cba2a656f2dcc.tar.zst
gsoc2013-evolution-8d75b6689bdf5dc7c1efad65867cba2a656f2dcc.zip
beginning of the keyboard navigation.
1999-11-27 Miguel de Icaza <miguel@gnu.org> * e-table-item.c (eti_event): beginning of the keyboard navigation. * e-table-model.c (e_table_model_row_changed): new function. (e_table_model_cell_changed): new function. (e_table_model_class_init): New signals. * e-table-item.c (eti_request_region_redraw): x2, y2 offsets were wrong. (eti_select): Repaint selected region. (eti_request_region_redraw): Fix range. (eti_draw): Correct offset computation here. (e_table_item_class_init): New method: row_selection, handles the selection. Now it implement GTK_SELECTION_SINGLE and GTK_SELECTION_MULTIPLE. Focusing and selection should be correct now. svn path=/trunk/; revision=1441
Diffstat (limited to 'widgets/e-table/e-cell.c')
-rw-r--r--widgets/e-table/e-cell.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/widgets/e-table/e-cell.c b/widgets/e-table/e-cell.c
index 8a8897c22a..9caa31f2ca 100644
--- a/widgets/e-table/e-cell.c
+++ b/widgets/e-table/e-cell.c
@@ -24,7 +24,9 @@ ec_unrealize (ECellView *e_cell)
}
static void
-ec_draw (ECellView *ecell_view, GdkDrawable *drawable, int col, int row, int x1, int y1, int x2, int y2)
+ec_draw (ECellView *ecell_view, GdkDrawable *drawable,
+ int col, int row, gboolean selected,
+ int x1, int y1, int x2, int y2)
{
g_warning ("e-cell-draw invoked\n");
}
@@ -33,6 +35,7 @@ static gint
ec_event (ECellView *ecell_view, GdkEvent *event, int col, int row)
{
g_warning ("e-cell-event invoked\n");
+ return 0;
}
static gint
@@ -109,10 +112,10 @@ e_cell_unrealize (ECellView *ecell_view)
void
e_cell_draw (ECellView *ecell_view, GdkDrawable *drawable,
- int col, int row, int x1, int y1, int x2, int y2)
+ int col, int row, gboolean selected, int x1, int y1, int x2, int y2)
{
E_CELL_CLASS (GTK_OBJECT (ecell_view->ecell)->klass)->draw (
- ecell_view, drawable, col, row, x1, y1, x2, y2);
+ ecell_view, drawable, col, row, selected, x1, y1, x2, y2);
}
int
01:36:38 +0800'>2011-08-083-49/+11 * - Move language prefix to PKGNAMEPREFIXsunpoet2011-07-292-9/+12 * Pass matainership to the new office teambapt2011-07-222-2/+2 * Add some locales thesaurusbapt2011-07-214-0/+34 * Add Hungarian hyphenation rulesbapt2011-07-214-0/+33 * - now only provides the hungarian dictionnariesbapt2011-07-206-148/+17 * - Connect textproc/hunspell to the buildjlaffaye2011-07-191-1/+0 * take maintainership, no reply from previous maintainerbapt2011-07-111-1/+1 * Reset maintainership de jure. In fact KDE 3 has not been maintained by our teammakc2011-07-082-2/+2 * Update KDE Software Compilation ports to 4.6.5makc2011-07-082-2/+35 * The FreeBSD KDE Team is pleased to announce KDE SC 4.6.4. Read fullavilla2011-06-142-2/+3 * Update KDE Software Compilation ports to 4.6.3makc2011-05-172-2/+19 * Fix PKGORIGINmakc2011-04-192-2/+2 * - Update KOffice to 2.3.3.avilla2011-04-132-4/+4 * The FreeBSD KDE Team is pleased to announce April updates for KDEavilla2011-04-071-2/+2 * - Connect hungarian/koffice-kde4-l10n to the build, and, mostavilla2011-03-251-0/+1 * - Update KOffice to 2.3.1.avilla2011-03-258-0/+146 * The FreeBSD KDE Team is pleased to announce KDE SC 4.6.1 and KDE PIMavilla2011-03-252-13/+53 * - Get Rid MD5 supportmiwi2011-03-209-10/+0 * - The KDE FreeBSD team is proud to announce the release of KDE 4.5.5fluffy2011-01-081-2/+2 * KDE FreeBSD team presents KDE SC 4.5.4.makc2010-12-031-2/+2 * KDE FreeBSD team presents KDE SC 4.5.3.makc2010-11-042-3/+5 * KDE FreeBSD team presents KDE SC 4.5.2.makc2010-10-062-3/+45 * Autotools update. Read ports/UPDATING 20100915 for details.ade2010-09-162-4/+2 * KDE FreeBSD team presents KDE SC 4.5.1.makc2010-09-032-376/+11 * Present KDE SC 4.4.5 for FreeBSD.makc2010-06-301-3/+3 * - Update to 1.2.11gabor2010-06-039-71/+57 * Present KDE SC 4.4.4 for FreeBSD.makc2010-06-021-3/+3 * - Update to 1.6.1gabor2010-06-013-5/+7 * Bounce PORTREVISION for gettext-related ports. Have fun, ya'll.ade2010-05-313-2/+3 * - The FreeBSD KDE team is pleased to announce KDE SC 4.4.3 for FreeBSDfluffy2010-05-113-33/+83 * - update to 1.4.1dinoex2010-03-283-2/+3 * Presenting KDE 4.3.5 for FreeBSD. The official release notes for thismiwi2010-02-073-4/+4 * - update to jpeg-8dinoex2010-02-053-2/+3 * The FreeBSD KDE is please to announce the release of KDE 4.3.4,miwi2009-12-022-3/+6 * The KDE FreeBSD team is proud to announce the release of KDE 4.3.3miwi2009-11-272-5/+34 * The FreeBSD KDE is please to announce the release of KDE 4.3.1,tabthorpe2009-09-022-5/+25 * - Switch SourceForge ports to the new File Release System: categories startin...amdmi32009-08-224-4/+5 * clean upmakc2009-08-081-3/+0 * The KDE FreeBSD team is proud to announce the release of KDE 4.3.0miwi2009-08-053-17/+41 * - bump all port that indirectly depends on libjpeg and have not yet been bump...dinoex2009-07-313-0/+3 * The KDE FreeBSD team is pleased to announce KDE 4.2.4, the last bugfixmiwi2009-06-031-3/+3 * Update KDE ports to 4.2.3makc2009-05-102-3/+70 * The KDE FreeBSD team is proud to announce the release of KDE 4.2.2miwi2009-04-022-6/+28 * Update KDE to 4.2.1.makc2009-03-092-3/+6 * The KDE FreeBSD team is proud to announce the release of KDE 4.2.0miwi2009-02-092-24/+11 * - Update to 1.2.8gabor2009-02-086-16/+58 * - Update to 1.4gabor2009-02-082-4/+4 * kde@freebsd team is pleased to announce KDE 4.1.4, the last bugfix release in...makc2009-01-14