C# Class RevitPythonShell.CompletionToolTip

Display a listbox with a list of completions for a given string.
Exibir arquivo Open project: pterelaos/revitpythonshell Class Usage Examples

Public Methods

Method Description
ShowTooltip ( string uncompleted, IEnumerable completions, Point location ) : string

Show a listbox with possible completions for the uncompleted string. When the user chooses one and presses enter (or clicks it with the mouse), return the chosen completion. Or, when the user presses escape, then close the window and return null.

Private Methods

Method Description
dialog_KeyDown ( object sender, KeyEventArgs e ) : void

Method Details

ShowTooltip() public method

Show a listbox with possible completions for the uncompleted string. When the user chooses one and presses enter (or clicks it with the mouse), return the chosen completion. Or, when the user presses escape, then close the window and return null.
public ShowTooltip ( string uncompleted, IEnumerable completions, Point location ) : string
uncompleted string
completions IEnumerable
location Point
return string