# Fast search

Fast search is a widget that let you found an item from a list quickly.

You can set an item as:
- favorite
- blocklist

You can see items from a:
- main list
- list of latest items chosen
- favorite items list
- blocked items list

## Usage
First Tab: auto complete
Second Tab: create what was wrote
Ctrl + tab = role on different lists

## API

You just have to give a dictionary to Fast Search with:
- key: name of the item
- value: callable function to be executed when the item is chosen

Fast Search can be used anywhere.

### Example
```python
from omni.kit.widget.fast_search.python import FastSearchWidget
_fast_search_widget = FastSearchWidget(
    {
        registered_node_type: lambda: print(registered_node_type)
        for registered_node_type in omnigraph.get_registered_nodes()
    }
)
_fast_search_widget.create_widget()
_fast_search_widget.set_window_visible(False)
```

