gabor wrote:
...
i know about the gtk (the C versio) documentation..
is there a reference like documentation specially for pygtk?
Yes, I usually use this one:
http://www.moeraki.com/pygtkreference/pygtk2reference/
HTH,
Igor
___
pygtk mailing list [EMAIL
David M. Cook wrote:
On Fri, May 07, 2004 at 03:27:33PM +0200, Igor Stroh wrote:
treeview.scroll_to_cell(path, col, gtk.TRUE, 0.5, 0)
Try putting the scroll_to_cell in a idle_add call:
gtk.idle_add(treeview.scroll_to_cell, path, col, gtk.TRUE, 0.5, 0)
Thanks for your replies guys, the problem
Hi there,
it seems that the above method is not wrapped in 2.3.91, though it shows
up in gtk/gtk.defs. Does anyone know how to patch the pygtk source
to make it available?
Greetings,
Igor
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/m
Hi there,
I can't force a TreeView entry to be scrolled into view, that's how I do it:
selected =
selection = treeview.get_selection()
selection.select_iter(selected)
path = tree.get_path(selected)
col = treeview.get_column(1)
treeview.scroll_to_cell(path, col, gtk.TRUE, 0.5, 0)
the TreeView see
Hi there,
I've encountered a weird behaviour with ListStore + TreeView. The
situation is
as followed (simplified a bit):
Two buttons, A and B trigger the display of two different lists in a
TreeView (ListStore
model). Button A should display a rather big list (say 200 items),
button B - a short
On Mo, 2003-11-17 at 14:34, Christian Robottom Reis wrote:
> On Mon, Nov 17, 2003 at 09:30:44AM +0100, Igor Stroh wrote:
> >
> > top = gtk.Window()
> > while gtk.events_pending():
> > gtk.main_iteration(block=gtk.FALSE)
> >
Hi there,
trying to port a Tkinter program[0] to pygtk2 I ran into a problem:
I replaced this Tkinter code:
top = Tk()
top.title(title)
top.after_idle(do_something) # see [1] for details
top.mainloop()
with following pygtk2 code
top
Hi,
On Mi, 2003-11-12 at 22:21, Morten Heiberg wrote:
[setting background pixmaps]
I'm not sure if I understood your problem correctly, but maybe this will
help (replace gtk.Window with appropriate Widget class):
iconsdir = './icons'
imagename = 'image.png'
win = gtk.Window()
path = os.path.jo
Hi,
On Mi, 2003-11-05 at 22:51, Jeffrey C. Ollie wrote:
> I'm implementing a custom TreeModel to display the contents of a large
> debug file. Things are working very well, except that when the model is
> first assigned to the view, the view walks through every row in the
> model before displayi
On Fri, 2003-09-26 at 20:03, Michal Pasternak wrote:
> I am using PyGTK 2 on NetBSD and Win32 and I must say, that it is just
> great. Everything works fine, using glade I can develop GUI very fast,
> TreeViews are the best thing I have ever seen in a GUI library and the API
> makes a lot more sen
On Fri, 2003-09-26 at 15:32, Christian Reis wrote:
> On Mon, Sep 15, 2003 at 01:19:21PM +0200, Igor Stroh wrote:
> > is there any way to find out the signal handler ids for sig.handlers
> > that were connected to widgets using signal_autoconnect() from
> > li
Hi there,
here's the problem: I have an app with a menubar and a popup-menu.
Certain submenus of the popup-menu and the menu-bar are similar, so I
decided to build this submenu only once using ItemFactory and attach it
to the appropriate MenuItems upon startup, but it doesn't work. Here's a
code s
Hi all,
I'm looking for an event that's fired by a GnomeEntry widget when an
entry is selected from the history list. Something like
'selection_changed' from GtkCombo->GtkList. I mean I could connect the
'changed' signal to the widget, but then it would be fired each time the
user types something
On Mon, 2003-09-29 at 14:51, liquid wrote:
...
> def callback(self, widget, data=None):
>a = "%s" % ((3, 4)[widget.get_active()])
>
add 'global a' to callback():
def callback(self, widget, data=None):
global a
a = "%s" % ((3, 4)[widget.get_active()]
However
Hi there,
is there any way to find out the signal handler ids for sig.handlers
that were connected to widgets using signal_autoconnect() from
libglade.XML?
The problem is, I have an application with several dialogs that contain
gtk.Entry widgets, all those widgets are connect()'ed to the same sign
Hi there,
is there any way to find out the signal handler ids for sig.handlers
that were connected to widgets using signal_autoconnect() from
libglade.XML?
The problem is, I have an application with several dialogs that contain
gtk.Entry widgets, all those widgets are connect()'ed to the same sign
16 matches
Mail list logo