Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.
1 to 15 of 15
def button_press_callback(widget, event, data ): print "clicked on" % widgettable.connect("button_press_event", button_press_callback)img.connect("button_press_event", button_press_callback)
#!/usr/bin/env pythonimport pygtkpygtk.require('2.0')import gtkimport osclass ImageClick(object): def __init__(self): self.window = gtk.Window(gtk.WINDOW_TOPLEVEL) self.window.connect("destroy", self.destroy) self.window.set_border_width(10) #get the curront path self.folder = os.path.abspath(os.path.dirname(__file__)) #create the table self.table = gtk.Table(1, 1) #create the event box for the images event self.event_box = gtk.EventBox() self.event_box.set_events(gtk.gdk.BUTTON_PRESS_MASK) self.event_box.connect("button_press_event", self.button_press_callback) #add the event box to the table self.table.attach(self.event_box, 0, 1, 0, 1) #Create the image and add it to the event box self.img = gtk.Image() self.event_box.add(self.img) self.image_file = "char.png" self.img.set_from_file(os.path.join(self.folder, self.image_file)) self.window.add(self.table) #show everything self.table.show() self.event_box.show() self.img.show() # and the window self.window.show() def destroy(self, widget, data=None): gtk.main_quit() def button_press_callback(self, widget, event, data=None): if (self.image_file != "char.png"): self.image_file = "char.png" else: self.image_file = "diamond.png" #Set the new image self.img.set_from_file(os.path.join(self.folder, self.image_file)) def main(self): gtk.main()if __name__ == "__main__": image_click = ImageClick() image_click.main()
I do want to create Prada Outlet, but it is not my Coach outlet to create something Coach Outlet. I try to make Michael Kors Outlet as comfortable as they can be, but my priority is Coach Outlet Online design, Coach outlet store online beauty and sexiness. This coach outlet online,Prada Shoes,Supra Footwear,Supra Shoes,Supra Skytops,Michael Kors bags,Michael Kors Website style is really similar to a lot of the Ironman's out there as you would expect. At the derrick rose shoes (bottom/left) we have our coach factory outlet online button.We have our Radio/Back button (middle/left) for when you're inside an Michael Kors Watches. More than two years later, kobe shoes showed up to the Time 100 gala in the same sneakers, but in a rich shade of
her, the design you wish to see. He or she will create a rough sketch of a gown. Upon your approval, he or she will sew away, making your dreams a reality. Comfort over style. Although there is a saying, flower girl dresses 8220 the vain endures the pain, Strapless Wedding Dresses it would be advised that you don t live with that. red evening dress . It is your wedding day and you wouldn t want to remember it as a day of pain and misery. Choose a design that is stylish and chic, 2012 wedding dresses . without sacrificing your comfort. By choosing an uncomfortable gown Bridesmaid Dresses . , instead of looking beautiful bridal wedding dress . , you will only end up looking like a disaster.Some wonderful ideas for you to check out the nice Designer Wedding DressPublished 08162011 By Admin Women that happen to be planning a wedding have lots of decisions that they must make. There are the entire details about the
colored documents, pink, or any other colouring that suits your current elegant.Man made fibre, tulle, chiffon red bridesmaid dresses , natural cotton, corduroy, linen mother of the bride dresses . , gauze, plus hemp are only a several fabrics there are these kind of calm dresses manufactured in.Anything your particular seems will be, it has an laid-back wedding dress looking forward to you.When might you put on a quick wedding gown? quinceanera dress You could use them pertaining to ceremonies which occur: in your house; within the beach front; with the court house; after a next as well as next marriage ceremony; or should you elope.All these attire are only up to date way to celebrate your marital life.If you are receiving hitched within an amazing destination, next the seaside stunning wedding dress is fantastic for your current entertaining bright day.The apparel may be light-weight and also airy, prom dresses . a thing circulation which will hook the nice and cozy breezes of this place, but nevertheless practical ample to wear during one more meeting wedding dresses . . cheap flower girl dresses . The dress could echo your individuality and may reveal the idea