GtkEntry

Gamma/GTK: Using Gamma™ with GTK, Version 0.9
Prev |  | Next

# `GtkEntry`

`GtkEntry` -- a text-entry field.

## Synopsis

    class GtkEntry GtkEditable
    {
        max_length;        // guint    : Read / Write
        visibility;        // gboolean : Read / Write
    }

## Parent Classes

`GtkObject`<-- `GtkWidget`<-- `GtkEditable`<--GtkEntry

## Child Classes

`GtkSpinButton`

## Methods

`append_text` (`text`)
`get_text` ()
`prepend_text` (`text`)
`select_region` (`start`, `end`)
`set_editable` (`editable`)
`set_max_length` (`max`)
`set_position` (`position`)
`set_text` (`text`)
`set_visibility` (`visible`)

## Related Functions

`gtk_entry_get_type` () -- replaces GTK_TYPE_ENTRY
`gtk_entry_new` ()
`gtk_entry_new_with_max_length` (`max`)

## Example

See the Entry example in the Example Code Appendix.

Prev | Home | Next
`GtkEditable` | Up | `GtkEventBox`

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.