Пример #1
0
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
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()