Hi

If the change callback doesn't fire on each keypress (I can't remember) and
you want more custom behaviour than the limited Maya UI objects provide,
then you may need to switch to PySide. You can make a QLineEdit do anything
you want.

Justin

On Wed, 24 Aug 2016, 11:43 PM Michał Frątczak <[email protected]> wrote:

> Hi
> I'm using textField to implement interactive filter to some list of
> strings.
> I'd like to have my callback function being called on each keypress.
> Also, I'd like to retain focus after enter.
>
> I'm with MEL now but can convert to anything that works:
>
> textField -e -cc "myCallback" $textField UI;
>
>
> thanks !
>
> --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/b83bb3c3-f4ce-4b85-99fc-e43d1e578108%40googlegroups.com
> <https://groups.google.com/d/msgid/python_inside_maya/b83bb3c3-f4ce-4b85-99fc-e43d1e578108%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA1Qe3ejJ6ACu%2BjCKimZnscZq8tV7v2Cm%2Bc3ng1c7A-cSg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to