One of uses of an underscore is to pick out the shortcut character in 
a menu item:

(script-fu-register  "wrdhb_create_half_blind_dovetail"
  "_Half blind dovetail..."   ;menu label
  "Create Template for Half blind Dovetail" 
....
)

There also appears to be

(script-fu-register  "wrdhb_create_half_blind_dovetail"
  _"Half blind dovetail..."   ;menu label
...
)

whch I gather has something to do with translation: I assume it would 
have no effect in this particular case because it's sadly 
unreasonable to expect translation dictionaries (po files??) to know 
"blind" or "dovetail".  That so?

==================

script-fu-register  "wrdhb_create_half_blind_dovetail"
  "_Half blind dovetail..."   ;menu label
....
)

Also, I've been using this style of getting a script registered for 
use in create menu:

(script-fu-menu-register "wrdhb_create_template_half_blind_dovetail" 
"<Image>/File/Create/Woodrat")

(a)  Can I combine the two, putting path in second parameter of 
script-fu-register?

(b) Is there anyway of getting a letter of the submenu "Woodrat" to 
be a shortcut key?  I've tried variations of underscore in the 
"<Image>/File/Create/Woodrat" parameter, doesn't work.


Yrs,

Alan 

Never accept a drink from a urologist.

                    -- Erma Bombeck


===================== +++++  =====================



_______________________________________________
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

Reply via email to