[scribus] Giving a list as argument

Stephane Santon m.scribus at santonum.eu
Sat Feb 8 16:30:23 UTC 2014


In fact, the problem is giving more than 1 parameter.
It works with
         self.setHeightsToFirst( laoImages)

So, how to give more than 1 parameter to my method ??


Le 08/02/2014 16:38, Stephane Santon a écrit :
>      def setHeightsToFirst( aObjs, aStartIndex, aCount):
>          messageBox("Arrange", "Heights Start", ICON_INFORMATION)
>
>      def arrangeImages(self):
>          laoImages = self.get_images_on_page()
>
>          self.setHeightsToFirst( laoImages, 0, 3)
>
> But my script is stopping with no error message on
>          self.setHeightsToFirst( laoImages, 0, 3)


-- 
Stephane Santon
Saintes, La Rochelle, Bordeaux, Cognac - France



More information about the scribus mailing list