예제 #1
0
파일: __init__.py 프로젝트: italomaia/spe
def init_all():
    import sizers_codegen
    sizers_codegen.initialize()
    import common
    if common.use_gui:
        import edit_sizers
        global Sizer, SizerSlot, SizerBase, _builder
        Sizer = edit_sizers.Sizer
        SizerSlot = edit_sizers.SizerSlot
        SizerBase = edit_sizers.SizerBase
        _builder = edit_sizers._builder
        return edit_sizers.init_all()
예제 #2
0
파일: __init__.py 프로젝트: CrazyPython/SPE
def init_all():
    import sizers_codegen
    sizers_codegen.initialize()
    import common
    if common.use_gui:
        import edit_sizers
        global Sizer, SizerSlot, SizerBase, _builder
        Sizer = edit_sizers.Sizer
        SizerSlot = edit_sizers.SizerSlot
        SizerBase = edit_sizers.SizerBase
        _builder = edit_sizers._builder
        return edit_sizers.init_all()
예제 #3
0
def load_sizers():
	import edit_sizers
	return edit_sizers.init_all()
예제 #4
0
def load_sizers():
    import edit_sizers
    return edit_sizers.init_all()