Re: [pygtk] Packaging pygtk and friends as eggs

2010-04-13 Thread René 'Necoro7; Neumann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 14.04.2010 00:49, schrieb John Stowers: > > A bit of an aside, but what is the general policy for similar software - > use the distribution package manager and package system to install the > software or use eggs? Is it ever feasible to mix the two

Re: [pygtk] Python VTE reference documentation

2009-10-29 Thread René 'Necoro7; Neumann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Just use the normal vte documentation and do some abstraction. 90% of the API is just mapped from C to Python. László Monda schrieb: > Hi List, > > As absurd as it may seem I don't find the Python reference > documentation for VTE. > > Could somebod

Re: [pygtk] pyGtk segfault comparing gtk.Image with 0

2009-10-17 Thread René 'Necoro7; Neumann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Well -- you are not initializing gtk.Image. So it's your very own mistake. I don't see a pygtk issue here. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkrZ

Re: [pygtk] vte component not setting background and foreground colors

2009-10-12 Thread René 'Necoro7; Neumann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rakan Alhneiti schrieb: > The other question is, how can i make the vte display a vertical scroll bar? # add scrollbar termScroll = gtk.VScrollbar(self.console.get_adjustment()) self.termHB.pack_start(termScroll, False) (where self.console is the vte.

Re: [pygtk] sharing data between windows

2009-09-15 Thread René 'Necoro7; Neumann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Doug Brewer schrieb: > Hmm. So if I kept everything in one big messy class, I wouldn't need to > worry about how windows communicate with each other, because they'd all have > access to the same methods. But if I want it to be neat and separate, I need

Re: [pygtk] sharing data between windows

2009-09-14 Thread René 'Necoro7; Neumann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Doug Brewer schrieb: > The only way I could figure this out was to pass the main window object > itself to the preferences class, so that the pref class could set properties > (or access methods) to transfer the data. > > (in preferences class): > >

Re: [pygtk] Check if end of a TextView is visible

2009-09-06 Thread René 'Necoro7; Neumann
Well - just a quick idea (not tested and correctly formulated): visible = textview.get_visible_rect() max_y_pos = visible.y + visible.height last_line_pos = sum(textview.get_line_yrange(textbuffer.get_end_iter())) if last_line_pos > max_y_pos: print "Line not visible" else: print

Re: [pygtk] Subclassing GObject (WAS: Registering GTK-Widgets)

2009-09-06 Thread René 'Necoro7; Neumann
Ok, seems like the topic should be "Subclassing GObject" as this is the real issue :). Googling and looking through documentation does not reveal any official statement. There is this FAQ-Entry [1] - linking to a non-existing site. And using the webarchive to look at what has been there once, reve

[pygtk] Registering GTK-Widgets

2009-09-05 Thread René 'Necoro7; Neumann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, today I had a look at my application using the "Parasite" debugger [1]. And there I noticed, that widgets I created on Python-level showed up with the last C-Class involved. I.e. for an inheritance graph like: ... - --> GtkTreeView --> LazyView --