<HTML>
<HEAD>
<TITLE>how to deal with *args,**kwds</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>While I understand the underlying concept, I’ve never been able to get the *args, **kwargs structure to work for me.<BR>
<BR>
I’m trying to change the custom select control I made and working with a popup control as an alternative to the combo control I used before.<BR>
<BR>
It begins with the following syntax and I’d like to pass a couple other arguments (at least “type”) to the class. Here is the syntax.<BR>
<BR>
def __init__(self,*_args,**_kwargs):
apply(pop.PopupControl.__init__,(self,) + _args,_kwargs)
How can I pass ‘type’ here? Where do I put it?<BR>
<BR>
Note that I’m unconvinced that this will fix the weird problem of the expanded tree node in the current select control preventing some systems from adding additional layers in the GIS Manager.<BR>
<BR>
Thanks<BR>
Michael<BR>
__________________________________________<BR>
Michael Barton, Professor of Anthropology<BR>
School of Human Evolution & Social Change <BR>
Center for Social Dynamics & Complexity<BR>
Arizona State University<BR>
<BR>
phone: 480-965-6213<BR>
fax: 480-965-7671<BR>
www: <a href="http://www.public.asu.edu/~cmbarton">http://www.public.asu.edu/~cmbarton</a> <BR>
<BR>
</SPAN></FONT>
</BODY>
</HTML>