Re: [pygtk] "close window"not working

2008-06-24 Thread Gian Mario Tagliaretti
2008/6/24 Festila Catalin <[EMAIL PROTECTED]>: > self.window.connect("destroy", gtk.gtk_main_quit) gtk.main_quit() cheers -- Gian Mario Tagliaretti ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read

[pygtk] "close window"not working

2008-06-24 Thread Festila Catalin
Hi ! I have this code : #!/usr/bin/env python import sys try: import pygtk pygtk.require("2.0") except: pass try: import gtk import gtk.glade except: sys.exit(1) class HellowWorldGTK: """This is an Hello World GTK application""" def __init__(self): #Set

Re: [pygtk] Mailing list of gtkmvc

2008-06-24 Thread Johan Dahlin
David Trem wrote: Any news about pygtkmvc? Is the projet still alive? Any other similar projet I could consider for a pygtk MVC framework? You might want to check out kiwi: http://kiwi.async.com.br/ Johan ___ pygtk mailing list pygtk@daa.com.au h

Re: [pygtk] Mailing list of gtkmvc

2008-06-24 Thread David Trem
Any news about pygtkmvc? Is the projet still alive? Any other similar projet I could consider for a pygtk MVC framework? Thanks, David Roberto Cavada a écrit : Hi all, my apologies to whom may be not interested in the following. gtkmvc - MVC and Observer patterns for pygtk (http://pygtkmv

Re: [pygtk] Close button on gtk.AboutDialog

2008-06-24 Thread Walter Leibbrandt
Hi, Try this: self.aboutdialog = gtk.AboutDialog() self.aboutdialog.set_version('0.0.1') response = self.aboutdialog.run() self.aboutdialog.hide() Seeing as gtk.AboutDialog inherits from gtk.Dialog, the "right way" to use it would be to call the run() method - which automatically calls show(

[pygtk] Close button on gtk.AboutDialog

2008-06-24 Thread Ronaldo Nascimento
Code > self.aboutdialog = gtk.AboutDialog() > self.aboutdialog.set_version('0.0.1') > self.aboutdialog.show() > How do i get the "close" button to hide the dialog? thanks -- Ronaldo Nascimento [EMAIL PROTECTED] ___ pygtk mailin

[pygtk] gtk.TreeModel.get_iter_from_string() Confusion

2008-06-24 Thread Andrew Rowland
All, I am more than a little confused and would appreciate a nudge in the right direction. I am reading records from a database and one of the fields (PID) contains a string representation of a treeview path. +-+--+--+-+--+--

Re: [pygtk] right-click events

2008-06-24 Thread Alessandro Dentella
On Mon, Jun 23, 2008 at 08:07:24PM -0700, Adiv wrote: > Hi, is there any way to only capture right-mouse-button clicks? All I can seem > to find is double- and triple-clicking. I know Tkinter can capture > right-button > clicks, so I was hoping GTK could as well. I'm not aware of any but you can

Re: [pygtk] gtk.ListStore columns in a gtk.ComboBox

2008-06-24 Thread Isaac Alston
2008/6/23 BJörn Lindqvist <[EMAIL PROTECTED]>: > I think the combo box you get from the widget tree already has a cell > renderer text that renders the first column in the list store. If so, > you could just change the column that the renderer will render: > > combo.set_attribute(combo.get_cells()[