From a patch submitted by Murray Cumming <Murray.Cumming@mybau.com>
2001-02-17 Christopher James Lahey <clahey@ximian.com> From a patch submitted by Murray Cumming <Murray.Cumming@mybau.com> * e-cell-checkbox.h, e-cell-date.h, e-cell-number.h, e-cell-size.h, e-cell-text.h, e-cell-toggle.h, e-cell-tree.h, e-cell.h, e-table-click-to-add.h, e-table-col-dnd.h, e-table-col.h, e-table-column-specification.h, e-table-config-field.h, e-table-config.h, e-table-defines.h, e-table-extras.h, e-table-field-chooser-item.h, e-table-group-container.h, e-table-group-leaf.h, e-table-group.h, e-table-header-item.h, e-table-header-utils.h, e-table-header.h, e-table-item.h, e-table-model.h, e-table-one.h, e-table-selection-model.h, e-table-simple.h, e-table-sort-info.h, e-table-sorted-variable.h, e-table-sorted.h, e-table-sorter.h, e-table-specification.h, e-table-state.h, e-table-subset-variable.h, e-table-subset.h, e-table-tooltip.h, e-table-tree.h, e-tree-model.h, e-tree-simple.h, e-tree-sorted-variable.h: Added GNOME_DECLS. svn path=/trunk/; revision=8265
This commit is contained in:
committed by
Chris Lahey
parent
e76ecc31c5
commit
5480b1b7bd
@ -3,6 +3,8 @@
|
||||
|
||||
#include <gal/e-table/e-cell-toggle.h>
|
||||
|
||||
BEGIN_GNOME_DECLS
|
||||
|
||||
#define E_CELL_CHECKBOX_TYPE (e_cell_checkbox_get_type ())
|
||||
#define E_CELL_CHECKBOX(o) (GTK_CHECK_CAST ((o), E_CELL_CHECKBOX_TYPE, ECellCheckbox))
|
||||
#define E_CELL_CHECKBOX_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_CELL_CHECKBOX_TYPE, ECellCheckboxClass))
|
||||
@ -20,5 +22,7 @@ typedef struct {
|
||||
GtkType e_cell_checkbox_get_type (void);
|
||||
ECell *e_cell_checkbox_new (void);
|
||||
|
||||
END_GNOME_DECLS
|
||||
|
||||
#endif /* _E_CELL_CHECKBOX_H_ */
|
||||
|
||||
|
||||
@ -8,6 +8,8 @@
|
||||
|
||||
#include <gal/e-table/e-cell-text.h>
|
||||
|
||||
BEGIN_GNOME_DECLS
|
||||
|
||||
#define E_CELL_DATE_TYPE (e_cell_date_get_type ())
|
||||
#define E_CELL_DATE(o) (GTK_CHECK_CAST ((o), E_CELL_DATE_TYPE, ECellDate))
|
||||
#define E_CELL_DATE_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_CELL_DATE_TYPE, ECellDateClass))
|
||||
@ -25,4 +27,6 @@ typedef struct {
|
||||
GtkType e_cell_date_get_type (void);
|
||||
ECell *e_cell_date_new (const char *fontname, GtkJustification justify);
|
||||
|
||||
END_GNOME_DECLS
|
||||
|
||||
#endif /* _E_CELL_DATE_H_ */
|
||||
|
||||
@ -8,6 +8,8 @@
|
||||
|
||||
#include <gal/e-table/e-cell-text.h>
|
||||
|
||||
BEGIN_GNOME_DECLS
|
||||
|
||||
#define E_CELL_NUMBER_TYPE (e_cell_number_get_type ())
|
||||
#define E_CELL_NUMBER(o) (GTK_CHECK_CAST ((o), E_CELL_NUMBER_TYPE, ECellNumber))
|
||||
#define E_CELL_NUMBER_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_CELL_NUMBER_TYPE, ECellNumberClass))
|
||||
@ -25,4 +27,6 @@ typedef struct {
|
||||
GtkType e_cell_number_get_type (void);
|
||||
ECell *e_cell_number_new (const char *fontname, GtkJustification justify);
|
||||
|
||||
END_GNOME_DECLS
|
||||
|
||||
#endif /* _E_CELL_NUMBER_H_ */
|
||||
|
||||
@ -8,6 +8,8 @@
|
||||
|
||||
#include <gal/e-table/e-cell-text.h>
|
||||
|
||||
BEGIN_GNOME_DECLS
|
||||
|
||||
#define E_CELL_SIZE_TYPE (e_cell_size_get_type ())
|
||||
#define E_CELL_SIZE(o) (GTK_CHECK_CAST ((o), E_CELL_SIZE_TYPE, ECellSize))
|
||||
#define E_CELL_SIZE_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_CELL_SIZE_TYPE, ECellSizeClass))
|
||||
@ -25,4 +27,6 @@ typedef struct {
|
||||
GtkType e_cell_size_get_type (void);
|
||||
ECell *e_cell_size_new (const char *fontname, GtkJustification justify);
|
||||
|
||||
END_GNOME_DECLS
|
||||
|
||||
#endif /* _E_CELL_SIZE_H_ */
|
||||
|
||||
@ -27,6 +27,8 @@
|
||||
#include <libgnomeui/gnome-canvas.h>
|
||||
#include <gal/e-table/e-cell.h>
|
||||
|
||||
BEGIN_GNOME_DECLS
|
||||
|
||||
#define E_CELL_TEXT_TYPE (e_cell_text_get_type ())
|
||||
#define E_CELL_TEXT(o) (GTK_CHECK_CAST ((o), E_CELL_TEXT_TYPE, ECellText))
|
||||
#define E_CELL_TEXT_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_CELL_TEXT_TYPE, ECellTextClass))
|
||||
@ -71,6 +73,8 @@ GtkType e_cell_text_get_type (void);
|
||||
ECell *e_cell_text_new (const char *fontname, GtkJustification justify);
|
||||
ECell *e_cell_text_construct(ECellText *cell, const char *fontname, GtkJustification justify);
|
||||
|
||||
END_GNOME_DECLS
|
||||
|
||||
#endif /* _E_CELL_TEXT_H_ */
|
||||
|
||||
|
||||
|
||||
@ -5,6 +5,8 @@
|
||||
#include <gdk-pixbuf/gdk-pixbuf.h>
|
||||
#include <gal/e-table/e-cell.h>
|
||||
|
||||
BEGIN_GNOME_DECLS
|
||||
|
||||
#define E_CELL_TOGGLE_TYPE (e_cell_toggle_get_type ())
|
||||
#define E_CELL_TOGGLE(o) (GTK_CHECK_CAST ((o), E_CELL_TOGGLE_TYPE, ECellToggle))
|
||||
#define E_CELL_TOGGLE_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_CELL_TOGGLE_TYPE, ECellToggleClass))
|
||||
@ -30,6 +32,8 @@ ECell *e_cell_toggle_new (int border, int n_states, GdkPixbuf **images
|
||||
void e_cell_toggle_construct (ECellToggle *etog, int border,
|
||||
int n_states, GdkPixbuf **images);
|
||||
|
||||
END_GNOME_DECLS
|
||||
|
||||
#endif /* _E_CELL_TOGGLE_H_ */
|
||||
|
||||
|
||||
|
||||
@ -10,6 +10,8 @@
|
||||
#include <libgnomeui/gnome-canvas.h>
|
||||
#include <gal/e-table/e-cell.h>
|
||||
|
||||
BEGIN_GNOME_DECLS
|
||||
|
||||
#define E_CELL_TREE_TYPE (e_cell_tree_get_type ())
|
||||
#define E_CELL_TREE(o) (GTK_CHECK_CAST ((o), E_CELL_TREE_TYPE, ECellTree))
|
||||
#define E_CELL_TREE_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_CELL_TREE_TYPE, ECellTreeClass))
|
||||
@ -42,6 +44,9 @@ void e_cell_tree_construct (ECellTree *ect,
|
||||
gboolean draw_lines,
|
||||
ECell *subcell);
|
||||
|
||||
|
||||
END_GNOME_DECLS
|
||||
|
||||
#endif /* _E_CELL_TREE_H_ */
|
||||
|
||||
|
||||
|
||||
@ -7,6 +7,8 @@
|
||||
#include <gal/e-table/e-table-model.h>
|
||||
#include <gal/e-table/e-table-tooltip.h>
|
||||
|
||||
BEGIN_GNOME_DECLS
|
||||
|
||||
#define E_CELL_TYPE (e_cell_get_type ())
|
||||
#define E_CELL(o) (GTK_CHECK_CAST ((o), E_CELL_TYPE, ECell))
|
||||
#define E_CELL_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_CELL_TYPE, ECellClass))
|
||||
@ -106,4 +108,6 @@ int e_cell_height (ECellView *ecell_view, int model_col, int view_col,
|
||||
void *e_cell_enter_edit (ECellView *ecell_view, int model_col, int view_col, int row);
|
||||
void e_cell_leave_edit (ECellView *ecell_view, int model_col, int view_col, int row, void *edit_context);
|
||||
|
||||
END_GNOME_DECLS
|
||||
|
||||
#endif /* _E_CELL_H_ */
|
||||
|
||||
@ -9,6 +9,8 @@
|
||||
#include <gal/e-table/e-table-item.h>
|
||||
#include <gal/e-table/e-table-selection-model.h>
|
||||
|
||||
BEGIN_GNOME_DECLS
|
||||
|
||||
#define E_TABLE_CLICK_TO_ADD_TYPE (e_table_click_to_add_get_type ())
|
||||
#define E_TABLE_CLICK_TO_ADD(o) (GTK_CHECK_CAST ((o), E_TABLE_CLICK_TO_ADD_TYPE, ETableClickToAdd))
|
||||
#define E_TABLE_CLICK_TO_ADD_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_CLICK_TO_ADD_TYPE, ETableClickToAddClass))
|
||||
@ -48,4 +50,6 @@ GtkType e_table_click_to_add_get_type (void);
|
||||
|
||||
void e_table_click_to_add_commit (ETableClickToAdd *etcta);
|
||||
|
||||
END_GNOME_DECLS
|
||||
|
||||
#endif /* _E_TABLE_CLICK_TO_ADD_H_ */
|
||||
|
||||
@ -1,10 +1,14 @@
|
||||
#ifndef _E_TABLE_COL_DND_H_
|
||||
#define _E_TABLE_COL_DND_H_
|
||||
|
||||
BEGIN_GNOME_DECLS
|
||||
|
||||
#define TARGET_ETABLE_COL_TYPE "application/x-etable-column-header"
|
||||
|
||||
enum {
|
||||
TARGET_ETABLE_COL_HEADER
|
||||
};
|
||||
|
||||
END_GNOME_DECLS
|
||||
|
||||
#endif /* _E_TABLE_COL_DND_H_ */
|
||||
|
||||
@ -5,6 +5,10 @@
|
||||
#include <gdk-pixbuf/gdk-pixbuf.h>
|
||||
#include <gal/e-table/e-cell.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#define E_TABLE_COL_TYPE (e_table_col_get_type ())
|
||||
#define E_TABLE_COL(o) (GTK_CHECK_CAST ((o), E_TABLE_COL_TYPE, ETableCol))
|
||||
#define E_TABLE_COL_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_COL_TYPE, ETableColClass))
|
||||
@ -58,5 +62,10 @@ ETableCol *e_table_col_new_with_pixbuf (int col_idx, const char *text,
|
||||
void e_table_col_destroy (ETableCol *etc);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
|
||||
#endif /* _E_TABLE_COL_H_ */
|
||||
|
||||
|
||||
@ -5,6 +5,11 @@
|
||||
#include <gtk/gtkobject.h>
|
||||
#include <gnome-xml/tree.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
|
||||
#define E_TABLE_COLUMN_SPECIFICATION_TYPE (e_table_column_specification_get_type ())
|
||||
#define E_TABLE_COLUMN_SPECIFICATION(o) (GTK_CHECK_CAST ((o), E_TABLE_COLUMN_SPECIFICATION_TYPE, ETableColumnSpecification))
|
||||
#define E_TABLE_COLUMN_SPECIFICATION_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_COLUMN_SPECIFICATION_TYPE, ETableColumnSpecificationClass))
|
||||
@ -38,4 +43,8 @@ void e_table_column_specification_load_from_node (ETableC
|
||||
xmlNode *e_table_column_specification_save_to_node (ETableColumnSpecification *state,
|
||||
xmlNode *parent);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#endif /* _E_TABLE_COLUMN_SPECIFICATION_H_ */
|
||||
|
||||
@ -6,6 +6,8 @@
|
||||
#include <gal/e-table/e-table-sort-info.h>
|
||||
#include <gal/e-table/e-table-specification.h>
|
||||
|
||||
BEGIN_GNOME_DECLS
|
||||
|
||||
#define E_TABLE_CONFIG_FIELD_TYPE (e_table_config_field_get_type ())
|
||||
#define E_TABLE_CONFIG_FIELD(o) (GTK_CHECK_CAST ((o), E_TABLE_CONFIG_FIELD_TYPE, ETableConfigField))
|
||||
#define E_TABLE_CONFIG_FIELD_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_CONFIG_FIELD_TYPE, ETableConfigFieldClass))
|
||||
@ -40,4 +42,6 @@ ETableConfigField *e_table_config_field_construct (ETableConfigField *field,
|
||||
ETableSortInfo *sort_info,
|
||||
gboolean grouping);
|
||||
|
||||
END_GNOME_DECLS
|
||||
|
||||
#endif /* _E_TABLE_CONFIG_FIELD_H_ */
|
||||
|
||||
@ -7,6 +7,8 @@
|
||||
#include <gal/e-table/e-table-specification.h>
|
||||
#include <gal/widgets/gtk-combo-text.h>
|
||||
|
||||
BEGIN_GNOME_DECLS
|
||||
|
||||
#define E_TABLE_CONFIG_TYPE (e_table_config_get_type ())
|
||||
#define E_TABLE_CONFIG(o) (GTK_CHECK_CAST ((o), E_TABLE_CONFIG_TYPE, ETableConfig))
|
||||
#define E_TABLE_CONFIG_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_CONFIG_TYPE, ETableConfigClass))
|
||||
@ -71,4 +73,6 @@ ETableConfig *e_table_config_construct (ETableConfig *etco,
|
||||
ETableState *state);
|
||||
void e_table_config_raise (ETableConfig *config);
|
||||
|
||||
END_GNOME_DECLS
|
||||
|
||||
#endif /* _E_TABLE_CONFIG_H */
|
||||
|
||||
@ -1,6 +1,10 @@
|
||||
#ifndef __E_TABLE_DEFINES__
|
||||
#define __E_TABLE_DEFINES__ 1
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#define BUTTON_HEIGHT 10
|
||||
#define BUTTON_PADDING 2
|
||||
#define GROUP_INDENT (BUTTON_HEIGHT + (BUTTON_PADDING * 2))
|
||||
@ -21,4 +25,9 @@ typedef enum
|
||||
E_TABLE_CURSOR_SPREADSHEET,
|
||||
} ETableCursorMode;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
@ -6,6 +6,8 @@
|
||||
#include <gal/e-table/e-cell.h>
|
||||
#include <gdk-pixbuf/gdk-pixbuf.h>
|
||||
|
||||
BEGIN_GNOME_DECLS
|
||||
|
||||
#define E_TABLE_EXTRAS_TYPE (e_table_extras_get_type ())
|
||||
#define E_TABLE_EXTRAS(o) (GTK_CHECK_CAST ((o), E_TABLE_EXTRAS_TYPE, ETableExtras))
|
||||
#define E_TABLE_EXTRAS_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_EXTRAS_TYPE, ETableExtrasClass))
|
||||
@ -45,4 +47,6 @@ void e_table_extras_add_pixbuf (ETableExtras *extras,
|
||||
GdkPixbuf *e_table_extras_get_pixbuf (ETableExtras *extras,
|
||||
char *id);
|
||||
|
||||
END_GNOME_DECLS
|
||||
|
||||
#endif /* _E_TABLE_EXTRAS_H_ */
|
||||
|
||||
@ -6,6 +6,8 @@
|
||||
#include <gnome-xml/tree.h>
|
||||
#include <gal/e-table/e-table-header.h>
|
||||
|
||||
BEGIN_GNOME_DECLS
|
||||
|
||||
#define E_TABLE_FIELD_CHOOSER_ITEM_TYPE (e_table_field_chooser_item_get_type ())
|
||||
#define E_TABLE_FIELD_CHOOSER_ITEM(o) (GTK_CHECK_CAST ((o), E_TABLE_FIELD_CHOOSER_ITEM_TYPE, ETableFieldChooserItem))
|
||||
#define E_TABLE_FIELD_CHOOSER_ITEM_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_FIELD_CHOOSER_ITEM_TYPE, ETableFieldChooserItemClass))
|
||||
@ -43,4 +45,6 @@ typedef struct {
|
||||
|
||||
GtkType e_table_field_chooser_item_get_type (void);
|
||||
|
||||
END_GNOME_DECLS
|
||||
|
||||
#endif /* _E_TABLE_FIELD_CHOOSER_ITEM_H_ */
|
||||
|
||||
@ -8,6 +8,8 @@
|
||||
#include <gal/e-table/e-table-group.h>
|
||||
#include <gal/e-table/e-table-item.h>
|
||||
|
||||
BEGIN_GNOME_DECLS
|
||||
|
||||
#define E_TABLE_GROUP_CONTAINER_TYPE (e_table_group_container_get_type ())
|
||||
#define E_TABLE_GROUP_CONTAINER(o) (GTK_CHECK_CAST ((o), E_TABLE_GROUP_CONTAINER_TYPE, ETableGroupContainer))
|
||||
#define E_TABLE_GROUP_CONTAINER_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_GROUP_CONTAINER_TYPE, ETableGroupContainerClass))
|
||||
@ -66,4 +68,6 @@ void e_table_group_container_construct (GnomeCanvasGroup *parent, ETable
|
||||
|
||||
GtkType e_table_group_container_get_type (void);
|
||||
|
||||
END_GNOME_DECLS
|
||||
|
||||
#endif /* _E_TABLE_GROUP_CONTAINER_H_ */
|
||||
|
||||
@ -7,6 +7,8 @@
|
||||
#include <gal/e-table/e-table-sorted-variable.h>
|
||||
#include <gal/e-table/e-table-item.h>
|
||||
|
||||
BEGIN_GNOME_DECLS
|
||||
|
||||
#define E_TABLE_GROUP_LEAF_TYPE (e_table_group_leaf_get_type ())
|
||||
#define E_TABLE_GROUP_LEAF(o) (GTK_CHECK_CAST ((o), E_TABLE_GROUP_LEAF_TYPE, ETableGroupLeaf))
|
||||
#define E_TABLE_GROUP_LEAF_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_GROUP_LEAF_TYPE, ETableGroupLeafClass))
|
||||
@ -48,5 +50,7 @@ ETableGroup *e_table_group_leaf_new (GnomeCanvasGroup *parent,
|
||||
GtkType e_table_group_leaf_get_type (void);
|
||||
|
||||
|
||||
END_GNOME_DECLS
|
||||
|
||||
#endif /* _E_TABLE_GROUP_LEAF_H_ */
|
||||
|
||||
|
||||
@ -10,6 +10,8 @@
|
||||
#include <gal/util/e-util.h>
|
||||
#include <gal/widgets/e-printable.h>
|
||||
|
||||
BEGIN_GNOME_DECLS
|
||||
|
||||
#define E_TABLE_GROUP_TYPE (e_table_group_get_type ())
|
||||
#define E_TABLE_GROUP(o) (GTK_CHECK_CAST ((o), E_TABLE_GROUP_TYPE, ETableGroup))
|
||||
#define E_TABLE_GROUP_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_GROUP_TYPE, ETableGroupClass))
|
||||
@ -133,4 +135,6 @@ void e_table_group_apply_to_leafs (ETableGroup *etg,
|
||||
ETableGroupLeafFn fn,
|
||||
void *closure);
|
||||
|
||||
END_GNOME_DECLS
|
||||
|
||||
#endif /* _E_TABLE_GROUP_H_ */
|
||||
|
||||
@ -8,6 +8,8 @@
|
||||
#include <gal/e-table/e-table-header.h>
|
||||
#include <gal/e-table/e-table-sort-info.h>
|
||||
|
||||
BEGIN_GNOME_DECLS
|
||||
|
||||
#define E_TABLE_HEADER_ITEM_TYPE (e_table_header_item_get_type ())
|
||||
#define E_TABLE_HEADER_ITEM(o) (GTK_CHECK_CAST ((o), E_TABLE_HEADER_ITEM_TYPE, ETableHeaderItem))
|
||||
#define E_TABLE_HEADER_ITEM_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_HEADER_ITEM_TYPE, ETableHeaderItemClass))
|
||||
@ -76,4 +78,6 @@ typedef struct {
|
||||
|
||||
GtkType e_table_header_item_get_type (void);
|
||||
|
||||
END_GNOME_DECLS
|
||||
|
||||
#endif /* _E_TABLE_HEADER_ITEM_H_ */
|
||||
|
||||
@ -25,6 +25,11 @@
|
||||
#define E_TABLE_HEADER_UTILS_H
|
||||
|
||||
#include <gal/e-table/e-table-col.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
double e_table_header_compute_height (ETableCol *ecol,
|
||||
GtkStyle *style,
|
||||
GdkFont *font);
|
||||
@ -53,5 +58,8 @@ void e_table_draw_elided_string (GdkDrawable *drawable,
|
||||
gboolean center);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#endif
|
||||
|
||||
@ -7,6 +7,10 @@
|
||||
#include <gal/e-table/e-table-sort-info.h>
|
||||
#include <gal/e-table/e-table-col.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
typedef struct _ETableHeader ETableHeader;
|
||||
|
||||
#define E_TABLE_HEADER_TYPE (e_table_header_get_type ())
|
||||
@ -82,5 +86,9 @@ GList *e_table_header_get_selected_indexes (ETableHeader *eth);
|
||||
void e_table_header_update_horizontal (ETableHeader *eth);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#endif /* _E_TABLE_HEADER_H_ */
|
||||
|
||||
|
||||
@ -10,6 +10,8 @@
|
||||
#include <gal/e-table/e-table-tooltip.h>
|
||||
#include <gal/widgets/e-printable.h>
|
||||
|
||||
BEGIN_GNOME_DECLS
|
||||
|
||||
#define E_TABLE_ITEM_TYPE (e_table_item_get_type ())
|
||||
#define E_TABLE_ITEM(o) (GTK_CHECK_CAST ((o), E_TABLE_ITEM_TYPE, ETableItem))
|
||||
#define E_TABLE_ITEM_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_ITEM_TYPE, ETableItemClass))
|
||||
@ -139,4 +141,6 @@ void e_table_item_compute_location (ETableItem *eti,
|
||||
int *col);
|
||||
|
||||
|
||||
END_GNOME_DECLS
|
||||
|
||||
#endif /* _E_TABLE_ITEM_H_ */
|
||||
|
||||
@ -4,6 +4,10 @@
|
||||
|
||||
#include <gtk/gtkobject.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#define E_TABLE_MODEL_TYPE (e_table_model_get_type ())
|
||||
#define E_TABLE_MODEL(o) (GTK_CHECK_CAST ((o), E_TABLE_MODEL_TYPE, ETableModel))
|
||||
#define E_TABLE_MODEL_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_MODEL_TYPE, ETableModelClass))
|
||||
@ -92,4 +96,8 @@ void e_table_model_cell_changed (ETableModel *e_table_model, int col,
|
||||
void e_table_model_row_inserted (ETableModel *e_table_model, int row);
|
||||
void e_table_model_row_deleted (ETableModel *e_table_model, int row);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#endif /* _E_TABLE_MODEL_H_ */
|
||||
|
||||
@ -4,6 +4,11 @@
|
||||
|
||||
#include <gal/e-table/e-table-model.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
|
||||
#define E_TABLE_ONE_TYPE (e_table_one_get_type ())
|
||||
#define E_TABLE_ONE(o) (GTK_CHECK_CAST ((o), E_TABLE_ONE_TYPE, ETableOne))
|
||||
#define E_TABLE_ONE_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_ONE_TYPE, ETableOneClass))
|
||||
@ -26,5 +31,9 @@ GtkType e_table_one_get_type (void);
|
||||
ETableModel *e_table_one_new (ETableModel *source);
|
||||
void e_table_one_commit (ETableOne *one);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#endif /* _E_TABLE_ONE_H_ */
|
||||
|
||||
|
||||
@ -7,6 +7,10 @@
|
||||
#include <gal/e-table/e-table-defines.h>
|
||||
#include <gal/e-table/e-table-sorter.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#define E_TABLE_SELECTION_MODEL_TYPE (e_table_selection_model_get_type ())
|
||||
#define E_TABLE_SELECTION_MODEL(o) (GTK_CHECK_CAST ((o), E_TABLE_SELECTION_MODEL_TYPE, ETableSelectionModel))
|
||||
#define E_TABLE_SELECTION_MODEL_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_SELECTION_MODEL_TYPE, ETableSelectionModelClass))
|
||||
@ -75,4 +79,9 @@ void e_table_selection_model_invert_selection (ETableSelecti
|
||||
|
||||
ETableSelectionModel *e_table_selection_model_new (void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
|
||||
#endif /* _E_TABLE_SELECTION_MODEL_H_ */
|
||||
|
||||
@ -4,6 +4,10 @@
|
||||
|
||||
#include <gal/e-table/e-table-model.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#define E_TABLE_SIMPLE_TYPE (e_table_simple_get_type ())
|
||||
#define E_TABLE_SIMPLE(o) (GTK_CHECK_CAST ((o), E_TABLE_SIMPLE_TYPE, ETableSimple))
|
||||
#define E_TABLE_SIMPLE_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_SIMPLE_TYPE, ETableSimpleClass))
|
||||
@ -57,5 +61,9 @@ ETableModel *e_table_simple_new (ETableSimpleColumnCountFn col_count,
|
||||
ETableSimpleValueToStringFn value_to_string,
|
||||
void *data);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#endif /* _E_TABLE_SIMPLE_H_ */
|
||||
|
||||
|
||||
@ -5,6 +5,10 @@
|
||||
#include <gtk/gtkobject.h>
|
||||
#include <gnome-xml/tree.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#define E_TABLE_SORT_INFO_TYPE (e_table_sort_info_get_type ())
|
||||
#define E_TABLE_SORT_INFO(o) (GTK_CHECK_CAST ((o), E_TABLE_SORT_INFO_TYPE, ETableSortInfo))
|
||||
#define E_TABLE_SORT_INFO_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_SORT_INFO_TYPE, ETableSortInfoClass))
|
||||
@ -72,4 +76,8 @@ xmlNode *e_table_sort_info_save_to_node (ETableSortInfo *info,
|
||||
xmlNode *parent);
|
||||
ETableSortInfo *e_table_sort_info_duplicate (ETableSortInfo *info);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#endif /* _E_TABLE_SORT_INFO_H_ */
|
||||
|
||||
@ -8,6 +8,10 @@
|
||||
#include <gal/e-table/e-table-sort-info.h>
|
||||
#include <gal/e-table/e-table-header.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#define E_TABLE_SORTED_VARIABLE_TYPE (e_table_sorted_variable_get_type ())
|
||||
#define E_TABLE_SORTED_VARIABLE(o) (GTK_CHECK_CAST ((o), E_TABLE_SORTED_VARIABLE_TYPE, ETableSortedVariable))
|
||||
#define E_TABLE_SORTED_VARIABLE_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_SORTED_VARIABLE_TYPE, ETableSortedVariableClass))
|
||||
@ -38,4 +42,8 @@ typedef struct {
|
||||
GtkType e_table_sorted_variable_get_type (void);
|
||||
ETableModel *e_table_sorted_variable_new (ETableModel *etm, ETableHeader *header, ETableSortInfo *sort_info);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#endif /* _E_TABLE_SORTED_VARIABLE_H_ */
|
||||
|
||||
@ -5,6 +5,10 @@
|
||||
#include <gal/e-table/e-table-model.h>
|
||||
#include <gal/e-table/e-table-subset.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#define E_TABLE_SORTED_TYPE (e_table_sorted_get_type ())
|
||||
#define E_TABLE_SORTED(o) (GTK_CHECK_CAST ((o), E_TABLE_SORTED_TYPE, ETableSorted))
|
||||
#define E_TABLE_SORTED_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_SORTED_TYPE, ETableSortedClass))
|
||||
@ -26,4 +30,8 @@ GtkType e_table_sorted_get_type (void);
|
||||
ETableModel *e_table_sorted_new (ETableModel *etm, int col, GCompareFunc compare);
|
||||
void e_table_sorted_resort (ETableSorted *ets, int col, GCompareFunc compare);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#endif /* _E_TABLE_SORTED_H_ */
|
||||
|
||||
@ -8,6 +8,8 @@
|
||||
#include <gal/e-table/e-table-sort-info.h>
|
||||
#include <gal/e-table/e-table-header.h>
|
||||
|
||||
BEGIN_GNOME_DECLS
|
||||
|
||||
#define E_TABLE_SORTER_TYPE (e_table_sorter_get_type ())
|
||||
#define E_TABLE_SORTER(o) (GTK_CHECK_CAST ((o), E_TABLE_SORTER_TYPE, ETableSorter))
|
||||
#define E_TABLE_SORTER_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_SORTER_TYPE, ETableSorterClass))
|
||||
@ -45,4 +47,6 @@ gint e_table_sorter_sorted_to_model (ETableSorter *sorter, int row);
|
||||
|
||||
gboolean e_table_sorter_needs_sorting (ETableSorter *sorter);
|
||||
|
||||
END_GNOME_DECLS
|
||||
|
||||
#endif /* _E_TABLE_SORTER_H_ */
|
||||
|
||||
@ -8,6 +8,10 @@
|
||||
#include <gal/e-table/e-table-column-specification.h>
|
||||
#include <gal/e-table/e-table-defines.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#define E_TABLE_SPECIFICATION_TYPE (e_table_specification_get_type ())
|
||||
#define E_TABLE_SPECIFICATION(o) (GTK_CHECK_CAST ((o), E_TABLE_SPECIFICATION_TYPE, ETableSpecification))
|
||||
#define E_TABLE_SPECIFICATION_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_SPECIFICATION_TYPE, ETableSpecificationClass))
|
||||
@ -52,4 +56,8 @@ xmlNode *e_table_specification_save_to_node (ETableSpecificatio
|
||||
xmlDoc *doc);
|
||||
ETableSpecification *e_table_specification_duplicate (ETableSpecification *spec);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#endif /* _E_TABLE_SPECIFICATION_H_ */
|
||||
|
||||
@ -6,6 +6,11 @@
|
||||
#include <gnome-xml/tree.h>
|
||||
#include <gal/e-table/e-table-sort-info.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
|
||||
#define E_TABLE_STATE_TYPE (e_table_state_get_type ())
|
||||
#define E_TABLE_STATE(o) (GTK_CHECK_CAST ((o), E_TABLE_STATE_TYPE, ETableState))
|
||||
#define E_TABLE_STATE_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_STATE_TYPE, ETableStateClass))
|
||||
@ -42,4 +47,8 @@ xmlNode *e_table_state_save_to_node (ETableState *state,
|
||||
xmlNode *parent);
|
||||
ETableState *e_table_state_duplicate (ETableState *state);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#endif /* _E_TABLE_STATE_H_ */
|
||||
|
||||
@ -5,6 +5,10 @@
|
||||
#include <gtk/gtkobject.h>
|
||||
#include <gal/e-table/e-table-subset.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#define E_TABLE_SUBSET_VARIABLE_TYPE (e_table_subset_variable_get_type ())
|
||||
#define E_TABLE_SUBSET_VARIABLE(o) (GTK_CHECK_CAST ((o), E_TABLE_SUBSET_VARIABLE_TYPE, ETableSubsetVariable))
|
||||
#define E_TABLE_SUBSET_VARIABLE_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_SUBSET_VARIABLE_TYPE, ETableSubsetVariableClass))
|
||||
@ -44,5 +48,10 @@ void e_table_subset_variable_decrement (ETableSubsetVariable *ets,
|
||||
gint amount);
|
||||
void e_table_subset_variable_set_allocation (ETableSubsetVariable *ets,
|
||||
gint total);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
|
||||
#endif /* _E_TABLE_SUBSET_VARIABLE_H_ */
|
||||
|
||||
|
||||
@ -5,6 +5,10 @@
|
||||
#include <gtk/gtkobject.h>
|
||||
#include <gal/e-table/e-table-model.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#define E_TABLE_SUBSET_TYPE (e_table_subset_get_type ())
|
||||
#define E_TABLE_SUBSET(o) (GTK_CHECK_CAST ((o), E_TABLE_SUBSET_TYPE, ETableSubset))
|
||||
#define E_TABLE_SUBSET_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_SUBSET_TYPE, ETableSubsetClass))
|
||||
@ -36,5 +40,9 @@ ETableModel *e_table_subset_construct (ETableSubset *ets, ETableModel *source, i
|
||||
|
||||
ETableModel *e_table_subset_get_toplevel (ETableSubset *table_model);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#endif /* _E_TABLE_SUBSET_H_ */
|
||||
|
||||
|
||||
@ -4,6 +4,8 @@
|
||||
|
||||
#include <libgnomeui/gnome-canvas.h>
|
||||
|
||||
BEGIN_GNOME_DECLS
|
||||
|
||||
typedef struct {
|
||||
GtkWidget *window;
|
||||
gint timer;
|
||||
@ -14,4 +16,6 @@ typedef struct {
|
||||
GnomeCanvasItem *eti;
|
||||
} ETableTooltip;
|
||||
|
||||
END_GNOME_DECLS
|
||||
|
||||
#endif
|
||||
|
||||
@ -1,6 +1,8 @@
|
||||
#ifndef _E_TABLE_TREE_H_
|
||||
#define _E_TABLE_TREE_H_
|
||||
|
||||
BEGIN_GNOME_DECLS
|
||||
|
||||
typedef struct {
|
||||
char *title;
|
||||
|
||||
@ -16,4 +18,6 @@ typedef struct {
|
||||
ETableGroup *e_table_group_new (const char *title, ETableModel *table);
|
||||
ETableGroup *e_table_group_new_leaf (const char *title);
|
||||
|
||||
END_GNOME_DECLS
|
||||
|
||||
#endif /* _E_TABLE_TREE_H_ */
|
||||
|
||||
@ -5,6 +5,11 @@
|
||||
#include <gdk-pixbuf/gdk-pixbuf.h>
|
||||
#include <gal/e-table/e-table-model.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
|
||||
#define E_TREE_MODEL_TYPE (e_tree_model_get_type ())
|
||||
#define E_TREE_MODEL(o) (GTK_CHECK_CAST ((o), E_TREE_MODEL_TYPE, ETreeModel))
|
||||
#define E_TREE_MODEL_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TREE_MODEL_TYPE, ETreeModelClass))
|
||||
@ -133,4 +138,8 @@ void e_tree_model_node_traverse (ETreeModel *model, ETreePath *path, ETree
|
||||
|
||||
void e_tree_model_show_node (ETreeModel *etm, ETreePath* node);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#endif /* _E_TREE_MODEL_H */
|
||||
|
||||
@ -6,6 +6,10 @@
|
||||
#include <gal/e-table/e-tree-model.h>
|
||||
#include <gal/e-table/e-table-simple.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#define E_TREE_SIMPLE_TYPE (e_tree_simple_get_type ())
|
||||
#define E_TREE_SIMPLE(o) (GTK_CHECK_CAST ((o), E_TREE_SIMPLE_TYPE, ETreeSimple))
|
||||
#define E_TREE_SIMPLE_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TREE_SIMPLE_TYPE, ETreeSimpleClass))
|
||||
@ -56,4 +60,8 @@ ETreeModel *e_tree_simple_new (ETableSimpleColumnCountFn col_count,
|
||||
ETreeSimpleIsEditableFn is_editable,
|
||||
gpointer model_data);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#endif /* _E_TREE_SIMPLE_H_ */
|
||||
|
||||
@ -8,6 +8,8 @@
|
||||
#include <gal/e-table/e-table-sort-info.h>
|
||||
#include <gal/e-table/e-table-header.h>
|
||||
|
||||
BEGIN_GNOME_DECLS
|
||||
|
||||
#define E_TREE_SORTED_VARIABLE_TYPE (e_tree_sorted_variable_get_type ())
|
||||
#define E_TREE_SORTED_VARIABLE(o) (GTK_CHECK_CAST ((o), E_TREE_SORTED_VARIABLE_TYPE, ETreeSortedVariable))
|
||||
#define E_TREE_SORTED_VARIABLE_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TREE_SORTED_VARIABLE_TYPE, ETreeSortedVariableClass))
|
||||
@ -55,5 +57,6 @@ void e_tree_sorted_variable_decrement (ETreeSortedVariable *ets,
|
||||
gint amount);
|
||||
void e_tree_sorted_variable_set_allocation (ETreeSortedVariable *ets,
|
||||
gint total);
|
||||
END_GNOME_DECLS
|
||||
|
||||
#endif /* _E_TREE_SORTED_VARIABLE_H_ */
|
||||
|
||||
Reference in New Issue
Block a user