Copyright © 2008, 2009 Arndt Roger Schneider
A Gooleditor is created with a Goolbar as its »-goolbar« property. This Goolbar is queried for information.
Use customizeCommand to make the Gooleditor accessible from the Goolbar’s context menu.
Example 4.1. customizeToolbar
# On the toolbar: $toolbar configure -customizeCommand \ [list xxx::customizeToolbar $toolbar ] ... proc xxx::customizeToolbar toolbar { gooleditor [winfo toplevel $toolbar].editor \ -goolbar $toolbar }
For Gstripes see the section called “Stripes and Gooleditor”.