diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-12-08 07:28:30 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-12-08 07:28:30 +0800 |
commit | 640883f04d9d76a933a2410ef3f100848ad7ddfd (patch) | |
tree | a814976e78141ed39eda422c01647cd55935a3d7 /widgets/table/e-table-scrolled.h | |
parent | 042281235aa1d98f24f7c7e7af69b1ba1b5d6ff0 (diff) | |
download | gsoc2013-evolution-640883f04d9d76a933a2410ef3f100848ad7ddfd.tar.gz gsoc2013-evolution-640883f04d9d76a933a2410ef3f100848ad7ddfd.tar.zst gsoc2013-evolution-640883f04d9d76a933a2410ef3f100848ad7ddfd.zip |
Add column and GdkEvent * parameters to the double click signal.
2000-12-07 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: Add column and GdkEvent * parameters to the double
click signal.
* e-table-header-item: Unref the ETableFullHeader when we're done
with it.
* e-table-scrolled.c, e-table-scrolled.h: Remove all of the
proxies and add a function e_table_scrolled_get_table and a gtk
argument "table".
svn path=/trunk/; revision=6850
Diffstat (limited to 'widgets/table/e-table-scrolled.h')
-rw-r--r-- | widgets/table/e-table-scrolled.h | 69 |
1 files changed, 23 insertions, 46 deletions
diff --git a/widgets/table/e-table-scrolled.h b/widgets/table/e-table-scrolled.h index fca9c7cd98..9b2d2a510e 100644 --- a/widgets/table/e-table-scrolled.h +++ b/widgets/table/e-table-scrolled.h @@ -24,54 +24,31 @@ typedef struct { typedef struct { EScrollFrameClass parent_class; - - void (*cursor_change) (ETableScrolled *est, int row); - void (*double_click) (ETableScrolled *est, int row); - gint (*right_click) (ETableScrolled *est, int row, int col, GdkEvent *event); - gint (*click) (ETableScrolled *est, int row, int col, GdkEvent *event); - gint (*key_press) (ETableScrolled *est, int row, int col, GdkEvent *event); } ETableScrolledClass; -GtkType e_table_scrolled_get_type (void); - -ETableScrolled *e_table_scrolled_construct (ETableScrolled *ets, - ETableModel *etm, - ETableExtras *ete, - const char *spec, - const char *state); -GtkWidget *e_table_scrolled_new (ETableModel *etm, - ETableExtras *ete, - const char *spec, - const char *state); - -ETableScrolled *e_table_scrolled_construct_from_spec_file (ETableScrolled *ets, - ETableModel *etm, - ETableExtras *ete, - const char *spec_fn, - const char *state_fn); -GtkWidget *e_table_scrolled_new_from_spec_file (ETableModel *etm, - ETableExtras *ete, - const char *spec_fn, - const char *state_fn); - -gchar *e_table_scrolled_get_state (ETableScrolled *ets); -void e_table_scrolled_save_state (ETableScrolled *ets, - const gchar *filename); - -/* note that it is more efficient to provide the state at creation time */ -void e_table_scrolled_set_state (ETableScrolled *ets, - const gchar *state); -void e_table_scrolled_load_state (ETableScrolled *ets, - const gchar *filename); - -void e_table_scrolled_set_cursor_row (ETableScrolled *ets, - int row); -/* -1 means we don't have the cursor. */ -int e_table_scrolled_get_cursor_row (ETableScrolled *ets); -void e_table_scrolled_selected_row_foreach (ETableScrolled *ets, - ETableForeachFunc callback, - gpointer closure); -EPrintable *e_table_scrolled_get_printable (ETableScrolled *ets); +GtkType e_table_scrolled_get_type (void); + +ETableScrolled *e_table_scrolled_construct (ETableScrolled *ets, + ETableModel *etm, + ETableExtras *ete, + const char *spec, + const char *state); +GtkWidget *e_table_scrolled_new (ETableModel *etm, + ETableExtras *ete, + const char *spec, + const char *state); + +ETableScrolled *e_table_scrolled_construct_from_spec_file (ETableScrolled *ets, + ETableModel *etm, + ETableExtras *ete, + const char *spec_fn, + const char *state_fn); +GtkWidget *e_table_scrolled_new_from_spec_file (ETableModel *etm, + ETableExtras *ete, + const char *spec_fn, + const char *state_fn); + +ETable *e_table_scrolled_get_table (ETableScrolled *ets); END_GNOME_DECLS |