Advertisement
chemoelectric

user_init.py

Dec 9th, 2012
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. from sortsmillff.usermenu import register_fontforge_menu_item
  2.  
  3. def print_it (obj):
  4. print (str (obj))
  5.  
  6. register_fontforge_menu_item (window = 'font',
  7. menu_path = ['submenu','Python entry'],
  8. action = print_it)
  9.  
  10. register_fontforge_menu_item (window = 'glyph',
  11. menu_path = 'Python entry',
  12. action = print_it)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement