Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Having trouble adding user interface options.
#5
(09-27-2022, 10:43 PM)richiie Wrote: can you please send a screenshot of ur ui. I want to make changes to my gimp too. I'd like to learn from u Smile


my stupid mistake that originated this thread aside, learning how to to interact with gimp has been a real challenge. but one piece at a time I've got the hang of it. Or at least the hang of parts of it.
Code:
register(
   "test2-Combinator",
   "Combines Layers, tracks traits",
   "Combines Layers, tracks traits",
   "@CatskillNFT",
   "@CatskillNFT",
   "9/2022",
   "test2-Combinator",
   "RGB*, GRAY*",
   [
       (PF_IMAGE, "image", "takes current image", None),
       (PF_DIRNAME,'directory','Output Directory:','.'),
       (PF_SPINNER,"collectionSize","How many images to generate? (enter -1 for ALL):",-1,(-1,10000000,1)),
       (PF_OPTION, "newExist", "Select Y to create a new collection. Select N to add to existing Collection", 1,
            (
                ["N", "Y"]
             )

        ),
       (PF_SLIDER, "rareChance", "Rare Chance: Chance to generate rare layer in image", 0, (0, 100, 1)),
       (PF_SLIDER, "superRare", "Super Rare: Chance to use another rare layer if a rare layer is used", 0, (0, 100, 1)),

     
 
   ],
   [],
   test2_Combinator,
   menu="<Image>/Python-Fu/")

main()


Attached Files Thumbnail(s)
   
Reply


Messages In This Thread
RE: Having trouble adding user interface options. - by Albedo - 09-28-2022, 02:13 AM

Forum Jump: