gattrib

gtksheet_2_2.c File Reference

#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <glib.h>
#include <glib-object.h>
#include <gobject/gvaluecollector.h>
#include <gdk/gdk.h>
#include <gdk/gdkkeysyms.h>
#include <gtk/gtksignal.h>
#include <gtk/gtklabel.h>
#include <gtk/gtkbutton.h>
#include <gtk/gtkadjustment.h>
#include <gtk/gtktable.h>
#include <gtk/gtkbox.h>
#include <gtk/gtkmain.h>
#include <gtk/gtktypeutils.h>
#include <gtk/gtkentry.h>
#include <gtk/gtkcontainer.h>
#include <gtk/gtkpixmap.h>
#include <pango/pango.h>
#include "gtksheet_2_2.h"
#include "gtkextra-marshal.h"
#include <libgeda/libgeda.h>
#include "../include/struct.h"
#include "../include/prototype.h"
#include "../include/globals.h"
Include dependency graph for gtksheet_2_2.c:

Go to the source code of this file.

Defines

#define GTK_SHEET_FLAGS(sheet)   (GTK_SHEET (sheet)->flags)
#define GTK_SHEET_SET_FLAGS(sheet, flag)   (GTK_SHEET_FLAGS (sheet) |= (flag))
#define GTK_SHEET_UNSET_FLAGS(sheet, flag)   (GTK_SHEET_FLAGS (sheet) &= ~(flag))
#define GTK_SHEET_IS_FROZEN(sheet)   (GTK_SHEET_FLAGS (sheet) & GTK_SHEET_IS_FROZEN)
#define GTK_SHEET_IN_XDRAG(sheet)   (GTK_SHEET_FLAGS (sheet) & GTK_SHEET_IN_XDRAG)
#define GTK_SHEET_IN_YDRAG(sheet)   (GTK_SHEET_FLAGS (sheet) & GTK_SHEET_IN_YDRAG)
#define GTK_SHEET_IN_DRAG(sheet)   (GTK_SHEET_FLAGS (sheet) & GTK_SHEET_IN_DRAG)
#define GTK_SHEET_IN_SELECTION(sheet)   (GTK_SHEET_FLAGS (sheet) & GTK_SHEET_IN_SELECTION)
#define GTK_SHEET_IN_RESIZE(sheet)   (GTK_SHEET_FLAGS (sheet) & GTK_SHEET_IN_RESIZE)
#define GTK_SHEET_IN_CLIP(sheet)   (GTK_SHEET_FLAGS (sheet) & GTK_SHEET_IN_CLIP)
#define GTK_SHEET_REDRAW_PENDING(sheet)   (GTK_SHEET_FLAGS (sheet) & GTK_SHEET_REDRAW_PENDING)
#define CELL_SPACING   1
#define DRAG_WIDTH   6
#define TIMEOUT_SCROLL   20
#define TIMEOUT_FLASH   200
#define TIME_INTERVAL   8
#define COLUMN_MIN_WIDTH   10
#define MINROWS   1
#define MINCOLS   1
#define MAXLENGTH   30
#define CELLOFFSET   4
#define DEFAULT_COLUMN_WIDTH   80
#define MIN_VISIBLE_ROW(sheet)   sheet->view.row0
#define MAX_VISIBLE_ROW(sheet)   sheet->view.rowi
#define MIN_VISIBLE_COLUMN(sheet)   sheet->view.col0
#define MAX_VISIBLE_COLUMN(sheet)   sheet->view.coli

Enumerations

enum  {
  GTK_SHEET_IS_LOCKED = 1 << 0, GTK_SHEET_IS_FROZEN = 1 << 1, GTK_SHEET_IN_XDRAG = 1 << 2, GTK_SHEET_IN_YDRAG = 1 << 3,
  GTK_SHEET_IN_DRAG = 1 << 4, GTK_SHEET_IN_SELECTION = 1 << 5, GTK_SHEET_IN_RESIZE = 1 << 6, GTK_SHEET_IN_CLIP = 1 << 7,
  GTK_SHEET_REDRAW_PENDING = 1 << 8
}
enum  {
  SELECT_ROW, SELECT_COLUMN, SELECT_RANGE, CLIP_RANGE,
  RESIZE_RANGE, MOVE_RANGE, TRAVERSE, DEACTIVATE,
  ACTIVATE, SET_CELL, CLEAR_CELL, CHANGED,
  NEW_COL_WIDTH, NEW_ROW_HEIGHT, LAST_SIGNAL
}

Functions

static guint DEFAULT_ROW_HEIGHT (GtkWidget *widget)
static guint DEFAULT_FONT_ASCENT (GtkWidget *widget)
static guint STRING_WIDTH (GtkWidget *widget, PangoFontDescription *font, const gchar *text)
static guint DEFAULT_FONT_DESCENT (GtkWidget *widget)
static gint ROW_TOP_YPIXEL (GtkSheet *sheet, gint nrow)
 gives the top pixel of the given row in context of the sheet's voffset
static gint ROW_FROM_YPIXEL (GtkSheet *sheet, gint y)
 returns the row index from a y pixel location in the context of the sheet's voffset
static gint COLUMN_LEFT_XPIXEL (GtkSheet *sheet, gint ncol)
 gives the left pixel of the given column in context of the sheet's hoffset
static gint COLUMN_FROM_XPIXEL (GtkSheet *sheet, gint x)
 returns the column index from a x pixel location in the context of the sheet's hoffset
static gint SHEET_HEIGHT (GtkSheet *sheet)
 returns the total height of the sheet
static gint SHEET_WIDTH (GtkSheet *sheet)
 returns the total width of the sheet
static gint POSSIBLE_XDRAG (GtkSheet *sheet, gint x, gint *drag_column)
static gint POSSIBLE_YDRAG (GtkSheet *sheet, gint y, gint *drag_row)
static gint POSSIBLE_DRAG (GtkSheet *sheet, gint x, gint y, gint *drag_row, gint *drag_column)
static gint POSSIBLE_RESIZE (GtkSheet *sheet, gint x, gint y, gint *drag_row, gint *drag_column)
static void gtk_sheet_class_init (GtkSheetClass *klass)
static void gtk_sheet_init (GtkSheet *sheet)
static void gtk_sheet_destroy (GtkObject *object)
static void gtk_sheet_finalize (GObject *object)
static void gtk_sheet_style_set (GtkWidget *widget, GtkStyle *previous_style)
static void gtk_sheet_realize (GtkWidget *widget)
static void gtk_sheet_unrealize (GtkWidget *widget)
static void gtk_sheet_map (GtkWidget *widget)
static void gtk_sheet_unmap (GtkWidget *widget)
static gint gtk_sheet_expose (GtkWidget *widget, GdkEventExpose *event)
static void gtk_sheet_forall (GtkContainer *container, gboolean include_internals, GtkCallback callback, gpointer callback_data)
static void gtk_sheet_set_scroll_adjustments (GtkSheet *sheet, GtkAdjustment *hadjustment, GtkAdjustment *vadjustment)
static gint gtk_sheet_button_press (GtkWidget *widget, GdkEventButton *event)
static gint gtk_sheet_button_release (GtkWidget *widget, GdkEventButton *event)
static gint gtk_sheet_motion (GtkWidget *widget, GdkEventMotion *event)
static gint gtk_sheet_key_press (GtkWidget *widget, GdkEventKey *key)
static void gtk_sheet_size_request (GtkWidget *widget, GtkRequisition *requisition)
static void gtk_sheet_size_allocate (GtkWidget *widget, GtkAllocation *allocation)
static gint gtk_sheet_range_isvisible (GtkSheet *sheet, GtkSheetRange range)
static gint gtk_sheet_cell_isvisible (GtkSheet *sheet, gint row, gint column)
static gint gtk_sheet_scroll (gpointer data)
static gint gtk_sheet_flash (gpointer data)
static void gtk_sheet_cell_draw_default (GtkSheet *sheet, gint row, gint column)
static void gtk_sheet_cell_draw_border (GtkSheet *sheet, gint row, gint column, gint mask)
static void gtk_sheet_cell_draw_label (GtkSheet *sheet, gint row, gint column)
static void gtk_sheet_range_draw (GtkSheet *sheet, const GtkSheetRange *range)
static void gtk_sheet_range_draw_selection (GtkSheet *sheet, GtkSheetRange range)
static gint gtk_sheet_move_query (GtkSheet *sheet, gint row, gint column)
static void gtk_sheet_real_select_range (GtkSheet *sheet, GtkSheetRange *range)
static void gtk_sheet_real_unselect_range (GtkSheet *sheet, const GtkSheetRange *range)
static void gtk_sheet_extend_selection (GtkSheet *sheet, gint row, gint column)
static void gtk_sheet_new_selection (GtkSheet *sheet, GtkSheetRange *range)
static void gtk_sheet_draw_border (GtkSheet *sheet, GtkSheetRange range)
static void gtk_sheet_draw_corners (GtkSheet *sheet, GtkSheetRange range)
static void gtk_sheet_entry_changed (GtkWidget *widget, gpointer data)
static gboolean gtk_sheet_deactivate_cell (GtkSheet *sheet)
static void gtk_sheet_hide_active_cell (GtkSheet *sheet)
static gboolean gtk_sheet_activate_cell (GtkSheet *sheet, gint row, gint col)
static void gtk_sheet_draw_active_cell (GtkSheet *sheet)
static void gtk_sheet_show_active_cell (GtkSheet *sheet)
static void gtk_sheet_click_cell (GtkSheet *sheet, gint row, gint column, gboolean *veto)
static void gtk_sheet_make_backing_pixmap (GtkSheet *sheet, guint width, guint height)
static void gtk_sheet_draw_backing_pixmap (GtkSheet *sheet, GtkSheetRange range)
static void adjust_scrollbars (GtkSheet *sheet)
static void vadjustment_changed (GtkAdjustment *adjustment, gpointer data)
static void hadjustment_changed (GtkAdjustment *adjustment, gpointer data)
static void vadjustment_value_changed (GtkAdjustment *adjustment, gpointer data)
static void hadjustment_value_changed (GtkAdjustment *adjustment, gpointer data)
static void draw_xor_vline (GtkSheet *sheet)
static void draw_xor_hline (GtkSheet *sheet)
static void draw_xor_rectangle (GtkSheet *sheet, GtkSheetRange range)
static void gtk_sheet_draw_flashing_range (GtkSheet *sheet, GtkSheetRange range)
static guint new_column_width (GtkSheet *sheet, gint column, gint *x)
static guint new_row_height (GtkSheet *sheet, gint row, gint *y)
static void create_global_button (GtkSheet *sheet)
static void global_button_clicked (GtkWidget *widget, gpointer data)
static void create_sheet_entry (GtkSheet *sheet)
static void gtk_sheet_size_allocate_entry (GtkSheet *sheet)
static void size_allocate_column_title_buttons (GtkSheet *sheet)
static void size_allocate_row_title_buttons (GtkSheet *sheet)
static void gtk_sheet_recalc_top_ypixels (GtkSheet *sheet, gint row)
static void gtk_sheet_recalc_left_xpixels (GtkSheet *sheet, gint column)
static void row_button_set (GtkSheet *sheet, gint row)
static void column_button_set (GtkSheet *sheet, gint column)
static void row_button_release (GtkSheet *sheet, gint row)
static void column_button_release (GtkSheet *sheet, gint column)
static void gtk_sheet_button_draw (GtkSheet *sheet, gint row, gint column)
static void size_allocate_global_button (GtkSheet *sheet)
static void gtk_sheet_button_size_request (GtkSheet *sheet, GtkSheetButton *button, GtkRequisition *requisition)
static void gtk_sheet_set_cell_attributes (GtkSheet *sheet, gint row, gint col, GtkSheetCellAttr attributes)
static void init_attributes (GtkSheet *sheet, gint col, GtkSheetCellAttr *attributes)
static void gtk_sheet_real_range_clear (GtkSheet *sheet, const GtkSheetRange *range, gboolean delete)
static void gtk_sheet_real_cell_clear (GtkSheet *sheet, gint row, gint column, gboolean delete)
static GtkSheetCellgtk_sheet_cell_new (void)
static gint AddRow (GtkSheet *sheet, gint nrows)
static gint AddColumn (GtkSheet *sheet, gint ncols)
static gint InsertRow (GtkSheet *sheet, gint row, gint nrows)
static gint InsertColumn (GtkSheet *sheet, gint col, gint ncols)
static gint DeleteRow (GtkSheet *sheet, gint row, gint nrows)
static gint DeleteColumn (GtkSheet *sheet, gint col, gint ncols)
static gint GrowSheet (GtkSheet *sheet, gint newrows, gint newcols)
static gint CheckBounds (GtkSheet *sheet, gint row, gint col)
static void gtk_sheet_remove (GtkContainer *container, GtkWidget *widget)
static void gtk_sheet_realize_child (GtkSheet *sheet, GtkSheetChild *child)
static void gtk_sheet_position_child (GtkSheet *sheet, GtkSheetChild *child)
static void gtk_sheet_position_children (GtkSheet *sheet)
static void gtk_sheet_child_show (GtkSheetChild *child)
static void gtk_sheet_child_hide (GtkSheetChild *child)
static void gtk_sheet_column_size_request (GtkSheet *sheet, gint col, guint *requisition)
static void gtk_sheet_row_size_request (GtkSheet *sheet, gint row, guint *requisition)
void _gtkextra_signal_emit (GtkObject *object, guint signal_id,...)
GType gtk_sheet_get_type ()
static GtkSheetRangegtk_sheet_range_copy (const GtkSheetRange *range)
static void gtk_sheet_range_free (GtkSheetRange *range)
GType gtk_sheet_range_get_type (void)
GtkWidget * gtk_sheet_new (guint rows, guint columns, const gchar *title)
void gtk_sheet_construct (GtkSheet *sheet, guint rows, guint columns, const gchar *title)
GtkWidget * gtk_sheet_new_browser (guint rows, guint columns, const gchar *title)
void gtk_sheet_construct_browser (GtkSheet *sheet, guint rows, guint columns, const gchar *title)
GtkWidget * gtk_sheet_new_with_custom_entry (guint rows, guint columns, const gchar *title, GtkType entry_type)
void gtk_sheet_construct_with_custom_entry (GtkSheet *sheet, guint rows, guint columns, const gchar *title, GtkType entry_type)
void gtk_sheet_change_entry (GtkSheet *sheet, GtkType entry_type)
void gtk_sheet_show_grid (GtkSheet *sheet, gboolean show)
gboolean gtk_sheet_grid_visible (GtkSheet *sheet)
void gtk_sheet_set_background (GtkSheet *sheet, GdkColor *color)
void gtk_sheet_set_grid (GtkSheet *sheet, GdkColor *color)
guint gtk_sheet_get_columns_count (GtkSheet *sheet)
guint gtk_sheet_get_rows_count (GtkSheet *sheet)
gint gtk_sheet_get_state (GtkSheet *sheet)
void gtk_sheet_set_selection_mode (GtkSheet *sheet, gint mode)
void gtk_sheet_set_autoresize (GtkSheet *sheet, gboolean autoresize)
gboolean gtk_sheet_autoresize (GtkSheet *sheet)
void gtk_sheet_set_autoscroll (GtkSheet *sheet, gboolean autoscroll)
gboolean gtk_sheet_autoscroll (GtkSheet *sheet)
void gtk_sheet_set_clip_text (GtkSheet *sheet, gboolean clip_text)
gboolean gtk_sheet_clip_text (GtkSheet *sheet)
void gtk_sheet_set_justify_entry (GtkSheet *sheet, gboolean justify)
gboolean gtk_sheet_justify_entry (GtkSheet *sheet)
void gtk_sheet_set_locked (GtkSheet *sheet, gboolean locked)
gboolean gtk_sheet_locked (GtkSheet *sheet)
void gtk_sheet_set_title (GtkSheet *sheet, const gchar *title)
void gtk_sheet_freeze (GtkSheet *sheet)
void gtk_sheet_thaw (GtkSheet *sheet)
void gtk_sheet_set_row_titles_width (GtkSheet *sheet, guint width)
void gtk_sheet_set_column_titles_height (GtkSheet *sheet, guint height)
void gtk_sheet_show_column_titles (GtkSheet *sheet)
void gtk_sheet_show_row_titles (GtkSheet *sheet)
void gtk_sheet_hide_column_titles (GtkSheet *sheet)
void gtk_sheet_hide_row_titles (GtkSheet *sheet)
gboolean gtk_sheet_column_titles_visible (GtkSheet *sheet)
gboolean gtk_sheet_row_titles_visible (GtkSheet *sheet)
void gtk_sheet_set_column_title (GtkSheet *sheet, gint column, const gchar *title)
void gtk_sheet_set_row_title (GtkSheet *sheet, gint row, const gchar *title)
const gchar * gtk_sheet_get_row_title (GtkSheet *sheet, gint row)
const gchar * gtk_sheet_get_column_title (GtkSheet *sheet, gint column)
void gtk_sheet_row_button_add_label (GtkSheet *sheet, gint row, const gchar *label)
const gchar * gtk_sheet_row_button_get_label (GtkSheet *sheet, gint row)
void gtk_sheet_row_label_set_visibility (GtkSheet *sheet, gint row, gboolean visible)
void gtk_sheet_rows_labels_set_visibility (GtkSheet *sheet, gboolean visible)
void gtk_sheet_column_button_add_label (GtkSheet *sheet, gint column, const gchar *label)
const gchar * gtk_sheet_column_button_get_label (GtkSheet *sheet, gint column)
void gtk_sheet_column_label_set_visibility (GtkSheet *sheet, gint col, gboolean visible)
void gtk_sheet_columns_labels_set_visibility (GtkSheet *sheet, gboolean visible)
void gtk_sheet_row_button_justify (GtkSheet *sheet, gint row, GtkJustification justification)
void gtk_sheet_column_button_justify (GtkSheet *sheet, gint column, GtkJustification justification)
void gtk_sheet_moveto (GtkSheet *sheet, gint row, gint column, gfloat row_align, gfloat col_align)
void gtk_sheet_column_set_sensitivity (GtkSheet *sheet, gint column, gboolean sensitive)
void gtk_sheet_columns_set_sensitivity (GtkSheet *sheet, gboolean sensitive)
void gtk_sheet_columns_set_resizable (GtkSheet *sheet, gboolean resizable)
gboolean gtk_sheet_columns_resizable (GtkSheet *sheet)
void gtk_sheet_row_set_sensitivity (GtkSheet *sheet, gint row, gboolean sensitive)
void gtk_sheet_rows_set_sensitivity (GtkSheet *sheet, gboolean sensitive)
void gtk_sheet_rows_set_resizable (GtkSheet *sheet, gboolean resizable)
gboolean gtk_sheet_rows_resizable (GtkSheet *sheet)
void gtk_sheet_column_set_visibility (GtkSheet *sheet, gint column, gboolean visible)
void gtk_sheet_row_set_visibility (GtkSheet *sheet, gint row, gboolean visible)
void gtk_sheet_select_row (GtkSheet *sheet, gint row)
void gtk_sheet_select_column (GtkSheet *sheet, gint column)
void gtk_sheet_clip_range (GtkSheet *sheet, const GtkSheetRange *range)
void gtk_sheet_unclip_range (GtkSheet *sheet)
gboolean gtk_sheet_in_clip (GtkSheet *sheet)
void gtk_sheet_get_visible_range (GtkSheet *sheet, GtkSheetRange *range)
GtkAdjustment * gtk_sheet_get_vadjustment (GtkSheet *sheet)
GtkAdjustment * gtk_sheet_get_hadjustment (GtkSheet *sheet)
void gtk_sheet_set_vadjustment (GtkSheet *sheet, GtkAdjustment *adjustment)
void gtk_sheet_set_hadjustment (GtkSheet *sheet, GtkAdjustment *adjustment)
void gtk_sheet_set_cell_text (GtkSheet *sheet, gint row, gint col, const gchar *text)
void gtk_sheet_set_cell (GtkSheet *sheet, gint row, gint col, GtkJustification justification, const gchar *text)
void gtk_sheet_cell_clear (GtkSheet *sheet, gint row, gint column)
void gtk_sheet_cell_delete (GtkSheet *sheet, gint row, gint column)
void gtk_sheet_range_clear (GtkSheet *sheet, const GtkSheetRange *range)
void gtk_sheet_range_delete (GtkSheet *sheet, const GtkSheetRange *range)
gchar * gtk_sheet_cell_get_text (GtkSheet *sheet, gint row, gint col)
void gtk_sheet_link_cell (GtkSheet *sheet, gint row, gint col, gpointer link)
gpointer gtk_sheet_get_link (GtkSheet *sheet, gint row, gint col)
void gtk_sheet_remove_link (GtkSheet *sheet, gint row, gint col)
GtkStateType gtk_sheet_cell_get_state (GtkSheet *sheet, gint row, gint col)
gboolean gtk_sheet_get_pixel_info (GtkSheet *sheet, gint x, gint y, gint *row, gint *column)
gboolean gtk_sheet_get_cell_area (GtkSheet *sheet, gint row, gint column, GdkRectangle *area)
gboolean gtk_sheet_set_active_cell (GtkSheet *sheet, gint row, gint column)
void gtk_sheet_get_active_cell (GtkSheet *sheet, gint *row, gint *column)
void gtk_sheet_select_range (GtkSheet *sheet, const GtkSheetRange *range)
void gtk_sheet_unselect_range (GtkSheet *sheet)
GtkWidget * gtk_sheet_get_entry (GtkSheet *sheet)
GtkWidget * gtk_sheet_get_entry_widget (GtkSheet *sheet)
void gtk_sheet_set_column_width (GtkSheet *sheet, gint column, guint width)
void gtk_sheet_set_row_height (GtkSheet *sheet, gint row, guint height)
void gtk_sheet_add_column (GtkSheet *sheet, guint ncols)
void gtk_sheet_add_row (GtkSheet *sheet, guint nrows)
void gtk_sheet_insert_rows (GtkSheet *sheet, guint row, guint nrows)
void gtk_sheet_insert_columns (GtkSheet *sheet, guint col, guint ncols)
void gtk_sheet_delete_rows (GtkSheet *sheet, guint row, guint nrows)
void gtk_sheet_delete_columns (GtkSheet *sheet, guint col, guint ncols)
void gtk_sheet_range_set_background (GtkSheet *sheet, const GtkSheetRange *urange, const GdkColor *color)
void gtk_sheet_range_set_foreground (GtkSheet *sheet, const GtkSheetRange *urange, const GdkColor *color)
void gtk_sheet_range_set_justification (GtkSheet *sheet, const GtkSheetRange *urange, GtkJustification just)
void gtk_sheet_column_set_justification (GtkSheet *sheet, gint col, GtkJustification justification)
void gtk_sheet_range_set_editable (GtkSheet *sheet, const GtkSheetRange *urange, gboolean editable)
void gtk_sheet_range_set_visible (GtkSheet *sheet, const GtkSheetRange *urange, gboolean visible)
void gtk_sheet_range_set_border (GtkSheet *sheet, const GtkSheetRange *urange, gint mask, guint width, gint line_style)
void gtk_sheet_range_set_border_color (GtkSheet *sheet, const GtkSheetRange *urange, const GdkColor *color)
void gtk_sheet_range_set_font (GtkSheet *sheet, const GtkSheetRange *urange, PangoFontDescription *font)
gboolean gtk_sheet_get_attributes (GtkSheet *sheet, gint row, gint col, GtkSheetCellAttr *attributes)
GtkSheetChildgtk_sheet_put (GtkSheet *sheet, GtkWidget *child, gint x, gint y)
void gtk_sheet_attach_floating (GtkSheet *sheet, GtkWidget *widget, gint row, gint col)
void gtk_sheet_attach_default (GtkSheet *sheet, GtkWidget *widget, gint row, gint col)
void gtk_sheet_attach (GtkSheet *sheet, GtkWidget *widget, gint row, gint col, gint xoptions, gint yoptions, gint xpadding, gint ypadding)
void gtk_sheet_button_attach (GtkSheet *sheet, GtkWidget *widget, gint row, gint col)
static void label_size_request (GtkSheet *sheet, gchar *label, GtkRequisition *req)
void gtk_sheet_move_child (GtkSheet *sheet, GtkWidget *widget, gint x, gint y)
GtkSheetChildgtk_sheet_get_child_at (GtkSheet *sheet, gint row, gint col)

Variables

static GtkContainerClass * parent_class = NULL
static guint sheet_signals [LAST_SIGNAL] = {0}

Define Documentation

#define GTK_SHEET_FLAGS (   sheet)    (GTK_SHEET (sheet)->flags)

Definition at line 79 of file gtksheet_2_2.c.

#define GTK_SHEET_SET_FLAGS (   sheet,
  flag 
)    (GTK_SHEET_FLAGS (sheet) |= (flag))

Definition at line 80 of file gtksheet_2_2.c.

#define GTK_SHEET_UNSET_FLAGS (   sheet,
  flag 
)    (GTK_SHEET_FLAGS (sheet) &= ~(flag))

Definition at line 81 of file gtksheet_2_2.c.

#define GTK_SHEET_IS_FROZEN (   sheet)    (GTK_SHEET_FLAGS (sheet) & GTK_SHEET_IS_FROZEN)

Definition at line 83 of file gtksheet_2_2.c.

#define GTK_SHEET_IN_XDRAG (   sheet)    (GTK_SHEET_FLAGS (sheet) & GTK_SHEET_IN_XDRAG)

Definition at line 84 of file gtksheet_2_2.c.

#define GTK_SHEET_IN_YDRAG (   sheet)    (GTK_SHEET_FLAGS (sheet) & GTK_SHEET_IN_YDRAG)

Definition at line 85 of file gtksheet_2_2.c.

#define GTK_SHEET_IN_DRAG (   sheet)    (GTK_SHEET_FLAGS (sheet) & GTK_SHEET_IN_DRAG)

Definition at line 86 of file gtksheet_2_2.c.

#define GTK_SHEET_IN_SELECTION (   sheet)    (GTK_SHEET_FLAGS (sheet) & GTK_SHEET_IN_SELECTION)

Definition at line 87 of file gtksheet_2_2.c.

#define GTK_SHEET_IN_RESIZE (   sheet)    (GTK_SHEET_FLAGS (sheet) & GTK_SHEET_IN_RESIZE)

Definition at line 88 of file gtksheet_2_2.c.

#define GTK_SHEET_IN_CLIP (   sheet)    (GTK_SHEET_FLAGS (sheet) & GTK_SHEET_IN_CLIP)

Definition at line 89 of file gtksheet_2_2.c.

#define GTK_SHEET_REDRAW_PENDING (   sheet)    (GTK_SHEET_FLAGS (sheet) & GTK_SHEET_REDRAW_PENDING)

Definition at line 90 of file gtksheet_2_2.c.

#define CELL_SPACING   1

Definition at line 92 of file gtksheet_2_2.c.

#define DRAG_WIDTH   6

Definition at line 93 of file gtksheet_2_2.c.

#define TIMEOUT_SCROLL   20

Definition at line 94 of file gtksheet_2_2.c.

#define TIMEOUT_FLASH   200

Definition at line 95 of file gtksheet_2_2.c.

#define TIME_INTERVAL   8

Definition at line 96 of file gtksheet_2_2.c.

#define COLUMN_MIN_WIDTH   10

Definition at line 97 of file gtksheet_2_2.c.

#define MINROWS   1

Definition at line 98 of file gtksheet_2_2.c.

#define MINCOLS   1

Definition at line 99 of file gtksheet_2_2.c.

#define MAXLENGTH   30

Definition at line 100 of file gtksheet_2_2.c.

#define CELLOFFSET   4

Definition at line 101 of file gtksheet_2_2.c.

#define DEFAULT_COLUMN_WIDTH   80

Definition at line 102 of file gtksheet_2_2.c.

#define MIN_VISIBLE_ROW (   sheet)    sheet->view.row0

Definition at line 262 of file gtksheet_2_2.c.

#define MAX_VISIBLE_ROW (   sheet)    sheet->view.rowi

Definition at line 263 of file gtksheet_2_2.c.

#define MIN_VISIBLE_COLUMN (   sheet)    sheet->view.col0

Definition at line 264 of file gtksheet_2_2.c.

#define MAX_VISIBLE_COLUMN (   sheet)    sheet->view.coli

Definition at line 265 of file gtksheet_2_2.c.


Enumeration Type Documentation

anonymous enum
Enumerator:
GTK_SHEET_IS_LOCKED 
GTK_SHEET_IS_FROZEN 
GTK_SHEET_IN_XDRAG 
GTK_SHEET_IN_YDRAG 
GTK_SHEET_IN_DRAG 
GTK_SHEET_IN_SELECTION 
GTK_SHEET_IN_RESIZE 
GTK_SHEET_IN_CLIP 
GTK_SHEET_REDRAW_PENDING 

Definition at line 66 of file gtksheet_2_2.c.

anonymous enum
Enumerator:
SELECT_ROW 
SELECT_COLUMN 
SELECT_RANGE 
CLIP_RANGE 
RESIZE_RANGE 
MOVE_RANGE 
TRAVERSE 
DEACTIVATE 
ACTIVATE 
SET_CELL 
CLEAR_CELL 
CHANGED 
NEW_COL_WIDTH 
NEW_ROW_HEIGHT 
LAST_SIGNAL 

Definition at line 663 of file gtksheet_2_2.c.


Function Documentation

static guint DEFAULT_ROW_HEIGHT ( GtkWidget *  widget) [inline, static]

Definition at line 104 of file gtksheet_2_2.c.

static guint DEFAULT_FONT_ASCENT ( GtkWidget *  widget) [inline, static]

Definition at line 118 of file gtksheet_2_2.c.

static guint STRING_WIDTH ( GtkWidget *  widget,
PangoFontDescription *  font,
const gchar *  text 
) [inline, static]

Definition at line 131 of file gtksheet_2_2.c.

static guint DEFAULT_FONT_DESCENT ( GtkWidget *  widget) [inline, static]

Definition at line 146 of file gtksheet_2_2.c.

static gint ROW_TOP_YPIXEL ( GtkSheet sheet,
gint  nrow 
) [inline, static]

Definition at line 165 of file gtksheet_2_2.c.

static gint ROW_FROM_YPIXEL ( GtkSheet sheet,
gint  y 
) [inline, static]

Definition at line 176 of file gtksheet_2_2.c.

static gint COLUMN_LEFT_XPIXEL ( GtkSheet sheet,
gint  ncol 
) [inline, static]

Definition at line 201 of file gtksheet_2_2.c.

static gint COLUMN_FROM_XPIXEL ( GtkSheet sheet,
gint  x 
) [inline, static]

Definition at line 211 of file gtksheet_2_2.c.

static gint SHEET_HEIGHT ( GtkSheet sheet) [inline, static]

Definition at line 234 of file gtksheet_2_2.c.

static gint SHEET_WIDTH ( GtkSheet sheet) [inline, static]

Definition at line 250 of file gtksheet_2_2.c.

static gint POSSIBLE_XDRAG ( GtkSheet sheet,
gint  x,
gint *  drag_column 
) [inline, static]

Definition at line 269 of file gtksheet_2_2.c.

Here is the call graph for this function:

static gint POSSIBLE_YDRAG ( GtkSheet sheet,
gint  y,
gint *  drag_row 
) [inline, static]

Definition at line 291 of file gtksheet_2_2.c.

Here is the call graph for this function:

static gint POSSIBLE_DRAG ( GtkSheet sheet,
gint  x,
gint  y,
gint *  drag_row,
gint *  drag_column 
) [inline, static]

Definition at line 314 of file gtksheet_2_2.c.

Here is the call graph for this function:

static gint POSSIBLE_RESIZE ( GtkSheet sheet,
gint  x,
gint  y,
gint *  drag_row,
gint *  drag_column 
) [inline, static]

Definition at line 356 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void gtk_sheet_class_init ( GtkSheetClass klass) [static]

Definition at line 748 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void gtk_sheet_init ( GtkSheet sheet) [static]

Definition at line 935 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void gtk_sheet_destroy ( GtkObject *  object) [static]

Definition at line 2547 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void gtk_sheet_finalize ( GObject *  object) [static]

Definition at line 2511 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void gtk_sheet_style_set ( GtkWidget *  widget,
GtkStyle *  previous_style 
) [static]

Definition at line 2607 of file gtksheet_2_2.c.

static void gtk_sheet_realize ( GtkWidget *  widget) [static]

Definition at line 2628 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void gtk_sheet_unrealize ( GtkWidget *  widget) [static]

Definition at line 2828 of file gtksheet_2_2.c.

static void gtk_sheet_map ( GtkWidget *  widget) [static]

Definition at line 2864 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void gtk_sheet_unmap ( GtkWidget *  widget) [static]

Definition at line 2930 of file gtksheet_2_2.c.

static gint gtk_sheet_expose ( GtkWidget *  widget,
GdkEventExpose *  event 
) [static]

Definition at line 4798 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void gtk_sheet_forall ( GtkContainer *  container,
gboolean  include_internals,
GtkCallback  callback,
gpointer  callback_data 
) [static]

Definition at line 8603 of file gtksheet_2_2.c.

static void gtk_sheet_set_scroll_adjustments ( GtkSheet sheet,
GtkAdjustment *  hadjustment,
GtkAdjustment *  vadjustment 
) [static]

Definition at line 2500 of file gtksheet_2_2.c.

Here is the call graph for this function:

static gint gtk_sheet_button_press ( GtkWidget *  widget,
GdkEventButton *  event 
) [static]

Definition at line 4873 of file gtksheet_2_2.c.

Here is the call graph for this function:

static gint gtk_sheet_button_release ( GtkWidget *  widget,
GdkEventButton *  event 
) [static]

Definition at line 5149 of file gtksheet_2_2.c.

Here is the call graph for this function:

static gint gtk_sheet_motion ( GtkWidget *  widget,
GdkEventMotion *  event 
) [static]

Definition at line 5258 of file gtksheet_2_2.c.

Here is the call graph for this function:

static gint gtk_sheet_key_press ( GtkWidget *  widget,
GdkEventKey *  key 
) [static]

Definition at line 5604 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void gtk_sheet_size_request ( GtkWidget *  widget,
GtkRequisition *  requisition 
) [static]

Definition at line 5900 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void gtk_sheet_size_allocate ( GtkWidget *  widget,
GtkAllocation *  allocation 
) [static]

Definition at line 5948 of file gtksheet_2_2.c.

Here is the call graph for this function:

static gint gtk_sheet_range_isvisible ( GtkSheet sheet,
GtkSheetRange  range 
) [static]

Definition at line 2328 of file gtksheet_2_2.c.

static gint gtk_sheet_cell_isvisible ( GtkSheet sheet,
gint  row,
gint  column 
) [static]

Definition at line 2361 of file gtksheet_2_2.c.

Here is the call graph for this function:

static gint gtk_sheet_scroll ( gpointer  data) [static]

Definition at line 5032 of file gtksheet_2_2.c.

Here is the call graph for this function:

static gint gtk_sheet_flash ( gpointer  data) [static]

Definition at line 2201 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void gtk_sheet_cell_draw_default ( GtkSheet sheet,
gint  row,
gint  column 
) [static]

Definition at line 2976 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void gtk_sheet_cell_draw_border ( GtkSheet sheet,
gint  row,
gint  column,
gint  mask 
) [static]

Definition at line 3031 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void gtk_sheet_cell_draw_label ( GtkSheet sheet,
gint  row,
gint  column 
) [static]

Definition at line 3100 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void gtk_sheet_range_draw ( GtkSheet sheet,
const GtkSheetRange range 
) [static]

Definition at line 3276 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void gtk_sheet_range_draw_selection ( GtkSheet sheet,
GtkSheetRange  range 
) [static]

Definition at line 3406 of file gtksheet_2_2.c.

Here is the call graph for this function:

static gint gtk_sheet_move_query ( GtkSheet sheet,
gint  row,
gint  column 
) [static]

Definition at line 5470 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void gtk_sheet_real_select_range ( GtkSheet sheet,
GtkSheetRange range 
) [static]

Definition at line 4668 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void gtk_sheet_real_unselect_range ( GtkSheet sheet,
const GtkSheetRange range 
) [static]

Definition at line 4767 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void gtk_sheet_extend_selection ( GtkSheet sheet,
gint  row,
gint  column 
) [static]

Definition at line 5525 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void gtk_sheet_new_selection ( GtkSheet sheet,
GtkSheetRange range 
) [static]

Definition at line 4262 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void gtk_sheet_draw_border ( GtkSheet sheet,
GtkSheetRange  range 
) [static]

Definition at line 4513 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void gtk_sheet_draw_corners ( GtkSheet sheet,
GtkSheetRange  range 
) [static]

Definition at line 4561 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void gtk_sheet_entry_changed ( GtkWidget *  widget,
gpointer  data 
) [static]

Definition at line 3942 of file gtksheet_2_2.c.

Here is the call graph for this function:

static gboolean gtk_sheet_deactivate_cell ( GtkSheet sheet) [static]

Definition at line 3993 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void gtk_sheet_hide_active_cell ( GtkSheet sheet) [static]

Definition at line 4026 of file gtksheet_2_2.c.

Here is the call graph for this function:

static gboolean gtk_sheet_activate_cell ( GtkSheet sheet,
gint  row,
gint  col 
) [static]

Definition at line 4085 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void gtk_sheet_draw_active_cell ( GtkSheet sheet) [static]

Definition at line 4201 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void gtk_sheet_show_active_cell ( GtkSheet sheet) [static]

Definition at line 4130 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void gtk_sheet_click_cell ( GtkSheet sheet,
gint  row,
gint  column,
gboolean *  veto 
) [static]

Definition at line 5062 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void gtk_sheet_make_backing_pixmap ( GtkSheet sheet,
guint  width,
guint  height 
) [static]

Definition at line 4225 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void gtk_sheet_draw_backing_pixmap ( GtkSheet sheet,
GtkSheetRange  range 
) [static]

Definition at line 3473 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void adjust_scrollbars ( GtkSheet sheet) [static]

Definition at line 6632 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void vadjustment_changed ( GtkAdjustment *  adjustment,
gpointer  data 
) [static]

Definition at line 6692 of file gtksheet_2_2.c.

static void hadjustment_changed ( GtkAdjustment *  adjustment,
gpointer  data 
) [static]

Definition at line 6705 of file gtksheet_2_2.c.

static void vadjustment_value_changed ( GtkAdjustment *  adjustment,
gpointer  data 
) [static]

Definition at line 6719 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void hadjustment_value_changed ( GtkAdjustment *  adjustment,
gpointer  data 
) [static]

Definition at line 6826 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void draw_xor_vline ( GtkSheet sheet) [static]

Definition at line 6933 of file gtksheet_2_2.c.

static void draw_xor_hline ( GtkSheet sheet) [static]

Definition at line 6950 of file gtksheet_2_2.c.

static void draw_xor_rectangle ( GtkSheet sheet,
GtkSheetRange  range 
) [static]

Definition at line 6968 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void gtk_sheet_draw_flashing_range ( GtkSheet sheet,
GtkSheetRange  range 
) [static]

Definition at line 2283 of file gtksheet_2_2.c.

Here is the call graph for this function:

static guint new_column_width ( GtkSheet sheet,
gint  column,
gint *  x 
) [static]

Definition at line 7028 of file gtksheet_2_2.c.

Here is the call graph for this function:

static guint new_row_height ( GtkSheet sheet,
gint  row,
gint *  y 
) [static]

Definition at line 7070 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void create_global_button ( GtkSheet sheet) [static]

Definition at line 2788 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void global_button_clicked ( GtkWidget *  widget,
gpointer  data 
) [static]

Definition at line 2818 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void create_sheet_entry ( GtkSheet sheet) [static]

Definition at line 6248 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void gtk_sheet_size_allocate_entry ( GtkSheet sheet) [static]

Definition at line 6167 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void size_allocate_column_title_buttons ( GtkSheet sheet) [static]

Definition at line 6055 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void size_allocate_row_title_buttons ( GtkSheet sheet) [static]

Definition at line 6098 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void gtk_sheet_recalc_top_ypixels ( GtkSheet sheet,
gint  row 
) [static]

Definition at line 6138 of file gtksheet_2_2.c.

static void gtk_sheet_recalc_left_xpixels ( GtkSheet sheet,
gint  column 
) [static]

Definition at line 6151 of file gtksheet_2_2.c.

static void row_button_set ( GtkSheet sheet,
gint  row 
) [static]

Definition at line 6386 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void column_button_set ( GtkSheet sheet,
gint  column 
) [static]

Definition at line 6396 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void row_button_release ( GtkSheet sheet,
gint  row 
) [static]

Definition at line 6406 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void column_button_release ( GtkSheet sheet,
gint  column 
) [static]

Definition at line 6415 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void gtk_sheet_button_draw ( GtkSheet sheet,
gint  row,
gint  column 
) [static]

Definition at line 6424 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void size_allocate_global_button ( GtkSheet sheet) [static]

Definition at line 2799 of file gtksheet_2_2.c.

static void gtk_sheet_button_size_request ( GtkSheet sheet,
GtkSheetButton button,
GtkRequisition *  requisition 
) [static]

Definition at line 8386 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void gtk_sheet_set_cell_attributes ( GtkSheet sheet,
gint  row,
gint  col,
GtkSheetCellAttr  attributes 
) [static]

Definition at line 7703 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void init_attributes ( GtkSheet sheet,
gint  col,
GtkSheetCellAttr attributes 
) [static]

Definition at line 7761 of file gtksheet_2_2.c.

static void gtk_sheet_real_range_clear ( GtkSheet sheet,
const GtkSheetRange range,
gboolean  delete 
) [static]

Definition at line 3714 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void gtk_sheet_real_cell_clear ( GtkSheet sheet,
gint  row,
gint  column,
gboolean  delete 
) [static]

Definition at line 3659 of file gtksheet_2_2.c.

Here is the call graph for this function:

static GtkSheetCell * gtk_sheet_cell_new ( void  ) [static]

Definition at line 3524 of file gtksheet_2_2.c.

static gint AddRow ( GtkSheet sheet,
gint  nrows 
) [static]

Definition at line 7846 of file gtksheet_2_2.c.

Here is the call graph for this function:

static gint AddColumn ( GtkSheet sheet,
gint  ncols 
) [static]

Definition at line 7800 of file gtksheet_2_2.c.

static gint InsertRow ( GtkSheet sheet,
gint  row,
gint  nrows 
) [static]

Definition at line 7884 of file gtksheet_2_2.c.

Here is the call graph for this function:

static gint InsertColumn ( GtkSheet sheet,
gint  col,
gint  ncols 
) [static]

Definition at line 7925 of file gtksheet_2_2.c.

Here is the call graph for this function:

static gint DeleteRow ( GtkSheet sheet,
gint  row,
gint  nrows 
) [static]

Definition at line 7962 of file gtksheet_2_2.c.

Here is the call graph for this function:

static gint DeleteColumn ( GtkSheet sheet,
gint  col,
gint  ncols 
) [static]

Definition at line 8024 of file gtksheet_2_2.c.

Here is the call graph for this function:

static gint GrowSheet ( GtkSheet sheet,
gint  newrows,
gint  newcols 
) [static]

Definition at line 8076 of file gtksheet_2_2.c.

static gint CheckBounds ( GtkSheet sheet,
gint  row,
gint  col 
) [static]

Definition at line 8115 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void gtk_sheet_remove ( GtkContainer *  container,
GtkWidget *  widget 
) [static]

Definition at line 8668 of file gtksheet_2_2.c.

static void gtk_sheet_realize_child ( GtkSheet sheet,
GtkSheetChild child 
) [static]

Definition at line 8709 of file gtksheet_2_2.c.

static void gtk_sheet_position_child ( GtkSheet sheet,
GtkSheetChild child 
) [static]

Definition at line 8511 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void gtk_sheet_position_children ( GtkSheet sheet) [static]

Definition at line 8633 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void gtk_sheet_child_show ( GtkSheetChild child) [static]

Definition at line 8763 of file gtksheet_2_2.c.

static void gtk_sheet_child_hide ( GtkSheetChild child) [static]

Definition at line 8756 of file gtksheet_2_2.c.

static void gtk_sheet_column_size_request ( GtkSheet sheet,
gint  col,
guint *  requisition 
) [static]

Definition at line 8452 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void gtk_sheet_row_size_request ( GtkSheet sheet,
gint  row,
guint *  requisition 
) [static]

Definition at line 8423 of file gtksheet_2_2.c.

Here is the call graph for this function:

void _gtkextra_signal_emit ( GtkObject *  object,
guint  signal_id,
  ... 
)

Definition at line 606 of file gtksheet_2_2.c.

GType gtk_sheet_get_type ( void  )

Definition at line 686 of file gtksheet_2_2.c.

Here is the call graph for this function:

static GtkSheetRange* gtk_sheet_range_copy ( const GtkSheetRange range) [static]

Definition at line 713 of file gtksheet_2_2.c.

static void gtk_sheet_range_free ( GtkSheetRange range) [static]

Definition at line 727 of file gtksheet_2_2.c.

GType gtk_sheet_range_get_type ( void  )

Definition at line 735 of file gtksheet_2_2.c.

Here is the call graph for this function:

GtkWidget* gtk_sheet_new ( guint  rows,
guint  columns,
const gchar *  title 
)

Definition at line 1011 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_construct ( GtkSheet sheet,
guint  rows,
guint  columns,
const gchar *  title 
)

Definition at line 1027 of file gtksheet_2_2.c.

Here is the call graph for this function:

GtkWidget* gtk_sheet_new_browser ( guint  rows,
guint  columns,
const gchar *  title 
)

Definition at line 1069 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_construct_browser ( GtkSheet sheet,
guint  rows,
guint  columns,
const gchar *  title 
)

Definition at line 1081 of file gtksheet_2_2.c.

Here is the call graph for this function:

GtkWidget* gtk_sheet_new_with_custom_entry ( guint  rows,
guint  columns,
const gchar *  title,
GtkType  entry_type 
)

Definition at line 1091 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_construct_with_custom_entry ( GtkSheet sheet,
guint  rows,
guint  columns,
const gchar *  title,
GtkType  entry_type 
)

Definition at line 1105 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_change_entry ( GtkSheet sheet,
GtkType  entry_type 
)

Definition at line 1118 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_show_grid ( GtkSheet sheet,
gboolean  show 
)

Definition at line 1146 of file gtksheet_2_2.c.

Here is the call graph for this function:

gboolean gtk_sheet_grid_visible ( GtkSheet sheet)

Definition at line 1160 of file gtksheet_2_2.c.

void gtk_sheet_set_background ( GtkSheet sheet,
GdkColor *  color 
)

Definition at line 1169 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_set_grid ( GtkSheet sheet,
GdkColor *  color 
)

Definition at line 1184 of file gtksheet_2_2.c.

Here is the call graph for this function:

guint gtk_sheet_get_columns_count ( GtkSheet sheet)

Definition at line 1199 of file gtksheet_2_2.c.

guint gtk_sheet_get_rows_count ( GtkSheet sheet)

Definition at line 1208 of file gtksheet_2_2.c.

gint gtk_sheet_get_state ( GtkSheet sheet)

Definition at line 1217 of file gtksheet_2_2.c.

void gtk_sheet_set_selection_mode ( GtkSheet sheet,
gint  mode 
)

Definition at line 1226 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_set_autoresize ( GtkSheet sheet,
gboolean  autoresize 
)

Definition at line 1238 of file gtksheet_2_2.c.

gboolean gtk_sheet_autoresize ( GtkSheet sheet)

Definition at line 1247 of file gtksheet_2_2.c.

void gtk_sheet_set_autoscroll ( GtkSheet sheet,
gboolean  autoscroll 
)

Definition at line 1256 of file gtksheet_2_2.c.

gboolean gtk_sheet_autoscroll ( GtkSheet sheet)

Definition at line 1265 of file gtksheet_2_2.c.

void gtk_sheet_set_clip_text ( GtkSheet sheet,
gboolean  clip_text 
)

Definition at line 1274 of file gtksheet_2_2.c.

gboolean gtk_sheet_clip_text ( GtkSheet sheet)

Definition at line 1283 of file gtksheet_2_2.c.

void gtk_sheet_set_justify_entry ( GtkSheet sheet,
gboolean  justify 
)

Definition at line 1292 of file gtksheet_2_2.c.

gboolean gtk_sheet_justify_entry ( GtkSheet sheet)

Definition at line 1301 of file gtksheet_2_2.c.

void gtk_sheet_set_locked ( GtkSheet sheet,
gboolean  locked 
)

Definition at line 1310 of file gtksheet_2_2.c.

gboolean gtk_sheet_locked ( GtkSheet sheet)

Definition at line 1319 of file gtksheet_2_2.c.

void gtk_sheet_set_title ( GtkSheet sheet,
const gchar *  title 
)

Definition at line 1331 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_freeze ( GtkSheet sheet)

Definition at line 1378 of file gtksheet_2_2.c.

void gtk_sheet_thaw ( GtkSheet sheet)

Definition at line 1388 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_set_row_titles_width ( GtkSheet sheet,
guint  width 
)

Definition at line 1427 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_set_column_titles_height ( GtkSheet sheet,
guint  height 
)

Definition at line 1446 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_show_column_titles ( GtkSheet sheet)

Definition at line 1465 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_show_row_titles ( GtkSheet sheet)

Definition at line 1500 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_hide_column_titles ( GtkSheet sheet)

Definition at line 1535 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_hide_row_titles ( GtkSheet sheet)

Definition at line 1567 of file gtksheet_2_2.c.

Here is the call graph for this function:

gboolean gtk_sheet_column_titles_visible ( GtkSheet sheet)

Definition at line 1598 of file gtksheet_2_2.c.

gboolean gtk_sheet_row_titles_visible ( GtkSheet sheet)

Definition at line 1606 of file gtksheet_2_2.c.

void gtk_sheet_set_column_title ( GtkSheet sheet,
gint  column,
const gchar *  title 
)

Definition at line 1614 of file gtksheet_2_2.c.

void gtk_sheet_set_row_title ( GtkSheet sheet,
gint  row,
const gchar *  title 
)

Definition at line 1628 of file gtksheet_2_2.c.

const gchar* gtk_sheet_get_row_title ( GtkSheet sheet,
gint  row 
)

Definition at line 1642 of file gtksheet_2_2.c.

const gchar* gtk_sheet_get_column_title ( GtkSheet sheet,
gint  column 
)

Definition at line 1652 of file gtksheet_2_2.c.

void gtk_sheet_row_button_add_label ( GtkSheet sheet,
gint  row,
const gchar *  label 
)

Definition at line 1662 of file gtksheet_2_2.c.

Here is the call graph for this function:

const gchar* gtk_sheet_row_button_get_label ( GtkSheet sheet,
gint  row 
)

Definition at line 1696 of file gtksheet_2_2.c.

void gtk_sheet_row_label_set_visibility ( GtkSheet sheet,
gint  row,
gboolean  visible 
)

Definition at line 1707 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_rows_labels_set_visibility ( GtkSheet sheet,
gboolean  visible 
)

Definition at line 1723 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_column_button_add_label ( GtkSheet sheet,
gint  column,
const gchar *  label 
)

Definition at line 1736 of file gtksheet_2_2.c.

Here is the call graph for this function:

const gchar* gtk_sheet_column_button_get_label ( GtkSheet sheet,
gint  column 
)

Definition at line 1769 of file gtksheet_2_2.c.

void gtk_sheet_column_label_set_visibility ( GtkSheet sheet,
gint  col,
gboolean  visible 
)

Definition at line 1780 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_columns_labels_set_visibility ( GtkSheet sheet,
gboolean  visible 
)

Definition at line 1796 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_row_button_justify ( GtkSheet sheet,
gint  row,
GtkJustification  justification 
)

Definition at line 1808 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_column_button_justify ( GtkSheet sheet,
gint  column,
GtkJustification  justification 
)

Definition at line 1828 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_moveto ( GtkSheet sheet,
gint  row,
gint  column,
gfloat  row_align,
gfloat  col_align 
)

Definition at line 1849 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_column_set_sensitivity ( GtkSheet sheet,
gint  column,
gboolean  sensitive 
)

Definition at line 1946 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_columns_set_sensitivity ( GtkSheet sheet,
gboolean  sensitive 
)

Definition at line 1965 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_columns_set_resizable ( GtkSheet sheet,
gboolean  resizable 
)

Definition at line 1977 of file gtksheet_2_2.c.

gboolean gtk_sheet_columns_resizable ( GtkSheet sheet)

Definition at line 1986 of file gtksheet_2_2.c.

void gtk_sheet_row_set_sensitivity ( GtkSheet sheet,
gint  row,
gboolean  sensitive 
)

Definition at line 1995 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_rows_set_sensitivity ( GtkSheet sheet,
gboolean  sensitive 
)

Definition at line 2014 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_rows_set_resizable ( GtkSheet sheet,
gboolean  resizable 
)

Definition at line 2027 of file gtksheet_2_2.c.

gboolean gtk_sheet_rows_resizable ( GtkSheet sheet)

Definition at line 2036 of file gtksheet_2_2.c.

void gtk_sheet_column_set_visibility ( GtkSheet sheet,
gint  column,
gboolean  visible 
)

Definition at line 2045 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_row_set_visibility ( GtkSheet sheet,
gint  row,
gboolean  visible 
)

Definition at line 2065 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_select_row ( GtkSheet sheet,
gint  row 
)

Definition at line 2085 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_select_column ( GtkSheet sheet,
gint  column 
)

Definition at line 2118 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_clip_range ( GtkSheet sheet,
const GtkSheetRange range 
)

Definition at line 2151 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_unclip_range ( GtkSheet sheet)

Definition at line 2175 of file gtksheet_2_2.c.

Here is the call graph for this function:

gboolean gtk_sheet_in_clip ( GtkSheet sheet)

Definition at line 2192 of file gtksheet_2_2.c.

void gtk_sheet_get_visible_range ( GtkSheet sheet,
GtkSheetRange range 
)

Definition at line 2375 of file gtksheet_2_2.c.

GtkAdjustment* gtk_sheet_get_vadjustment ( GtkSheet sheet)

Definition at line 2390 of file gtksheet_2_2.c.

GtkAdjustment* gtk_sheet_get_hadjustment ( GtkSheet sheet)

Definition at line 2399 of file gtksheet_2_2.c.

void gtk_sheet_set_vadjustment ( GtkSheet sheet,
GtkAdjustment *  adjustment 
)

Definition at line 2408 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_set_hadjustment ( GtkSheet sheet,
GtkAdjustment *  adjustment 
)

Definition at line 2454 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_set_cell_text ( GtkSheet sheet,
gint  row,
gint  col,
const gchar *  text 
)

Definition at line 3535 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_set_cell ( GtkSheet sheet,
gint  row,
gint  col,
GtkJustification  justification,
const gchar *  text 
)

Definition at line 3549 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_cell_clear ( GtkSheet sheet,
gint  row,
gint  column 
)

Definition at line 3613 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_cell_delete ( GtkSheet sheet,
gint  row,
gint  column 
)

Definition at line 3636 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_range_clear ( GtkSheet sheet,
const GtkSheetRange range 
)

Definition at line 3696 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_range_delete ( GtkSheet sheet,
const GtkSheetRange range 
)

Definition at line 3705 of file gtksheet_2_2.c.

Here is the call graph for this function:

gchar* gtk_sheet_cell_get_text ( GtkSheet sheet,
gint  row,
gint  col 
)

Definition at line 3743 of file gtksheet_2_2.c.

void gtk_sheet_link_cell ( GtkSheet sheet,
gint  row,
gint  col,
gpointer  link 
)

Definition at line 3760 of file gtksheet_2_2.c.

Here is the call graph for this function:

gpointer gtk_sheet_get_link ( GtkSheet sheet,
gint  row,
gint  col 
)

Definition at line 3775 of file gtksheet_2_2.c.

void gtk_sheet_remove_link ( GtkSheet sheet,
gint  row,
gint  col 
)

Definition at line 3790 of file gtksheet_2_2.c.

GtkStateType gtk_sheet_cell_get_state ( GtkSheet sheet,
gint  row,
gint  col 
)

Definition at line 3806 of file gtksheet_2_2.c.

gboolean gtk_sheet_get_pixel_info ( GtkSheet sheet,
gint  x,
gint  y,
gint *  row,
gint *  column 
)

Definition at line 3841 of file gtksheet_2_2.c.

Here is the call graph for this function:

gboolean gtk_sheet_get_cell_area ( GtkSheet sheet,
gint  row,
gint  column,
GdkRectangle *  area 
)

Definition at line 3870 of file gtksheet_2_2.c.

Here is the call graph for this function:

gboolean gtk_sheet_set_active_cell ( GtkSheet sheet,
gint  row,
gint  column 
)

Definition at line 3910 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_get_active_cell ( GtkSheet sheet,
gint *  row,
gint *  column 
)

Definition at line 3932 of file gtksheet_2_2.c.

void gtk_sheet_select_range ( GtkSheet sheet,
const GtkSheetRange range 
)

Definition at line 4725 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_unselect_range ( GtkSheet sheet)

Definition at line 4758 of file gtksheet_2_2.c.

Here is the call graph for this function:

GtkWidget* gtk_sheet_get_entry ( GtkSheet sheet)

Definition at line 6331 of file gtksheet_2_2.c.

GtkWidget* gtk_sheet_get_entry_widget ( GtkSheet sheet)

Definition at line 6375 of file gtksheet_2_2.c.

void gtk_sheet_set_column_width ( GtkSheet sheet,
gint  column,
guint  width 
)

Definition at line 7110 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_set_row_height ( GtkSheet sheet,
gint  row,
guint  height 
)

Definition at line 7142 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_add_column ( GtkSheet sheet,
guint  ncols 
)

Definition at line 7175 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_add_row ( GtkSheet sheet,
guint  nrows 
)

Definition at line 7196 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_insert_rows ( GtkSheet sheet,
guint  row,
guint  nrows 
)

Definition at line 7217 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_insert_columns ( GtkSheet sheet,
guint  col,
guint  ncols 
)

Definition at line 7254 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_delete_rows ( GtkSheet sheet,
guint  row,
guint  nrows 
)

Definition at line 7291 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_delete_columns ( GtkSheet sheet,
guint  col,
guint  ncols 
)

Definition at line 7358 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_range_set_background ( GtkSheet sheet,
const GtkSheetRange urange,
const GdkColor *  color 
)

Definition at line 7425 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_range_set_foreground ( GtkSheet sheet,
const GtkSheetRange urange,
const GdkColor *  color 
)

Definition at line 7461 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_range_set_justification ( GtkSheet sheet,
const GtkSheetRange urange,
GtkJustification  just 
)

Definition at line 7493 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_column_set_justification ( GtkSheet sheet,
gint  col,
GtkJustification  justification 
)

Definition at line 7524 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_range_set_editable ( GtkSheet sheet,
const GtkSheetRange urange,
gboolean  editable 
)

Definition at line 7541 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_range_set_visible ( GtkSheet sheet,
const GtkSheetRange urange,
gboolean  visible 
)

Definition at line 7568 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_range_set_border ( GtkSheet sheet,
const GtkSheetRange urange,
gint  mask,
guint  width,
gint  line_style 
)

Definition at line 7595 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_range_set_border_color ( GtkSheet sheet,
const GtkSheetRange urange,
const GdkColor *  color 
)

Definition at line 7632 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_range_set_font ( GtkSheet sheet,
const GtkSheetRange urange,
PangoFontDescription *  font 
)

Definition at line 7659 of file gtksheet_2_2.c.

Here is the call graph for this function:

gboolean gtk_sheet_get_attributes ( GtkSheet sheet,
gint  row,
gint  col,
GtkSheetCellAttr attributes 
)

Definition at line 7726 of file gtksheet_2_2.c.

Here is the call graph for this function:

GtkSheetChild* gtk_sheet_put ( GtkSheet sheet,
GtkWidget *  child,
gint  x,
gint  y 
)

Definition at line 8139 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_attach_floating ( GtkSheet sheet,
GtkWidget *  widget,
gint  row,
gint  col 
)

Definition at line 8193 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_attach_default ( GtkSheet sheet,
GtkWidget *  widget,
gint  row,
gint  col 
)

Definition at line 8213 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_attach ( GtkSheet sheet,
GtkWidget *  widget,
gint  row,
gint  col,
gint  xoptions,
gint  yoptions,
gint  xpadding,
gint  ypadding 
)

Definition at line 8226 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_button_attach ( GtkSheet sheet,
GtkWidget *  widget,
gint  row,
gint  col 
)

Definition at line 8290 of file gtksheet_2_2.c.

Here is the call graph for this function:

static void label_size_request ( GtkSheet sheet,
gchar *  label,
GtkRequisition *  req 
) [static]

Definition at line 8358 of file gtksheet_2_2.c.

Here is the call graph for this function:

void gtk_sheet_move_child ( GtkSheet sheet,
GtkWidget *  widget,
gint  x,
gint  y 
)

Definition at line 8481 of file gtksheet_2_2.c.

Here is the call graph for this function:

GtkSheetChild* gtk_sheet_get_child_at ( GtkSheet sheet,
gint  row,
gint  col 
)

Definition at line 8730 of file gtksheet_2_2.c.


Variable Documentation

GtkContainerClass* parent_class = NULL [static]

Definition at line 681 of file gtksheet_2_2.c.

guint sheet_signals[LAST_SIGNAL] = {0} [static]

Definition at line 682 of file gtksheet_2_2.c.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines