Fixed container



Hi all... I'm trying to put a gtkmozembed in a fixed container... like this:
import gtk
import gtkmozembed

class TinyGecko:
    def __init__(self):
        moz = gtkmozembed.MozEmbed()
             
        win = gtk.Window()
        win.set_size_request(800,600)
        fixed = gtk.Fixed()
               
        win.add(fixed)
        fixed.put(moz,200,200)
             
        win.show_all ()
        moz.load_url('http://www.google.cl')
       

if __name__ == '__main__':
    TinyGecko()
    gtk.main()

but the page dont load... but if I put the moz object in the window, without a container it works... any ideas?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]