GtkExtra 3.0 Tutorial
Prev |  | Next

# Chapter 4. GtkSheet

# 4.1. Introduction

GtkSheet is a spreadsheet widget for Gtk (an Excel-like table)

A GtkSheetEntry widget( a cell in fact) is a GtkEntry subclass with the following differences : - It doesn't draw the border. - It is dinamically resized as the text is typed. - It allows right/left/center text justification (gtk_entry_size_allocate & entry_adjust_scroll)

In a cell you may pack text , pictures or other widgets. GtkEntry is a one text-line widget, so if you are looking for an Excel-cell like behaviour(a multi -line cell) , you should probably consider improving GtkSheet. The maximum number of rows/columns in a sheet is an unsigned integer so in fact the maximum size of the sheet depends on the available memory of your system.

Prev | Home | Next
Getting GtkExtra |  | Creating a Sheet