Logo Search packages:      
Sourcecode: pythoncard version File versions  Download package

def modules::resourceOutput::resourceAttributes (   background  ) 

editingDialog = 0
try: 
    name = background.rsrc.application.name
except:
    editingDialog = 1

Definition at line 246 of file resourceOutput.py.

00246                                   :
    # KEA 2002-03-24
    """
    editingDialog = 0
    try: 
        name = background.rsrc.application.name
    except:
        editingDialog = 1
    """

    if background.editingDialog:
        desc = resourceDialogAttributes(background, background.rsrc)
        for w in background.components.order:
            if w not in background.sizingHandleNames:
                desc += widgetAttributes(background, background.components[w]) + "\n"

        desc += "] # end components\n"
        desc += "} # end CustomDialog\n"
    else:
        desc = resourceStackAttributes(background)
        for w in background.components.order:
            if w not in background.sizingHandleNames:
                desc += widgetAttributes(background, background.components[w]) + "\n"

        desc += "] # end components\n"
        desc += "} # end background\n"
        desc += "] # end backgrounds\n"
        desc += "} }\n"
        
    return desc



Generated by  Doxygen 1.6.0   Back to index