| Trees | Indices | Help |
|
|---|
1 # -*- coding: utf-8 -*- 2 # 3 # Copyright (C)2006-2009 Edgewall Software 4 # All rights reserved. 5 # 6 # This software is licensed as described in the file COPYING, which 7 # you should have received as part of this distribution. The terms 8 # are also available at http://trac.edgewall.org/wiki/TracLicense. 9 # 10 # This software consists of voluntary contributions made by many 11 # individuals. For the exact contribution history, see the revision 12 # history and logs, available at http://trac.edgewall.org/log/. 13 14 from trac .core import * 15 1617 - class IPreferencePanelProvider (Interface):183319 - def get_preference_panels (req):20 """Return a list of available preference panels. 21 22 The items returned by this function must be tuple of the form 23 `(panel, label)`. 24 """2526 - def render_preference_panel (req, panel):27 """Process a request for a preference panel. 28 29 This function should return a tuple of the form `(template, data)`, 30 where `template` is the name of the template to use and `data` is the 31 data to be passed to the template. 32 """
| Trees | Indices | Help |
|
|---|