It is currently Thu Nov 12, 2026 6:36 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 25 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Rob A's Paste into selection script
PostPosted: Tue Sep 27, 2011 3:14 pm  (#21) 
Offline
Script Coder
User avatar

Joined: Jul 14, 2010
Posts: 697
Quote:
Actually, my suggestion was that the command be registered in the "Paste" subgroup of the Edit Menu (not the "Paste As" submenu).

This is an as yet undocumented (or at least not-well-documented) feature of 'plug-in-menu-register' (I am currently in the process of creating some documentation for it) which affords greater control of where third-party commands get placed in the menu structure.


ooooooh! I had missed that subtlety in your comment at the GPR (not realizing that such a thing could be done...) That's just brilliant! How on earth did you figure that one out?

-Rob A>

_________________
Image
Fantasy Cartography and Mapping by RobA


Top
 Post subject: Re: Rob A's Paste into selection script
PostPosted: Tue Sep 27, 2011 3:57 pm  (#22) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
RobA wrote:
That's just brilliant! How on earth did you figure that one out?

Pretty much from following the developers' GIT log (I haven't seen documentation on it yet).

I am about halfway through documenting this feature, but if you check the menus/image-menu.xml.in for lines that mention "placeholder", you will be off to a good start of finding all of the menu "subgroups".

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


Top
 Post subject: Re: Rob A's Paste into selection script
PostPosted: Tue Sep 27, 2011 5:09 pm  (#23) 
Offline
GimpChat Member

Joined: Mar 29, 2011
Posts: 346
Location: Wisconsin
The information also appears to be contained in the file
C:\Program Files\GIMP-2.0\share\gimp\2.0\menus\image-menu.xml
(windows directory structure)

That directory contains XML files for all of the GIMP menu structures.

_________________
Image


Top
 Post subject: Re: Rob A's Paste into selection script
PostPosted: Wed Sep 28, 2011 4:07 am  (#24) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
Great tip Saulgoode : finally know how to fix the position of a couple of misplaced script

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Rob A's Paste into selection script
PostPosted: Wed Sep 28, 2011 8:18 am  (#25) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16261
This is actually a pretty nice script.Even enlarging in larger scale works nicely.Hardly any deformation of the larger scaled layer at all. :)

Image

_________________
Image


Top
Post new topic Reply to topic  [ 25 posts ]  Go to page Previous  1, 2

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group