Scribus Forums

Development => Code => Topic started by: tropion on January 30, 2025, 05:07:39 PM

Title: PythonAPI and groups
Post by: tropion on January 30, 2025, 05:07:39 PM
Is there a good reason for why the PythonAPI can not access objects in groups?
Title: Re: PythonAPI and groups
Post by: MrB on January 30, 2025, 09:05:07 PM
There is the function getGroupItems(), so not sure what you're trying to do. Maybe some sample code? If some function is missing in Scripter, then we can add it.
Title: Re: PythonAPI and groups
Post by: tropion on February 12, 2025, 04:23:37 PM
getGroupItems() gives me the names of the objects in the group (if it is a top level group), but I can not select or move or manipulate these objects in any way. Objects that are in a group in a group are entirely inaccessible.

I submitted a patch to fix this, but I am not sure if it was intended behaviour

The captcha is broken.