Accessing a Constraint in a panel

I want to create a panel in the 3D viewport, and in this panel, I want to be able to change the settings of a constraint I have already created. Can anyone help?
Thanks!
I can’t figure out how to attach my .blend… Can you work just this? Here is my current script:


import bpy

class helmetprops(bpy.types.Panel):
    bl_space_type = 'VIEW_3D'
    bl_region_type = 'UI'
    bl_label = ("Helmet Props")
    
    '''
    I want a panel that appears in the 3D viewport
    where I can change the constraint settings of 
    the ChildOf constraint "helmet" on the bone "helmet"
    '''
    
    
    
def register():
    bpy.utils.register_class(helmetprops)
    
register()

Take a lookat ‘A popup dialog’, near the bottom of this page:
http://wiki.blender.org/index.php/Dev:2.5/Py/Scripts/Cookbook/Code_snippets/Interface

I don’t understand how that helps… I’ll continue to try to attach my file, maybe a different browser will work.

What is supposed to trigger the panel?

Nothing. I just want the panel to appear when my rig is selected. I have the panel made, but i want to be able to access a set constrain through it, i.e. I want the constraint screen in the properties window to appear in this panel.

Look at the ‘poll’ method.

Yes, that is correct. I think I’ll just pin the constraint panel. Thanks for the tip!