Changeset View
Changeset View
Standalone View
Standalone View
space_view3d_pie_menus/pie_save_open_menu.py
| Show First 20 Lines • Show All 91 Lines • ▼ Show 20 Lines | |||||
| class pie_fileio(Menu): | class pie_fileio(Menu): | ||||
| bl_idname = "pie.fileio" | bl_idname = "pie.fileio" | ||||
| bl_label = "Import/Export" | bl_label = "Import/Export" | ||||
| def draw(self, context): | def draw(self, context): | ||||
| layout = self.layout | layout = self.layout | ||||
| pie = layout.menu_pie() | pie = layout.menu_pie() | ||||
| box = pie.split().column() | box = pie.split().column() | ||||
| box.menu("INFO_MT_file_import", icon='IMPORT') | box.menu("TOPBAR_MT_file_import", icon='IMPORT') | ||||
| box.separator() | box.separator() | ||||
| box.menu("INFO_MT_file_export", icon='EXPORT') | box.menu("TOPBAR_MT_file_export", icon='EXPORT') | ||||
| class ExternalData(Menu): | class ExternalData(Menu): | ||||
| bl_idname = "external.data" | bl_idname = "external.data" | ||||
| bl_label = "External Data" | bl_label = "External Data" | ||||
| def draw(self, context): | def draw(self, context): | ||||
| layout = self.layout | layout = self.layout | ||||
| ▲ Show 20 Lines • Show All 103 Lines • Show Last 20 Lines | |||||