gtk+-2.0 Reference Manual

Synopsis

public class Entry : Widget, Implementor, Buildable, CellEditable, Editable  {
    public    uint                      visible ;
    public    uint                      overwrite_mode ;
    public    uint                      in_drag ;
    public    ushort                    text_length ;
    public    ushort                    text_max_length ;
    public    weak Gdk.Window           text_area ;
    public    weak IMContext            im_context ;
    public    weak Widget               popup_menu ;
    public    int                       current_pos ;
    public    weak Pango.Layout         cached_layout ;
    public    uint                      cache_includes_preedit ;
    public    uint                      need_im_reset ;
    public    uint                      cursor_visible ;
    public    uint                      in_click ;
    public    uint                      is_cell_renderer ;
    public    uint                      editing_canceled ;
    public    uint                      mouse_cursor_obscured ;
    public    uint                      select_words ;
    public    uint                      select_lines ;
    public    uint                      resolved_dir ;
    public    uint                      button ;
    public    uint                      blink_timeout ;
    public    uint                      recompute_idle ;
    public    int                       ascent ;
    public    int                       descent ;
    public    ushort                    text_size ;
    public    ushort                    n_bytes ;
    public    ushort                    preedit_length ;
    public    ushort                    preedit_cursor ;
    public    int                       dnd_position ;
    public    int                       drag_start_x ;
    public    int                       drag_start_y ;


    public    weak bool                 activates_default         { get; set; } ;
    public    weak int                  cursor_position           { get; } ;
    public    weak bool                 editable                  { get; set; } ;
    public    weak bool                 has_frame                 { get; set; } ;
    public    weak Border               inner_border              { get; set; } ;
    public    weak uint                 invisible_char            { get; set; } ;
    public    weak int                  max_length                { get; set; } ;
    public    weak int                  scroll_offset             { get; } ;
    public    weak int                  selection_bound           { get; } ;
    public    weak ShadowType           shadow_type               { get; set; } ;
    public    weak string               text                      { get; set; } ;
    public    weak bool                 truncate_multiline        { get; set; } ;
    public    weak bool                 visibility                { get; set; } ;
    public    weak int                  width_chars               { get; set; } ;
    public    weak float                xalign                    { get; set; } ;


    public                              Entry                     (  ) ;


    public    signal void               activate                  (  )  ;
    public    signal void               backspace                 (  )  ;
    public    signal void               copy_clipboard            (  )  ;
    public    signal void               cut_clipboard             (  )  ;
    public    signal void               delete_from_cursor        ( DeleteType          type,
                                                                    int                 count )  ;
    public    signal void               insert_at_cursor          ( string              str )  ;
    public    signal void               move_cursor               ( MovementStep        step,
                                                                    int                 count,
                                                                    bool                extend_selection )  ;
    public    signal void               paste_clipboard           (  )  ;
    public    signal void               populate_popup            ( Menu                menu )  ;
    public    signal void               toggle_overwrite          (  )  ;


    public    bool                      get_activates_default     (  ) ;
    public    float                     get_alignment             (  ) ;
    public    weak EntryCompletion      get_completion            (  ) ;
    public    weak Adjustment           get_cursor_hadjustment    (  ) ;
    public    bool                      get_has_frame             (  ) ;
    public    Border                    get_inner_border          (  ) ;
    public    unichar                   get_invisible_char        (  ) ;
    public    weak Pango.Layout         get_layout                (  ) ;
    public    void                      get_layout_offsets        ( int                 x,
                                                                    int                 y ) ;
    public    int                       get_max_length            (  ) ;
    public    weak string               get_text                  (  ) ;
    public    bool                      get_visibility            (  ) ;
    public    int                       get_width_chars           (  ) ;
    public    int                       layout_index_to_text_index ( int                 layout_index ) ;
    public    void                      set_activates_default     ( bool                setting ) ;
    public    void                      set_alignment             ( float               xalign ) ;
    public    void                      set_completion            ( EntryCompletion     completion ) ;
    public    void                      set_cursor_hadjustment    ( Adjustment          adjustment ) ;
    public    void                      set_has_frame             ( bool                setting ) ;
    public    void                      set_inner_border          ( Border              border ) ;
    public    void                      set_invisible_char        ( unichar             ch ) ;
    public    void                      set_max_length            ( int                 max ) ;
    public    void                      set_text                  ( string              text ) ;
    public    void                      set_visibility            ( bool                visible ) ;
    public    void                      set_width_chars           ( int                 n_chars ) ;
    public    int                       text_index_to_layout_index ( int                 text_index ) ;
}

Entry Description

Details

Constructor Details

Entry ()
    public                              Entry                     (  ) ;		

Field Details

visible
    public    uint                      visible ;		

overwrite_mode
    public    uint                      overwrite_mode ;		

in_drag
    public    uint                      in_drag ;		

text_length
    public    ushort                    text_length ;		

text_max_length
    public    ushort                    text_max_length ;		

text_area
    public    weak Gdk.Window           text_area ;		

im_context
    public    weak IMContext            im_context ;		

popup_menu
    public    weak Widget               popup_menu ;		

current_pos
    public    int                       current_pos ;		

cached_layout
    public    weak Pango.Layout         cached_layout ;		

cache_includes_preedit
    public    uint                      cache_includes_preedit ;		

need_im_reset
    public    uint                      need_im_reset ;		

cursor_visible
    public    uint                      cursor_visible ;		

in_click
    public    uint                      in_click ;		

is_cell_renderer
    public    uint                      is_cell_renderer ;		

editing_canceled
    public    uint                      editing_canceled ;		

mouse_cursor_obscured
    public    uint                      mouse_cursor_obscured ;		

select_words
    public    uint                      select_words ;		

select_lines
    public    uint                      select_lines ;		

resolved_dir
    public    uint                      resolved_dir ;		

button
    public    uint                      button ;		

blink_timeout
    public    uint                      blink_timeout ;		

recompute_idle
    public    uint                      recompute_idle ;		

ascent
    public    int                       ascent ;		

descent
    public    int                       descent ;		

text_size
    public    ushort                    text_size ;		

n_bytes
    public    ushort                    n_bytes ;		

preedit_length
    public    ushort                    preedit_length ;		

preedit_cursor
    public    ushort                    preedit_cursor ;		

dnd_position
    public    int                       dnd_position ;		

drag_start_x
    public    int                       drag_start_x ;		

drag_start_y
    public    int                       drag_start_y ;		

Signal Details

activate
    public    signal void               activate                  (  )  ;		

backspace
    public    signal void               backspace                 (  )  ;		

copy_clipboard
    public    signal void               copy_clipboard            (  )  ;		

cut_clipboard
    public    signal void               cut_clipboard             (  )  ;		

delete_from_cursor
    public    signal void               delete_from_cursor        ( DeleteType          type,
                                                                    int                 count )  ;		

insert_at_cursor
    public    signal void               insert_at_cursor          ( string              str )  ;		

move_cursor
    public    signal void               move_cursor               ( MovementStep        step,
                                                                    int                 count,
                                                                    bool                extend_selection )  ;		

paste_clipboard
    public    signal void               paste_clipboard           (  )  ;		

populate_popup
    public    signal void               populate_popup            ( Menu                menu )  ;		

toggle_overwrite
    public    signal void               toggle_overwrite          (  )  ;		

Property Details

activates_default
    public    weak bool                 activates_default         { get; set; } ;		

cursor_position
    public    weak int                  cursor_position           { get; } ;		

editable
    public    weak bool                 editable                  { get; set; } ;		

has_frame
    public    weak bool                 has_frame                 { get; set; } ;		

inner_border
    public    weak Border               inner_border              { get; set; } ;		

invisible_char
    public    weak uint                 invisible_char            { get; set; } ;		

max_length
    public    weak int                  max_length                { get; set; } ;		

scroll_offset
    public    weak int                  scroll_offset             { get; } ;		

selection_bound
    public    weak int                  selection_bound           { get; } ;		

shadow_type
    public    weak ShadowType           shadow_type               { get; set; } ;		

text
    public    weak string               text                      { get; set; } ;		

truncate_multiline
    public    weak bool                 truncate_multiline        { get; set; } ;		

visibility
    public    weak bool                 visibility                { get; set; } ;		

width_chars
    public    weak int                  width_chars               { get; set; } ;		

xalign
    public    weak float                xalign                    { get; set; } ;		

Method Details

get_activates_default ()
    public    bool                      get_activates_default     (  ) ;		

get_alignment ()
    public    float                     get_alignment             (  ) ;		

get_completion ()
    public    weak EntryCompletion      get_completion            (  ) ;		

get_cursor_hadjustment ()
    public    weak Adjustment           get_cursor_hadjustment    (  ) ;		

get_has_frame ()
    public    bool                      get_has_frame             (  ) ;		

get_inner_border ()
    public    Border                    get_inner_border          (  ) ;		

get_invisible_char ()
    public    unichar                   get_invisible_char        (  ) ;		

get_layout ()
    public    weak Pango.Layout         get_layout                (  ) ;		

get_layout_offsets ()
    public    void                      get_layout_offsets        ( int                 x,
                                                                    int                 y ) ;		

get_max_length ()
    public    int                       get_max_length            (  ) ;		

get_text ()
    public    weak string               get_text                  (  ) ;		

get_visibility ()
    public    bool                      get_visibility            (  ) ;		

get_width_chars ()
    public    int                       get_width_chars           (  ) ;		

layout_index_to_text_index ()
    public    int                       layout_index_to_text_index ( int                 layout_index ) ;		

set_activates_default ()
    public    void                      set_activates_default     ( bool                setting ) ;		

set_alignment ()
    public    void                      set_alignment             ( float               xalign ) ;		

set_completion ()
    public    void                      set_completion            ( EntryCompletion     completion ) ;		

set_cursor_hadjustment ()
    public    void                      set_cursor_hadjustment    ( Adjustment          adjustment ) ;		

set_has_frame ()
    public    void                      set_has_frame             ( bool                setting ) ;		

set_inner_border ()
    public    void                      set_inner_border          ( Border              border ) ;		

set_invisible_char ()
    public    void                      set_invisible_char        ( unichar             ch ) ;		

set_max_length ()
    public    void                      set_max_length            ( int                 max ) ;		

set_text ()
    public    void                      set_text                  ( string              text ) ;		

set_visibility ()
    public    void                      set_visibility            ( bool                visible ) ;		

set_width_chars ()
    public    void                      set_width_chars           ( int                 n_chars ) ;		

text_index_to_layout_index ()
    public    int                       text_index_to_layout_index ( int                 text_index ) ;		


Created by Valadoc