[Contents]   [Back]   [Prev]   [Up]   [Next]   [Forward]  


Package Gtk.Extra.Item_Entry

A Gtk_Item_Entry is a special kind of entry item used in a Gtk_Sheet to edit the current cell. It can be used independently, but you should rather use a more general Gtk_Entry widget.

Widget Hierarchy

GObject                       (see section Package Glib.Object)
Gtk_Object                    (see section Package Gtk.Object)
   \___ Gtk_Widget            (see section Package Gtk.Widget)
      \___ Gtk_Editable       (see section Package Gtk.Editable)
         \___ Gtk_Entry       (see section Package Gtk.GEntry)
            \___ Gtk_IEntry   (see section Package Gtk.Extra.Item_Entry)

Types

subtype Gtk_Item_Entry is Gtk_IEntry;

This type is provided so as to be compatible with the new name used in gtk+extra. Both names are kept for backward compatibility.


Subprograms

procedure Gtk_New              
  (Widget             : out    Gtk_IEntry;
   Max                : in     Guint16 := 0);

Create a new entry item.
By default, the maximal length depends only on the size of the widget.


function Get_Type              return Gtk.Gtk_Type;

Return the internal value associated with a Gtk_Item_Entry.


procedure Set_Justification    
  (Item_Entry         : access Gtk_IEntry_Record;
   Justification      : in     Gtk.Enums.Gtk_Justification);

Change the justification of the text in the entry.


procedure Set_Text             
  (Item_Entry         : access Gtk_IEntry_Record;
   Text               : in     String;
   Justification      : in     Gtk.Enums.Gtk_Justification);

Change the text in the entry.


procedure Set_Cursor_Visible   
  (Item_Entry         : access Gtk_IEntry_Record;
   Visible            :        Boolean);

Whether the cursor should be visible


function Get_Cursor_Visible    
  (Item_Entry         : access Gtk_IEntry_Record)
   return Boolean;

Whether the cursor is visible



[Contents]   [Back]   [Prev]   [Up]   [Next]   [Forward]