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

All Samples(12)  |  Call(7)  |  Derive(0)  |  Import(5)

src/g/r/gramps-3.4.2/src/gui/plug/report/_styleeditor.py   Gramps(Download)
import Utils
import const
from gen.plug.docgen import (StyleSheet, FONT_SERIF, FONT_SANS_SERIF,
            PARA_ALIGN_RIGHT, PARA_ALIGN_CENTER, PARA_ALIGN_LEFT,  
            PARA_ALIGN_JUSTIFY) 
        self.current_name = None
 
        self.style = StyleSheet(style)
        self.parent = parent
        self.top = Glade(toplevel='editor')

src/g/r/gramps-3.4.2/src/cli/plug/__init__.py   Gramps(Download)
import Utils
from gen.plug import BasePluginManager
from gen.plug.docgen import (StyleSheet, StyleSheetList, PaperStyle,
                             PAPER_PORTRAIT, PAPER_LANDSCAPE, graphdoc)
from gen.plug.menu import (FamilyOption, PersonOption, NoteOption, 
 
        if self.category in (CATEGORY_TEXT, CATEGORY_DRAW):
            default_style = StyleSheet()
            self.option_class.make_default_style(default_style)
 
 
        if self.category in (CATEGORY_TEXT, CATEGORY_DRAW):
            default_style = StyleSheet()
            self.option_class.make_default_style(default_style)
 

src/g/r/gramps-3.4.2/src/Simple/_SimpleDoc.py   Gramps(Download)
Provide a simplified database access interface to the GRAMPS database.
"""
from gen.plug.docgen import StyleSheet, ParagraphStyle, TableStyle,\
                            TableCellStyle,  FONT_SANS_SERIF, PARA_ALIGN_LEFT
 
 
    """
    sheet = StyleSheet()
 
    pstyle = ParagraphStyle()

src/g/r/gramps-3.4.2/src/plugins/BookReport.py   Gramps(Download)
import Errors
from gui.pluginmanager import GuiPluginManager
from gen.plug.docgen import StyleSheet, StyleSheetList, PaperStyle
from QuestionDialog import WarningDialog, ErrorDialog
from gen.plug.menu import PersonOption, FilterOption, FamilyOption
def create_style_sheet(item):
    """
    Create a style sheet for a book item.
    """
    selected_style = StyleSheet()
 
    # Set up default style
    default_style = StyleSheet()

src/g/r/gramps-3.4.2/src/gui/plug/report/_reportdialog.py   Gramps(Download)
                             CATEGORY_CODE, CATEGORY_WEB, CATEGORY_GRAPHVIZ,
                             standalone_categories)
from gen.plug.docgen import StyleSheet, StyleSheetList
import ManagedWindow
from _stylecombobox import StyleComboBox
        choose from."""
        # Build the default style set for this report.
        self.default_style = StyleSheet()
        self.options.make_default_style(self.default_style)