[Gdal-dev] GvOptionMenu callback
starged at gmail.com
Fri Feb 23 21:05:57 EST 2007
On 2/23/07, Gong, Shawn <Shawn.Gong at drdc-rddc.gc.ca> wrote:
> I use gvutils.GvOptionMenu instead of entry box.
> Problem is that I don't know how to trigger the callback when a different
> item is selected.
> self.alg = gvutils.GvOptionMenu(ALG_LIST)
This really belongs to openev-discuss (openev-discuss at lists.sourceforge.net)
so I replied there as well.
You don't need to connect to the GvOptionMenu, you set the callback in
the constructor like this:
self.alg = gvutils.GvOptionMenu(ALG_LIST, self.algorithm_changed_cb)
More information about the Gdal-dev