[pygtk] (no subject)

2002-05-26 Thread slim shady
hii was hoping if any can help in some source code... regarding in highlighting an irregular area using python.. thanks _ Chat with friends online, try MSN Messenger: http://messenger.msn.com ___

[pygtk] "nonint" bug in gtk.py

2002-05-26 Thread Charles G Waldman
In gnome-python 1.4.2, gtk.py contains the following code at lines 1044-1047: class GtkBox(GtkContainer): get_type = _gtk.gtk_box_get_type def __init__(self, _obj=None): if nonint: return Problem is "nonint" doesn't seem to be defined anywhere and this code thro

[pygtk] multiple bases have instance lay-out conflict

2002-05-26 Thread Arjan Molenaar
Hi, I came up with something, well, weird... It is possible in Python to inherit from two GObject classes, but I can not inherit from one GObject class and a GInterface. This might sound strange, but I have created some callback functions ala GtkGenericTreeModel and I would like my Python classes

[pygtk] how can i unref a GConfClient from python?

2002-05-26 Thread Daniel Fairhead
Hi, How can I close a GConfClient from python? I've created one with client = gconf.client_get_default() and it seems to work ok, but when I quit, I get ** (GAppConf.py:25651): WARNING **: CORBA_ORB_destroy: ORB still has 2 refs. ** (GAppConf.py:25651): WARNING **: ORB: a total of 7 refs to

[pygtk] Bug in gtk.py?

2002-05-26 Thread Charles Waldman
In gnome-python 1.4.2, gtk.py contains the following code at lines 1044-1047: class GtkBox(GtkContainer): get_type = _gtk.gtk_box_get_type def __init__(self, _obj=None): if nonint: return Problem is "nonint" doesn't seem to be defined anywhere and this code throw

[pygtk] Menu question

2002-05-26 Thread Anita Zahara
Hi, I have a question, In my program, whenever user click any button from the main menu, there will be a pop up menu. I want to make the main menu disabled, so the user will not tend to click any button from the main menu until they quit the pop up menu. Is there is a way to make my main menu di

Re: [pygtk] Notebook tab functions

2002-05-26 Thread Shandy Brown
That, or something like it, should work. Have you tried it? On Sun, 2002-05-26 at 10:50, Collins wrote: > Is there a way to code a python function that receives an object that > can be invoked in that function, i.e. the equivalent of passing in a > pointer to funtion in C code and invoking that

[pygtk] Notebook tab functions

2002-05-26 Thread Collins
This is more of a python question than a pygtk question, but I've been unable to sort it out with my python books and several google searches. I have created a notebook than creates two tabs to display the contents of two different directory structures (installed packages and packages available f