C# Class Xwt.GtkBackend.TextEntryBackend

Inheritance: WidgetBackend, ITextEntryBackend
Exibir arquivo Open project: mono/xwt Class Usage Examples

Public Methods

Method Description
DisableEvent ( object eventId ) : void
EnableEvent ( object eventId ) : void
Initialize ( ) : void
SetCompletionMatchFunc ( Func matchFunc ) : void

Set a custom matching function used to decide which completion from SetCompletions list are shown for the given input

SetCompletions ( string completions ) : void

Set the list of completions that will be shown by the entry

Private Methods

Method Description
CreateCompletion ( ) : Gtk.EntryCompletion
HandleActivated ( object sender, EventArgs e ) : void
HandleButtonPressEvent ( object o, Gtk args ) : void
HandleButtonReleaseEvent ( object o, Gtk args ) : void
HandleChanged ( object sender, EventArgs e ) : void
HandleMotionNotifyEvent ( object o, Gtk args ) : void
HandleMoveCursor ( object sender, EventArgs e ) : void
HandleSelectionChanged ( ) : void

Method Details

DisableEvent() public method

public DisableEvent ( object eventId ) : void
eventId object
return void

EnableEvent() public method

public EnableEvent ( object eventId ) : void
eventId object
return void

Initialize() public method

public Initialize ( ) : void
return void

SetCompletionMatchFunc() public method

Set a custom matching function used to decide which completion from SetCompletions list are shown for the given input
public SetCompletionMatchFunc ( Func matchFunc ) : void
matchFunc Func A function which parameter are, in order, the current text entered by the user and a completion candidate. /// Returns true if the candidate should be included in the completion list.
return void

SetCompletions() public method

Set the list of completions that will be shown by the entry
public SetCompletions ( string completions ) : void
completions string The list of completion or null if no completions should be shown
return void