Padre::Wx::FindResult.3pm

Langue: en

Version: 2010-06-02 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

Sommaire

NAME

Padre::Wx::FindResult - Find and list all occurrences

DESCRIPTION

"Padre::Wx::FindResult" Displays a list of all the occurrences of term in a file. Clicking on an item in the list will go to the line in that editor.

"new"

Create the new Find results panel.

"gettext_label"

Sets the label of the tab. Called automatically when the object is created.

"set_column_widths"

    $self->set_column_widths()
 
 

Works out the correct column widths for the list columns.

"on_list_item_activated"

On double click event go to the selected line in the editor

"select_line"

    $self->select_line($lineNumber, $editor);
 
 

Sets the focus to the selected line.

"_get_title"

    $self->_get_title();
 
 

Set the column headings to the list.

"relocale"

    $self->relocale();
 
 

Reset the column headings if locales are changed.

"on_right_down"

Called when the user presses a right click or a context menu key (on Win32).

"populate_list"

         my $entry->[0]->{lineNumber} = 10;
         $entry->[0]->{line} = ' this is at line 10';
         $self->populate_list($entry);
 
 

Populate the list with the line number and text.