11-12-2020, 10:02 AM
Thanks, Ofnuts,
Trying Gimp2.8 now, deleted gimp 2.20.22
Old plugins example, old guideloab with extensions was (is I hope reviable).
This is different to gimp 2.10. 22
Especially this line: <Image>/GTK/Guides lab...", "RGB*, GRAY*", PLUGIN, plug_params,[])
Such that I got (get in 2.8) the GTK tab!!!!
How to do that in 2.10,22 ??? if at all?
Will stay a while with 2.8
Greets
Peter
Trying Gimp2.8 now, deleted gimp 2.20.22
Old plugins example, old guideloab with extensions was (is I hope reviable).
This is different to gimp 2.10. 22
Code:
class arakneguideLab(gimpplugin.plugin):
def start(self):
gimp.main(self.init, self.quit, self.query, self._run)
def init(self):
pass
def quit(self):
pass
def query(self):
cright = "jfgarcia"
date = "2013-2014"
plug_descr = _("Admin")
plug_params = [(PDB_INT32, "run_mode", "Run mode"), (PDB_IMAGE, "image", "Input image"),]
gimp.install_procedure("arakne_guide_lab", plug_descr, plug_descr, "jfgarcia", cright, date, "<Image>/GTK/Guides lab...", "RGB*, GRAY*", PLUGIN, plug_params,[])
def arakne_guide_lab(self, runmode, img):
gLabUtls(runmode, img)
if __name__ == '__main__':
arakneguideLab().start()
Especially this line: <Image>/GTK/Guides lab...", "RGB*, GRAY*", PLUGIN, plug_params,[])
Such that I got (get in 2.8) the GTK tab!!!!
How to do that in 2.10,22 ??? if at all?
Will stay a while with 2.8
Greets
Peter