aboutsummaryrefslogtreecommitdiffstats
path: root/a11y/ea-cell-table.h
blob: 932fe8b4fd9c02c65b8e6598897da8829f4bd502 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/* vim:expandtab:shiftwidth=8:tabstop=8:
 */
/* Evolution Accessibility: ea-table-cell.c
 *
 * Copyright (C) 2003 Ximian, Inc.
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of version 2 of the GNU General Public
 * License as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public
 * License along with this program; if not, write to the
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 * Boston, MA 02111-1307, USA.
 *
 * Author: Bolian Yin <bolian.yin@sun.com> Sun Microsystem Inc., 2003
 *
 */

/* EaCellTable */

#include <glib.h>
#include <glib-object.h>

struct _EaCellTable {
    gint columns;
    gint rows;
    gboolean column_first;     /* index order */
    gchar **column_labels;
    gchar **row_labels;
    gpointer *cells;
};

typedef struct _EaCellTable EaCellTable;

EaCellTable * ea_cell_table_create (gint rows, gint columns,
                    gboolean column_first);
void ea_cell_table_destroy (EaCellTable * cell_data);
gpointer ea_cell_table_get_cell (EaCellTable * cell_data,
                   gint row, gint column);
gboolean ea_cell_table_set_cell (EaCellTable * cell_data,
                 gint row, gint column, gpointer cell);
gpointer ea_cell_table_get_cell_at_index (EaCellTable * cell_data,
                      gint index);
gboolean ea_cell_table_set_cell_at_index (EaCellTable * cell_data,
                      gint index, gpointer cell);

G_CONST_RETURN gchar*
ea_cell_table_get_column_label (EaCellTable * cell_data, gint column);
void ea_cell_table_set_column_label (EaCellTable * cell_data,
                     gint column, const gchar *label);
G_CONST_RETURN gchar*
ea_cell_table_get_row_label (EaCellTable * cell_data, gint row);
void ea_cell_table_set_row_label (EaCellTable * cell_data,
                  gint row, const gchar *label);
gint ea_cell_table_get_index (EaCellTable *cell_data,
                  gint row, gint column);
d>Add dolphin 0.8.2, a file manager for KDE focusing on usability. It is notmarkus2007-02-271-0/+1 * add missing xfce portsoliver2007-01-231-1/+0 * Thunar is a XFce 4 file manager. Features samba network share support.oliver2007-01-231-0/+1 * Remove expired ports:vd2006-11-091-1/+0 * - Connect entropyfm to the build.stas2006-10-081-0/+1 * x11-fm/nautilus2 -> x11-fm/nautilusmezz2006-05-291-1/+1 * Jaffm is a lightweight wxWindows (GTK+ interface) file manager forpav2006-04-291-0/+1 * Move chinese/pcmanfm to x11-fm/pcmanfm.vanilla2006-02-101-0/+1 * These ports depended on jx, which was removed.kris2005-11-051-1/+0 * Add py-nautilus, Python bindings for the Nautilus file manager API.marcus2005-11-051-0/+1 * Add tdfsb 0.0.9, a 3D filesystem browser.danfe2005-10-261-0/+1 * Add evidence 0.9.8, enlightened file-manager.garga2005-09-201-0/+1 * - bring xfce4 to 4.2oliver2005-01-271-1/+0 * Repocopy from x11-fm/gnome-commander -> x11-fm/gnome-commander2, written inmezz2004-06-161-0/+1 * Remove apotheke since it no longer works with Nautilus 2.6, and accordingmarcus2004-04-111-1/+0 * Remove category pkg/COMMENT files in favour of a COMMENT variable in thekris2004-04-021-0/+2 * new port of GPRename, a Perl script for renaming filestrevor2004-03-161-0/+1 * Remove the broken vide portkris2004-02-021-1/+0 * Add xplore, an Explorer-like Motif based file manager.pav2003-12-181-0/+1 * Add velocity, a file manager for GNOME 2 desktop environment.pav2003-12-111-0/+1 * Add emelfm2 0.0.3,oliver2003-12-081-0/+1 * FSViewer new portedwin2003-10-081-0/+1 * Remove this ports as part of phase II of the GNOME 1.4 desktop removal.marcus2003-08-121-1/+0 * Add xfe 0.54.2, fast MS-Explorer like filemanager for X.oliver2003-08-081-0/+1 * Add xfce4-fm-icons 3.99.2,oliver2003-07-291-0/+1 * Add xfce4-fm 3.99.2, xFce 4 file manager.oliver2003-07-291-0/+1 * Begin the de-orbit burn of the GNOME 1.4 desktop. This is phase I. Allmarcus2003-07-161-1/+0 * Add krusader, a midnight commander like Filemanager for KDEarved2003-05-181-0/+1 * As announced on 27 March 2003 in <20030328052350.GA18971@rot13.obsecurity.org>,kris2003-05-061-1/+0 * Add MIME type editor for the ROX desktop.olgeni2003-03-251-0/+1 * Retire obsolete rox-base port (no longer needed by any rox application).olgeni2003-03-251-1/+0 * Add twander, a macro-configurable file manager written in Python.marcus2003-03-031-0/+1 * obsolete due to upgrade of master port (ports/misc/mc) to version 4.6.0fjoe2003-02-101-1/+0 * Add apotheke, a CVS view for Nautilus 2.marcus2002-11-051-0/+1 * Add back jafm which was prematurely removed by will, but mark it BROKENkris2002-05-241-0/+1 * Update nautilus2 to 1.1.16 after a repo-copy from ports/x11-fm/nautilus andsobomax2002-05-211-0/+1 * Add file_menu_applet 0.4, a small GNOME panel application which creates amarcus2002-05-071-0/+1 * Add gnome-commander, a GNOME file manager that resembles Norton Commander.marcus2002-04-301-0/+1 * Say goodbye to Qt 1.x and all of its dependents. The one port I foundwill2002-04-191-1/+0 * Adding gentoo, a nice, two-pane, gtk based file manager based loosely ondougb2001-08-121-0/+1