Xfce Foundation Classes
Main Page  | IndexNamespace List  |  Alphabetical List  |  Class List  |  File List


Xfc::Gtk::EntryCompletionSignals Class Reference

Abstract base class that implements the virtual signal handlers for Gtk::EntryCompletion. More...

#include <xfc/gtk/entrycompletionsignals.hh>

Inheritance diagram for Xfc::Gtk::EntryCompletionSignals:

Xfc::G::ObjectSignals Xfc::G::TypeInstance Xfc::Trackable List of all members.

Public Member Functions

Signal Handlers

Protected Member Functions

Constructors

Detailed Description

Abstract base class that implements the virtual signal handlers for Gtk::EntryCompletion.


Constructor & Destructor Documentation

Xfc::Gtk::EntryCompletionSignals::EntryCompletionSignals EntryCompletion completion  )  [protected]
 

Construct a new EntryCompletionSignals object.

Parameters:
completion A EntryCompletion object inheriting the EntryCompletionSignals implementation.


Member Function Documentation

virtual void Xfc::Gtk::EntryCompletionSignals::on_action_activated int  index  )  [virtual]
 

Called when an action is activated.

Parameters:
index The index of the activated action.

virtual bool Xfc::Gtk::EntryCompletionSignals::on_insert_prefix const String prefix  )  [virtual]
 

Called when the inline autocompletion is triggered.

Parameters:
prefix The common prefix of all possible completions.
Returns:
true if the signal has been handled.
The default behaviour is to make the entry display the whole prefix and select the newly inserted part. Applications may override this signal handler in order to insert only a smaller part of the prefix into the entry - e.g. the entry used in Gtk::FileChooser inserts only the part of the prefix up to the next '/'.

virtual bool Xfc::Gtk::EntryCompletionSignals::on_match_selected const TreeModel model,
const TreeIter iter
[virtual]
 

Called when a match from the list is selected.

Parameters:
model The Gtk::TreeModel containing the matches.
iter A Gtk::TreeIter positioned at the selected match.
Returns:
true if the signal has been handled.
The default behaviour is to replace the contents of the entry with the contents of the text column in the row pointed to by iter.


The documentation for this class was generated from the following file: Xfce Foundation Classes
Copyright © 2004-2005 The XFC Development Team XFC 4.3