=head1 NAME

Gtk2::EntryCompletion

=head1 HIERARCHY

  Glib::Object
  +----Gtk2::EntryCompletion

=head1 INTERFACES

  Gtk2::CellLayout


=head1 METHODS

=head2 entrycompletion = Gtk2::EntryCompletion-E<gt>B<new> 

=over

=back

=head2 $completion-E<gt>B<complete> 

=over

=back

=head2 $completion-E<gt>B<delete_action> ($index)

=over

=over

=item * $index (integer) 

=back

=back

=head2 widget = $entry-E<gt>B<get_entry> 

=over

=back

=head2 boolean = $completion-E<gt>B<get_inline_completion> 

=over

=back

=head2 $completion-E<gt>B<set_inline_completion> ($inline_completion)

=over

=over

=item * $inline_completion (boolean) 

=back

=back

=head2 $completion-E<gt>B<insert_action_markup> ($index, $markup)

=over

=over

=item * $index (integer) 

=item * $markup (string) 

=back

=back

=head2 $completion-E<gt>B<insert_action_text> ($index, $text)

=over

=over

=item * $index (integer) 

=item * $text (string) 

=back

=back

=head2 $completion-E<gt>B<insert_prefix> 

=over

=back

=head2 $completion-E<gt>B<set_match_func> ($func, $func_data=undef)

=over

=over

=item * $func (scalar) 

=item * $func_data (scalar) 

=back

=back

=head2 integer = $completion-E<gt>B<get_minimum_key_length> 

=over

=back

=head2 $completion-E<gt>B<set_minimum_key_length> ($length)

=over

=over

=item * $length (integer) 

=back

=back

=head2 treemodel = $completion-E<gt>B<get_model> 

=over

=back

=head2 $completion-E<gt>B<set_model> ($model)

=over

=over

=item * $model (Gtk2::TreeModel) 

=back

=back

=head2 boolean = $completion-E<gt>B<get_popup_completion> 

=over

=back

=head2 $completion-E<gt>B<set_popup_completion> ($popup_completion)

=over

=over

=item * $popup_completion (boolean) 

=back

=back

=head2 boolean = $completion-E<gt>B<get_popup_set_width> 

=over

=back

=head2 $completion-E<gt>B<set_popup_set_width> ($popup_set_width)

=over

=over

=item * $popup_set_width (boolean) 

=back

=back

=head2 boolean = $completion-E<gt>B<get_popup_single_match> 

=over

=back

=head2 $completion-E<gt>B<set_popup_single_match> ($popup_single_match)

=over

=over

=item * $popup_single_match (boolean) 

=back

=back

=head2 integer = $completion-E<gt>B<get_text_column> 

=over

=back

=head2 $completion-E<gt>B<set_text_column> ($column)

=over

=over

=item * $column (integer) 

=back

=back


=head1 PROPERTIES

=over

=item 'inline-completion' (boolean : readable / writable / private)

Whether the common prefix should be inserted automatically

=item 'minimum-key-length' (integer : readable / writable / private)

Minimum length of the search key in order to look up matches

=item 'model' (Gtk2::TreeModel : readable / writable / private)

The model to find matches in

=item 'popup-completion' (boolean : readable / writable / private)

Whether the completions should be shown in a popup window

=item 'popup-set-width' (boolean : readable / writable / private)

If TRUE, the popup window will have the same size as the entry

=item 'popup-single-match' (boolean : readable / writable / private)

If TRUE, the popup window will appear for a single match.

=item 'text-column' (integer : readable / writable / private)

The column of the model containing the strings.

=back


=head1 SIGNALS

=over

=item boolean = B<insert-prefix> (Gtk2::EntryCompletion, string)

=item boolean = B<match-selected> (Gtk2::EntryCompletion, Gtk2::TreeModel, Gtk2::TreeIter)

=item B<action-activated> (Gtk2::EntryCompletion, integer)

=back


=head1 SEE ALSO

L<Gtk2>, L<Glib::Object>

=head1 COPYRIGHT

Copyright (C) 2003-2005 by the gtk2-perl team.

This software is licensed under the LGPL.  See L<Gtk2> for a full notice.


=cut

