PIXMAP_COMBO_TYPE
#define PIXMAP_COMBO_TYPE (pixmap_combo_get_type ())
PIXMAP_COMBO
#define PIXMAP_COMBO(obj) (GTK_CHECK_CAST((obj), PIXMAP_COMBO_TYPE, PixmapCombo))
PIXMAP_COMBO_CLASS
#define PIXMAP_COMBO_CLASS(k) (GTK_CHECK_CLASS_CAST(k), PIXMAP_COMBO_TYPE)
IS_PIXMAP_COMBO
#define IS_PIXMAP_COMBO(obj) (GTK_CHECK_TYPE((obj), PIXMAP_COMBO_TYPE))
PixmapComboElement
typedef struct {
char const *untranslated_tooltip;
char **xpm_data;
int index;
} PixmapComboElement;
PixmapCombo
typedef struct {
GtkComboBox combo_box;
/* Static information */
PixmapComboElement const *elements;
int cols, rows;
int num_elements;
/* State info */
int last_index;
/* Interface elements */
GtkWidget *combo_table, *preview_button;
GtkWidget *preview_pixmap;
GtkTooltips *tool_tip;
GnomePixmap **pixmaps;
} PixmapCombo;
pixmap_combo_get_type
GtkType
void
pixmap_combo_new
GtkWidget *
PixmapComboElement const *elements,int ncols, int nrows
pixmap_combo_select_pixmap
void
PixmapCombo *combo, int index
e_canvas_item_move_absolute
void
GnomeCanvasItem *item, double dx, double dy
e_canvas_item_show_area
void
GnomeCanvasItem *item, double x1, double y1, double x2, double y2
E_CANVAS_TYPE
#define E_CANVAS_TYPE (e_canvas_get_type ())
E_CANVAS
#define E_CANVAS(obj) (GTK_CHECK_CAST ((obj), E_CANVAS_TYPE, ECanvas))
E_CANVAS_CLASS
#define E_CANVAS_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), E_CANVAS_TYPE, ECanvasClass))
E_IS_CANVAS
#define E_IS_CANVAS(obj) (GTK_CHECK_TYPE ((obj), E_CANVAS_TYPE))
E_IS_CANVAS_CLASS
#define E_IS_CANVAS_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), E_CANVAS_TYPE))
ECanvasItemReflowFunc
void
GnomeCanvasItem *item,
gint flags
ECanvasItemSelectionFunc
void
GnomeCanvasItem *item,
gint flags,
gpointer user_data
ECanvasItemSelectionCompareFunc
gint
GnomeCanvasItem *item,
gpointer data1,
gpointer data2,
gint flags
ECanvas
ECanvasClass
ECanvasSelectionInfo
typedef struct {
GnomeCanvasItem *item;
gpointer id;
} ECanvasSelectionInfo;
ECanvas
struct ECanvas
{
GnomeCanvas parent;
int idle_id;
GList *selection;
ECanvasSelectionInfo *cursor;
/* Input context for dead key support */
GdkIC *ic;
GdkICAttr *ic_attr;
};
e_canvas_get_type
GtkType
void
e_canvas_new
GtkWidget *
void
e_canvas_item_grab_focus
void
GnomeCanvasItem *item
e_canvas_item_request_reflow
void
GnomeCanvasItem *item
e_canvas_item_request_parent_reflow
void
GnomeCanvasItem *item
e_canvas_item_set_reflow_callback
void
GnomeCanvasItem *item, ECanvasItemReflowFunc func
e_canvas_item_set_selection_callback
void
GnomeCanvasItem *item, ECanvasItemSelectionFunc func
e_canvas_item_set_selection_compare_callback
void
GnomeCanvasItem *item, ECanvasItemSelectionCompareFunc func
e_canvas_item_set_cursor
void
GnomeCanvasItem *item, gpointer id
e_canvas_item_add_selection
void
GnomeCanvasItem *item, gpointer id
e_canvas_item_remove_selection
void
GnomeCanvasItem *item, gpointer id
e_canvas_item_set_cursor_end
void
GnomeCanvasItem *item, gpointer id
e_color_init
void
void
e_color_alloc
int
gushort red, gushort green, gushort blue
e_color_alloc_name
void
const char *name, GdkColor *color
e_color_alloc_gdk
void
GdkColor *color
E_TYPE_HSCROLLBAR
#define E_TYPE_HSCROLLBAR (e_hscrollbar_get_type ())
E_HSCROLLBAR
#define E_HSCROLLBAR(obj) (GTK_CHECK_CAST ((obj), E_TYPE_HSCROLLBAR, EHScrollbar))
E_HSCROLLBAR_CLASS
#define E_HSCROLLBAR_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), E_TYPE_HSCROLLBAR, EHScrollbarClass))
E_IS_HSCROLLBAR
#define E_IS_HSCROLLBAR(obj) (GTK_CHECK_TYPE ((obj), E_TYPE_HSCROLLBAR))
E_IS_HSCROLLBAR_CLASS
#define E_IS_HSCROLLBAR_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), E_TYPE_HSCROLLBAR))
EHScrollbar
EHScrollbarPrivate
EHScrollbarClass
EHScrollbar
struct EHScrollbar {
GtkHScrollbar parent;
};
e_hscrollbar_get_type
GtkType
void
e_hscrollbar_new
GtkWidget *
GtkAdjustment *adjustment
GTK_COMBO_BOX
#define GTK_COMBO_BOX(obj) GTK_CHECK_CAST (obj, gtk_combo_box_get_type (), GtkComboBox)
GTK_COMBO_BOX_CLASS
#define GTK_COMBO_BOX_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_combo_box_get_type (), GtkComboBoxClass)
GTK_IS_COMBO_BOX
#define GTK_IS_COMBO_BOX(obj) GTK_CHECK_TYPE (obj, gtk_combo_box_get_type ())
GtkComboBox
GtkComboBoxPrivate
GtkComboBoxClass
GtkComboBox
struct GtkComboBox {
GtkHBox hbox;
GtkComboBoxPrivate *priv;
};
gtk_combo_box_get_type
GtkType
void
gtk_combo_box_construct
void
GtkComboBox *combo_box,GtkWidget *display_widget,GtkWidget *optional_pop_down_widget
gtk_combo_box_new
GtkWidget *
GtkWidget *display_widget,GtkWidget *optional_pop_down_widget
gtk_combo_box_popup_hide
void
GtkComboBox *combo_box
gtk_combo_box_set_display
void
GtkComboBox *combo_box,GtkWidget *display_widget
gtk_combo_box_set_arrow_relief
void
GtkComboBox *cc, GtkReliefStyle relief
gtk_combo_box_set_title
void
GtkComboBox *combo, const gchar *title
gtk_combo_box_set_arrow_sensitive
void
GtkComboBox *combo,gboolean sensitive
gnome_font_get_size
#define gnome_font_get_size(f) ((f)->size)
gnome_font_get_glyph_width
#define gnome_font_get_glyph_width gnome_font_get_width
gnome_font_lookup_default
#define gnome_font_lookup_default gnome_font_get_glyph
e_unicode_init
void
void
e_utf8_strstrcase
const gchar *
const gchar *haystack, const gchar *needle
e_utf8_strstrcasedecomp
const gchar *
const gchar *haystack, const gchar *needle
e_utf8_from_gtk_event_key
gchar *
GtkWidget *widget, guint keyval, const gchar *string
e_utf8_from_gtk_string
gchar *
GtkWidget *widget, const gchar *string
e_utf8_from_gtk_string_sized
gchar *
GtkWidget *widget, const gchar *string, gint bytes
e_utf8_to_gtk_string
gchar *
GtkWidget *widget, const gchar *string
e_utf8_to_gtk_string_sized
gchar *
GtkWidget *widget, const gchar *string, gint bytes
e_utf8_gtk_entry_get_text
gchar *
GtkEntry *entry
e_utf8_gtk_entry_set_text
void
GtkEntry *entry, const gchar *text
e_utf8_gtk_editable_get_text
gchar *
GtkEditable *editable
e_utf8_gtk_editable_set_text
void
GtkEditable *editable, const gchar *text
e_utf8_gtk_editable_get_chars
gchar *
GtkEditable *editable, gint start, gint end
e_utf8_gtk_editable_insert_text
void
GtkEditable *editable, const gchar *text, gint length, gint *position
e_utf8_gtk_menu_item_new_with_label
GtkWidget *
GtkMenu *menu, const gchar *label
e_utf8_gtk_clist_set_text
void
GtkCList *clist, gint row, gint col, const gchar *text
e_utf8_gtk_clist_append
gint
GtkCList *clist, gchar *text[]
g_unichar_to_utf8
gint
gint c, gchar *outbuf
gdk_keyval_to_unicode
guint32
guint keysym
COLOR_PALETTE_TYPE
#define COLOR_PALETTE_TYPE (color_palette_get_type ())
COLOR_PALETTE
#define COLOR_PALETTE(obj) (GTK_CHECK_CAST((obj), COLOR_PALETTE_TYPE, ColorPalette))
COLOR_PALETTE_CLASS
#define COLOR_PALETTE_CLASS(k) (GTK_CHECK_CLASS_CAST(k), COLOR_PALETTE_TYPE)
IS_COLOR_PALETTE
#define IS_COLOR_PALETTE(obj) (GTK_CHECK_TYPE((obj), COLOR_PALETTE_TYPE))
color_palette_get_type
GtkType
void
color_palette_new
GtkWidget *
const char *no_color_label,GdkColor *default_color,const gchar *group_name
color_palette_get_current_color
GdkColor *
ColorPalette *P
color_palette_get_color_picker
GtkWidget *
ColorPalette *P
ECursorType
typedef enum {
E_CURSOR_FAT_CROSS,
E_CURSOR_THIN_CROSS,
E_CURSOR_ARROW,
E_CURSOR_MOVE,
E_CURSOR_ZOOM_IN,
E_CURSOR_ZOOM_OUT,
E_CURSOR_SIZE_X,
E_CURSOR_SIZE_Y,
E_CURSOR_SIZE_TL,
E_CURSOR_SIZE_TR,
E_CURSOR_PRESS,
E_CURSOR_HAND_OPEN,
E_CURSOR_HAND_CLOSED,
E_CURSOR_NUM_CURSORS
} ECursorType;
e_cursors_init
void
void
e_cursors_shutdown
void
void
e_cursor_set
#define e_cursor_set(win, c) \
G_STMT_START { \
if (win) \
gdk_window_set_cursor (win, e_cursor_get (c)); \
} G_STMT_END
e_cursor_set_widget
#define e_cursor_set_widget(w, c) \
G_STMT_START { \
if (GTK_WIDGET (w)->window) \
gdk_window_set_cursor (GTK_WIDGET (w)->window, e_cursor_get (c)); \
} G_STMT_END
e_cursor_get
GdkCursor *
ECursorType type
GTK_COMBO_STACK
#define GTK_COMBO_STACK(obj) GTK_CHECK_CAST (obj, gtk_combo_stack_get_type (), GtkComboStack)
GTK_COMBO_STACK_CLASS
#define GTK_COMBO_STACK_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_combo_stack_get_type (), GtkComboTextClass)
GTK_IS_COMBO_STACK
#define GTK_IS_COMBO_STACK(obj) GTK_CHECK_TYPE (obj, gtk_combo_stack_get_type ())
GtkComboStack
GtkComboStackPrivate
GtkComboStackClass
GtkComboStack
struct GtkComboStack {
GtkComboBox parent;
GtkComboStackPrivate *priv;
};
gtk_combo_stack_get_type
GtkType
void
gtk_combo_stack_new
GtkWidget *
const gchar *stock_name,gboolean const is_scrolled
gtk_combo_stack_push_item
void
GtkComboStack *combo_stack,const gchar *item
gtk_combo_stack_remove_top
void
GtkComboStack *combo_stack,gint num
gtk_combo_stack_pop
void
GtkComboStack *combo_stack,gint num
gtk_combo_stack_clear
void
GtkComboStack *combo_stack
gtk_combo_stack_truncate
void
GtkComboStack *combo, int n
COLOR_GROUP_TYPE
#define COLOR_GROUP_TYPE (color_group_get_type ())
COLOR_GROUP
#define COLOR_GROUP(obj) (GTK_CHECK_CAST((obj), COLOR_GROUP_TYPE, ColorGroup))
COLOR_GROUP_CLASS
#define COLOR_GROUP_CLASS(k) (GTK_CHECK_CLASS_CAST(k), COLOR_GROUP_TYPE)
IS_COLOR_GROUP
#define IS_COLOR_GROUP(obj) (GTK_CHECK_TYPE((obj), COLOR_GROUP_TYPE))
color_group_get_type
GtkType
void
color_group_new_named
GtkObject *
const gchar *name
color_group_from_name
GtkObject *
const gchar * name
color_group_set_history_size
void
ColorGroup *cg, gint size
color_group_get_history_size
gint
ColorGroup *cg
color_group_get_current_color
GdkColor *
ColorGroup *cg
color_group_set_current_color
void
ColorGroup *cg, GdkColor *color
color_group_most_recent_color
GdkColor *
ColorGroup *cg
color_group_oldest_color
GdkColor *
ColorGroup *cg
color_group_next_color
GdkColor *
ColorGroup *cg
color_group_previous_color
GdkColor *
ColorGroup *cg
color_group_add_color
void
ColorGroup *cg, GdkColor *color,gboolean custom_color
E_CANVAS_VBOX_TYPE
#define E_CANVAS_VBOX_TYPE (e_canvas_vbox_get_type ())
E_CANVAS_VBOX
#define E_CANVAS_VBOX(obj) (GTK_CHECK_CAST ((obj), E_CANVAS_VBOX_TYPE, ECanvasVbox))
E_CANVAS_VBOX_CLASS
#define E_CANVAS_VBOX_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), E_CANVAS_VBOX_TYPE, ECanvasVboxClass))
E_IS_CANVAS_VBOX
#define E_IS_CANVAS_VBOX(obj) (GTK_CHECK_TYPE ((obj), E_CANVAS_VBOX_TYPE))
E_IS_CANVAS_VBOX_CLASS
#define E_IS_CANVAS_VBOX_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), E_CANVAS_VBOX_TYPE))
ECanvasVbox
ECanvasVboxClass
ECanvasVbox
struct ECanvasVbox
{
GnomeCanvasGroup parent;
/* item specific fields */
GList *items; /* Of type GnomeCanvasItem */
double width;
double height;
double spacing;
};
e_canvas_vbox_add_item
void
ECanvasVbox *e_canvas_vbox, GnomeCanvasItem *item
e_canvas_vbox_get_type
GtkType
void
E_REFLOW_TYPE
#define E_REFLOW_TYPE (e_reflow_get_type ())
E_REFLOW
#define E_REFLOW(obj) (GTK_CHECK_CAST ((obj), E_REFLOW_TYPE, EReflow))
E_REFLOW_CLASS
#define E_REFLOW_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), E_REFLOW_TYPE, EReflowClass))
E_IS_REFLOW
#define E_IS_REFLOW(obj) (GTK_CHECK_TYPE ((obj), E_REFLOW_TYPE))
E_IS_REFLOW_CLASS
#define E_IS_REFLOW_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), E_REFLOW_TYPE))
EReflow
EReflowClass
EReflow
struct EReflow
{
GnomeCanvasGroup parent;
/* item specific fields */
GList *items; /* Of type GnomeCanvasItem */
GList *columns; /* Of type GList of type GnomeCanvasItem (points into items) */
gint column_count; /* Number of columnns */
GnomeCanvasItem *empty_text;
gchar *empty_message;
double minimum_width;
double width;
double height;
double column_width;
int idle;
/* These are all for when the column is being dragged. */
gboolean column_drag;
gdouble start_x;
gint which_column_dragged;
double temp_column_width;
double previous_temp_column_width;
guint need_height_update : 1;
guint need_column_resize : 1;
guint default_cursor_shown : 1;
GdkCursor *arrow_cursor;
GdkCursor *default_cursor;
};
e_reflow_add_item
void
EReflow *e_reflow, GnomeCanvasItem *item
e_reflow_get_type
GtkType
void
e_reflow_post_add_item
void
EReflow *e_reflow, GnomeCanvasItem *item
COLOR_COMBO_TYPE
#define COLOR_COMBO_TYPE (color_combo_get_type ())
COLOR_COMBO
#define COLOR_COMBO(obj) (GTK_CHECK_CAST((obj), COLOR_COMBO_TYPE, ColorCombo))
COLOR_COMBO_CLASS
#define COLOR_COMBO_CLASS(k) (GTK_CHECK_CLASS_CAST(k), COLOR_COMBO_TYPE)
IS_COLOR_COMBO
#define IS_COLOR_COMBO(obj) (GTK_CHECK_TYPE((obj), COLOR_COMBO_TYPE))
color_combo_get_type
GtkType
void
color_combo_new
GtkWidget *
char **icon, const char *no_color_label,GdkColor *default_color, gchar *group_name
E_PRINTABLE_TYPE
#define E_PRINTABLE_TYPE (e_printable_get_type ())
E_PRINTABLE
#define E_PRINTABLE(o) (GTK_CHECK_CAST ((o), E_PRINTABLE_TYPE, EPrintable))
E_PRINTABLE_CLASS
#define E_PRINTABLE_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_PRINTABLE_TYPE, EPrintableClass))
E_IS_PRINTABLE
#define E_IS_PRINTABLE(o) (GTK_CHECK_TYPE ((o), E_PRINTABLE_TYPE))
E_IS_PRINTABLE_CLASS
#define E_IS_PRINTABLE_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_PRINTABLE_TYPE))
EPrintable
typedef struct {
GtkObject base;
} EPrintable;
e_printable_get_type
GtkType
void
e_printable_new
EPrintable *
void
e_printable_print_page
void
EPrintable *e_printable,GnomePrintContext *context,gdouble width,gdouble height,gboolean quantized
e_printable_data_left
gboolean
EPrintable *e_printable
e_printable_reset
void
EPrintable *e_printable
e_printable_height
gdouble
EPrintable *e_printable,GnomePrintContext *context,gdouble width,gdouble max_height,gboolean quantized
e_printable_will_fit
gboolean
EPrintable *e_printable,GnomePrintContext *context,gdouble width,gdouble max_height,gboolean quantized
EPopupMenu
EPopupMenu
struct EPopupMenu {
char *name;
char *pixname;
void (*fn) (GtkWidget *widget, void *closure);
EPopupMenu *submenu;
guint32 disable_mask;
};
e_popup_menu_create
GtkMenu *
EPopupMenu *menu_list,guint32 disable_mask,guint32 hide_mask,void *closure
e_popup_menu_run
void
EPopupMenu *menu_list,GdkEventButton *event,guint32 disable_mask,guint32 hide_mask,void *closure
GTK_COMBO_TEXT
#define GTK_COMBO_TEXT(obj) GTK_CHECK_CAST (obj, gtk_combo_text_get_type (), GtkComboText)
GTK_COMBO_TEXT_CLASS
#define GTK_COMBO_TEXT_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_combo_text_get_type (), GtkComboTextClass)
GTK_IS_COMBO_TEXT
#define GTK_IS_COMBO_TEXT(obj) GTK_CHECK_TYPE (obj, gtk_combo_text_get_type ())
GtkComboText
GtkComboText
struct GtkComboText {
GtkComboBox parent;
GtkWidget *entry;
GtkWidget *list;
GtkWidget *scrolled_window;
GtkStateType cache_mouse_state;
GtkWidget *cached_entry;
gboolean case_sensitive;
GHashTable*elements;
};
gtk_combo_text_get_type
GtkType
void
gtk_combo_text_new
GtkWidget *
gboolean const is_scrolled
gtk_combo_text_set_case_sensitive
gint
GtkComboText *combo_text,gboolean val
gtk_combo_text_select_item
void
GtkComboText *combo_text,int elem
gtk_combo_text_set_text
void
GtkComboText *combo_text,const gchar *text
gtk_combo_text_add_item
void
GtkComboText *combo_text,const gchar *item,const gchar *value
e_popup_menu
void
GtkMenu *menu, GdkEventButton *event
e_auto_kill_popup_menu_on_hide
void
GtkMenu *menu
e_notice
void
GtkWindow *window, const char *type, const char *format, ...
e_container_foreach_leaf
void
GtkContainer *container,GtkCallback callback,gpointer closure
e_container_focus_nth_entry
void
GtkContainer *container,int n
e_container_change_tab_order
gint
GtkContainer *container,GList *widgets
E_REFLOW_SORTED_TYPE
#define E_REFLOW_SORTED_TYPE (e_reflow_sorted_get_type ())
E_REFLOW_SORTED
#define E_REFLOW_SORTED(obj) (GTK_CHECK_CAST ((obj), E_REFLOW_SORTED_TYPE, EReflowSorted))
E_REFLOW_SORTED_CLASS
#define E_REFLOW_SORTED_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), E_REFLOW_SORTED_TYPE, EReflowSortedClass))
E_IS_REFLOW_SORTED
#define E_IS_REFLOW_SORTED(obj) (GTK_CHECK_TYPE ((obj), E_REFLOW_SORTED_TYPE))
E_IS_REFLOW_SORTED_CLASS
#define E_IS_REFLOW_SORTED_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), E_REFLOW_SORTED_TYPE))
EReflowStringFunc
char *
GnomeCanvasItem *
EReflowSorted
EReflowSortedClass
EReflowSorted
struct EReflowSorted
{
EReflow parent;
/* item specific fields */
GCompareFunc compare_func;
EReflowStringFunc string_func;
};
e_reflow_sorted_remove_item
void
EReflowSorted *sorted, const char *id
e_reflow_sorted_replace_item
void
EReflowSorted *sorted, GnomeCanvasItem *item
e_reflow_sorted_reorder_item
void
EReflowSorted *e_reflow_sorted, const gchar *id
e_reflow_sorted_get_item
GnomeCanvasItem *
EReflowSorted *e_reflow_sorted, const gchar *id
e_reflow_sorted_get_type
GtkType
void
e_reflow_sorted_jump
void
EReflowSorted *sorted, GCompareFunc compare_func, void *value
EFont
EFontStyle
typedef enum {
E_FONT_PLAIN = 0,
E_FONT_BOLD = (1 << 0),
E_FONT_ITALIC = (1 << 4)
} EFontStyle;
e_font_from_gdk_name
EFont *
const gchar *name
e_font_from_gdk_font
EFont *
GdkFont *font
e_font_ref
void
EFont *font
e_font_unref
void
EFont *font
e_font_ascent
gint
EFont * font
e_font_descent
gint
EFont * font
e_font_get_name
gchar *
EFont *font
e_font_height
#define e_font_height(f) (e_font_ascent (f) + e_font_descent (f))
e_font_draw_utf8_text
void
GdkDrawable *drawable,EFont *font, EFontStyle style,GdkGC *gc,gint x, gint y,const gchar *text,gint numbytes
e_font_utf8_text_width
int
EFont *font, EFontStyle style,const char *text,int numbytes
e_font_utf8_char_width
int
EFont *font, EFontStyle style,char *text
e_gdk_font_encoding
const gchar *
GdkFont *font
e_iconv_from_gdk_font
iconv_t
GdkFont *font
e_iconv_to_gdk_font
iconv_t
GdkFont *font
E_TYPE_VSCROLLBAR
#define E_TYPE_VSCROLLBAR (e_vscrollbar_get_type ())
E_VSCROLLBAR
#define E_VSCROLLBAR(obj) (GTK_CHECK_CAST ((obj), E_TYPE_VSCROLLBAR, EVScrollbar))
E_VSCROLLBAR_CLASS
#define E_VSCROLLBAR_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), E_TYPE_VSCROLLBAR, EVScrollbarClass))
E_IS_VSCROLLBAR
#define E_IS_VSCROLLBAR(obj) (GTK_CHECK_TYPE ((obj), E_TYPE_VSCROLLBAR))
E_IS_VSCROLLBAR_CLASS
#define E_IS_VSCROLLBAR_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), E_TYPE_VSCROLLBAR))
EVScrollbar
EVScrollbarPrivate
EVScrollbarClass
EVScrollbar
struct EVScrollbar {
GtkVScrollbar parent;
};
e_vscrollbar_get_type
GtkType
void
e_vscrollbar_new
GtkWidget *
GtkAdjustment *adjustment
E_TYPE_SCROLL_FRAME
#define E_TYPE_SCROLL_FRAME (e_scroll_frame_get_type ())
E_SCROLL_FRAME
#define E_SCROLL_FRAME(obj) (GTK_CHECK_CAST ((obj), E_TYPE_SCROLL_FRAME, EScrollFrame))
E_SCROLL_FRAME_CLASS
#define E_SCROLL_FRAME_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), E_TYPE_SCROLL_FRAME, \
EScrollFrameClass))
E_IS_SCROLL_FRAME
#define E_IS_SCROLL_FRAME(obj) (GTK_CHECK_TYPE ((obj), E_TYPE_SCROLL_FRAME))
E_IS_SCROLL_FRAME_CLASS
#define E_IS_SCROLL_FRAME_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), E_TYPE_SCROLL_FRAME))
EScrollFrame
EScrollFrameClass
EScrollFrame
struct EScrollFrame
{
GtkBin bin;
/* Private data */
gpointer priv;
};
e_scroll_frame_get_type
GtkType
void
e_scroll_frame_new
GtkWidget *
GtkAdjustment *hadj, GtkAdjustment *vadj
e_scroll_frame_set_hadjustment
void
EScrollFrame *sf, GtkAdjustment *adj
e_scroll_frame_set_vadjustment
void
EScrollFrame *sf, GtkAdjustment *adj
e_scroll_frame_get_hadjustment
GtkAdjustment *
EScrollFrame *sf
e_scroll_frame_get_vadjustment
GtkAdjustment *
EScrollFrame *sf
e_scroll_frame_set_policy
void
EScrollFrame *sf,GtkPolicyType hsb_policy,GtkPolicyType vsb_policy
e_scroll_frame_set_placement
void
EScrollFrame *sf, GtkCornerType frame_placement
e_scroll_frame_set_shadow_type
void
EScrollFrame *sf, GtkShadowType shadow_type
e_scroll_frame_set_scrollbar_spacing
void
EScrollFrame *sf, guint spacing
e_scroll_frame_add_with_viewport
void
EScrollFrame *sf, GtkWidget *child
GAL_VIEW_FACTORY_ETABLE_TYPE
#define GAL_VIEW_FACTORY_ETABLE_TYPE (gal_view_factory_etable_get_type ())
GAL_VIEW_FACTORY_ETABLE
#define GAL_VIEW_FACTORY_ETABLE(o) (GTK_CHECK_CAST ((o), GAL_VIEW_FACTORY_ETABLE_TYPE, GalViewFactoryEtable))
GAL_VIEW_FACTORY_ETABLE_CLASS
#define GAL_VIEW_FACTORY_ETABLE_CLASS(k) (GTK_CHECK_CLASS_CAST((k), GAL_VIEW_FACTORY_ETABLE_TYPE, GalViewFactoryEtableClass))
GAL_IS_VIEW_FACTORY_ETABLE
#define GAL_IS_VIEW_FACTORY_ETABLE(o) (GTK_CHECK_TYPE ((o), GAL_VIEW_FACTORY_ETABLE_TYPE))
GAL_IS_VIEW_FACTORY_ETABLE_CLASS
#define GAL_IS_VIEW_FACTORY_ETABLE_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), GAL_VIEW_FACTORY_ETABLE_TYPE))
GalViewFactoryEtable
typedef struct {
GalViewFactory base;
ETableSpecification *spec;
} GalViewFactoryEtable;
gal_view_factory_etable_get_type
GtkType
void
gal_view_factory_etable_new
GalViewFactory *
ETableSpecification *spec
gal_view_factory_etable_construct
GalViewFactory *
GalViewFactoryEtable *factory,ETableSpecification *spec
GAL_DEFINE_VIEWS_DIALOG_TYPE
#define GAL_DEFINE_VIEWS_DIALOG_TYPE (gal_define_views_dialog_get_type ())
GAL_DEFINE_VIEWS_DIALOG
#define GAL_DEFINE_VIEWS_DIALOG(obj) (GTK_CHECK_CAST ((obj), GAL_DEFINE_VIEWS_DIALOG_TYPE, GalDefineViewsDialog))
GAL_DEFINE_VIEWS_DIALOG_CLASS
#define GAL_DEFINE_VIEWS_DIALOG_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GAL_DEFINE_VIEWS_DIALOG_TYPE, GalDefineViewsDialogClass))
GAL_IS_DEFINE_VIEWS_DIALOG
#define GAL_IS_DEFINE_VIEWS_DIALOG(obj) (GTK_CHECK_TYPE ((obj), GAL_DEFINE_VIEWS_DIALOG_TYPE))
GAL_IS_DEFINE_VIEWS_DIALOG_CLASS
#define GAL_IS_DEFINE_VIEWS_DIALOG_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), GAL_DEFINE_VIEWS_DIALOG_TYPE))
GalDefineViewsDialog
GalDefineViewsDialogClass
GalDefineViewsDialog
struct GalDefineViewsDialog
{
GnomeDialog parent;
/* item specific fields */
GladeXML *gui;
ETableModel *model;
GalViewCollection *collection;
};
gal_define_views_dialog_new
GtkWidget *
void
gal_define_views_dialog_get_type
GtkType
void
gal_define_views_dialog_add_section
void
GalDefineViewsDialog *gal_define_views_dialog
GAL_VIEW_TYPE
#define GAL_VIEW_TYPE (gal_view_get_type ())
GAL_VIEW
#define GAL_VIEW(o) (GTK_CHECK_CAST ((o), GAL_VIEW_TYPE, GalView))
GAL_VIEW_CLASS
#define GAL_VIEW_CLASS(k) (GTK_CHECK_CLASS_CAST((k), GAL_VIEW_TYPE, GalViewClass))
GAL_IS_VIEW
#define GAL_IS_VIEW(o) (GTK_CHECK_TYPE ((o), GAL_VIEW_TYPE))
GAL_IS_VIEW_CLASS
#define GAL_IS_VIEW_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), GAL_VIEW_TYPE))
GalView
typedef struct {
GtkObject base;
} GalView;
gal_view_get_type
GtkType
void
gal_view_edit
void
GalView *view
gal_view_load_from_node
void
GalView *view,xmlNode *node
gal_view_save_to_node
void
GalView *view,xmlNode *parent
gal_view_get_title
const char *
GalView *view
GAL_VIEW_COLLECTION_TYPE
#define GAL_VIEW_COLLECTION_TYPE (gal_view_collection_get_type ())
GAL_VIEW_COLLECTION
#define GAL_VIEW_COLLECTION(o) (GTK_CHECK_CAST ((o), GAL_VIEW_COLLECTION_TYPE, GalViewCollection))
GAL_VIEW_COLLECTION_CLASS
#define GAL_VIEW_COLLECTION_CLASS(k) (GTK_CHECK_CLASS_CAST((k), GAL_VIEW_COLLECTION_TYPE, GalViewCollectionClass))
GAL_IS_VIEW_COLLECTION
#define GAL_IS_VIEW_COLLECTION(o) (GTK_CHECK_TYPE ((o), GAL_VIEW_COLLECTION_TYPE))
GAL_IS_VIEW_COLLECTION_CLASS
#define GAL_IS_VIEW_COLLECTION_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), GAL_VIEW_COLLECTION_TYPE))
GalViewCollection
typedef struct {
GtkObject base;
GList *view_list;
GList *factory_list;
} GalViewCollection;
gal_view_collection_get_type
GtkType
void
gal_view_collection_new
GalViewCollection *
void
gal_view_collection_set_storage_directories
void
GalViewCollection *collection,char *system_dir,char *local_dir
gal_view_collection_add_factory
void
GalViewCollection *collection,GalViewFactory *factory
gal_view_collection_display_view
void
GalViewCollection *collection,GalView *view
GAL_DEFINE_VIEWS_MODEL_TYPE
#define GAL_DEFINE_VIEWS_MODEL_TYPE (gal_define_views_model_get_type ())
GAL_DEFINE_VIEWS_MODEL
#define GAL_DEFINE_VIEWS_MODEL(o) (GTK_CHECK_CAST ((o), GAL_DEFINE_VIEWS_MODEL_TYPE, GalDefineViewsModel))
GAL_DEFINE_VIEWS_MODEL_CLASS
#define GAL_DEFINE_VIEWS_MODEL_CLASS(k) (GTK_CHECK_CLASS_CAST((k), GAL_DEFINE_VIEWS_MODEL_TYPE, GalDefineViewsModelClass))
GAL_IS_DEFINE_VIEWS_MODEL
#define GAL_IS_DEFINE_VIEWS_MODEL(o) (GTK_CHECK_TYPE ((o), GAL_DEFINE_VIEWS_MODEL_TYPE))
GAL_IS_DEFINE_VIEWS_MODEL_CLASS
#define GAL_IS_DEFINE_VIEWS_MODEL_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), GAL_DEFINE_VIEWS_MODEL_TYPE))
GalDefineViewsModel
typedef struct {
ETableModel parent;
/* item specific fields */
GalView **data;
int data_count;
guint editable : 1;
} GalDefineViewsModel;
gal_define_views_model_get_type
GtkType
void
gal_define_views_model_new
ETableModel *
void
gal_define_views_model_append
void
GalDefineViewsModel *model,GalView *view
GAL_VIEW_FACTORY_TYPE
#define GAL_VIEW_FACTORY_TYPE (gal_view_factory_get_type ())
GAL_VIEW_FACTORY
#define GAL_VIEW_FACTORY(o) (GTK_CHECK_CAST ((o), GAL_VIEW_FACTORY_TYPE, GalViewFactory))
GAL_VIEW_FACTORY_CLASS
#define GAL_VIEW_FACTORY_CLASS(k) (GTK_CHECK_CLASS_CAST((k), GAL_VIEW_FACTORY_TYPE, GalViewFactoryClass))
GAL_IS_VIEW_FACTORY
#define GAL_IS_VIEW_FACTORY(o) (GTK_CHECK_TYPE ((o), GAL_VIEW_FACTORY_TYPE))
GAL_IS_VIEW_FACTORY_CLASS
#define GAL_IS_VIEW_FACTORY_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), GAL_VIEW_FACTORY_TYPE))
GalViewFactory
typedef struct {
GtkObject base;
} GalViewFactory;
gal_view_factory_get_type
GtkType
void
gal_view_factory_get_title
const char *
GalViewFactory *factory
gal_view_factory_get_type_code
const char *
GalViewFactory *factory
gal_view_factory_new_view
GalView *
GalViewFactory *factory,const char *name
GAL_VIEW_ETABLE_TYPE
#define GAL_VIEW_ETABLE_TYPE (gal_view_etable_get_type ())
GAL_VIEW_ETABLE
#define GAL_VIEW_ETABLE(o) (GTK_CHECK_CAST ((o), GAL_VIEW_ETABLE_TYPE, GalViewEtable))
GAL_VIEW_ETABLE_CLASS
#define GAL_VIEW_ETABLE_CLASS(k) (GTK_CHECK_CLASS_CAST((k), GAL_VIEW_ETABLE_TYPE, GalViewEtableClass))
GAL_IS_VIEW_ETABLE
#define GAL_IS_VIEW_ETABLE(o) (GTK_CHECK_TYPE ((o), GAL_VIEW_ETABLE_TYPE))
GAL_IS_VIEW_ETABLE_CLASS
#define GAL_IS_VIEW_ETABLE_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), GAL_VIEW_ETABLE_TYPE))
GalViewEtable
typedef struct {
GalView base;
ETableSpecification *spec;
ETableState *state;
char *title;
} GalViewEtable;
gal_view_etable_get_type
GtkType
void
gal_view_etable_new
GalView *
ETableSpecification *spec
gal_view_etable_construct
GalView *
GalViewEtable *view,ETableSpecification *spec
GAL_VIEW_NEW_DIALOG_TYPE
#define GAL_VIEW_NEW_DIALOG_TYPE (gal_view_new_dialog_get_type ())
GAL_VIEW_NEW_DIALOG
#define GAL_VIEW_NEW_DIALOG(obj) (GTK_CHECK_CAST ((obj), GAL_VIEW_NEW_DIALOG_TYPE, GalViewNewDialog))
GAL_VIEW_NEW_DIALOG_CLASS
#define GAL_VIEW_NEW_DIALOG_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GAL_VIEW_NEW_DIALOG_TYPE, GalViewNewDialogClass))
GAL_IS_VIEW_NEW_DIALOG
#define GAL_IS_VIEW_NEW_DIALOG(obj) (GTK_CHECK_TYPE ((obj), GAL_VIEW_NEW_DIALOG_TYPE))
GAL_IS_VIEW_NEW_DIALOG_CLASS
#define GAL_IS_VIEW_NEW_DIALOG_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), GAL_VIEW_NEW_DIALOG_TYPE))
GalViewNewDialog
GalViewNewDialogClass
GalViewNewDialog
struct GalViewNewDialog
{
GnomeDialog parent;
/* item specific fields */
GladeXML *gui;
GalViewCollection *collection;
GalViewFactory *selected_factory;
};
gal_view_new_dialog_new
GtkWidget *
GalViewCollection *collection
gal_view_new_dialog_get_type
GtkType
void
gal_view_new_dialog_construct
GtkWidget *
GalViewNewDialog *dialog,GalViewCollection *collection
ECache
ECacheDupFunc
gpointer
gconstpointer data
ECacheFreeFunc
void
gpointer data
e_cache_new
ECache *
GHashFunc key_hash_func,GCompareFunc key_compare_func,ECacheDupFunc key_dup_func,ECacheFreeFunc key_free_func,ECacheFreeFunc object_free_func,size_t softlimit,size_t hardlimit
e_cache_ref
void
ECache * cache
e_cache_unref
void
ECache * cache
e_cache_lookup
gpointer
ECache * cache, gconstpointer key
e_cache_lookup_notouch
gpointer
ECache * cache, gconstpointer key
e_cache_insert
gboolean
ECache * cache, gpointer key, gpointer data, size_t size
e_cache_invalidate
void
ECache * cache, gpointer key
e_cache_invalidate_all
void
ECache * cache
e_cache_query_object_size
size_t
ECache * cache, gconstpointer key
E_MAKE_TYPE
#define E_MAKE_TYPE(l,str,t,ci,i,parent) \
GtkType l##_get_type(void)\
{\
static GtkType type = 0;\
if (!type){\
GtkTypeInfo info = {\
str,\
sizeof (t),\
sizeof (t##Class),\
(GtkClassInitFunc) ci,\
(GtkObjectInitFunc) i,\
NULL, /* reserved 1 */\
NULL, /* reserved 2 */\
(GtkClassInitFunc) NULL\
};\
type = gtk_type_unique (parent, &info);\
}\
return type;\
}
EFocus
typedef enum {
E_FOCUS_NONE,
E_FOCUS_CURRENT,
E_FOCUS_START,
E_FOCUS_END
} EFocus;
g_str_compare
int
const void *x, const void *y
g_int_compare
int
const void *x, const void *y
e_strdup_strip
char *
char *string
e_free_object_list
void
GList *list
e_free_string_list
void
GList *list
e_read_file
char *
const char *filename
e_write_file
int
const char *filename, const char *data, int flags
e_mkdir_hier
int
const char *path, mode_t mode
e_strsplit
gchar **
const gchar *string,const gchar *delimiter,gint max_tokens
e_strstrcase
gchar *
const gchar *haystack,const gchar *needle
e_filename_make_safe
void
gchar *string
e_marshal_INT__INT_INT_POINTER
void
GtkObject * object,GtkSignalFunc func,gpointer func_data, GtkArg * args
e_marshal_NONE__OBJECT_DOUBLE_DOUBLE_BOOL
void
GtkObject * object,GtkSignalFunc func,gpointer func_data, GtkArg * args
e_marshal_DOUBLE__OBJECT_DOUBLE_DOUBLE_BOOL
void
GtkObject * object,GtkSignalFunc func,gpointer func_data, GtkArg * args
e_marshal_BOOL__OBJECT_DOUBLE_DOUBLE_BOOL
void
GtkObject * object,GtkSignalFunc func,gpointer func_data, GtkArg * args
e_marshal_NONE__INT_INT_POINTER_POINTER_UINT_UINT
#define e_marshal_NONE__INT_INT_POINTER_POINTER_UINT_UINT e_marshal_NONE__INT_INT_POINTER_POINTER_INT_INT
e_marshal_NONE__INT_INT_POINTER_POINTER_INT_INT
void
GtkObject * object,GtkSignalFunc func,gpointer func_data,GtkArg * args
e_marshal_NONE__INT_INT_POINTER_UINT
#define e_marshal_NONE__INT_INT_POINTER_UINT e_marshal_NONE__INT_INT_POINTER_INT
e_marshal_NONE__INT_INT_POINTER_INT
void
GtkObject * object,GtkSignalFunc func,gpointer func_data, GtkArg * args
e_marshal_BOOL__INT_INT_POINTER_INT_INT_UINT
#define e_marshal_BOOL__INT_INT_POINTER_INT_INT_UINT e_marshal_BOOL__INT_INT_POINTER_INT_INT_INT
e_marshal_BOOL__INT_INT_POINTER_INT_INT_INT
void
GtkObject * object,GtkSignalFunc func,gpointer func_data,GtkArg * args
e_marshal_NONE__INT_INT_POINTER_INT_INT_POINTER_UINT_UINT
#define e_marshal_NONE__INT_INT_POINTER_INT_INT_POINTER_UINT_UINT e_marshal_NONE__INT_INT_POINTER_INT_INT_POINTER_INT_INT
e_marshal_NONE__INT_INT_POINTER_INT_INT_POINTER_INT_INT
void
GtkObject * object,GtkSignalFunc func,gpointer func_data,GtkArg * args
e_marshal_NONE__POINTER_POINTER_INT
void
GtkObject * object,GtkSignalFunc func,gpointer func_data,GtkArg * args
e_xml_get_child_by_name
xmlNode *
const xmlNode *parent,const xmlChar *child_name
e_xml_get_child_by_name_by_lang
xmlNode *
const xmlNode *parent,const xmlChar *child_name,const char *lang
e_xml_get_integer_prop_by_name
int
const xmlNode *parent,const xmlChar *prop_name
e_xml_set_integer_prop_by_name
void
xmlNode *parent,const xmlChar *prop_name,int value
e_xml_get_bool_prop_by_name
gboolean
const xmlNode *parent,const xmlChar *prop_name
e_xml_set_bool_prop_by_name
void
xmlNode *parent,const xmlChar *prop_name,gboolean value
e_xml_get_double_prop_by_name
double
const xmlNode *parent,const xmlChar *prop_name
e_xml_set_double_prop_by_name
void
xmlNode *parent,const xmlChar *prop_name,double value
e_xml_get_string_prop_by_name
char *
const xmlNode *parent,const xmlChar *prop_name
e_xml_set_string_prop_by_name
void
xmlNode *parent,const xmlChar *prop_name,char *value
e_xml_get_translated_string_prop_by_name
char *
const xmlNode *parent,const xmlChar *prop_name
E_TABLE_FIELD_CHOOSER_TYPE
#define E_TABLE_FIELD_CHOOSER_TYPE (e_table_field_chooser_get_type ())
E_TABLE_FIELD_CHOOSER
#define E_TABLE_FIELD_CHOOSER(obj) (GTK_CHECK_CAST ((obj), E_TABLE_FIELD_CHOOSER_TYPE, ETableFieldChooser))
E_TABLE_FIELD_CHOOSER_CLASS
#define E_TABLE_FIELD_CHOOSER_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), E_TABLE_FIELD_CHOOSER_TYPE, ETableFieldChooserClass))
E_IS_TABLE_FIELD_CHOOSER
#define E_IS_TABLE_FIELD_CHOOSER(obj) (GTK_CHECK_TYPE ((obj), E_TABLE_FIELD_CHOOSER_TYPE))
E_IS_TABLE_FIELD_CHOOSER_CLASS
#define E_IS_TABLE_FIELD_CHOOSER_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), E_TABLE_FIELD_CHOOSER_TYPE))
ETableFieldChooser
ETableFieldChooserClass
ETableFieldChooser
struct ETableFieldChooser
{
GtkVBox parent;
/* item specific fields */
GladeXML *gui;
GnomeCanvas *canvas;
GnomeCanvasItem *item;
GnomeCanvasItem *rect;
GtkAllocation last_alloc;
gchar *dnd_code;
ETableHeader *full_header;
};
e_table_field_chooser_new
GtkWidget *
void
e_table_field_chooser_get_type
GtkType
void
E_TABLE_FIELD_CHOOSER_DIALOG_TYPE
#define E_TABLE_FIELD_CHOOSER_DIALOG_TYPE (e_table_field_chooser_dialog_get_type ())
E_TABLE_FIELD_CHOOSER_DIALOG
#define E_TABLE_FIELD_CHOOSER_DIALOG(obj) (GTK_CHECK_CAST ((obj), E_TABLE_FIELD_CHOOSER_DIALOG_TYPE, ETableFieldChooserDialog))
E_TABLE_FIELD_CHOOSER_DIALOG_CLASS
#define E_TABLE_FIELD_CHOOSER_DIALOG_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), E_TABLE_FIELD_CHOOSER_DIALOG_TYPE, ETableFieldChooserDialogClass))
E_IS_TABLE_FIELD_CHOOSER_DIALOG
#define E_IS_TABLE_FIELD_CHOOSER_DIALOG(obj) (GTK_CHECK_TYPE ((obj), E_TABLE_FIELD_CHOOSER_DIALOG_TYPE))
E_IS_TABLE_FIELD_CHOOSER_DIALOG_CLASS
#define E_IS_TABLE_FIELD_CHOOSER_DIALOG_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), E_TABLE_FIELD_CHOOSER_DIALOG_TYPE))
ETableFieldChooserDialog
ETableFieldChooserDialogClass
ETableFieldChooserDialog
struct ETableFieldChooserDialog
{
GnomeDialog parent;
/* item specific fields */
ETableFieldChooser *etfc;
gchar *dnd_code;
ETableHeader *full_header;
};
e_table_field_chooser_dialog_new
GtkWidget *
void
e_table_field_chooser_dialog_get_type
GtkType
void
E_TABLE_HEADER_ITEM_TYPE
#define E_TABLE_HEADER_ITEM_TYPE (e_table_header_item_get_type ())
E_TABLE_HEADER_ITEM
#define E_TABLE_HEADER_ITEM(o) (GTK_CHECK_CAST ((o), E_TABLE_HEADER_ITEM_TYPE, ETableHeaderItem))
E_TABLE_HEADER_ITEM_CLASS
#define E_TABLE_HEADER_ITEM_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_HEADER_ITEM_TYPE, ETableHeaderItemClass))
E_IS_TABLE_HEADER_ITEM
#define E_IS_TABLE_HEADER_ITEM(o) (GTK_CHECK_TYPE ((o), E_TABLE_HEADER_ITEM_TYPE))
E_IS_TABLE_HEADER_ITEM_CLASS
#define E_IS_TABLE_HEADER_ITEM_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_TABLE_HEADER_ITEM_TYPE))
ETableHeaderItem
typedef struct {
GnomeCanvasItem parent;
ETableHeader *eth;
GdkGC *gc;
GdkCursor *change_cursor;
short height, width;
GdkFont *font;
/*
* Used during resizing; Could be shorts
*/
int resize_col;
int resize_start_pos;
int resize_min_width;
GtkObject *resize_guide;
int group_indent_width;
/*
* Ids
*/
int structure_change_id, dimension_change_id;
/*
* For dragging columns
*/
guint maybe_drag:1;
guint dnd_ready:1;
int click_x, click_y;
int drag_col, drop_col, drag_mark;
guint drag_motion_id, drag_end_id, drag_leave_id, drag_drop_id, drag_data_received_id, drag_data_get_id;
guint sort_info_changed_id, group_info_changed_id;
GnomeCanvasItem *remove_item;
GdkBitmap *stipple;
gchar *dnd_code;
/*
* For column sorting info
*/
ETableSortInfo *sort_info;
/* For adding fields. */
ETableHeader *full_header;
ETable *table;
GtkWidget *config;
} ETableHeaderItem;
e_table_header_item_get_type
GtkType
void
E_TABLE_GROUP_LEAF_TYPE
#define E_TABLE_GROUP_LEAF_TYPE (e_table_group_leaf_get_type ())
E_TABLE_GROUP_LEAF
#define E_TABLE_GROUP_LEAF(o) (GTK_CHECK_CAST ((o), E_TABLE_GROUP_LEAF_TYPE, ETableGroupLeaf))
E_TABLE_GROUP_LEAF_CLASS
#define E_TABLE_GROUP_LEAF_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_GROUP_LEAF_TYPE, ETableGroupLeafClass))
E_IS_TABLE_GROUP_LEAF
#define E_IS_TABLE_GROUP_LEAF(o) (GTK_CHECK_TYPE ((o), E_TABLE_GROUP_LEAF_TYPE))
E_IS_TABLE_GROUP_LEAF_CLASS
#define E_IS_TABLE_GROUP_LEAF_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_TABLE_GROUP_LEAF_TYPE))
ETableGroupLeaf
typedef struct {
ETableGroup group;
/*
* Item.
*/
ETableItem *item;
gdouble height;
gdouble width;
gdouble minimum_width;
ETableSubsetVariable *subset;
int length_threshold;
guint draw_grid : 1;
guint draw_focus : 1;
ETableCursorMode cursor_mode;
ETableSelectionModel *table_selection_model;
} ETableGroupLeaf;
e_table_group_leaf_new
ETableGroup *
GnomeCanvasGroup *parent,ETableHeader *full_header,ETableHeader *header,ETableModel *model,ETableSortInfo *sort_info
e_table_group_leaf_get_type
GtkType
void
E_TABLE_SUBSET_TYPE
#define E_TABLE_SUBSET_TYPE (e_table_subset_get_type ())
E_TABLE_SUBSET
#define E_TABLE_SUBSET(o) (GTK_CHECK_CAST ((o), E_TABLE_SUBSET_TYPE, ETableSubset))
E_TABLE_SUBSET_CLASS
#define E_TABLE_SUBSET_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_SUBSET_TYPE, ETableSubsetClass))
E_IS_TABLE_SUBSET
#define E_IS_TABLE_SUBSET(o) (GTK_CHECK_TYPE ((o), E_TABLE_SUBSET_TYPE))
E_IS_TABLE_SUBSET_CLASS
#define E_IS_TABLE_SUBSET_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_TABLE_SUBSET_TYPE))
ETableSubset
typedef struct {
ETableModel base;
ETableModel *source;
int n_map;
int *map_table;
int last_access;
int table_model_pre_change_id;
int table_model_changed_id;
int table_model_row_changed_id;
int table_model_cell_changed_id;
} ETableSubset;
e_table_subset_get_type
GtkType
void
e_table_subset_new
ETableModel *
ETableModel *etm, int n_vals
e_table_subset_construct
ETableModel *
ETableSubset *ets, ETableModel *source, int nvals
e_table_subset_get_toplevel
ETableModel *
ETableSubset *table_model
u
typedef struct {
char *title;
union {
ETableModel *table;
GList *children;
} u;
e_table_group_new
ETableGroup *
const char *title, ETableModel *table
e_table_group_new_leaf
ETableGroup *
const char *title
E_TABLE_SCROLLED_TYPE
#define E_TABLE_SCROLLED_TYPE (e_table_scrolled_get_type ())
E_TABLE_SCROLLED
#define E_TABLE_SCROLLED(o) (GTK_CHECK_CAST ((o), E_TABLE_SCROLLED_TYPE, ETableScrolled))
E_TABLE_SCROLLED_CLASS
#define E_TABLE_SCROLLED_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_SCROLLED_TYPE, ETableScrolledClass))
E_IS_TABLE_SCROLLED
#define E_IS_TABLE_SCROLLED(o) (GTK_CHECK_TYPE ((o), E_TABLE_SCROLLED_TYPE))
E_IS_TABLE_SCROLLED_CLASS
#define E_IS_TABLE_SCROLLED_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_TABLE_SCROLLED_TYPE))
ETableScrolled
typedef struct {
EScrollFrame parent;
ETable *table;
} ETableScrolled;
e_table_scrolled_get_type
GtkType
void
e_table_scrolled_construct
ETableScrolled *
ETableScrolled *ets,ETableModel *etm,ETableExtras *ete,const char *spec,const char *state
e_table_scrolled_new
GtkWidget *
ETableModel *etm,ETableExtras *ete,const char *spec,const char *state
e_table_scrolled_construct_from_spec_file
ETableScrolled *
ETableScrolled *ets,ETableModel *etm,ETableExtras *ete,const char *spec_fn,const char *state_fn
e_table_scrolled_new_from_spec_file
GtkWidget *
ETableModel *etm,ETableExtras *ete,const char *spec_fn,const char *state_fn
e_table_scrolled_get_table
ETable *
ETableScrolled *ets
BUTTON_HEIGHT
#define BUTTON_HEIGHT 10
BUTTON_PADDING
#define BUTTON_PADDING 2
GROUP_INDENT
#define GROUP_INDENT (BUTTON_HEIGHT + (BUTTON_PADDING * 2))
HEADER_PADDING
#define HEADER_PADDING 1
MIN_ARROW_SIZE
#define MIN_ARROW_SIZE 10
ETableForeachFunc
void
int model_row,
gpointer closure
ETableCursorMode
typedef enum
{
E_TABLE_CURSOR_LINE,
E_TABLE_CURSOR_SIMPLE,
} ETableCursorMode;
E_TYPE_TABLE_TEXT_MODEL
#define E_TYPE_TABLE_TEXT_MODEL (e_table_text_model_get_type ())
E_TABLE_TEXT_MODEL
#define E_TABLE_TEXT_MODEL(obj) (GTK_CHECK_CAST ((obj), E_TYPE_TABLE_TEXT_MODEL, ETableTextModel))
E_TABLE_TEXT_MODEL_CLASS
#define E_TABLE_TEXT_MODEL_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), E_TYPE_TABLE_TEXT_MODEL, ETableTextModelClass))
E_IS_TABLE_TEXT_MODEL
#define E_IS_TABLE_TEXT_MODEL(obj) (GTK_CHECK_TYPE ((obj), E_TYPE_TABLE_TEXT_MODEL))
E_IS_TABLE_TEXT_MODEL_CLASS
#define E_IS_TABLE_TEXT_MODEL_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), E_TYPE_TABLE_TEXT_MODEL))
ETableTextModel
ETableTextModelClass
ETableTextModel
struct ETableTextModel {
ETextModel parent;
ETableModel *model;
int row;
int model_col;
int cell_changed_signal_id;
int row_changed_signal_id;
};
e_table_text_model_get_type
GtkType
void
e_table_text_model_new
ETableTextModel *
ETableModel *table_model, int row, int model_col
E_TABLE_COLUMN_SPECIFICATION_TYPE
#define E_TABLE_COLUMN_SPECIFICATION_TYPE (e_table_column_specification_get_type ())
E_TABLE_COLUMN_SPECIFICATION
#define E_TABLE_COLUMN_SPECIFICATION(o) (GTK_CHECK_CAST ((o), E_TABLE_COLUMN_SPECIFICATION_TYPE, ETableColumnSpecification))
E_TABLE_COLUMN_SPECIFICATION_CLASS
#define E_TABLE_COLUMN_SPECIFICATION_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_COLUMN_SPECIFICATION_TYPE, ETableColumnSpecificationClass))
E_IS_TABLE_COLUMN_SPECIFICATION
#define E_IS_TABLE_COLUMN_SPECIFICATION(o) (GTK_CHECK_TYPE ((o), E_TABLE_COLUMN_SPECIFICATION_TYPE))
E_IS_TABLE_COLUMN_SPECIFICATION_CLASS
#define E_IS_TABLE_COLUMN_SPECIFICATION_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_TABLE_COLUMN_SPECIFICATION_TYPE))
ETableColumnSpecification
typedef struct {
GtkObject base;
int model_col;
char *title_;
char *pixbuf;
double expansion;
int minimum_width;
guint resizable : 1;
char *cell;
char *compare;
} ETableColumnSpecification;
e_table_column_specification_get_type
GtkType
void
e_table_column_specification_new
ETableColumnSpecification *
void
e_table_column_specification_load_from_node
void
ETableColumnSpecification *state,const xmlNode *node
e_table_column_specification_save_to_node
xmlNode *
ETableColumnSpecification *state,xmlNode *parent
E_CELL_TYPE
#define E_CELL_TYPE (e_cell_get_type ())
E_CELL
#define E_CELL(o) (GTK_CHECK_CAST ((o), E_CELL_TYPE, ECell))
E_CELL_CLASS
#define E_CELL_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_CELL_TYPE, ECellClass))
E_IS_CELL
#define E_IS_CELL(o) (GTK_CHECK_TYPE ((o), E_CELL_TYPE))
E_IS_CELL_CLASS
#define E_IS_CELL_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_CELL_TYPE))
ECellFlags
typedef enum {
E_CELL_SELECTED = 1 << 0,
E_CELL_JUSTIFICATION = 3 << 1,
E_CELL_JUSTIFY_CENTER = 0 << 1,
E_CELL_JUSTIFY_LEFT = 1 << 1,
E_CELL_JUSTIFY_RIGHT = 2 << 1,
E_CELL_JUSTIFY_FILL = 3 << 1,
E_CELL_ALIGN_LEFT = 1 << 1,
E_CELL_ALIGN_RIGHT = 1 << 2,
E_CELL_FOCUSED = 1 << 3,
E_CELL_EDITING = 1 << 4,
} ECellFlags;
ECell
typedef struct {
GtkObject object;
} ECell;
ECellView
typedef struct {
ECell *ecell;
ETableModel *e_table_model;
void *e_table_item_view;
gint focus_x1, focus_y1, focus_x2, focus_y2;
gint focus_col, focus_row;
} ECellView;
E_CELL_IS_FOCUSED
#define E_CELL_IS_FOCUSED(ecell_view) (ecell_view->focus_x1 != -1)
e_cell_get_type
GtkType
void
e_cell_new_view
ECellView *
ECell *ecell, ETableModel *table_model, void *e_table_item_view
e_cell_kill_view
void
ECellView *ecell_view
e_cell_event
gint
ECellView *ecell_view, GdkEvent *event, int model_col, int view_col, int row, ECellFlags flags
e_cell_realize
void
ECellView *ecell_view
e_cell_unrealize
void
ECellView *ecell_view
e_cell_draw
void
ECellView *ecell_view, GdkDrawable *drawable,int model_col, int view_col, int row, ECellFlags flags,int x1, int y1, int x2, int y2
e_cell_print
void
ECellView *ecell_view, GnomePrintContext *context,int model_col, int view_col, int row,double width, double height
e_cell_print_height
gdouble
ECellView *ecell_view, GnomePrintContext *context,int model_col, int view_col, int row, gdouble width
e_cell_max_width
int
ECellView *ecell_view, int model_col, int view_col
e_cell_show_tooltip
void
ECellView *ecell_view, int model_col, int view_col, int row, int col_width, ETableTooltip *tooltip
e_cell_focus
void
ECellView *ecell_view, int model_col, int view_col, int row,int x1, int y1, int x2, int y2
e_cell_unfocus
void
ECellView *ecell_view
e_cell_height
int
ECellView *ecell_view, int model_col, int view_col, int row
e_cell_enter_edit
void *
ECellView *ecell_view, int model_col, int view_col, int row
e_cell_leave_edit
void
ECellView *ecell_view, int model_col, int view_col, int row, void *edit_context
e_table_header_compute_height
int
ETableCol *ecol, GtkStyle *style, GdkFont *font
e_table_header_draw_button
void
GdkDrawable *drawable, ETableCol *ecol,GtkStyle *style, GdkFont *font, GtkStateType state,GtkWidget *widget, GdkGC *gc,int x, int y, int width, int height,int button_width, int button_height,ETableColArrow arrow
e_table_draw_elided_string
void
GdkDrawable *drawable, GdkFont *font, GdkGC *gc,int x, int y, const char *str, int max_width, gboolean center
table_browser_test
void
void
multi_cols_test
void
void
check_test
void
void
e_table_test
void
void
ECellTextFilter
char *
const void *
E_CELL_TEXT_TYPE
#define E_CELL_TEXT_TYPE (e_cell_text_get_type ())
E_CELL_TEXT
#define E_CELL_TEXT(o) (GTK_CHECK_CAST ((o), E_CELL_TEXT_TYPE, ECellText))
E_CELL_TEXT_CLASS
#define E_CELL_TEXT_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_CELL_TEXT_TYPE, ECellTextClass))
E_IS_CELL_TEXT
#define E_IS_CELL_TEXT(o) (GTK_CHECK_TYPE ((o), E_CELL_TEXT_TYPE))
E_IS_CELL_TEXT_CLASS
#define E_IS_CELL_TEXT_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_CELL_TEXT_TYPE))
ECellText
typedef struct {
ECell parent;
GtkJustification justify;
char *font_name;
double x, y; /* Position at anchor */
gulong pixel; /* Fill color */
/* Clip handling */
char *ellipsis; /* The ellipsis characters. NULL = "...". */
guint use_ellipsis : 1; /* Whether to use the ellipsis. */
int strikeout_column;
int bold_column;
/* This column in the ETable should return a string specifying a color,
either a color name like "red" or a color spec like "rgb:F/0/0".
See the XParseColor man page for the formats available. */
int color_column;
ECellTextFilter filter;
/* This stores the colors we have allocated. */
GHashTable *colors;
} ECellText;
e_cell_text_get_type
GtkType
void
e_cell_text_new
ECell *
const char *fontname, GtkJustification justify
E_CELL_CHECKBOX_TYPE
#define E_CELL_CHECKBOX_TYPE (e_cell_checkbox_get_type ())
E_CELL_CHECKBOX
#define E_CELL_CHECKBOX(o) (GTK_CHECK_CAST ((o), E_CELL_CHECKBOX_TYPE, ECellCheckbox))
E_CELL_CHECKBOX_CLASS
#define E_CELL_CHECKBOX_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_CELL_CHECKBOX_TYPE, ECellCheckboxClass))
E_IS_CELL_CHECKBOX
#define E_IS_CELL_CHECKBOX(o) (GTK_CHECK_TYPE ((o), E_CELL_CHECKBOX_TYPE))
E_IS_CELL_CHECKBOX_CLASS
#define E_IS_CELL_CHECKBOX_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_CELL_CHECKBOX_TYPE))
ECellCheckbox
typedef struct {
ECellToggle parent;
} ECellCheckbox;
e_cell_checkbox_get_type
GtkType
void
e_cell_checkbox_new
ECell *
void
E_TABLE_SUBSET_VARIABLE_TYPE
#define E_TABLE_SUBSET_VARIABLE_TYPE (e_table_subset_variable_get_type ())
E_TABLE_SUBSET_VARIABLE
#define E_TABLE_SUBSET_VARIABLE(o) (GTK_CHECK_CAST ((o), E_TABLE_SUBSET_VARIABLE_TYPE, ETableSubsetVariable))
E_TABLE_SUBSET_VARIABLE_CLASS
#define E_TABLE_SUBSET_VARIABLE_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_SUBSET_VARIABLE_TYPE, ETableSubsetVariableClass))
E_IS_TABLE_SUBSET_VARIABLE
#define E_IS_TABLE_SUBSET_VARIABLE(o) (GTK_CHECK_TYPE ((o), E_TABLE_SUBSET_VARIABLE_TYPE))
E_IS_TABLE_SUBSET_VARIABLE_CLASS
#define E_IS_TABLE_SUBSET_VARIABLE_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_TABLE_SUBSET_VARIABLE_TYPE))
ETableSubsetVariable
typedef struct {
ETableSubset base;
int n_vals_allocated;
} ETableSubsetVariable;
e_table_subset_variable_get_type
GtkType
void
e_table_subset_variable_new
ETableModel *
ETableModel *etm
e_table_subset_variable_construct
ETableModel *
ETableSubsetVariable *etssv,ETableModel *source
e_table_subset_variable_add
void
ETableSubsetVariable *ets,gint row
e_table_subset_variable_add_all
void
ETableSubsetVariable *ets
e_table_subset_variable_remove
gboolean
ETableSubsetVariable *ets,gint row
e_table_subset_variable_increment
void
ETableSubsetVariable *ets,gint position,gint amount
e_table_subset_variable_decrement
void
ETableSubsetVariable *ets,gint position,gint amount
e_table_subset_variable_set_allocation
void
ETableSubsetVariable *ets,gint total
E_TABLE_STATE_TYPE
#define E_TABLE_STATE_TYPE (e_table_state_get_type ())
E_TABLE_STATE
#define E_TABLE_STATE(o) (GTK_CHECK_CAST ((o), E_TABLE_STATE_TYPE, ETableState))
E_TABLE_STATE_CLASS
#define E_TABLE_STATE_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_STATE_TYPE, ETableStateClass))
E_IS_TABLE_STATE
#define E_IS_TABLE_STATE(o) (GTK_CHECK_TYPE ((o), E_TABLE_STATE_TYPE))
E_IS_TABLE_STATE_CLASS
#define E_IS_TABLE_STATE_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_TABLE_STATE_TYPE))
ETableState
typedef struct {
GtkObject base;
ETableSortInfo *sort_info;
int col_count;
int *columns;
} ETableState;
e_table_state_get_type
GtkType
void
e_table_state_new
ETableState *
void
e_table_state_load_from_file
gboolean
ETableState *state,const char *filename
e_table_state_load_from_string
void
ETableState *state,const char *xml
e_table_state_load_from_node
void
ETableState *state,const xmlNode *node
e_table_state_save_to_file
void
ETableState *state,const char *filename
e_table_state_save_to_string
char *
ETableState *state
e_table_state_save_to_node
xmlNode *
ETableState *state,xmlNode *parent
ETableTooltip
typedef struct {
GtkWidget *window;
gint timer;
int col, row;
int row_height;
int x, y;
int cx, cy;
GnomeCanvasItem *eti;
} ETableTooltip;
E_CELL_TOGGLE_TYPE
#define E_CELL_TOGGLE_TYPE (e_cell_toggle_get_type ())
E_CELL_TOGGLE
#define E_CELL_TOGGLE(o) (GTK_CHECK_CAST ((o), E_CELL_TOGGLE_TYPE, ECellToggle))
E_CELL_TOGGLE_CLASS
#define E_CELL_TOGGLE_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_CELL_TOGGLE_TYPE, ECellToggleClass))
E_IS_CELL_TOGGLE
#define E_IS_CELL_TOGGLE(o) (GTK_CHECK_TYPE ((o), E_CELL_TOGGLE_TYPE))
E_IS_CELL_TOGGLE_CLASS
#define E_IS_CELL_TOGGLE_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_CELL_TOGGLE_TYPE))
ECellToggle
typedef struct {
ECell parent;
int border;
int n_states;
GdkPixbuf **images;
int height;
} ECellToggle;
e_cell_toggle_get_type
GtkType
void
e_cell_toggle_new
ECell *
int border, int n_states, GdkPixbuf **images
e_cell_toggle_construct
void
ECellToggle *etog, int border,int n_states, GdkPixbuf **images
E_TREE_SIMPLE_TYPE
#define E_TREE_SIMPLE_TYPE (e_tree_simple_get_type ())
E_TREE_SIMPLE
#define E_TREE_SIMPLE(o) (GTK_CHECK_CAST ((o), E_TREE_SIMPLE_TYPE, ETreeSimple))
E_TREE_SIMPLE_CLASS
#define E_TREE_SIMPLE_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TREE_SIMPLE_TYPE, ETreeSimpleClass))
E_IS_TREE_SIMPLE
#define E_IS_TREE_SIMPLE(o) (GTK_CHECK_TYPE ((o), E_TREE_SIMPLE_TYPE))
E_IS_TREE_SIMPLE_CLASS
#define E_IS_TREE_SIMPLE_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_TREE_SIMPLE_TYPE))
ETreeSimpleIconAtFn
GdkPixbuf *
ETreeModel *etree, ETreePath *path, void *model_data
ETreeSimpleValueAtFn
void *
ETreeModel *etree, ETreePath *path, int col, void *model_data
ETreeSimpleSetValueAtFn
void
ETreeModel *etree, ETreePath *path, int col, const void *val, void *model_data
ETreeSimpleIsEditableFn
gboolean
ETreeModel *etree, ETreePath *path, int col, void *model_data
ETreeSimple
typedef struct {
ETreeModel parent;
/* Table methods */
ETableSimpleColumnCountFn col_count;
ETableSimpleDuplicateValueFn duplicate_value;
ETableSimpleFreeValueFn free_value;
ETableSimpleInitializeValueFn initialize_value;
ETableSimpleValueIsEmptyFn value_is_empty;
ETableSimpleValueToStringFn value_to_string;
/* Tree methods */
ETreeSimpleIconAtFn icon_at;
ETreeSimpleValueAtFn value_at;
ETreeSimpleSetValueAtFn set_value_at;
ETreeSimpleIsEditableFn is_editable;
gpointer model_data;
} ETreeSimple;
e_tree_simple_get_type
GtkType
void
e_tree_simple_new
ETreeModel *
ETableSimpleColumnCountFn col_count,ETableSimpleDuplicateValueFn duplicate_value,ETableSimpleFreeValueFn free_value,ETableSimpleInitializeValueFn initialize_value,ETableSimpleValueIsEmptyFn value_is_empty,ETableSimpleValueToStringFn value_to_string,ETreeSimpleIconAtFn icon_at,ETreeSimpleValueAtFn value_at,ETreeSimpleSetValueAtFn set_value_at,ETreeSimpleIsEditableFn is_editable,gpointer model_data
E_TABLE_SORTED_VARIABLE_TYPE
#define E_TABLE_SORTED_VARIABLE_TYPE (e_table_sorted_variable_get_type ())
E_TABLE_SORTED_VARIABLE
#define E_TABLE_SORTED_VARIABLE(o) (GTK_CHECK_CAST ((o), E_TABLE_SORTED_VARIABLE_TYPE, ETableSortedVariable))
E_TABLE_SORTED_VARIABLE_CLASS
#define E_TABLE_SORTED_VARIABLE_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_SORTED_VARIABLE_TYPE, ETableSortedVariableClass))
E_IS_TABLE_SORTED_VARIABLE
#define E_IS_TABLE_SORTED_VARIABLE(o) (GTK_CHECK_TYPE ((o), E_TABLE_SORTED_VARIABLE_TYPE))
E_IS_TABLE_SORTED_VARIABLE_CLASS
#define E_IS_TABLE_SORTED_VARIABLE_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_TABLE_SORTED_VARIABLE_TYPE))
ETableSortedVariable
typedef struct {
ETableSubsetVariable base;
ETableSortInfo *sort_info;
ETableHeader *full_header;
int table_model_changed_id;
int table_model_row_changed_id;
int table_model_cell_changed_id;
int sort_info_changed_id;
int sort_idle_id;
int insert_idle_id;
int insert_count;
} ETableSortedVariable;
e_table_sorted_variable_get_type
GtkType
void
e_table_sorted_variable_new
ETableModel *
ETableModel *etm, ETableHeader *header, ETableSortInfo *sort_info
E_TABLE_CONFIG_TYPE
#define E_TABLE_CONFIG_TYPE (e_table_config_get_type ())
E_TABLE_CONFIG
#define E_TABLE_CONFIG(o) (GTK_CHECK_CAST ((o), E_TABLE_CONFIG_TYPE, ETableConfig))
E_TABLE_CONFIG_CLASS
#define E_TABLE_CONFIG_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_CONFIG_TYPE, ETableConfigClass))
E_IS_TABLE_CONFIG
#define E_IS_TABLE_CONFIG(o) (GTK_CHECK_TYPE ((o), E_TABLE_CONFIG_TYPE))
E_IS_TABLE_CONFIG_CLASS
#define E_IS_TABLE_CONFIG_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_TABLE_CONFIG_TYPE))
ETableConfig
typedef struct {
GnomeDialog base;
ETableSpecification *spec;
ETableState *state;
GtkWidget *sort_label;
GtkWidget *group_label;
GtkWidget *sort_dialog;
GtkWidget *group_dialog;
int sorting_changed_id;
int grouping_changed_id;
} ETableConfig;
e_table_config_get_type
GtkType
void
e_table_config_new
GtkWidget *
ETableSpecification *spec,ETableState *state
e_table_config_construct
GtkWidget *
ETableConfig *etco,ETableSpecification *spec,ETableState *state
E_TREE_MODEL_TYPE
#define E_TREE_MODEL_TYPE (e_tree_model_get_type ())
E_TREE_MODEL
#define E_TREE_MODEL(o) (GTK_CHECK_CAST ((o), E_TREE_MODEL_TYPE, ETreeModel))
E_TREE_MODEL_CLASS
#define E_TREE_MODEL_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TREE_MODEL_TYPE, ETreeModelClass))
E_IS_TREE_MODEL
#define E_IS_TREE_MODEL(o) (GTK_CHECK_TYPE ((o), E_TREE_MODEL_TYPE))
E_IS_TREE_MODEL_CLASS
#define E_IS_TREE_MODEL_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_TREE_MODEL_TYPE))
ETreePathCompareFunc
gint
ETreeModel *model, ETreePath *path1, ETreePath *path2
ETreePathFunc
gboolean
ETreeModel *model, ETreePath *path, gpointer data
e_tree_model_get_type
GtkType
void
e_tree_model_construct
void
ETreeModel *etree
e_tree_model_new
ETreeModel *
void
e_tree_model_get_root
ETreePath *
ETreeModel *etree
e_tree_model_node_get_parent
ETreePath *
ETreeModel *etree, ETreePath *path
e_tree_model_node_get_first_child
ETreePath *
ETreeModel *etree, ETreePath *path
e_tree_model_node_get_last_child
ETreePath *
ETreeModel *etree, ETreePath *path
e_tree_model_node_get_next
ETreePath *
ETreeModel *etree, ETreePath *path
e_tree_model_node_get_prev
ETreePath *
ETreeModel *etree, ETreePath *path
e_tree_model_node_insert
ETreePath *
ETreeModel *etree, ETreePath *parent, int position, gpointer node_data
e_tree_model_node_insert_before
ETreePath *
ETreeModel *etree, ETreePath *parent, ETreePath *sibling, gpointer node_data
e_tree_model_node_remove
gpointer
ETreeModel *etree, ETreePath *path
e_tree_model_freeze
void
ETreeModel *etree
e_tree_model_thaw
void
ETreeModel *etree
e_tree_model_node_is_root
gboolean
ETreeModel *etree, ETreePath *path
e_tree_model_node_is_expandable
gboolean
ETreeModel *etree, ETreePath *path
e_tree_model_node_is_expanded
gboolean
ETreeModel *etree, ETreePath *path
e_tree_model_node_is_visible
gboolean
ETreeModel *etree, ETreePath *path
e_tree_model_set_expanded_default
void
ETreeModel *etree, gboolean expanded
e_tree_model_node_set_expanded
void
ETreeModel *etree, ETreePath *path, gboolean expanded
e_tree_model_node_set_expanded_recurse
void
ETreeModel *etree, ETreePath *path, gboolean expanded
e_tree_model_node_get_children
guint
ETreeModel *etree, ETreePath *path, ETreePath ***paths
e_tree_model_node_depth
guint
ETreeModel *etree, ETreePath *path
e_tree_model_node_num_visible_descendents
guint
ETreeModel *etm, ETreePath *node
e_tree_model_node_get_data
gpointer
ETreeModel *etm, ETreePath *node
e_tree_model_node_set_data
void
ETreeModel *etm, ETreePath *node, gpointer node_data
e_tree_model_node_at_row
ETreePath *
ETreeModel *etree, int row
e_tree_model_icon_of_node
GdkPixbuf *
ETreeModel *etree, ETreePath *path
e_tree_model_row_of_node
int
ETreeModel *etree, ETreePath *path
e_tree_model_root_node_set_visible
void
ETreeModel *etree, gboolean visible
e_tree_model_root_node_is_visible
gboolean
ETreeModel *etree
e_tree_model_node_set_compare_function
void
ETreeModel *tree_model, ETreePath *node, ETreePathCompareFunc compare
e_tree_model_node_sort
void
ETreeModel *tree_model, ETreePath *node
e_tree_model_node_changed
void
ETreeModel *tree_model, ETreePath *node
e_tree_model_node_inserted
void
ETreeModel *tree_model, ETreePath *parent_node, ETreePath *inserted_node
e_tree_model_node_removed
void
ETreeModel *tree_model, ETreePath *parent_node, ETreePath *removed_node
e_tree_model_node_collapsed
void
ETreeModel *tree_model, ETreePath *node
e_tree_model_node_expanded
void
ETreeModel *tree_model, ETreePath *node, gboolean *allow_expand
e_tree_model_save_expanded_state
gboolean
ETreeModel *etm, const char *filename
e_tree_model_load_expanded_state
gboolean
ETreeModel *etm, const char *filename
e_tree_model_node_set_save_id
void
ETreeModel *etm, ETreePath *node, const char *id
e_tree_model_node_insert_id
ETreePath *
ETreeModel *tree_model, ETreePath *parent_path,int position, gpointer node_data, const char *save_id
e_tree_model_node_traverse
void
ETreeModel *model, ETreePath *path, ETreePathFunc func, gpointer data
E_CELL_TREE_TYPE
#define E_CELL_TREE_TYPE (e_cell_tree_get_type ())
E_CELL_TREE
#define E_CELL_TREE(o) (GTK_CHECK_CAST ((o), E_CELL_TREE_TYPE, ECellTree))
E_CELL_TREE_CLASS
#define E_CELL_TREE_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_CELL_TREE_TYPE, ECellTreeClass))
E_IS_CELL_TREE
#define E_IS_CELL_TREE(o) (GTK_CHECK_TYPE ((o), E_CELL_TREE_TYPE))
E_IS_CELL_TREE_CLASS
#define E_IS_CELL_TREE_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_CELL_TREE_TYPE))
ECellTree
typedef struct {
ECell parent;
gboolean draw_lines;
GdkPixbuf *open_pixbuf;
GdkPixbuf *closed_pixbuf;
ECell *subcell;
} ECellTree;
e_cell_tree_get_type
GtkType
void
e_cell_tree_new
ECell *
GdkPixbuf *open_pixbuf,GdkPixbuf *closed_pixbuf,gboolean draw_lines,ECell *subcell
e_cell_tree_construct
void
ECellTree *ect,GdkPixbuf *open_pixbuf,GdkPixbuf *closed_pixbuf,gboolean draw_lines,ECell *subcell
E_TABLE_GROUP_TYPE
#define E_TABLE_GROUP_TYPE (e_table_group_get_type ())
E_TABLE_GROUP
#define E_TABLE_GROUP(o) (GTK_CHECK_CAST ((o), E_TABLE_GROUP_TYPE, ETableGroup))
E_TABLE_GROUP_CLASS
#define E_TABLE_GROUP_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_GROUP_TYPE, ETableGroupClass))
E_IS_TABLE_GROUP
#define E_IS_TABLE_GROUP(o) (GTK_CHECK_TYPE ((o), E_TABLE_GROUP_TYPE))
E_IS_TABLE_GROUP_CLASS
#define E_IS_TABLE_GROUP_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_TABLE_GROUP_TYPE))
ETableGroup
typedef struct {
GnomeCanvasGroup group;
/*
* The full header.
*/
ETableHeader *full_header;
ETableHeader *header;
/*
* The model we pull data from.
*/
ETableModel *model;
/*
* Whether we should add indentation and open/close markers,
* or if we just act as containers of subtables.
*/
guint transparent : 1;
guint has_focus : 1;
guint frozen : 1;
} ETableGroup;
e_table_group_add
void
ETableGroup *etg,gint row
e_table_group_add_all
void
ETableGroup *etg
e_table_group_remove
gboolean
ETableGroup *etg,gint row
e_table_group_get_count
gint
ETableGroup *etg
e_table_group_increment
void
ETableGroup *etg,gint position,gint amount
e_table_group_decrement
void
ETableGroup *etg,gint position,gint amount
e_table_group_row_count
gint
ETableGroup *etg
e_table_group_set_focus
void
ETableGroup *etg,EFocus direction,gint view_col
e_table_group_set_cursor_row
void
ETableGroup *etg,gint row
e_table_group_get_cursor_row
int
ETableGroup *etg
e_table_group_get_focus
gboolean
ETableGroup *etg
e_table_group_get_focus_column
gint
ETableGroup *etg
e_table_group_get_header
ETableHeader *
ETableGroup *etg
e_table_group_get_ecol
ETableCol *
ETableGroup *etg
e_table_group_get_printable
EPrintable *
ETableGroup *etg
e_table_group_compute_location
void
ETableGroup *etg,int *x,int *y,int *row,int *col
e_table_group_new
ETableGroup *
GnomeCanvasGroup *parent,ETableHeader *full_header,ETableHeader *header,ETableModel *model,ETableSortInfo *sort_info,int n
e_table_group_construct
void
GnomeCanvasGroup *parent,ETableGroup *etg,ETableHeader *full_header,ETableHeader *header,ETableModel *model
e_table_group_cursor_change
void
ETableGroup *etg,gint row
e_table_group_double_click
void
ETableGroup *etg,gint row,gint col,GdkEvent *event
e_table_group_right_click
gint
ETableGroup *etg,gint row,gint col,GdkEvent *event
e_table_group_click
gint
ETableGroup *etg,gint row,gint col,GdkEvent *event
e_table_group_key_press
gint
ETableGroup *etg,gint row,gint col,GdkEvent *event
e_table_group_get_type
GtkType
void
ETableGroupLeafFn
void
void *e_table_item, void *closure
e_table_group_apply_to_leafs
void
ETableGroup *etg,ETableGroupLeafFn fn, void *closure
E_TABLE_SORT_INFO_TYPE
#define E_TABLE_SORT_INFO_TYPE (e_table_sort_info_get_type ())
E_TABLE_SORT_INFO
#define E_TABLE_SORT_INFO(o) (GTK_CHECK_CAST ((o), E_TABLE_SORT_INFO_TYPE, ETableSortInfo))
E_TABLE_SORT_INFO_CLASS
#define E_TABLE_SORT_INFO_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_SORT_INFO_TYPE, ETableSortInfoClass))
E_IS_TABLE_SORT_INFO
#define E_IS_TABLE_SORT_INFO(o) (GTK_CHECK_TYPE ((o), E_TABLE_SORT_INFO_TYPE))
E_IS_TABLE_SORT_INFO_CLASS
#define E_IS_TABLE_SORT_INFO_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_TABLE_SORT_INFO_TYPE))
ETableSortColumn
ETableSortColumn
struct ETableSortColumn {
guint column : 31;
guint ascending : 1;
};
ETableSortInfo
typedef struct {
GtkObject base;
gint group_count;
ETableSortColumn *groupings;
gint sort_count;
ETableSortColumn *sortings;
guint frozen : 1;
guint sort_info_changed : 1;
guint group_info_changed : 1;
} ETableSortInfo;
e_table_sort_info_get_type
GtkType
void
e_table_sort_info_freeze
void
ETableSortInfo *info
e_table_sort_info_thaw
void
ETableSortInfo *info
e_table_sort_info_grouping_get_count
guint
ETableSortInfo *info
e_table_sort_info_grouping_truncate
void
ETableSortInfo *info,int length
e_table_sort_info_grouping_get_nth
ETableSortColumn
ETableSortInfo *info,int n
e_table_sort_info_grouping_set_nth
void
ETableSortInfo *info,int n,ETableSortColumn column
e_table_sort_info_sorting_get_count
guint
ETableSortInfo *info
e_table_sort_info_sorting_truncate
void
ETableSortInfo *info,int length
e_table_sort_info_sorting_get_nth
ETableSortColumn
ETableSortInfo *info,int n
e_table_sort_info_sorting_set_nth
void
ETableSortInfo *info,int n,ETableSortColumn column
e_table_sort_info_new
ETableSortInfo *
void
e_table_sort_info_load_from_node
void
ETableSortInfo *info,xmlNode *node
e_table_sort_info_save_to_node
xmlNode *
ETableSortInfo *info,xmlNode *parent
E_TABLE_SIMPLE_TYPE
#define E_TABLE_SIMPLE_TYPE (e_table_simple_get_type ())
E_TABLE_SIMPLE
#define E_TABLE_SIMPLE(o) (GTK_CHECK_CAST ((o), E_TABLE_SIMPLE_TYPE, ETableSimple))
E_TABLE_SIMPLE_CLASS
#define E_TABLE_SIMPLE_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_SIMPLE_TYPE, ETableSimpleClass))
E_IS_TABLE_SIMPLE
#define E_IS_TABLE_SIMPLE(o) (GTK_CHECK_TYPE ((o), E_TABLE_SIMPLE_TYPE))
E_IS_TABLE_SIMPLE_CLASS
#define E_IS_TABLE_SIMPLE_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_TABLE_SIMPLE_TYPE))
ETableSimpleColumnCountFn
int
ETableModel *etm, void *data
ETableSimpleRowCountFn
int
ETableModel *etm, void *data
ETableSimpleValueAtFn
void *
ETableModel *etm, int col, int row, void *data
ETableSimpleSetValueAtFn
void
ETableModel *etm, int col, int row, const void *val, void *data
ETableSimpleIsCellEditableFn
gboolean
ETableModel *etm, int col, int row, void *data
ETableSimpleAppendRowFn
void
ETableModel *etm, ETableModel *model, int row, void *data
ETableSimpleDuplicateValueFn
void *
ETableModel *etm, int col, const void *val, void *data
ETableSimpleFreeValueFn
void
ETableModel *etm, int col, void *val, void *data
ETableSimpleInitializeValueFn
void *
ETableModel *etm, int col, void *data
ETableSimpleValueIsEmptyFn
gboolean
ETableModel *etm, int col, const void *val, void *data
ETableSimpleValueToStringFn
char *
ETableModel *etm, int col, const void *val, void *data
ETableSimple
typedef struct {
ETableModel parent;
ETableSimpleColumnCountFn col_count;
ETableSimpleRowCountFn row_count;
ETableSimpleValueAtFn value_at;
ETableSimpleSetValueAtFn set_value_at;
ETableSimpleIsCellEditableFn is_cell_editable;
ETableSimpleDuplicateValueFn duplicate_value;
ETableSimpleFreeValueFn free_value;
ETableSimpleInitializeValueFn initialize_value;
ETableSimpleValueIsEmptyFn value_is_empty;
ETableSimpleValueToStringFn value_to_string;
ETableSimpleAppendRowFn append_row;
void *data;
} ETableSimple;
e_table_simple_get_type
GtkType
void
e_table_simple_new
ETableModel *
ETableSimpleColumnCountFn col_count,ETableSimpleRowCountFn row_count,ETableSimpleValueAtFn value_at,ETableSimpleSetValueAtFn set_value_at,ETableSimpleIsCellEditableFn is_cell_editable,ETableSimpleDuplicateValueFn duplicate_value,ETableSimpleFreeValueFn free_value,ETableSimpleInitializeValueFn initialize_value,ETableSimpleValueIsEmptyFn value_is_empty,ETableSimpleValueToStringFn value_to_string,void *data
TARGET_ETABLE_COL_TYPE
#define TARGET_ETABLE_COL_TYPE "application/x-etable-column-header"
E_TABLE_SORTER_TYPE
#define E_TABLE_SORTER_TYPE (e_table_sorter_get_type ())
E_TABLE_SORTER
#define E_TABLE_SORTER(o) (GTK_CHECK_CAST ((o), E_TABLE_SORTER_TYPE, ETableSorter))
E_TABLE_SORTER_CLASS
#define E_TABLE_SORTER_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_SORTER_TYPE, ETableSorterClass))
E_IS_TABLE_SORTER
#define E_IS_TABLE_SORTER(o) (GTK_CHECK_TYPE ((o), E_TABLE_SORTER_TYPE))
E_IS_TABLE_SORTER_CLASS
#define E_IS_TABLE_SORTER_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_TABLE_SORTER_TYPE))
ETableSorter
typedef struct {
GtkObject base;
ETableModel *source;
ETableHeader *full_header;
ETableSortInfo *sort_info;
int needs_sorting;
int *sorted;
int *backsorted;
int table_model_changed_id;
int table_model_row_changed_id;
int table_model_cell_changed_id;
int sort_info_changed_id;
} ETableSorter;
e_table_sorter_get_type
GtkType
void
e_table_sorter_new
ETableSorter *
ETableModel *etm, ETableHeader *full_header, ETableSortInfo *sort_info
e_table_sorter_model_to_sorted
gint
ETableSorter *sorter, int row
e_table_sorter_sorted_to_model
gint
ETableSorter *sorter, int row
e_table_sorter_needs_sorting
gboolean
ETableSorter *sorter
E_TABLE_TYPE
#define E_TABLE_TYPE (e_table_get_type ())
E_TABLE
#define E_TABLE(o) (GTK_CHECK_CAST ((o), E_TABLE_TYPE, ETable))
E_TABLE_CLASS
#define E_TABLE_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_TYPE, ETableClass))
E_IS_TABLE
#define E_IS_TABLE(o) (GTK_CHECK_TYPE ((o), E_TABLE_TYPE))
E_IS_TABLE_CLASS
#define E_IS_TABLE_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_TABLE_TYPE))
ETableDragSourceSite
ETableCursorLoc
typedef enum {
E_TABLE_CURSOR_LOC_NONE = 0,
E_TABLE_CURSOR_LOC_ETCTA = 1 << 0,
E_TABLE_CURSOR_LOC_TABLE = 1 << 1,
} ETableCursorLoc;
ETable
typedef struct {
GtkTable parent;
ETableModel *model;
ETableHeader *full_header, *header;
GnomeCanvasItem *canvas_vbox;
ETableGroup *group;
ETableSortInfo *sort_info;
ETableSorter *sorter;
ETableSelectionModel *selection;
ETableCursorLoc cursor_loc;
ETableSpecification *spec;
int table_model_change_id;
int table_row_change_id;
int table_cell_change_id;
int table_row_inserted_id;
int table_row_deleted_id;
int group_info_change_id;
int reflow_idle_id;
GnomeCanvas *header_canvas, *table_canvas;
GnomeCanvasItem *header_item, *root;
GnomeCanvasItem *white_item;
gint length_threshold;
gint rebuild_idle_id;
guint need_rebuild:1;
/*
* Configuration settings
*/
guint draw_grid : 1;
guint draw_focus : 1;
guint row_selection_active : 1;
char *click_to_add_message;
GnomeCanvasItem *click_to_add;
gboolean use_click_to_add;
ETableCursorMode cursor_mode;
int drag_get_data_row;
int drag_get_data_col;
int drop_row;
int drop_col;
int drag_row;
int drag_col;
ETableDragSourceSite *site;
int drag_source_button_press_event_id;
int drag_source_motion_notify_event_id;
} ETable;
e_table_get_type
GtkType
void
e_table_construct
ETable *
ETable *e_table,ETableModel *etm,ETableExtras *ete,const char *spec,const char *state
e_table_new
GtkWidget *
ETableModel *etm,ETableExtras *ete,const char *spec,const char *state
e_table_construct_from_spec_file
ETable *
ETable *e_table,ETableModel *etm,ETableExtras *ete,const char *spec_fn,const char *state_fn
e_table_new_from_spec_file
GtkWidget *
ETableModel *etm,ETableExtras *ete,const char *spec_fn,const char *state_fn
e_table_get_state
gchar *
ETable *e_table
e_table_save_state
void
ETable *e_table,const gchar *filename
e_table_get_state_object
ETableState *
ETable *e_table
e_table_set_state
void
ETable *e_table,const gchar *state
e_table_set_state_object
void
ETable *e_table,ETableState *state
e_table_load_state
void
ETable *e_table,const gchar *filename
e_table_set_cursor_row
void
ETable *e_table,int row
e_table_get_cursor_row
int
ETable *e_table
e_table_selected_row_foreach
void
ETable *e_table,ETableForeachFunc callback,gpointer closure
e_table_selected_count
gint
ETable *e_table
e_table_get_printable
EPrintable *
ETable *e_table
e_table_get_next_row
gint
ETable *e_table,gint model_row
e_table_get_prev_row
gint
ETable *e_table,gint model_row
e_table_model_to_view_row
gint
ETable *e_table,gint model_row
e_table_view_to_model_row
gint
ETable *e_table,gint view_row
e_table_drag_get_data
void
ETable *table,int row,int col,GdkDragContext *context,GdkAtom target,guint32 time
e_table_drag_highlight
void
ETable *table,int row,int col
e_table_drag_unhighlight
void
ETable *table
e_table_drag_dest_set
void
ETable *table,GtkDestDefaults flags,const GtkTargetEntry *targets,gint n_targets,GdkDragAction actions
e_table_drag_dest_set_proxy
void
ETable *table,GdkWindow *proxy_window,GdkDragProtocol protocol,gboolean use_coordinates
e_table_drag_dest_unset
void
GtkWidget *widget
e_table_drag_source_set
void
ETable *table,GdkModifierType start_button_mask,const GtkTargetEntry *targets,gint n_targets,GdkDragAction actions
e_table_drag_source_unset
void
ETable *table
e_table_drag_begin
GdkDragContext *
ETable *table,int row,int col,GtkTargetList *targets,GdkDragAction actions,gint button,GdkEvent *event
e_table_select_all
void
ETable *table
e_table_invert_selection
void
ETable *table
E_TABLE_CONFIG_FIELD_TYPE
#define E_TABLE_CONFIG_FIELD_TYPE (e_table_config_field_get_type ())
E_TABLE_CONFIG_FIELD
#define E_TABLE_CONFIG_FIELD(o) (GTK_CHECK_CAST ((o), E_TABLE_CONFIG_FIELD_TYPE, ETableConfigField))
E_TABLE_CONFIG_FIELD_CLASS
#define E_TABLE_CONFIG_FIELD_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_CONFIG_FIELD_TYPE, ETableConfigFieldClass))
E_IS_TABLE_CONFIG_FIELD
#define E_IS_TABLE_CONFIG_FIELD(o) (GTK_CHECK_TYPE ((o), E_TABLE_CONFIG_FIELD_TYPE))
E_IS_TABLE_CONFIG_FIELD_CLASS
#define E_IS_TABLE_CONFIG_FIELD_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_TABLE_CONFIG_FIELD_TYPE))
ETableConfigField
typedef struct {
GtkVBox base;
ETableSpecification *spec;
ETableSortInfo *sort_info;
guint grouping : 1;
int n;
GtkWidget *combo;
GtkWidget *radio_ascending;
GtkWidget *radio_descending;
GtkWidget *child_fields;
} ETableConfigField;
e_table_config_field_get_type
GtkType
void
e_table_config_field_new
ETableConfigField *
ETableSpecification *spec,ETableSortInfo *sort_info,gboolean grouping
e_table_config_field_construct
ETableConfigField *
ETableConfigField *field,ETableSpecification *spec,ETableSortInfo *sort_info,gboolean grouping
E_TABLE_SPECIFICATION_TYPE
#define E_TABLE_SPECIFICATION_TYPE (e_table_specification_get_type ())
E_TABLE_SPECIFICATION
#define E_TABLE_SPECIFICATION(o) (GTK_CHECK_CAST ((o), E_TABLE_SPECIFICATION_TYPE, ETableSpecification))
E_TABLE_SPECIFICATION_CLASS
#define E_TABLE_SPECIFICATION_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_SPECIFICATION_TYPE, ETableSpecificationClass))
E_IS_TABLE_SPECIFICATION
#define E_IS_TABLE_SPECIFICATION(o) (GTK_CHECK_TYPE ((o), E_TABLE_SPECIFICATION_TYPE))
E_IS_TABLE_SPECIFICATION_CLASS
#define E_IS_TABLE_SPECIFICATION_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_TABLE_SPECIFICATION_TYPE))
ETableSpecification
typedef struct {
GtkObject base;
ETableColumnSpecification **columns;
ETableState *state;
guint no_headers : 1;
guint click_to_add : 1;
guint draw_grid : 1;
ETableCursorMode cursor_mode;
char *click_to_add_message_;
} ETableSpecification;
e_table_specification_get_type
GtkType
void
e_table_specification_new
ETableSpecification *
void
e_table_specification_load_from_file
gboolean
ETableSpecification *specification,const char *filename
e_table_specification_load_from_string
void
ETableSpecification *specification,const char *xml
e_table_specification_load_from_node
void
ETableSpecification *specification,const xmlNode *node
e_table_specification_save_to_file
void
ETableSpecification *specification,const char *filename
e_table_specification_save_to_string
char *
ETableSpecification *specification
e_table_specification_save_to_node
xmlNode *
ETableSpecification *specification,xmlDoc *doc
E_TABLE_ITEM_TYPE
#define E_TABLE_ITEM_TYPE (e_table_item_get_type ())
E_TABLE_ITEM
#define E_TABLE_ITEM(o) (GTK_CHECK_CAST ((o), E_TABLE_ITEM_TYPE, ETableItem))
E_TABLE_ITEM_CLASS
#define E_TABLE_ITEM_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_ITEM_TYPE, ETableItemClass))
E_IS_TABLE_ITEM
#define E_IS_TABLE_ITEM(o) (GTK_CHECK_TYPE ((o), E_TABLE_ITEM_TYPE))
E_IS_TABLE_ITEM_CLASS
#define E_IS_TABLE_ITEM_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_TABLE_ITEM_TYPE))
ETableItem
typedef struct {
GnomeCanvasItem parent;
ETableModel *table_model;
ETableHeader *header;
ETableModel *source_model;
ETableSelectionModel *selection;
int x1, y1;
int minimum_width, width, height;
int cols, rows;
/*
* Ids for the signals we connect to
*/
int header_dim_change_id;
int header_structure_change_id;
int header_request_width_id;
int table_model_pre_change_id;
int table_model_change_id;
int table_model_row_change_id;
int table_model_cell_change_id;
int table_model_row_inserted_id;
int table_model_row_deleted_id;
int selection_change_id;
int cursor_change_id;
GdkGC *fill_gc;
GdkGC *grid_gc;
GdkGC *focus_gc;
GdkBitmap *stipple;
guint draw_grid:1;
guint draw_focus:1;
guint renderers_can_change_size:1;
guint cell_views_realized:1;
guint needs_redraw : 1;
guint needs_compute_height : 1;
guint needs_compute_width : 1;
guint uses_source_model : 1;
/*
* Realized views, per column
*/
ECellView **cell_views;
int n_cells;
int *height_cache;
int height_cache_idle_id;
int height_cache_idle_count;
/*
* Lengh Threshold: above this, we stop computing correctly
* the size
*/
int length_threshold;
gint row_guess;
ETableCursorMode cursor_mode;
/*
* During editing
*/
int editing_col, editing_row;
void *edit_ctx;
/*
* Tooltip
*/
ETableTooltip *tooltip;
} ETableItem;
e_table_item_get_type
GtkType
void
e_table_item_set_cursor
void
ETableItem *eti, int col, int row
e_table_item_get_focused_column
gint
ETableItem *eti
e_table_item_is_row_selected
gboolean
ETableItem *e_table_Item,int row
e_table_item_selected_row_foreach
void
ETableItem *eti,ETableForeachFunc func,gpointer closure
e_table_item_leave_edit
void
ETableItem *eti
e_table_item_enter_edit
void
ETableItem *eti, int col, int row
e_table_item_redraw_range
void
ETableItem *eti,int start_col, int start_row,int end_col, int end_row
e_table_item_get_printable
EPrintable *
ETableItem *eti
e_table_item_print_height
void
ETableItem *eti,GnomePrintContext *context,gdouble width
e_table_item_compute_location
void
ETableItem *eti,int *x,int *y,int *row,int *col
ETableHeader
E_TABLE_HEADER_TYPE
#define E_TABLE_HEADER_TYPE (e_table_header_get_type ())
E_TABLE_HEADER
#define E_TABLE_HEADER(o) (GTK_CHECK_CAST ((o), E_TABLE_HEADER_TYPE, ETableHeader))
E_TABLE_HEADER_CLASS
#define E_TABLE_HEADER_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_HEADER_TYPE, ETableHeaderClass))
E_IS_TABLE_HEADER
#define E_IS_TABLE_HEADER(o) (GTK_CHECK_TYPE ((o), E_TABLE_HEADER_TYPE))
E_IS_TABLE_HEADER_CLASS
#define E_IS_TABLE_HEADER_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_TABLE_HEADER_TYPE))
ETableHeader
struct ETableHeader {
GtkObject base;
int col_count;
int width;
int nominal_width;
ETableSortInfo *sort_info;
int sort_info_group_change_id;
ETableCol **columns;
GSList *change_queue, *change_tail;
gint idle;
};
e_table_header_get_type
GtkType
void
e_table_header_new
ETableHeader *
void
e_table_header_add_column
void
ETableHeader *eth,ETableCol *tc, int pos
e_table_header_get_column
ETableCol *
ETableHeader *eth,int column
e_table_header_count
int
ETableHeader *eth
e_table_header_index
int
ETableHeader *eth,int col
e_table_header_get_index_at
int
ETableHeader *eth,int x_offset
e_table_header_get_columns
ETableCol **
ETableHeader *eth
e_table_header_get_selected
int
ETableHeader *eth
e_table_header_total_width
int
ETableHeader *eth
e_table_header_move
void
ETableHeader *eth,int source_index,int target_index
e_table_header_remove
void
ETableHeader *eth, int idx
e_table_header_set_size
void
ETableHeader *eth, int idx, int size
e_table_header_set_selection
void
ETableHeader *eth,gboolean allow_selection
e_table_header_col_diff
int
ETableHeader *eth,int start_col, int end_col
e_table_header_calc_widths
void
ETableHeader *eth
e_table_header_get_selected_indexes
GList *
ETableHeader *eth
E_TABLE_GROUP_CONTAINER_TYPE
#define E_TABLE_GROUP_CONTAINER_TYPE (e_table_group_container_get_type ())
E_TABLE_GROUP_CONTAINER
#define E_TABLE_GROUP_CONTAINER(o) (GTK_CHECK_CAST ((o), E_TABLE_GROUP_CONTAINER_TYPE, ETableGroupContainer))
E_TABLE_GROUP_CONTAINER_CLASS
#define E_TABLE_GROUP_CONTAINER_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_GROUP_CONTAINER_TYPE, ETableGroupContainerClass))
E_IS_TABLE_GROUP_CONTAINER
#define E_IS_TABLE_GROUP_CONTAINER(o) (GTK_CHECK_TYPE ((o), E_TABLE_GROUP_CONTAINER_TYPE))
E_IS_TABLE_GROUP_CONTAINER_CLASS
#define E_IS_TABLE_GROUP_CONTAINER_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_TABLE_GROUP_CONTAINER_TYPE))
ETableGroupContainer
typedef struct {
ETableGroup group;
/*
* The ETableCol used to group this set
*/
ETableCol *ecol;
gint ascending;
/*
* List of ETableGroups we stack
*/
GList *children;
/*
* The canvas rectangle that contains the children
*/
GnomeCanvasItem *rect;
GdkFont *font;
gdouble width, height, minimum_width;
ETableSortInfo *sort_info;
int n;
int length_threshold;
ETableSelectionModel *table_selection_model;
guint draw_grid : 1;
guint draw_focus : 1;
ETableCursorMode cursor_mode;
/*
* State: the ETableGroup is open or closed
*/
guint open:1;
} ETableGroupContainer;
e_table_group_container_new
ETableGroup *
GnomeCanvasGroup *parent, ETableHeader *full_header, ETableHeader *header,ETableModel *model, ETableSortInfo *sort_info, int n
e_table_group_container_construct
void
GnomeCanvasGroup *parent, ETableGroupContainer *etgc,ETableHeader *full_header,ETableHeader *header,ETableModel *model, ETableSortInfo *sort_info, int n
e_table_group_container_get_type
GtkType
void
E_TABLE_ONE_TYPE
#define E_TABLE_ONE_TYPE (e_table_one_get_type ())
E_TABLE_ONE
#define E_TABLE_ONE(o) (GTK_CHECK_CAST ((o), E_TABLE_ONE_TYPE, ETableOne))
E_TABLE_ONE_CLASS
#define E_TABLE_ONE_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_ONE_TYPE, ETableOneClass))
E_IS_TABLE_ONE
#define E_IS_TABLE_ONE(o) (GTK_CHECK_TYPE ((o), E_TABLE_ONE_TYPE))
E_IS_TABLE_ONE_CLASS
#define E_IS_TABLE_ONE_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_TABLE_ONE_TYPE))
ETableOne
typedef struct {
ETableModel parent;
ETableModel *source;
void **data;
} ETableOne;
e_table_one_get_type
GtkType
void
e_table_one_new
ETableModel *
ETableModel *source
e_table_one_commit
void
ETableOne *one
E_TABLE_COL_TYPE
#define E_TABLE_COL_TYPE (e_table_col_get_type ())
E_TABLE_COL
#define E_TABLE_COL(o) (GTK_CHECK_CAST ((o), E_TABLE_COL_TYPE, ETableCol))
E_TABLE_COL_CLASS
#define E_TABLE_COL_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_COL_TYPE, ETableColClass))
E_IS_TABLE_COL
#define E_IS_TABLE_COL(o) (GTK_CHECK_TYPE ((o), E_TABLE_COL_TYPE))
E_IS_TABLE_COL_CLASS
#define E_IS_TABLE_COL_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_TABLE_COL_TYPE))
ETableColArrow
typedef enum {
E_TABLE_COL_ARROW_NONE = 0,
E_TABLE_COL_ARROW_UP,
E_TABLE_COL_ARROW_DOWN
} ETableColArrow;
ETableCol
typedef struct {
GtkObject base;
char *text;
GdkPixbuf *pixbuf;
int min_width;
int width;
double expansion;
short x;
GCompareFunc compare;
unsigned int is_pixbuf:1;
unsigned int selected:1;
unsigned int resizeable:1;
unsigned int sortable:1;
unsigned int groupable:1;
int col_idx;
GtkJustification justification;
ECell *ecell;
} ETableCol;
e_table_col_get_type
GtkType
void
e_table_col_new
ETableCol *
int col_idx, const char *text,double expansion, int min_width,ECell *ecell, GCompareFunc compare,gboolean resizable
e_table_col_new_with_pixbuf
ETableCol *
int col_idx, GdkPixbuf *pixbuf,double expansion, int min_width,ECell *ecell, GCompareFunc compare,gboolean resizable
e_table_col_destroy
void
ETableCol *etc
E_TABLE_FIELD_CHOOSER_ITEM_TYPE
#define E_TABLE_FIELD_CHOOSER_ITEM_TYPE (e_table_field_chooser_item_get_type ())
E_TABLE_FIELD_CHOOSER_ITEM
#define E_TABLE_FIELD_CHOOSER_ITEM(o) (GTK_CHECK_CAST ((o), E_TABLE_FIELD_CHOOSER_ITEM_TYPE, ETableFieldChooserItem))
E_TABLE_FIELD_CHOOSER_ITEM_CLASS
#define E_TABLE_FIELD_CHOOSER_ITEM_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_FIELD_CHOOSER_ITEM_TYPE, ETableFieldChooserItemClass))
E_IS_TABLE_FIELD_CHOOSER_ITEM
#define E_IS_TABLE_FIELD_CHOOSER_ITEM(o) (GTK_CHECK_TYPE ((o), E_TABLE_FIELD_CHOOSER_ITEM_TYPE))
E_IS_TABLE_FIELD_CHOOSER_ITEM_CLASS
#define E_IS_TABLE_FIELD_CHOOSER_ITEM_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_TABLE_FIELD_CHOOSER_ITEM_TYPE))
ETableFieldChooserItem
typedef struct {
GnomeCanvasItem parent;
ETableHeader *full_header;
double height, width;
GdkFont *font;
/*
* Ids
*/
int structure_change_id, dimension_change_id;
gchar *dnd_code;
/*
* For dragging columns
*/
guint maybe_drag:1;
int click_x, click_y;
int drag_col;
guint drag_data_get_id;
guint drag_end_id;
} ETableFieldChooserItem;
e_table_field_chooser_item_get_type
GtkType
void
E_TABLE_SORTED_TYPE
#define E_TABLE_SORTED_TYPE (e_table_sorted_get_type ())
E_TABLE_SORTED
#define E_TABLE_SORTED(o) (GTK_CHECK_CAST ((o), E_TABLE_SORTED_TYPE, ETableSorted))
E_TABLE_SORTED_CLASS
#define E_TABLE_SORTED_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_SORTED_TYPE, ETableSortedClass))
E_IS_TABLE_SORTED
#define E_IS_TABLE_SORTED(o) (GTK_CHECK_TYPE ((o), E_TABLE_SORTED_TYPE))
E_IS_TABLE_SORTED_CLASS
#define E_IS_TABLE_SORTED_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_TABLE_SORTED_TYPE))
ETableSorted
typedef struct {
ETableSubset base;
short sort_col;
GCompareFunc compare;
} ETableSorted;
e_table_sorted_get_type
GtkType
void
e_table_sorted_new
ETableModel *
ETableModel *etm, int col, GCompareFunc compare
e_table_sorted_resort
void
ETableSorted *ets, int col, GCompareFunc compare
E_TABLE_SELECTION_MODEL_TYPE
#define E_TABLE_SELECTION_MODEL_TYPE (e_table_selection_model_get_type ())
E_TABLE_SELECTION_MODEL
#define E_TABLE_SELECTION_MODEL(o) (GTK_CHECK_CAST ((o), E_TABLE_SELECTION_MODEL_TYPE, ETableSelectionModel))
E_TABLE_SELECTION_MODEL_CLASS
#define E_TABLE_SELECTION_MODEL_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_SELECTION_MODEL_TYPE, ETableSelectionModelClass))
E_IS_TABLE_SELECTION_MODEL
#define E_IS_TABLE_SELECTION_MODEL(o) (GTK_CHECK_TYPE ((o), E_TABLE_SELECTION_MODEL_TYPE))
E_IS_TABLE_SELECTION_MODEL_CLASS
#define E_IS_TABLE_SELECTION_MODEL_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_TABLE_SELECTION_MODEL_TYPE))
ETableSelectionModel
typedef struct {
GtkObject base;
ETableModel *model;
ETableSorter *sorter;
gint row_count;
guint32 *selection;
gint cursor_row;
gint cursor_col;
gint selection_start_row;
guint model_changed_id;
guint model_row_inserted_id, model_row_deleted_id;
guint frozen : 1;
guint selection_model_changed : 1;
guint group_info_changed : 1;
} ETableSelectionModel;
e_table_selection_model_get_type
GtkType
void
e_table_selection_model_is_row_selected
gboolean
ETableSelectionModel *selection,gint n
e_table_selection_model_foreach
void
ETableSelectionModel *selection,ETableForeachFunc callback,gpointer closure
e_table_selection_model_do_something
void
ETableSelectionModel *selection,guint row,guint col,GdkModifierType state
e_table_selection_model_maybe_do_something
void
ETableSelectionModel *selection,guint row,guint col,GdkModifierType state
e_table_selection_model_clear
void
ETableSelectionModel *selection
e_table_selection_model_selected_count
gint
ETableSelectionModel *selection
e_table_selection_model_select_all
void
ETableSelectionModel *selection
e_table_selection_model_invert_selection
void
ETableSelectionModel *selection
e_table_selection_model_new
ETableSelectionModel *
void
E_TABLE_EXTRAS_TYPE
#define E_TABLE_EXTRAS_TYPE (e_table_extras_get_type ())
E_TABLE_EXTRAS
#define E_TABLE_EXTRAS(o) (GTK_CHECK_CAST ((o), E_TABLE_EXTRAS_TYPE, ETableExtras))
E_TABLE_EXTRAS_CLASS
#define E_TABLE_EXTRAS_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_EXTRAS_TYPE, ETableExtrasClass))
E_IS_TABLE_EXTRAS
#define E_IS_TABLE_EXTRAS(o) (GTK_CHECK_TYPE ((o), E_TABLE_EXTRAS_TYPE))
E_IS_TABLE_EXTRAS_CLASS
#define E_IS_TABLE_EXTRAS_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_TABLE_EXTRAS_TYPE))
ETableExtras
typedef struct {
GtkObject base;
GHashTable *cells;
GHashTable *compares;
GHashTable *pixbufs;
} ETableExtras;
e_table_extras_get_type
GtkType
void
e_table_extras_new
ETableExtras *
void
e_table_extras_add_cell
void
ETableExtras *extras,char *id,ECell *cell
e_table_extras_get_cell
ECell *
ETableExtras *extras,char *id
e_table_extras_add_compare
void
ETableExtras *extras,char *id,GCompareFunc compare
e_table_extras_get_compare
GCompareFunc
ETableExtras *extras,char *id
e_table_extras_add_pixbuf
void
ETableExtras *extras,char *id,GdkPixbuf *pixbuf
e_table_extras_get_pixbuf
GdkPixbuf *
ETableExtras *extras,char *id
E_TABLE_CLICK_TO_ADD_TYPE
#define E_TABLE_CLICK_TO_ADD_TYPE (e_table_click_to_add_get_type ())
E_TABLE_CLICK_TO_ADD
#define E_TABLE_CLICK_TO_ADD(o) (GTK_CHECK_CAST ((o), E_TABLE_CLICK_TO_ADD_TYPE, ETableClickToAdd))
E_TABLE_CLICK_TO_ADD_CLASS
#define E_TABLE_CLICK_TO_ADD_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_CLICK_TO_ADD_TYPE, ETableClickToAddClass))
E_IS_TABLE_CLICK_TO_ADD
#define E_IS_TABLE_CLICK_TO_ADD(o) (GTK_CHECK_TYPE ((o), E_TABLE_CLICK_TO_ADD_TYPE))
E_IS_TABLE_CLICK_TO_ADD_CLASS
#define E_IS_TABLE_CLICK_TO_ADD_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_TABLE_CLICK_TO_ADD_TYPE))
ETableClickToAdd
typedef struct {
GnomeCanvasGroup parent;
ETableModel *one; /* The ETableOne. */
ETableModel *model; /* The backend model. */
ETableHeader *eth; /* This is just to give to the ETableItem. */
char *message;
GnomeCanvasItem *row; /* If row is NULL, we're sitting with no data and a "Click here" message. */
GnomeCanvasItem *text; /* If text is NULL, row shouldn't be. */
GnomeCanvasItem *rect; /* What the heck. Why not. */
gdouble width;
gdouble height;
ETableSelectionModel *selection;
} ETableClickToAdd;
e_table_click_to_add_get_type
GtkType
void
e_table_click_to_add_commit
void
ETableClickToAdd *etcta
E_TABLE_MODEL_TYPE
#define E_TABLE_MODEL_TYPE (e_table_model_get_type ())
E_TABLE_MODEL
#define E_TABLE_MODEL(o) (GTK_CHECK_CAST ((o), E_TABLE_MODEL_TYPE, ETableModel))
E_TABLE_MODEL_CLASS
#define E_TABLE_MODEL_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_MODEL_TYPE, ETableModelClass))
E_IS_TABLE_MODEL
#define E_IS_TABLE_MODEL(o) (GTK_CHECK_TYPE ((o), E_TABLE_MODEL_TYPE))
E_IS_TABLE_MODEL_CLASS
#define E_IS_TABLE_MODEL_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_TABLE_MODEL_TYPE))
ETableModel
typedef struct {
GtkObject base;
} ETableModel;
e_table_model_get_type
GtkType
void
e_table_model_column_count
int
ETableModel *e_table_model
e_table_model_column_name
const char *
ETableModel *e_table_model, int col
e_table_model_row_count
int
ETableModel *e_table_model
e_table_model_value_at
void *
ETableModel *e_table_model, int col, int row
e_table_model_set_value_at
void
ETableModel *e_table_model, int col, int row, const void *value
e_table_model_is_cell_editable
gboolean
ETableModel *e_table_model, int col, int row
e_table_model_append_row
void
ETableModel *e_table_model, ETableModel *source, int row
e_table_model_row_sort_group
const char *
ETableModel *e_table_model, int row
e_table_model_has_sort_group
gboolean
ETableModel *e_table_model
e_table_model_duplicate_value
void *
ETableModel *e_table_model, int col, const void *value
e_table_model_free_value
void
ETableModel *e_table_model, int col, void *value
e_table_model_initialize_value
void *
ETableModel *e_table_model, int col
e_table_model_value_is_empty
gboolean
ETableModel *e_table_model, int col, const void *value
e_table_model_value_to_string
char *
ETableModel *e_table_model, int col, const void *value
e_table_model_pre_change
void
ETableModel *e_table_model
e_table_model_changed
void
ETableModel *e_table_model
e_table_model_row_changed
void
ETableModel *e_table_model, int row
e_table_model_cell_changed
void
ETableModel *e_table_model, int col, int row
e_table_model_row_inserted
void
ETableModel *e_table_model, int row
e_table_model_row_deleted
void
ETableModel *e_table_model, int row
E_TYPE_HPANED
#define E_TYPE_HPANED (e_hpaned_get_type ())
E_HPANED
#define E_HPANED(obj) (GTK_CHECK_CAST ((obj), E_TYPE_HPANED, EHPaned))
E_HPANED_CLASS
#define E_HPANED_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), E_TYPE_HPANED, EHPanedClass))
E_IS_HPANED
#define E_IS_HPANED(obj) (GTK_CHECK_TYPE ((obj), E_TYPE_HPANED))
E_IS_HPANED_CLASS
#define E_IS_HPANED_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), E_TYPE_HPANED))
E_HPANED_GET_CLASS
#define E_HPANED_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), E_TYPE_HPANED, EHPanedClass))
EHPaned
EHPanedClass
EHPaned
struct EHPaned
{
EPaned paned;
};
e_hpaned_get_type
GtkType
void
e_hpaned_new
GtkWidget *
void
E_TYPE_VPANED
#define E_TYPE_VPANED (e_vpaned_get_type ())
E_VPANED
#define E_VPANED(obj) (GTK_CHECK_CAST ((obj), E_TYPE_VPANED, EVPaned))
E_VPANED_CLASS
#define E_VPANED_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), E_TYPE_VPANED, EVPanedClass))
E_IS_VPANED
#define E_IS_VPANED(obj) (GTK_CHECK_TYPE ((obj), E_TYPE_VPANED))
E_IS_VPANED_CLASS
#define E_IS_VPANED_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), E_TYPE_VPANED))
E_VPANED_GET_CLASS
#define E_VPANED_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), E_TYPE_VPANED, EVPanedClass))
EVPaned
EVPanedClass
EVPaned
struct EVPaned
{
EPaned paned;
};
e_vpaned_get_type
GtkType
void
e_vpaned_new
GtkWidget *
void
E_TYPE_PANED
#define E_TYPE_PANED (e_paned_get_type ())
E_PANED
#define E_PANED(obj) (GTK_CHECK_CAST ((obj), E_TYPE_PANED, EPaned))
E_PANED_CLASS
#define E_PANED_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), E_TYPE_PANED, EPanedClass))
E_IS_PANED
#define E_IS_PANED(obj) (GTK_CHECK_TYPE ((obj), E_TYPE_PANED))
E_IS_PANED_CLASS
#define E_IS_PANED_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), E_TYPE_PANED))
E_PANED_GET_CLASS
#define E_PANED_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), E_TYPE_PANED, EPanedClass))
EPaned
EPanedClass
EPaned
struct EPaned
{
GtkContainer container;
GtkWidget *child1;
GtkWidget *child2;
GdkWindow *handle;
GdkGC *xor_gc;
GdkCursorType cursor_type;
/*< public >*/
guint16 handle_size;
/*< private >*/
guint16 handle_width;
guint16 handle_height;
gint child1_real_size;
gint child1_size;
gint last_allocation;
gint min_position;
gint max_position;
gint old_child1_size;
gint quantum;
guint position_set : 1;
guint in_drag : 1;
guint child1_shrink : 1;
guint child1_resize : 1;
guint child2_shrink : 1;
guint child2_resize : 1;
gint16 handle_xpos;
gint16 handle_ypos;
};
e_paned_get_type
GtkType
void
e_paned_add1
void
EPaned *paned,GtkWidget *child
e_paned_add2
void
EPaned *paned,GtkWidget *child
e_paned_pack1
void
EPaned *paned,GtkWidget *child,gboolean resize,gboolean shrink
e_paned_pack2
void
EPaned *paned,GtkWidget *child,gboolean resize,gboolean shrink
e_paned_get_position
gint
EPaned *paned
e_paned_set_position
void
EPaned *paned,gint position
e_paned_set_handle_size
void
EPaned *paned,guint16 size
e_paned_compute_position
void
EPaned *paned,gint allocation,gint child1_req,gint child2_req
e_paned_handle_shown
gboolean
EPaned *paned
e_paned_quantized_size
gint
EPaned *paned,int size
E_TEXT_EVENT_PROCESSOR_EMACS_LIKE_TYPE
#define E_TEXT_EVENT_PROCESSOR_EMACS_LIKE_TYPE (e_text_event_processor_emacs_like_get_type ())
E_TEXT_EVENT_PROCESSOR_EMACS_LIKE
#define E_TEXT_EVENT_PROCESSOR_EMACS_LIKE(obj) (GTK_CHECK_CAST ((obj), E_TEXT_EVENT_PROCESSOR_EMACS_LIKE_TYPE, ETextEventProcessorEmacsLike))
E_TEXT_EVENT_PROCESSOR_EMACS_LIKE_CLASS
#define E_TEXT_EVENT_PROCESSOR_EMACS_LIKE_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), E_TEXT_EVENT_PROCESSOR_EMACS_LIKE_TYPE, ETextEventProcessorEmacsLikeClass))
E_IS_TEXT_EVENT_PROCESSOR_EMACS_LIKE
#define E_IS_TEXT_EVENT_PROCESSOR_EMACS_LIKE(obj) (GTK_CHECK_TYPE ((obj), E_TEXT_EVENT_PROCESSOR_EMACS_LIKE_TYPE))
E_IS_TEXT_EVENT_PROCESSOR_EMACS_LIKE_CLASS
#define E_IS_TEXT_EVENT_PROCESSOR_EMACS_LIKE_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), E_TEXT_EVENT_PROCESSOR_EMACS_LIKE_TYPE))
ETextEventProcessorEmacsLike
ETextEventProcessorEmacsLikeClass
ETextEventProcessorEmacsLike
struct ETextEventProcessorEmacsLike
{
ETextEventProcessor parent;
/* object specific fields */
guint mouse_down : 1;
};
e_text_event_processor_emacs_like_get_type
GtkType
void
e_text_event_processor_emacs_like_new
ETextEventProcessor *
void
E_TYPE_TEXT
#define E_TYPE_TEXT (e_text_get_type ())
E_TEXT
#define E_TEXT(obj) (GTK_CHECK_CAST ((obj), E_TYPE_TEXT, EText))
E_TEXT_CLASS
#define E_TEXT_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), E_TYPE_TEXT, ETextClass))
E_IS_TEXT
#define E_IS_TEXT(obj) (GTK_CHECK_TYPE ((obj), E_TYPE_TEXT))
E_IS_TEXT_CLASS
#define E_IS_TEXT_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), E_TYPE_TEXT))
EText
ETextClass
ETextSuckFont
ETextSuckChar
ETextSuckChar
struct ETextSuckChar {
int left_sb;
int right_sb;
int width;
int ascent;
int descent;
int bitmap_offset; /* in pixels */
};
ETextSuckFont
struct ETextSuckFont {
guchar *bitmap;
gint bitmap_width;
gint bitmap_height;
gint ascent;
ETextSuckChar chars[256];
};
EText
struct EText {
GnomeCanvasItem item;
ETextModel *model;
gint model_changed_signal_id;
char *text; /* Text to display */
gpointer lines; /* Text split into lines (private field) */
int num_lines; /* Number of lines of text */
#if 0
GdkFont *font; /* Font for text */
#else
EFont *font;
#endif
GtkAnchorType anchor; /* Anchor side for text */
GtkJustification justification; /* Justification for text */
double clip_width; /* Width of optional clip rectangle */
double clip_height; /* Height of optional clip rectangle */
double xofs, yofs; /* Text offset distance from anchor position */
gulong pixel; /* Fill color */
GdkBitmap *stipple; /* Stipple for text */
GdkGC *gc; /* GC for drawing text */
int cx, cy; /* Top-left canvas coordinates for text */
int clip_cx, clip_cy; /* Top-left canvas coordinates for clip rectangle */
int clip_cwidth, clip_cheight; /* Size of clip rectangle in pixels */
int max_width; /* Maximum width of text lines */
int width; /* Rendered text width in pixels */
int height; /* Rendered text height in pixels */
guint clip : 1; /* Use clip rectangle? */
guint fill_clip_rectangle : 1; /* Fill the clipping rectangle. */
/* Antialiased specific stuff follows */
#if 0
ETextSuckFont *suckfont; /* Sucked font */
#endif
guint32 rgba; /* RGBA color for text */
double affine[6]; /* The item -> canvas affine */
char *ellipsis; /* The ellipsis characters. NULL = "...". */
double ellipsis_width; /* The width of the ellipsis. */
gboolean use_ellipsis; /* Whether to use the ellipsis. */
gboolean editable; /* Item is editable */
gboolean editing; /* Item is currently being edited */
int xofs_edit; /* Offset because of editing */
int yofs_edit; /* Offset because of editing */
/* This needs to be reworked a bit once we get line wrapping. */
int selection_start; /* Start of selection IN BYTES */
int selection_end; /* End of selection IN BYTES */
gboolean select_by_word; /* Current selection is by word */
/* This section is for drag scrolling and blinking cursor. */
gint timeout_id; /* Current timeout id for scrolling */
GTimer *timer; /* Timer for blinking cursor and scrolling */
gint lastx, lasty; /* Last x and y motion events */
gint last_state; /* Last state */
gulong scroll_start; /* Starting time for scroll (microseconds) */
gint show_cursor; /* Is cursor currently shown */
gboolean button_down; /* Is mouse button 1 down */
ETextEventProcessor *tep; /* Text Event Processor */
gint tep_command_id;
GtkWidget *invisible; /* For selection handling */
gboolean has_selection; /* TRUE if we have the selection */
gchar *primary_selection; /* Primary selection text */
gint primary_length; /* Primary selection text length */
gchar *clipboard_selection; /* Clipboard selection text */
gint clipboard_length; /* Clipboard selection text length*/
guint pointer_in : 1; /* Is the pointer currently over us? */
guint default_cursor_shown : 1; /* Is the default cursor currently shown? */
guint draw_borders : 1; /* Draw borders? */
guint line_wrap : 1; /* Do line wrap */
gchar *break_characters; /* Characters to optionally break after */
gint max_lines; /* Max number of lines (-1 = infinite) */
GdkCursor *default_cursor; /* Default cursor (arrow) */
GdkCursor *i_cursor; /* I beam cursor */
gint tooltip_timeout; /* Timeout for the tooltip */
GtkWidget *tooltip_window; /* GtkWindow for displaying the tooltip */
gint tooltip_count; /* GDK_ENTER_NOTIFY count. */
guint needs_redraw : 1; /* Needs redraw */
guint needs_recalc_bounds : 1; /* Need recalc_bounds */
guint needs_calc_height : 1; /* Need calc_height */
guint needs_calc_line_widths : 1; /* Needs calc_line_widths */
guint needs_split_into_lines : 1; /* Needs split_into_lines */
gint dbl_timeout; /* Double click timeout */
gint tpl_timeout; /* Triple click timeout */
};
e_text_get_type
GtkType
void
ETextEventProcessorCommandPosition
typedef enum {
E_TEP_VALUE,
E_TEP_SELECTION,
E_TEP_START_OF_BUFFER,
E_TEP_END_OF_BUFFER,
E_TEP_START_OF_LINE,
E_TEP_END_OF_LINE,
E_TEP_FORWARD_CHARACTER,
E_TEP_BACKWARD_CHARACTER,
E_TEP_FORWARD_WORD,
E_TEP_BACKWARD_WORD,
E_TEP_FORWARD_LINE,
E_TEP_BACKWARD_LINE,
E_TEP_FORWARD_PARAGRAPH,
E_TEP_BACKWARD_PARAGRAPH,
E_TEP_FORWARD_PAGE,
E_TEP_BACKWARD_PAGE,
E_TEP_SELECT_WORD,
E_TEP_SELECT_ALL
} ETextEventProcessorCommandPosition;
ETextEventProcessorCommandAction
typedef enum {
E_TEP_MOVE,
E_TEP_SELECT,
E_TEP_DELETE,
E_TEP_INSERT,
E_TEP_COPY,
E_TEP_PASTE,
E_TEP_GET_SELECTION,
E_TEP_SET_SELECT_BY_WORD,
E_TEP_ACTIVATE,
E_TEP_GRAB,
E_TEP_UNGRAB,
E_TEP_NOP
} ETextEventProcessorCommandAction;
ETextEventProcessorCommand
typedef struct {
ETextEventProcessorCommandPosition position;
ETextEventProcessorCommandAction action;
int value;
char *string;
guint32 time;
} ETextEventProcessorCommand;
ETextEventProcessorEventButton
typedef struct {
GdkEventType type;
guint32 time;
guint state;
guint button;
gint position;
} ETextEventProcessorEventButton;
ETextEventProcessorEventKey
typedef struct {
GdkEventType type;
guint32 time;
guint state;
guint keyval;
gint length;
gchar *string;
} ETextEventProcessorEventKey;
ETextEventProcessorEventMotion
typedef struct {
GdkEventType type;
guint32 time;
guint state;
gint position;
} ETextEventProcessorEventMotion;
ETextEventProcessorEvent
union ETextEventProcessorEvent {
GdkEventType type;
ETextEventProcessorEventButton button;
ETextEventProcessorEventKey key;
ETextEventProcessorEventMotion motion;
};
E_ENTRY_TYPE
#define E_ENTRY_TYPE (e_entry_get_type ())
E_ENTRY
#define E_ENTRY(o) (GTK_CHECK_CAST ((o), E_ENTRY_TYPE, EEntry))
E_ENTRY_CLASS
#define E_ENTRY_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_ENTRY_TYPE, EEntryClass))
E_IS_ENTRY
#define E_IS_ENTRY(o) (GTK_CHECK_TYPE ((o), E_ENTRY_TYPE))
E_IS_ENTRY_CLASS
#define E_IS_ENTRY_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_ENTRY_TYPE))
EEntry
typedef struct {
GtkTable parent;
GnomeCanvas *canvas;
EText *item;
} EEntry;
e_entry_get_type
GtkType
void
e_entry_construct
EEntry *
EEntry *e_entry
e_entry_new
GtkWidget *
void
E_TYPE_TEXT_MODEL
#define E_TYPE_TEXT_MODEL (e_text_model_get_type ())
E_TEXT_MODEL
#define E_TEXT_MODEL(obj) (GTK_CHECK_CAST ((obj), E_TYPE_TEXT_MODEL, ETextModel))
E_TEXT_MODEL_CLASS
#define E_TEXT_MODEL_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), E_TYPE_TEXT_MODEL, ETextModelClass))
E_IS_TEXT_MODEL
#define E_IS_TEXT_MODEL(obj) (GTK_CHECK_TYPE ((obj), E_TYPE_TEXT_MODEL))
E_IS_TEXT_MODEL_CLASS
#define E_IS_TEXT_MODEL_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), E_TYPE_TEXT_MODEL))
ETextModel
ETextModelClass
ETextModel
struct ETextModel {
GtkObject item;
char *text; /* Text to display */
int length;
};
e_text_model_get_type
GtkType
void
e_text_model_new
ETextModel *
void
e_text_model_changed
void
ETextModel *model
e_text_model_get_text
gchar *
ETextModel *model
e_text_model_set_text
void
ETextModel *model, gchar *text
e_text_model_insert
void
ETextModel *model, gint position, gchar *text
e_text_model_insert_length
void
ETextModel *model, gint position, gchar *text, gint length
e_text_model_delete
void
ETextModel *model, gint position, gint length
E_TEXT_EVENT_PROCESSOR_TYPE
#define E_TEXT_EVENT_PROCESSOR_TYPE (e_text_event_processor_get_type ())
E_TEXT_EVENT_PROCESSOR
#define E_TEXT_EVENT_PROCESSOR(obj) (GTK_CHECK_CAST ((obj), E_TEXT_EVENT_PROCESSOR_TYPE, ETextEventProcessor))
E_TEXT_EVENT_PROCESSOR_CLASS
#define E_TEXT_EVENT_PROCESSOR_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), E_TEXT_EVENT_PROCESSOR_TYPE, ETextEventProcessorClass))
E_IS_TEXT_EVENT_PROCESSOR
#define E_IS_TEXT_EVENT_PROCESSOR(obj) (GTK_CHECK_TYPE ((obj), E_TEXT_EVENT_PROCESSOR_TYPE))
E_IS_TEXT_EVENT_PROCESSOR_CLASS
#define E_IS_TEXT_EVENT_PROCESSOR_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), E_TEXT_EVENT_PROCESSOR_TYPE))
ETextEventProcessor
ETextEventProcessorClass
ETextEventProcessor
struct ETextEventProcessor
{
GtkObject parent;
/* object specific fields */
guint allow_newlines : 1;
};
e_text_event_processor_get_type
GtkType
void
e_text_event_processor_handle_event
gint
ETextEventProcessor *tep, ETextEventProcessorEvent *event