You were probably running panel.showModalDialog() instead of panel.show()
The definition of a modal window or dialog is one that blocks the user from
interacting with the rest of the GUI until it is closed.
-Nathan
-----Original Message-----
From: olivier...@moving-picture.com
Sent: Wednesday, December 19, 2012 7:28 AM
To: Nuke Python discussion
Subject: Re: [Nuke-python] which panel function to use
interesting, I always used that one inside a class and had to add an ok
or cancel button to get out of it because it would not let me close the
window.
and i couldn't touch the tree or select anything as it is waiting for
something to happen.
I will dig that further
thanks
Michael Habenicht wrote:
No, it doesn't.
run this in the script editor:
p = nukescripts.PythonPanel()
p.show()
You get a window that let's you still do anything else.
----- Original Message -----
From: olivier...@moving-picture.com
To: nuke-python@support.thefoundry.co.uk
Date: 19.12.2012 15:59:36
Subject: Re: [Nuke-python] which panel function to use
I know but those windows locks the gui, you cannot do anything like
select a node or moving the tree until you close the window.
and that is exactly what i am looking for
thanks anyway, the pane is a good trick i didn't know ;)
Michael Habenicht wrote:
Well then I am sorry because this is as far as I know your only option
besides of PySide.
But you don't have to add it to a pane. If you create the panel and
simply show it then you have a floating non modal window.
Best regards,
Michael
------------------------------------------
DI (FH) Michael Habenicht
Digital Film Compositor & TD
http://www.tinitron.de
m...@tinitron.de
------------------------------------------
----- Original Message -----
From: olivier...@moving-picture.com
To: nuke-python@support.thefoundry.co.uk
Date: 19.12.2012 15:19:38
Subject: Re: [Nuke-python] which panel function to use
It is good to know this trick to add it in a pane, but i don't think it
is a good option.
our pipeline will not welcome that way of including tools i am afraid.
Michael Habenicht wrote:
Hey,
use the PythonPanel like here:
http://docs.thefoundry.co.uk/nuke/63/pythondevguide/custom_panels.html#search-and-replace-panel
Best regards,
Michael
------------------------------------------
DI (FH) Michael Habenicht
Digital Film Compositor & TD
http://www.tinitron.de
m...@tinitron.de
------------------------------------------
----- Original Message -----
From: olivier...@moving-picture.com
To: nuke-python@support.thefoundry.co.uk
Date: 19.12.2012 12:47:28
Subject: [Nuke-python] which panel function to use
Hiya,
Once again I am annoyed with Nuke panels, there is different ways to
create some and each has issues.
what i need is a panel that behave like a property panel, meaning i
can still select nodes and do some action while this panel is
visible.
At the moment i use it from a gizmo to get that behaviour, but it is
a useless node on the side. The ideal would be a floating window or
panel without the node.
I tried the class PythonPanel, nuke.Panel ....
they all have to be turned off to get back some selection control on
the tree.
And i want a panel i can order like using startline...
And of course i want to stay in Nuke, no pyQT
anything i missed there ?? it should be quiet simple as the property
panel behaviour exist.
What should i use ??
cheers
Olivier
_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python