Package Editra :: Package src :: Module ed_theme
[hide private]

Module ed_theme

source code

Provide an interface for creating icon themes for Editra. This will allow for themes to be created, installed, and managed as plugins, which means that they can be installed as single file instead of dozens of individual image files.


Author: Cody Precord <cprecord@editra.org>

Classes [hide private]
  ThemeI
Interface for defining an icon theme in Editra When a icon theme is active Editra's ArtProvider will ask the active theme that implements this interface to give it a bitmap.
  BitmapProvider
Plugin that fetches requested icons from the current active theme.
  TangoTheme
Represents the Tango Icon theme for Editra
Variables [hide private]
  __svnid__ = '$Id: ed_theme.py 58981 2009-02-18 05:29:42Z CJP $'
  __revision__ = '$Revision: 58981 $'
  ART = {100: u'newwin.png', 103: u'saveall.png', 128: u'find.pn...
  MIME_ART = {32101: u'text.png', 32102: u'ada.png', 32107: u'sh...
Variables Details [hide private]

ART

Value:
{100: u'newwin.png',
 103: u'saveall.png',
 128: u'find.png',
 129: u'findr.png',
 175: u'font.png',
 197: u'bin_file.png',
 198: u'plugin.png',
 203: u'html_gen.png',
...

MIME_ART

Value:
{32101: u'text.png',
 32102: u'ada.png',
 32107: u'shell.png',
 32108: u'shell.png',
 32109: u'shell.png',
 32110: u'shell.png',
 32114: u'c.png',
 32115: u'cpp.png',
...