Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(11)  |  Call(10)  |  Derive(0)  |  Import(1)

src/f/t/ftw.colorbox-1.1.4/ftw/colorbox/interfaces.py   ftw.colorbox(Download)
from ftw.colorbox import colorboxMessageFactory as _
from zope import schema
from zope.interface import Interface
 
 
class IColorboxSettings(Interface):
    """Interface for registry entries.
    """
    image_size = schema.Text(
        title=_(u'label_imagesize', default=u'Image size'),
    image_size = schema.Text(
        title=_(u'label_imagesize', default=u'Image size'),
        description=_(u'help_imagesize',
            default=u'Provide the name of an image size configured in the '
            'imaging control panel (e.g. large). If no size is given images '
 
    colorbox_config = schema.List(
        title=_(u'label_colorboxconfig', default=u'Colorbox config'),
        description=_(u'help_colorboxconfig',
            default=u'One item per line. For example speed:500.'),