* You can also set many attributes as: border, foreground and background color,
* text justification, and more.
*
* You can also set many attributes as: border, foreground and background color,
* text justification, and more.
*
sheet_range_type =
g_boxed_type_register_static ("GtkSheetRange",
(GBoxedCopyFunc) gtk_sheet_range_copy,
sheet_range_type =
g_boxed_type_register_static ("GtkSheetRange",
(GBoxedCopyFunc) gtk_sheet_range_copy,
height = ROW_TOP_YPIXEL (sheet,sheet->clip_range.rowi)- y+
yyy_row_height (sheet, sheet->clip_range.rowi)- 1;
height = ROW_TOP_YPIXEL (sheet,sheet->clip_range.rowi)- y+
yyy_row_height (sheet, sheet->clip_range.rowi)- 1;
g_return_val_if_fail (GTK_IS_SHEET (sheet), 0);
/* bounds checking, return false if the user clicked
g_return_val_if_fail (GTK_IS_SHEET (sheet), 0);
/* bounds checking, return false if the user clicked
trow = ROW_FROM_YPIXEL (sheet, y);
if (trow >= yyy_row_count (sheet))
return FALSE;
trow = ROW_FROM_YPIXEL (sheet, y);
if (trow >= yyy_row_count (sheet))
return FALSE;
sheet->cursor_drag->type == GDK_SIZING &&
!GTK_SHEET_IN_SELECTION (sheet) && !GTK_SHEET_IN_RESIZE (sheet))
{
sheet->cursor_drag->type == GDK_SIZING &&
!GTK_SHEET_IN_SELECTION (sheet) && !GTK_SHEET_IN_RESIZE (sheet))
{
row = MIN_VISIBLE_ROW (sheet);
while (! xxx_column_is_visible (sheet, col) && col < xxx_column_count (sheet) - 1) col++;
if (strlen (gtk_entry_get_text (GTK_ENTRY (gtk_sheet_get_entry (sheet)))) == 0
row = MIN_VISIBLE_ROW (sheet);
while (! xxx_column_is_visible (sheet, col) && col < xxx_column_count (sheet) - 1) col++;
if (strlen (gtk_entry_get_text (GTK_ENTRY (gtk_sheet_get_entry (sheet)))) == 0
{
gtk_sheet_click_cell (sheet, row, col, &veto);
}
{
gtk_sheet_click_cell (sheet, row, col, &veto);
}
{
GTK_SHEET_SET_FLAGS (sheet, GTK_SHEET_IN_SELECTION);
if (extend_selection) return TRUE;
{
GTK_SHEET_SET_FLAGS (sheet, GTK_SHEET_IN_SELECTION);
if (extend_selection) return TRUE;
{
area.width = area.width + area.x;
area.x = 0;
}
if (area.width > clip_area.width) area.width = clip_area.width + 10;
{
area.width = area.width + area.x;
area.x = 0;
}
if (area.width > clip_area.width) area.width = clip_area.width + 10;