RSS/Atom feed Twitter
Site is read-only, email is disabled

How to use "gimp-plugin-icon-register" scheme function?

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

1 of 1 message available
Toggle history

Please log in to manage your subscriptions.

How to use "gimp-plugin-icon-register" scheme function? Natanael_755 18 Apr 00:28
2020-04-18 00:28:28 UTC (about 4 years ago)
postings
1

How to use "gimp-plugin-icon-register" scheme function?

I'm writing a plugin using scheme, and i want to set a icon for this, using the Procedure Browser this function:

(gimp-plugin-icon-register STRING INT32 INT32 INT8ARRAY)

So i tried it:

(gimp-plugin-icon-register "drawing-nuvem" ICON-TYPE-IMAGE-FILE 3 #(00 00 00 ))

But i don't know how to format the INT8ARRAY, i'm getting a generic error: Error: Procedure execution of gimp-plugin-icon-register failed

How to format vector for any of these: ICON-TYPE-ICON-NAME, ICON-TYPE-INLINE-PIXBUF, ICON-TYPE-IMAGE-FILE? Thanks

Natanael_755 (via www.gimpusers.com/forums)