parameters: (self, **kw)
docstring: Configure the image.
docstring_summary: Configure the image.
docstring_tokens: Configure the image .
function: def configure(self, **kw):
          """Configure the image."""
          res = ()
          for k, v in _cnfmerge(kw).items():
              if v is not None:
                  if k[-1] == '_': k = k[:-1]
                  if hasattr(v, '__call__'):
                      v = self._register(v)
                  res = res + ('-'+k, v)
          self.tk.call((self.name, 'config') + res)
function_tokens: def configure ( self , * * kw ) : res = ( ) for k , v in _cnfmerge ( kw ) . items ( ) : if v is not None : if k [ - 1 ] == '_' : k = k [ : - 1 ] if hasattr ( v , '__call__' ) : v = self . _register ( v ) res = res + ( '-' + k , v ) self . tk . call ( ( self . name , 'config' ) + res )