[pygtk] GObject signals & subclassing

2008-03-07 Thread Edward Stow
the gobject tuturial from the pygtk.org site. [1] http://www.sicem.biz/personal/lgs/docs/gobject-python/gobject-tutorial.html [2]http://www.pygtk.org/docs/pygobject/ -- Edward Stow ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailma

[pygtk] Controlling application name in window title bar

2008-03-03 Thread Edward Stow
7;myapp.py - My Application" I could rename the module but this would not suit. The only way I know is to use the following prior to importing gtk: import sys sys.argv[0]= "My Application" This feels like a hack to me -- but is it the only practical method. (Using Ubuntu and No

Re: [pygtk] help with two main windows in pygtk

2008-02-21 Thread Edward Stow
On Fri, Feb 22, 2008 at 3:28 AM, Prashant Shah <[EMAIL PROTECTED]> wrote: > > self.new_comp_glade = self.mwglade.get_widget("new_company") > > self.vbox_main = self.mwglade.get_widget("vbox_main") > > > > child = self.new_comp_glade.get_child() > > if child: > > # remove the child from

Re: [pygtk] help with two main windows in pygtk

2008-02-20 Thread Edward Stow
emove the child from the top window self.new_comp_glade.remove(child) self.vbox_main.add(child) > This gives seg fault. > > Am I doing something wrong here since this is not making sense. I know > I have messed up somewhere. > ____

Re: [pygtk] Toolbar layout button to right

2008-02-20 Thread Edward Stow
the item has been expanded in the UI builder but when running the application the item is not expanded. Or am I just missing on some other option to be set. Thanks On Thu, Feb 21, 2008 at 5:16 AM, Edward Stow <[EMAIL PROTECTED]> wrote: > On Wed, Feb 20, 2008 at 10:36 AM, Gian Mario Ta

Re: [pygtk] Toolbar layout button to right

2008-02-20 Thread Edward Stow
On Wed, Feb 20, 2008 at 10:36 AM, Gian Mario Tagliaretti <[EMAIL PROTECTED]> wrote: > On Feb 20, 2008 12:21 AM, Edward Stow <[EMAIL PROTECTED]> wrote: > > Hi Edward, > > > > I'm having trouble packing a toolbar. > > > > I require a toolbar

[pygtk] Toolbar layout button to right

2008-02-19 Thread Edward Stow
side. Any suggestions: Thanks -- Edward Stow ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

[pygtk] Combobox error? duplicated columns

2008-02-13 Thread Edward Stow
.append(['second']) combobox.set_model(liststore) cell = gtk.CellRendererText() combobox.pack_start(cell, True) combobox.set_attributes(cell, text=0) w = xml.get_widget('window1') w.show_all() gtk.main() -- Edward Stow &l