GtkSheet

GtkSheet

A spreadsheet widget for displaying and editing data in tables

Object Hierarchy

GtkObject
`-- GtkWidget
       `-- GtkContainer
              `-- GtkSheet

Direct subclasses

None.

Description

A spreadsheet widget for displaying and editing data in tables. It gives all the tools and the graphic interface to build applications that need an editable grid of cells.

Constructor

GetSheet (int rows, int cols, String title);
--

Methods

add_column()
 Add a column at a specific position
add_row()
 Add a row at a specific position
attach()
 Attach a widget to a cell.
button_attach()
 Attach a button???
cell_clear()
 Clear a cell (remove contents)
cell_delete()
 Removes all the content from a cell
cell_get_state()
 Get the cell state???
cell_get_text()
 Get the content of a cell
change_entry()
 ???
columns_labels_set_visibility()
 Shows or hides the column labels
columns_set_sensitivity()
 Sets the sensitivity of all columns - like col_set_sensitivity, but for all rows
column_button_add_label()
 Add a label to the column title
column_button_justify()
 Sets the alignment of a column title
column_label_set_visibility()
 Shows or hides a column title
column_set_justification()
 Set the justification/alignment of a whole column
column_set_sensitivity()
 Set the column sensivity.
column_set_visibility()
 Shows or hides an entire column
construct()
 ...
construct_browser()
 ???
construct_with_custom_entry()
 ???
delete_columns()
 Delete columns from the sheet
delete_rows()
 Delete rows from the sheet
freeze()
 Freeze the widget.
get_active_cell()
 Returns the position of the active cell
get_columns_count()
 Get the number of columns defined in the GtkSheet
get_entry()
 [perhaps] Returns the entry used for cell content insertion
get_entry_widget()
 Returns the widget with which you enter the text in the cells
get_rows_count()
 Get the number of rows defined in the GtkSheet
get_state()
 Checks the state????
grid_visible()
 Checks if the grid is visible
hide_column_titles()
 Hide the column titles on the top
hide_row_titles()
 Hide the row titles on the left side
insert_columns()
 Insert a number of columns into the sheet
insert_rows()
 Insert a number of columns into the sheet
moveto()
 ???
move_child()
 ???
remove_link()
 ...
rows_labels_set_visibility()
 Hides or shows all row titles
rows_set_sensitivity()
 Sets the sensitivity of all rows.
row_button_add_label()
 Add a label to the row title
row_button_justify()
 Sets the alignment of a row title
row_label_set_visibility()
 Shows or hides a row title
row_set_sensitivity()
 Set the row sensivity.
row_set_visibility()
 Shows or hides an entire row
select_column()
 Select an entire column
select_row()
 Select an entire row
set_active_cell()
 Activate/select one cell
set_background()
 Set the background color of the whole sheet
set_cell()
 Set the contents of a cell
set_cell_text()
 Set the text of a cell
set_column_title()
 Set the title of a column
set_column_titles_height()
 Set the height of the column titles
set_column_width()
 Set the width of a column
set_grid()
 Set the color of the grid lines
set_hadjustment()
 ...
set_row_height()
 Set the height of a row
set_row_title()
 Set the title of a row
set_row_titles_width()
 Set the width of the row titles on the left
set_selection_mode()
 Set the selection mode
set_title()
 Set the title of the whole sheet
set_vadjustment()
 ...
show_column_titles()
 Make the column titles visible
show_grid()
 Show or hide the grid
show_row_titles()
 Show the row titles
thaw()
 Continue updating the widget
unclip_range()
 ...
unselect_range()
 Removes a selection on more than 1 cell leaving only 1 cell selected

Signals

"select_row"
 
"select_column"
 
"select_range"
 
"clip_range"
 
"resize_range"
 
"move_range"
 
"deactivate"
 
"activate"
 
"set_cell"
 
"clear_cell"
 
"changed"
 
"new_col_width"
 
"new_row_height"
 
"last_signal"
 

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.