#!/usr/bin/env python2.4

from eagle import *

def callback( app, toolbar_item):
    info( "clicked on toolbar item %s of %s" % ( toolbar_item, app ) )

App( title="Test Toolbar",
     toolbar=(Toolbar.Item( label="Test",
                            image="test.png",
                            tooltip="test this toolbar item",
                            callback=callback ),
              Toolbar.Separator(),
              Toolbar.Item( label="Test",
                            image="test.png",
                            tooltip="test this toolbar item",
                            callback=callback,
                            active=False ),
              ),
     )

run()

@@ -644,24 +644,87 @@
 ve=False ),%0A
+              Toolbar.Item( stock=%22open%22, callback=callback ),%0A
             

Test Toolbar.Item stock