def __init__(self, parent): CtxSubPanel.__init__(self, parent) b = TCommandButton(self.panel, self.mw.commands.CombineBeziers, style='Toolbutton', image='context_combine') b.pack(side = LEFT) tooltips.AddDescription(b, _('Combine')) b = TCommandButton(self.panel, self.mw.commands.SplitBeziers, style='Toolbutton', image='context_split') b.pack(side = LEFT) tooltips.AddDescription(b, _('Split'))
def __init__(self, parent): CtxSubPanel.__init__(self, parent) b = TCommandButton(self.panel, self.mw.commands.ConvertToCurve, style='Toolbutton', image='context_to_curve') b.pack(side = LEFT) tooltips.AddDescription(b, _('Convert to curve'))
def __init__(self, parent): CtxSubPanel.__init__(self, parent) b = TCommandButton(self.panel, self.mw.commands.GroupSelected, style='Toolbutton', image='context_group') b.pack(side = LEFT) tooltips.AddDescription(b, _('Group')) b = TCommandButton(self.panel, self.mw.commands.UngroupSelected, style='Toolbutton', image='context_ungroup') b.pack(side = LEFT) tooltips.AddDescription(b, _('Ungroup')) b = TCommandButton(self.panel, self.mw.commands.UngrAll, style='Toolbutton', image='context_ungroupall') b.pack(side = LEFT) tooltips.AddDescription(b, _('Ungroup All'))