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()
def load_sizers(): import edit_sizers return edit_sizers.init_all()