This is gtkada_rm.info, produced by makeinfo version 4.5 from
gtkada_rm.texi.

INFO-DIR-SECTION User Interface Toolkit
START-INFO-DIR-ENTRY
* GtkAda_Rm: (gtkada_rm).           Ada95 graphical tookit based on GTK+ (Reference Manual)
END-INFO-DIR-ENTRY


File: gtkada_rm.info,  Node: Gtk.Extra.Plot_Surface Subprograms,  Prev: Gtk.Extra.Plot_Surface Widget Hierarchy,  Up: Package_Gtk.Extra.Plot_Surface

Subprograms
===========

procedure Gtk_New
       (Widget             : out    Gtk_Plot_Surface;
        Func               :        Gtk.Extra.Plot.Plot3D_Function
                            := null);

Create a new surface.
If Func is null, you have to explicitely specify the set of points
found in the data set. Otherwise, the points will be generated
automatically from Func.
function Get_Type              return Gtk.Gtk_Type;


Return the internal value associated with this widget.
function Get_Grid_Visible
       (Data               : access Gtk_Plot_Surface_Record)
        return Boolean;

Return True if the grid is currently visible for this data set.
procedure Set_Grid_Visible
       (Data               : access Gtk_Plot_Surface_Record;
        Visible            :        Boolean);

Choose whether the grid should be visible
function Get_Mesh_Visible
       (Data               : access Gtk_Plot_Surface_Record)
        return Boolean;

Return True if the wireframe mesh should be drawn.
procedure Set_Mesh_Visible
       (Data               : access Gtk_Plot_Surface_Record;
        Visible            :        Boolean);

Indicate whether the wireframe mesh should be visible.
function Get_Nx
       (Data               : access Gtk_Plot_Surface_Record)
        return Gint;

procedure Set_Nx
       (Data               : access Gtk_Plot_Surface_Record;
        Nx                 :        Gint);

procedure Set_Points
       (Data               : access Gtk_Plot_Surface_Record;
        X                  :        Gdouble_Array_Access;
        Y                  :        Gdouble_Array_Access;
        Z                  :        Gdouble_Array_Access;
        Dx                 :        Gdouble_Array_Access;
        Dy                 :        Gdouble_Array_Access;
        Dz                 :        Gdouble_Array_Access);

Set all the values of the data set at once.
procedure Get_Points
       (Data               : access Gtk_Plot_Surface_Record;
        X                  : out    Points_Array;
        Y                  : out    Points_Array;
        Z                  : out    Points_Array;
        Dx                 : out    Points_Array;
        Dy                 : out    Points_Array;
        Dz                 : out    Points_Array);

Return the values contained in the data set.
function Get_X
       (Data               : access Gtk_Plot_Surface_Record)
        return Points_Array;

function Get_Z
       (Data               : access Gtk_Plot_Surface_Record)
        return Points_Array;

Return the values contained in the data set.
function Get_Xstep
       (Data               : access Gtk_Plot_Surface_Record)
        return Gdouble;

procedure Set_Xstep
       (Data               : access Gtk_Plot_Surface_Record;
        Step               :        Gdouble);

procedure Set_Color
       (Data               : access Gtk_Plot_Surface_Record;
        Color              :        Gdk.Color.Gdk_Color);

Set the color to use for the surface
procedure Set_Grid_Background
       (Data               : access Gtk_Plot_Surface_Record;
        Background         :        Gdk.Color.Gdk_Color);

Set the background color to use for the grid
procedure Set_Shadow
       (Data               : access Gtk_Plot_Surface_Record;
        Color              :        Gdk.Color.Gdk_Color);

Set the color to use for the shadows.
procedure Set_Grid_Foreground
       (Data               : access Gtk_Plot_Surface_Record;
        Foreground         :        Gdk.Color.Gdk_Color);

Set the foreground color to use for the grid
procedure Set_Transparent
       (Data               : access Gtk_Plot_Surface_Record;
        Transparent        :        Boolean);

Whether the plot is transparent. If Transparent is true, all background
attributes are ignored
procedure Build_Mesh
       (Data               : access Gtk_Plot_Surface_Record);

???
procedure Recalc_Nodes
       (Data               : access Gtk_Plot_Surface_Record);

???
Lightning model
---------------

procedure Set_Ambient
       (Data               : access Gtk_Plot_Surface_Record;
        Ambient            :        Gdouble);

Set the ambient
procedure Set_Light
       (Data               : access Gtk_Plot_Surface_Record;
        X, Y, Z            :        Gdouble);

Set the orientation of the light vector
procedure Use_Height_Gradient
       (Data               : access Gtk_Plot_Surface_Record;
        Use_Gradient       :        Boolean);

???
procedure Use_Amplitud
       (Data               : access Gtk_Plot_Surface_Record;
        Amplitud           :        Boolean);


File: gtkada_rm.info,  Node: Package_Gtk.Extra.Sheet,  Next: Package_Gtk.File_Selection,  Prev: Package_Gtk.Extra.Plot_Surface,  Up: Top

Package Gtk.Extra.Sheet
***********************

A Gtk_Sheet is a table like the one you can find in most spreadsheets.
Each cell can contain some text or any kind of widgets.

* Menu:

* Gtk.Extra.Sheet Widget Hierarchy::
* Gtk.Extra.Sheet Signals::
* Gtk.Extra.Sheet Types::
* Gtk.Extra.Sheet Subprograms::


File: gtkada_rm.info,  Node: Gtk.Extra.Sheet Widget Hierarchy,  Next: Gtk.Extra.Sheet Signals,  Up: Package_Gtk.Extra.Sheet

Widget Hierarchy
================

     GObject                       (*note Package_Glib.Object::)
     Gtk_Object                    (*note Package_Gtk.Object::)
        \___ Gtk_Widget            (*note Package_Gtk.Widget::)
           \___ Gtk_Container      (*note Package_Gtk.Container::)
              \___ Gtk_Sheet       (*note Package_Gtk.Extra.Sheet::)


File: gtkada_rm.info,  Node: Gtk.Extra.Sheet Signals,  Next: Gtk.Extra.Sheet Types,  Prev: Gtk.Extra.Sheet Widget Hierarchy,  Up: Package_Gtk.Extra.Sheet

Signals
=======

   * "activate"

     function Handler (Sheet  : access Gtk_Sheet_Record'Class;
     Row    : Gint;
     Column : Gint)
     return Boolean;
     Emitted when the user wants to activate a specific cell. The
     callback should return True if the cell can be activated, False
     otherwise. See the subprogram Activate_Cell.

   * "changed"

     procedure Handler (Sheet  : access Gtk_Sheet_Record'Class;
     Row    : Gint;
     Column : Gint);
     Emitted when the content of the cell is modified (either the text
     itself, or its properties, alignment,...)  A value of -1 for Row
     or Column means the row title, the column title, or their
     intersection.

   * "clear_cell"

     procedure Handler (Sheet  : access Gtk_Sheet_Record'Class;
     Row    : Gint;
     Column : Gint);
     Emitted when the content of the cell has been deleted (the text is
     now the empty string).

   * "clip_range"

     procedure Handler (Sheet      : access Gtk_Sheet_Record'Class;
     Clip_Range : Gtk_Sheet_Range);
     Emitted when the clip area is set to a new value.

   * "deactivate"

     function Handler (Sheet  : access Gtk_Sheet_Record'Class;
     Row    : Gint;
     Column : Gint)
     return Boolean;
     Emitted when the user wants to deactivate a specific cell. The
     callback should return True if the cell can be deactivated, False
     otherwise. See the subprogram Deactivate_Cell.

   * "move_range"

     procedure Handler (Sheet     : access Gtk_Sheet_Record'Class;
     Old_Range : Gtk_Sheet_Range;
     New_Range : Gtk_Sheet_Range);
     Emitted when the current range of selected cell is moved (ie the
     top-left cell is changed, but the size is not modified).

   * "new_column_width"

     procedure Handler (Sheet  : access Gtk_Sheet_Record'Class;
     Column : Gint;
     Width  : Guint);
     Emitted whenever the width of the column is changed, either by the
     user or automatically if the cells should automatically resize
     themselves depending on their contents).

   * "new_row_height"

     procedure Handler (Sheet  : access Gtk_Sheet_Record'Class;
     Row    : Gint;
     Height : Guint);
     Emitted whenever the height of the row is changed.

   * "resize_range"

     procedure Handler (Sheet     : access Gtk_Sheet_Record'Class;
     Old_Range : Gtk_Sheet_Range;
     New_Range : Gtk_Sheet_Range);
     Emitted when the current range of selected cell is resized (ie new
     cells are added to it or removed from it).

   * "select_column"

     procedure Handler (Sheet  : access Gtk_Sheet_Record'Class;
     Column : Gint);
     Emitted when a new column is selected.

   * "select_range"

     procedure Handler (Sheet     : access Gtk_Sheet_Record'Class;
     The_Range : Gtk_Sheet_Range);
     Emitted when a new range of cells is selected.

   * "select_row"

     procedure Handler (Sheet : access Gtk_Sheet_Record'Class;
     Row   : Gint);
     Emitted when a new row is selected.

   * "set_cell"

     procedure Handler (Sheet  : access Gtk_Sheet_Record'Class;
     Row    : Gint;
     Column : Gint);
     Emitted from Hide_Active_Cell, when the cell is non-empty. ???

   * "set_scroll_adjustments"

     procedure Handler (Sheet : access Gtk_Sheet_Record'Class;
     Hadj  : Gtk_Adjustement;
     Vadj  : Gtk_Adjustment);
     Emitted when the adjustments used to indicate which area of the
     sheet is visible are set or changed. This is not called when their
     value is changed, only when a new one is set.

   * "traverse"

     function Handler (Sheet      : access Gtk_Sheet_Record'Class;
     Row        : Gint;
     Column     : Gint;
     New_Row    : Gint_Access;
     New_Column : Gint_Access)
     return Boolean;
     Emitted when the user wants to make a new cell active. The
     coordinates of the currently active cell are passed in (Row,
     Column), the coordinates of the cell that the user would like to
     select are passed in (New_Row, New_Column). The callback can
     modify the new values, and should return True if the new
     coordinates are accepted, False if the selection should be refused.



File: gtkada_rm.info,  Node: Gtk.Extra.Sheet Types,  Next: Gtk.Extra.Sheet Subprograms,  Prev: Gtk.Extra.Sheet Signals,  Up: Package_Gtk.Extra.Sheet

Types
=====

type Gtk_Sheet_Border is new Integer;


Mask that indicates which borders should be visible in a cell.
type Gtk_Sheet_Child is new Gdk.C_Proxy;


A widget insert in the sheet.   This structure includes both a widget
pointer and the position in the  table in which it is put.
type Sheet_State is
         (Sheet_Normal,
          Sheet_Row_Selected,
          Sheet_Column_Selected,
          Sheet_Range_Selected);

The state of the selection.     pragma Convention (C, Sheet_State);

File: gtkada_rm.info,  Node: Gtk.Extra.Sheet Subprograms,  Prev: Gtk.Extra.Sheet Types,  Up: Package_Gtk.Extra.Sheet

Subprograms
===========

Creation and modification
-------------------------

procedure Gtk_New
       (Sheet              : out    Gtk_Sheet;
        Rows               : in     Guint;
        Columns            : in     Guint;
        Title              : in     UTF8_String := "";
        Entry_Type         : in     Gtk_Type := GType_Invalid);

Create a new sheet with a specific number of rows and columns.
You can fully specify which type the entry used to modify the value of
cells should have. The value of Entry_Type can be found by using one
of the Get_Type subprograms in the GtkAda packages.   The Title is
internal, and does not appear on the screen.
procedure Gtk_New_Browser
       (Sheet              : out    Gtk_Sheet;
        Rows               : in     Guint;
        Columns            : in     Guint;
        Title              : in     UTF8_String := "");

Create a new sheet browser with a specific number of rows and columns.
This is a standard Gtk_Sheet, except that it is read-only and that its
cells will automatically resize themselves depending on their contents.
procedure Initialize_Browser
       (Sheet              : access Gtk_Sheet_Record'Class;
        Rows               : in     Guint;
        Columns            : in     Guint;
        Title              : in     UTF8_String := "");

Internal initialization function.
See the section "Creating your own widgets" in the documentation.
function Get_Type              return Gtk.Gtk_Type;


Return the internal value associated with a Gtk_Sheet.
procedure Set_Hadjustment
       (Sheet              : access Gtk_Sheet_Record;
        Adjustment         : access Gtk_Adjustment_Record'Class);

Change the horizontal adjustment.
It indicates what range of columns is visible.
procedure Set_Vadjustment
       (Sheet              : access Gtk_Sheet_Record;
        Adjustment         : access Gtk_Adjustment_Record'Class);

Change the vertical adjustment.
It indicates what range of rows is visible.
function Get_Vadjustment
       (Sheet              : access Gtk_Sheet_Record)
        return Gtk.Adjustment.Gtk_Adjustment;

Return the adjustment used to indicate the range of visible rows.
function Get_Hadjustment
       (Sheet              : access Gtk_Sheet_Record)
        return Gtk.Adjustment.Gtk_Adjustment;

Return the adjustment used to indicate the range of visible columns.
procedure Change_Entry
       (Sheet              : access Gtk_Sheet_Record;
        Entry_Type         : in     Gtk_Type);

Change the type of widget used to interactively modify the value of
the cells.
function Get_Entry
       (Sheet              : access Gtk_Sheet_Record)
        return Gtk.Widget.Gtk_Widget;

Return the entry used to modify the content of the cells.
procedure Set_Title
       (Sheet              : access Gtk_Sheet_Record;
        Title              : in     UTF8_String);

Change the title of the sheet.
procedure Freeze
       (Sheet              : access Gtk_Sheet_Record);

Freeze all visual updates of the sheet, until you thaw it.
The update will occur in a more efficient way.
procedure Thaw
       (Sheet              : access Gtk_Sheet_Record);

Thaw the sheet, so that visual updates occur again.
Note that you have to call Thaw as many times as you have called
Freeze to actually thaw the widget.
procedure Moveto
       (Sheet              : access Gtk_Sheet_Record;
        Row                : in     Gint;
        Column             : in     Gint;
        Row_Align          : in     Gfloat;
        Col_Align          : in     Gfloat);

Scroll the viewing area to (Row, Column).
(Row_Align, Col_Align) represent the location on the screen that the
cell should appear at. (0.0, 0.0) is at the top-left of the screen,
whereas (1.0, 1.0) is at the bottom-right corner.   If Row or Column is
negative, there is no change.
procedure Set_Background
       (Sheet              : access Gtk_Sheet_Record;
        Color              :        Gdk.Color.Gdk_Color);

Change the background color of the cells.
procedure Set_Grid
       (Sheet              : access Gtk_Sheet_Record;
        Color              :        Gdk.Color.Gdk_Color);

Set the color to use for the grid.
procedure Show_Grid
       (Sheet              : access Gtk_Sheet_Record;
        Show               :        Boolean);

Whether the grid should be made visible
function Grid_Visible
       (Sheet              : access Gtk_Sheet_Record)
        return Boolean;

Whether the grid is currently visible
Selection and Clipping
----------------------

function Get_State
       (Sheet              : access Gtk_Sheet_Record)
        return Sheet_State;

Return the status of the selection in the sheet.
function Get_Range
       (Sheet              : access Gtk_Sheet_Record)
        return Gtk_Sheet_Range;

Return the selected range.
procedure Get_Visible_Range
       (Sheet              : access Gtk_Sheet_Record;
        The_Range          : out    Gtk_Sheet_Range);

Return the range visible on the screen.
procedure Set_Selection_Mode
       (Sheet              : access Gtk_Sheet_Record;
        Mode               : in     Gtk.Enums.Gtk_Selection_Mode);

Change the selection mode.
procedure Select_Column
       (Sheet              : access Gtk_Sheet_Record;
        Column             : in     Gint);

Replace the current selection with a specific column.
The range is highlighted.
procedure Select_Row
       (Sheet              : access Gtk_Sheet_Record;
        Row                : in     Gint);

Replace the current selection with a specific row.
The range is highlighted.
procedure Set_Autoresize
       (Sheet              : access Gtk_Sheet_Record;
        Autoresize         :        Boolean);

Whether cells should automatically resize to fit their contents
function Autoresize
       (Sheet              : access Gtk_Sheet_Record)
        return Boolean;

Whether cells automatically resize to fit their contents
procedure Set_Autoscroll
       (Sheet              : access Gtk_Sheet_Record;
        Autoscroll         :        Boolean);

Whether the sheet should automatically scroll to show the active cell at
all times.
function Autoscroll
       (Sheet              : access Gtk_Sheet_Record)
        return Boolean;

Whether the sheet automatically scrolls to show the active cell at all
times.
procedure Set_Clip_Text
       (Sheet              : access Gtk_Sheet_Record;
        Clip               :        Boolean);

Set when the text contained in the cells is automatically clipped to
their width.
function Clip_Text
       (Sheet              : access Gtk_Sheet_Record)
        return Boolean;

Whether the text contained in the cells is automatically clipped to
their width.
procedure Set_Justify_Entry
       (Sheet              : access Gtk_Sheet_Record;
        Justify_Entry      :        Boolean);

Set when the justification attribute for entries should be taken into
account
function Justify_Entry
       (Sheet              : access Gtk_Sheet_Record)
        return Boolean;

Whether the justification attribute is used for entries
procedure Set_Locked
       (Sheet              : access Gtk_Sheet_Record;
        Locked             :        Boolean);

If Locked is true, the cells are no longer editable
function Locked
       (Sheet              : access Gtk_Sheet_Record)
        return Boolean;

Whether cells are currently read-only
procedure Select_Range
       (Sheet              : access Gtk_Sheet_Record;
        The_Range          : in     Gtk_Sheet_Range);

Select a new range of cells.
procedure Unselect_Range
       (Sheet              : access Gtk_Sheet_Record);

Unselect a specific range of cells.
If null is passed, the current selected range is used.
procedure Clip_Range
       (Sheet              : access Gtk_Sheet_Record;
        The_Range          : in     Gtk_Sheet_Range);

Create a new clip range, which is copied to the clipboard
That range is flashed on the screen.
procedure Unclip_Range
       (Sheet              : access Gtk_Sheet_Record);

Destroy the clip area.
function In_Clip
       (Sheet              : access Gtk_Sheet_Record)
        return Boolean;

Whether a range was copied to the clipboard
function Set_Active_Cell
       (Sheet              : access Gtk_Sheet_Record;
        Row                : in     Gint;
        Column             : in     Gint)
        return Boolean;

Set active cell where the entry will be displayed.
Returns FALSE if the current cell can not be deactivated or if the
requested cell can't be activated.   Depending on the value passed to
Set_Autoscroll, the sheet might be  scrolled.
procedure Get_Active_Cell
       (Sheet              : access Gtk_Sheet_Record;
        Row                : out    Gint;
        Column             : out    Gint);

Return the coordinates of the active cell.
This is the cell that the user is currently editing.
Columns
-------

procedure Set_Column_Title
       (Sheet              : access Gtk_Sheet_Record;
        Column             : in     Gint;
        Title              : in     UTF8_String);

Modify the title of a column.
The first column on the left has the number 0.   Note that this title
does not appear on the screen, and can only be  used internally to find
a specific column.
function Get_Column_Title
       (Sheet              : access Gtk_Sheet_Record;
        Column             :        Gint)
        return UTF8_String;

Return the title of a specific column.
procedure Set_Column_Titles_Height
       (Sheet              : access Gtk_Sheet_Record;
        Height             :        Guint);

Modify the height of the row in which the column titles appear.
procedure Column_Button_Add_Label
       (Sheet              : access Gtk_Sheet_Record;
        Column             : in     Gint;
        Label              : in     UTF8_String);

Modify the label of the button that appears at the top of each column.
function Column_Button_Get_Label
       (Sheet              : access Gtk_Sheet_Record;
        Column             :        Gint)
        return UTF8_String;

Return the label for the button that appears at the top of each column
procedure Column_Button_Justify
       (Sheet              : access Gtk_Sheet_Record;
        Column             : in     Gint;
        Justification      : in     Gtk.Enums.Gtk_Justification);

Modify the justification for the label in the column button.
procedure Show_Column_Titles
       (Sheet              : access Gtk_Sheet_Record);

Show the row in which the column titles appear.
procedure Hide_Column_Titles
       (Sheet              : access Gtk_Sheet_Record);

Hide the row in which the column titles appear.
function Column_Titles_Visible
       (Sheet              : access Gtk_Sheet_Record)
        return Boolean;

Whether a special row is added at the top to show the title of the
columns.
procedure Columns_Set_Sensitivity
       (Sheet              : access Gtk_Sheet_Record;
        Sensitive          : in     Boolean);

Modify the sensitivity of all the columns.
If Sensitive is False, the columns can not be resized dynamically.
This also modifies the sensitivity of the button at the top of the
columns.
procedure Column_Set_Sensitivity
       (Sheet              : access Gtk_Sheet_Record;
        Column             : in     Gint;
        Sensitive          : in     Boolean);

Modify the sensitivity of a specific column and its title button.
If Sensitive if False, the column can not be dynamically resized.
procedure Column_Set_Visibility
       (Sheet              : access Gtk_Sheet_Record;
        Column             : in     Gint;
        Visible            : in     Boolean);

Change the visibility of a column.
procedure Columns_Set_Resizable
       (Sheet              : access Gtk_Sheet_Record;
        Resizable          :        Boolean);

Whether columns are resizable
function Columns_Resizable
       (Sheet              : access Gtk_Sheet_Record)
        return Boolean;

Whether columns are resizable
procedure Column_Label_Set_Visibility
       (Sheet              : access Gtk_Sheet_Record;
        Column             : in     Gint;
        Visible            : in     Boolean := True);

Change the visibility of the label in a given column.
procedure Columns_Labels_Set_Visibility
       (Sheet              : access Gtk_Sheet_Record;
        Visible            :        Boolean := True);

Change the visibility for all the column labels.
procedure Set_Column_Width
       (Sheet              : access Gtk_Sheet_Record;
        Column             : in     Gint;
        Width              : in     Guint);

Modify the width in pixels of a specific column.
function Get_Column_Width
       (Sheet              : access Gtk_Sheet_Record;
        Column             : in     Gint)
        return Gint;

Return the width in pixels of the Column-nth in Sheet.
procedure Add_Column
       (Sheet              : access Gtk_Sheet_Record;
        Ncols              : in     Guint);

Add some empty columns at the end of the sheet.
procedure Insert_Columns
       (Sheet              : access Gtk_Sheet_Record;
        Col                : in     Guint;
        Ncols              : in     Guint);

Add Ncols empty columns just before the columns number Col.
procedure Delete_Columns
       (Sheet              : access Gtk_Sheet_Record;
        Col                : in     Guint;
        Ncols              : in     Guint);

Delete Ncols columns starting from Col.
procedure Column_Set_Justification
       (Sheet              : access Gtk_Sheet_Record;
        Column             : in     Gint;
        Justification      : in     Gtk.Enums.Gtk_Justification);

Set the default justification for the cells in the specific column.
function Get_Columns_Count
       (Sheet              : access Gtk_Sheet_Record)
        return Guint;

Return the maximum column number of the displayed cells.
Rows
----

procedure Set_Row_Title
       (Sheet              : access Gtk_Sheet_Record;
        Row                : in     Gint;
        Title              : in     UTF8_String);

Modify the title of a row.
The first row at the top has the number 0.   Note that this title does
not appear on the screen, and can only be  used internally to find a
specific row.
function Get_Row_Title
       (Sheet              : access Gtk_Sheet_Record;
        Row                :        Gint)
        return UTF8_String;

Return the title of a specific row.
procedure Set_Row_Titles_Width
       (Sheet              : access Gtk_Sheet_Record;
        Width              :        Guint);

Modify the width of the column that has the row titles.
procedure Row_Button_Add_Label
       (Sheet              : access Gtk_Sheet_Record;
        Row                : in     Gint;
        Label              : in     UTF8_String);

Modify the label of the button that appears on the left of each row.
function Row_Button_Get_Label
       (Sheet              : access Gtk_Sheet_Record;
        Row                :        Gint)
        return UTF8_String;

Return the label for the button that appears on the left of each row.
procedure Row_Button_Justify
       (Sheet              : access Gtk_Sheet_Record;
        Row                : in     Gint;
        Justification      : in     Gtk.Enums.Gtk_Justification);

Modify the justification for the label of the row button.
procedure Show_Row_Titles
       (Sheet              : access Gtk_Sheet_Record);

Show the column in which the row titles appear.
procedure Hide_Row_Titles
       (Sheet              : access Gtk_Sheet_Record);

Hide the column in which the row titles appear.
function Row_Titles_Visible
       (Sheet              : access Gtk_Sheet_Record)
        return Boolean;

Whether a special column is added to the left to show the title of the
rows.
procedure Rows_Set_Sensitivity
       (Sheet              : access Gtk_Sheet_Record;
        Sensitive          : in     Boolean);

Modify the sensitivity of all the rows.
If Sensitive is False, the rows can not be resized dynamically.   This
also modifies the sensitivity of the button at the left of the  row.
procedure Row_Set_Sensitivity
       (Sheet              : access Gtk_Sheet_Record;
        Row                : in     Gint;
        Sensitive          : in     Boolean);

Modify the sensitivity of a specific row and its title button.
If Sensitive if False, the row can not be dynamically resized.
procedure Row_Set_Visibility
       (Sheet              : access Gtk_Sheet_Record;
        Row                : in     Gint;
        Visible            : in     Boolean);

Modify the visibility of a specific row
procedure Row_Label_Set_Visibility
       (Sheet              : access Gtk_Sheet_Record;
        Row                : in     Gint;
        Visible            : in     Boolean := True);

Change the visibility of the label in a given Row.
procedure Rows_Labels_Set_Visibility
       (Sheet              : access Gtk_Sheet_Record;
        Visible            :        Boolean := True);

Change the visibility for all the row labels.
procedure Rows_Set_Resizable
       (Sheet              : access Gtk_Sheet_Record;
        Resizable          :        Boolean);

Whether rows are resizable
function Rows_Resizable
       (Sheet              : access Gtk_Sheet_Record)
        return Boolean;

Whether rows are resizable
procedure Set_Row_Height
       (Sheet              : access Gtk_Sheet_Record;
        Row                : in     Gint;
        Height             : in     Guint);

Set the height in pixels of a specific row.
function Get_Row_Height
       (Sheet              : access Gtk_Sheet_Record;
        Row                : in     Gint)
        return Gint;

Return the height in pixels of the Row-th row in Sheet.
procedure Add_Row
       (Sheet              : access Gtk_Sheet_Record;
        Nrows              : in     Guint);

Append Nrows row at the end of the sheet.
procedure Insert_Rows
       (Sheet              : access Gtk_Sheet_Record;
        Row                : in     Guint;
        Nrows              : in     Guint);

Add Nrows empty rows just before the row number Row.
procedure Delete_Rows
       (Sheet              : access Gtk_Sheet_Record;
        Row                : in     Guint;
        Nrows              : in     Guint);

Delete Nrows rows starting from Row.
function Get_Rows_Count
       (Sheet              : access Gtk_Sheet_Record)
        return Guint;

Return the maximum row number of displayed cells.
Range
-----

function Range_Get_Type        return Gtk.Gtk_Type;


Return the internal value associate with a Gtk_Sheet_Range
procedure Range_Clear
       (Sheet              : access Gtk_Sheet_Record;
        The_Range          : in     Gtk_Sheet_Range);

Clear the content of the range.
procedure Range_Delete
       (Sheet              : access Gtk_Sheet_Record;
        The_Range          : in     Gtk_Sheet_Range);

Clear the content of the range and delete all the links (user_data)
procedure Range_Set_Background
       (Sheet              : access Gtk_Sheet_Record;
        The_Range          : in     Gtk_Sheet_Range;
        Color              : in     Gdk.Color.Gdk_Color);

Set the background color for the cells in a specific range.
procedure Range_Set_Foreground
       (Sheet              : access Gtk_Sheet_Record;
        The_Range          : in     Gtk_Sheet_Range;
        Color              : in     Gdk.Color.Gdk_Color);

Set the foreground color for the cells in a specific range.
procedure Range_Set_Justification
       (Sheet              : access Gtk_Sheet_Record;
        The_Range          : in     Gtk_Sheet_Range;
        Justification      : in     Gtk.Enums.Gtk_Justification);

Set the text justification for the cells in the range.
procedure Range_Set_Editable
       (Sheet              : access Gtk_Sheet_Record;
        The_Range          : in     Gtk_Sheet_Range;
        Editable           : in     Boolean);

Set whether the cells in the range are editable.
procedure Range_Set_Visible
       (Sheet              : access Gtk_Sheet_Record;
        The_Range          : in     Gtk_Sheet_Range;
        Visible            : in     Boolean);

Set whether the cells in the range are visible.
procedure Range_Set_Border
       (Sheet              : access Gtk_Sheet_Record;
        The_Range          : in     Gtk_Sheet_Range;
        Mask               : in     Gtk_Sheet_Border;
        Width              : in     Guint;
        Line_Style         : in     Gdk.GC.Gdk_Line_Style);

Set the style of the border for the cells in the range.
procedure Range_Set_Border_Color
       (Sheet              : access Gtk_Sheet_Record;
        The_Range          : in     Gtk_Sheet_Range;
        Color              : in     Gdk.Color.Gdk_Color);

Change the color for the borders of the cells in the range.
procedure Range_Set_Font
       (Sheet              : access Gtk_Sheet_Record;
        The_Range          : in     Gtk_Sheet_Range;
        Font               :        Pango.Font.Pango_Font_Description);

Change the font of the cells in the range.
Cells
-----

procedure Set_Cell
       (Sheet              : access Gtk_Sheet_Record;
        Row                : in     Gint;
        Col                : in     Gint;
        Justification      : in     Gtk.Enums.Gtk_Justification;
        Text               : in     UTF8_String);

Set the cell contents.
Set Text to the empty string to delete the content of the cell.
procedure Set_Cell_Text
       (Sheet              : access Gtk_Sheet_Record;
        Row                : in     Gint;
        Col                : in     Gint;
        Text               : in     UTF8_String);

Set the cell contents.
The justification used is the previous one used in that cell.
function Cell_Get_Text
       (Sheet              : access Gtk_Sheet_Record;
        Row                : in     Gint;
        Col                : in     Gint)
        return UTF8_String;

Return the text put in a specific cell.
The empty string is returned if there is no text in that cell.
procedure Cell_Clear
       (Sheet              : access Gtk_Sheet_Record;
        Row                : in     Gint;
        Col                : in     Gint);

Clear the contents of the cell.
procedure Cell_Delete
       (Sheet              : access Gtk_Sheet_Record;
        Row                : in     Gint;
        Col                : in     Gint);

Clear the contents of the cell and remove the user data associated
with it.
function Cell_Get_State
       (Sheet              : access Gtk_Sheet_Record;
        Row                : in     Gint;
        Col                : in     Gint)
        return Gtk.Enums.Gtk_State_Type;

Return the state of the cell (normal or selected).
procedure Get_Pixel_Info
       (Sheet              : access Gtk_Sheet_Record;
        X                  : in     Gint;
        Y                  : in     Gint;
        Row                : out    Gint;
        Column             : out    Gint);

Return the row and column matching a given pixel on the screen.
Constraint_Error is raised if no such cell exists.
procedure Get_Cell_Area
       (Sheet              : access Gtk_Sheet_Record;
        Row                : in     Gint;
        Column             : in     Gint;
        Area               : out    Gdk.Rectangle.Gdk_Rectangle);

Get the area of the screen that a cell is mapped to.
Constraint_Error is raised if no such cell exists;
Children
--------

A Gtk_Sheet can contain some children, attached to some specific
cells.

procedure Put
       (Sheet              : access Gtk_Sheet_Record;
        Widget             : access Gtk.Widget.Gtk_Widget_Record'Class;
        X                  : in     Gint;
        Y                  : in     Gint);

Put a new child at a specific location (in pixels) in the sheet.
procedure Attach
       (Sheet              : access Gtk_Sheet_Record;
        Widget             : access Gtk.Widget.Gtk_Widget_Record'Class;
        Row                :        Gint;
        Col                :        Gint;
        Xoptions           :        Gtk.Enums.Gtk_Attach_Options
                            := Expand or Fill;
        Yoptions           :        Gtk.Enums.Gtk_Attach_Options
                            := Expand or Fill;
        Xpadding           :        Gint := 0;
        Ypadding           :        Gint := 0);

Attach a child to a specific Cell in the sheet.
X_Align and Y_Align should be between 0.0 and 1.0, indicating that  the
child should be aligned from the Left (resp. Top) to the Right  (resp.
Bottom) of the cell.   If Row or Col is negative, the widget is
attached to the row buttons or  column buttons.   Widget will not be
moved if the cell is moved.
procedure Attach_Floating
       (Sheet              : access Gtk_Sheet_Record;
        Widget             : access Gtk.Widget.Gtk_Widget_Record'Class;
        Row                :        Gint;
        Col                :        Gint);

Attach a child at the current location or (Row, Col).
If the cell is moved because of resizing or other reasons, Widget will
be moved as well.
procedure Move_Child
       (Sheet              : access Gtk_Sheet_Record;
        Widget             : access Gtk.Widget.Gtk_Widget_Record'Class;
        X                  : in     Gint;
        Y                  : in     Gint);

Move a child of the table to a specific location in pixels.
A warning is printed if Widget is not already a child of Sheet.
function Get_Child_At
       (Sheet              : access Gtk_Sheet_Record;
        Row                : in     Gint;
        Col                : in     Gint)
        return Gtk_Sheet_Child;

Return the widget associated with the cell.
function Get_Widget
       (Child              :        Gtk_Sheet_Child)
        return Gtk.Widget.Gtk_Widget;

Return the widget in the child.
procedure Button_Attach
       (Sheet              : access Gtk_Sheet_Record;
        Widget             : access Gtk.Widget.Gtk_Widget_Record'Class;
        Row                :        Gint;
        Col                :        Gint);

Attach a new button in the row or column title.
One of Row or Col must be negative (but only one).   This can be used
to modify the standard buttons that appear at the top  of each column,
or on the left of each row.
Links / User_Data
-----------------

You can associate any kind of data with a cell, just like you
can associate user_data with all the widgets.   Note that this uses a
generic package, which must be instantiated at  library level since it
has internal clean up functions.

procedure Link_Cell
       (Sheet              : access Gtk_Sheet_Record;
        Row                : in     Gint;
        Col                : in     Gint;
        Link               : in     Data_Type);

Associate some user specific data with a given cell.
function Get_Link
       (Sheet              : access Gtk_Sheet_Record;
        Row                : in     Gint;
        Col                : in     Gint)
        return Data_Type_Access;

Return the user data associated with the cell.
null is returned if the cell has no user data.
procedure Remove_Link
       (Sheet              : access Gtk_Sheet_Record;
        Row                : in     Gint;
        Col                : in     Gint);

Delete the user data associated with the cell.

File: gtkada_rm.info,  Node: Package_Gtk.File_Selection,  Next: Package_Gtk.Fixed,  Prev: Package_Gtk.Extra.Sheet,  Up: Top

Package Gtk.File`_'Selection
****************************

A Gtk_File_Selection is a general widget to interactively select file.
It displays a dialog in which the user can navigate through
directories,  select a file, and even manipulate files with operations
like removing,  renaming,...   Currently, only one file can be selected
in the dialog.

* Menu:

* Gtk.File_Selection Widget Hierarchy::
* Gtk.File_Selection Subprograms::


File: gtkada_rm.info,  Node: Gtk.File_Selection Widget Hierarchy,  Next: Gtk.File_Selection Subprograms,  Up: Package_Gtk.File_Selection

Widget Hierarchy
================

     GObject                       (*note Package_Glib.Object::)
     Gtk_Object                    (*note Package_Gtk.Object::)
        \___ Gtk_Widget            (*note Package_Gtk.Widget::)
           \___ Gtk_Container      (*note Package_Gtk.Container::)
              \___ Gtk_Bin         (*note Package_Gtk.Bin::)
                 \___ Gtk_Window   (*note Package_Gtk.Window::)
                    \___ Gtk_Dialog (*note Package_Gtk.Dialog::)
                       \___ Gtk_File_Selection (*note Package_Gtk.File_Selection::)


File: gtkada_rm.info,  Node: Gtk.File_Selection Subprograms,  Prev: Gtk.File_Selection Widget Hierarchy,  Up: Package_Gtk.File_Selection

Subprograms
===========

Operations on the dialog
------------------------

procedure Gtk_New
       (File_Selection     : out    Gtk_File_Selection;
        Title              :        UTF8_String);

Create a new file selection dialog.
Title is the name of the dialog, as displayed in its title bar.
function Get_Type              return Gtk.Gtk_Type;


Return the internal value associated with a Gtk_File_Selection.
procedure Set_Filename
       (File_Selection     : access Gtk_File_Selection_Record;
        Filename           :        UTF8_String);

Highlight the given file in the dialog.
Note that this does not close the dialog.   You can also use this
procedure to select the directory to be displayed  in the dialog. Along
with Complete, this allows you to set some filters  in the dialog.
function Get_Filename
       (File_Selection     : access Gtk_File_Selection_Record)
        return UTF8_String;

Get the selected file name.
procedure Complete
       (File_Selection     : access Gtk_File_Selection_Record;
        Pattern            :        UTF8_String);

Set the filter used to display the files.
The pattern is displayed in the entry at the bottom of the dialog, and
the list of files displayed in the list.
procedure Show_Fileop_Buttons
       (File_Selection     : access Gtk_File_Selection_Record);

When this function is called, the dialog includes a series of buttons
for file operations (create directory, rename a file, delete a file).
procedure Hide_Fileop_Buttons
       (File_Selection     : access Gtk_File_Selection_Record);

Hide the buttons for file operations.
procedure Set_Show_File_Op_Buttons
       (File_Selection     : access Gtk_File_Selection_Record;
        Flag               :        Boolean);

Choose whether to display or not the file operation buttons.
If Flag is true, calls Show_Fileop_Buttons, otherwise calls
Hide_Fileop_Buttons.
Getting the fields
------------------

The following functions are provided to access the fields of the
file selection dialog.   This dialog is divided into two main areas,
the Action_Area which is  the top part that contains the list of files,
and the button area which  is the bottom part that contains the OK and
Cancel buttons.

function Get_Action_Area
       (File_Selection     : access Gtk_File_Selection_Record)
        return Gtk.Box.Gtk_Box;

Return the action area.
This is the area that contains the list of files, the filter entry,etc.
function Get_Button_Area
       (File_Selection     : access Gtk_File_Selection_Record)
        return Gtk.Box.Gtk_Box;

Return the button area.
This is the area that contains the OK and Cancel buttons.
function Get_Dir_List
       (File_Selection     : access Gtk_File_Selection_Record)
        return Gtk.Widget.Gtk_Widget;

Return the list that display the list of directories.
function Get_File_List
       (File_Selection     : access Gtk_File_Selection_Record)
        return Gtk.Widget.Gtk_Widget;

Return the list that display the list of files in the selected directory
function Get_Cancel_Button
       (File_Selection     : access Gtk_File_Selection_Record)
        return Gtk.Button.Gtk_Button;

Return the Cancel button.
To remove this button from the dialog, call Hide on the return value.
The callbacks on this button should simply close the dialog, but should
ignore the file selected by the user.
function Get_Help_Button
       (File_Selection     : access Gtk_File_Selection_Record)
        return Gtk.Button.Gtk_Button;

Return the Help button.
To remove this button from the dialog, call Hide on the return value.
The callbacks on this button should display a new dialog that explain
what file the user should select.
function Get_Ok_Button
       (File_Selection     : access Gtk_File_Selection_Record)
        return Gtk.Button.Gtk_Button;

Return the OK button.
The callbacks on this button should close the dialog and do something
with the file selected by the user.
function Get_History_Pulldown
       (File_Selection     : access Gtk_File_Selection_Record)
        return Gtk.Widget.Gtk_Widget;

Return the menu that display the history of directories
for easy access by the user.
function Get_Selection_Entry
       (File_Selection     : access Gtk_File_Selection_Record)
        return Gtk.Widget.Gtk_Widget;

Return the entry used to set the filter on the list of directories.
The simplest way to insert text in this entry is to use the  Complete
procedure above.
function Get_Selection_Text
       (File_Selection     : access Gtk_File_Selection_Record)
        return Gtk.Widget.Gtk_Widget;

Return the text displayed just above the Selection_Entry.

File: gtkada_rm.info,  Node: Package_Gtk.Fixed,  Next: Package_Gtk.Font_Selection,  Prev: Package_Gtk.File_Selection,  Up: Top

Package Gtk.Fixed
*****************

The Gtk_Fixed widget is a container which can place child widgets at
fixed  positions and with fixed sizes, given in pixels.

   Note that it is usually bad practice to use the Gtk_Fixed container
in  GtkAda. Instead, you should consider using one of the other many
containers  available, that will allow you to handle resizing of your
windows, as well  as font size changes easily.

* Menu:

* Gtk.Fixed Widget Hierarchy::
* Gtk.Fixed Subprograms::


File: gtkada_rm.info,  Node: Gtk.Fixed Widget Hierarchy,  Next: Gtk.Fixed Subprograms,  Up: Package_Gtk.Fixed

Widget Hierarchy
================

     GObject                       (*note Package_Glib.Object::)
     Gtk_Object                    (*note Package_Gtk.Object::)
        \___ Gtk_Widget            (*note Package_Gtk.Widget::)
           \___ Gtk_Container      (*note Package_Gtk.Container::)
              \___ Gtk_Fixed       (*note Package_Gtk.Fixed::)


File: gtkada_rm.info,  Node: Gtk.Fixed Subprograms,  Prev: Gtk.Fixed Widget Hierarchy,  Up: Package_Gtk.Fixed

Subprograms
===========

procedure Gtk_New
       (Fixed              : out    Gtk_Fixed);

Create a new fixed container.
function Get_Type              return Gtk.Gtk_Type;


Return the internal value associated with a Gtk_Fixed.
procedure Put
       (Fixed              : access Gtk_Fixed_Record;
        Widget             : access Gtk.Widget.Gtk_Widget_Record'Class;
        X                  :        Gint;
        Y                  :        Gint);

Add Widget to a Fixed container at the given position.
X indicates the horizontal position to place the widget at.   Y is the
vertical position to place the widget at.
procedure Move
       (Fixed              : access Gtk_Fixed_Record;
        Widget             : access Gtk.Widget.Gtk_Widget_Record'Class;
        X                  :        Gint;
        Y                  :        Gint);

Move a child of a GtkFixed container to the given position.
X indicates the horizontal position to place the widget at.   Y is the
vertical position to place the widget at.
procedure Set_Has_Window
       (Fixed              : access Gtk_Fixed_Record;
        Has_Window         :        Boolean := False);

Sets whether a Gtk_Fixed widget is created with a separate
Gdk_Window for or not. (By default, it will be created with no
separate Gdk_Window). This function must be called while the widget  is
not realized, for instance, immediately after the window is created.
function Get_Has_Window
       (Fixed              : access Gtk_Fixed_Record)
        return Boolean;

Return whether a Gtk_Fixed widget is created with a separate
Gdk_Window for or not.

File: gtkada_rm.info,  Node: Package_Gtk.Font_Selection,  Next: Package_Gtk.Font_Selection_Dialog,  Prev: Package_Gtk.Fixed,  Up: Top

Package Gtk.Font`_'Selection
****************************

This widget provides a nice way for the user of your application to
select fonts.   It first searches on your system for the list of fonts
available, and  displays a set of boxes to select them based on their
name, their  weight, their size, etc.   This widget is provided in two
forms, one widget that can be embedded  in any container, a
Gtk_Font_Selection, whereas the other one comes  directly in its own
separate window (to be popped up as a dialog).

   Some filters can be applied to the widget, when you want the user to
select only a font only among a specific subset (like bitmap or
true-type fonts for instance).   There are two kinds of filters: a base
filter, set in your application  and that the user can not change; a
user filter that can be modified  interactively by the user.

* Menu:

* Gtk.Font_Selection Widget Hierarchy::
* Gtk.Font_Selection Subprograms::


File: gtkada_rm.info,  Node: Gtk.Font_Selection Widget Hierarchy,  Next: Gtk.Font_Selection Subprograms,  Up: Package_Gtk.Font_Selection

Widget Hierarchy
================

     GObject                       (*note Package_Glib.Object::)
     Gtk_Object                    (*note Package_Gtk.Object::)
        \___ Gtk_Widget            (*note Package_Gtk.Widget::)
           \___ Gtk_Container      (*note Package_Gtk.Container::)
              \___ Gtk_Bin         (*note Package_Gtk.Bin::)
                 \___ Gtk_Window   (*note Package_Gtk.Window::)
                    \___ Gtk_Dialog (*note Package_Gtk.Dialog::)
                       \___ Gtk_Font_Selection_Dialog (*note Package_Gtk.Font_Selection_Dialog::)

