[pygtk] pygtk2 TextView cursor with black background

2002-10-30 Thread Brad Tonkes
This is probably more of a GTK2 question rather than being pygtk-specific, but I wonder if anyone here has come across it. I have a TextView whose background is set to black via a gtkrc file: style foo { text[NORMAL] = {1.0, 1.0, 1.0}

[pygtk] updating with combo-entry

2002-10-30 Thread mekkaoui omar
Hi, I use glade to develop my application. I would like to update information on a window after selecting an entry in the combo. But, I don't know which signal I will use to associate it to an updating function. Omar Mekkaoui THEMA - université de Cergy-Pontoise Economie des Transports

Re: [pygtk] updating with combo-entry

2002-10-30 Thread Christian Reis
On Wed, Oct 30, 2002 at 11:11:45AM +0100, mekkaoui omar wrote: I would like to update information on a window after selecting an entry in the combo. But, I don't know which signal I will use to associate it to an updating function. Heh. You're starting to discover things that nobody is

Re: [pygtk] Wrapping gtksourceview

2002-10-30 Thread Johan Dahlin
Em Qua, 2002-10-30 às 03:14, Ahmad Baitalmal escreveu: Ok, So it compiled just fine with no errors. I installed it using make install in the gnome-python dir. It tells me that it's installed and I do see the library files in the site-packages. Here is where I'm stuck I import gtk, works

[pygtk] libglade, python and gnome widgets: segmentation fault

2002-10-30 Thread Padraig Brady
Juri wrote: Hi, I was going to ask about how to get Gnome widgets to work with libglade and python but apparently I solved the problem. I've seen other people complaining about the problem but no solution, so I decided to post this anyway; consider it a bug report. I was getting this error

[pygtk] Re: gtk radio button

2002-10-30 Thread Skip Montanaro
balu I am new to py-gtk. How do I get which one of the radio buttons balu are selected in a particular group? Off the top of my head, I'm not sure. I haven't actually used PyGtk in over a year. You'll be better off asking on the pygtk mailing list, to which I've cc'd this note. --

[pygtk] updating with combo-entry

2002-10-30 Thread mekkaoui omar
Hi, I use glade to develop my application. I would like to update information on a window after selecting an entry in the combo. But, I don't know which signal I will use to associate it to an updating function. Thanks in advance. Omar Mekkaoui THEMA - université de Cergy-Pontoise Economie

Re: [pygtk] Wrapping gtksourceview

2002-10-30 Thread Ahmad Baitalmal
Forgive me, The problem below is caused by the call to the original functions from the _wrap* funcitons. The original functions have a third argument or type GError** (in/out). Is there an example of a correct way to handle this? Thx On Tue, 2002-10-29 at 13:09, Ahmad Baitalmal wrote:

Re: [pygtk] Re: gtk radio button

2002-10-30 Thread Christian Reis
On Mon, Oct 28, 2002 at 10:26:17AM -0600, Skip Montanaro wrote: balu I am new to py-gtk. How do I get which one of the radio buttons balu are selected in a particular group? Off the top of my head, I'm not sure. I haven't actually used PyGtk in over a year. You'll be better off

Re: [pygtk] libglade, python and gnome widgets: segmentation fault

2002-10-30 Thread Christian Reis
On Wed, Oct 23, 2002 at 01:33:25PM +0100, Padraig Brady wrote: GnomeUI-CRITICAL **: file gnome-app.c: line 208 (gnome_app_new): assertion `appname != NULL' failed. Gtk-WARNING **: invalid cast from (NULL) pointer to `GnomeApp' zsh: segmentation fault OK I would like to

Re: [pygtk] libglade, python and gnome widgets: segmentation fault

2002-10-30 Thread Christian Reis
On Wed, Oct 30, 2002 at 03:14:38PM +, Padraig Brady wrote: Thanks for the info, I've noticed that (with pygtk-0.6.8-3) if you use any gnome stuff (even non obvious stuff like stock icons for buttons), then it will crash unless you import gnome.ui Can you test with 0.6.11 and, if the

Re: [pygtk] libglade, python and gnome widgets: segmentation fault

2002-10-30 Thread Christian Reis
On Wed, Oct 30, 2002 at 05:18:51PM +, Padraig Brady wrote: Where can I get a pygnome corresponding to gtk-0.6.11 ? http://ftp.gnome.org/pub/GNOME/sources/gnome-python/1.4/gnome-python-1.4.4.tar.gz Take care, -- Christian Reis, Senior Engineer, Async Open Source, Brazil.

[pygtk] line attributes

2002-10-30 Thread John Hunter
Does someone have some example code to show me how to use draw_line or draw_lines with line attributes, eg, GDK_LINE_DOUBLE_DASH, etc... Thanks, John ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK

[pygtk] GtkHTML PyGTK

2002-10-30 Thread Rajarshi Guha
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, is it possible to use the GtkHTML widget with PyGTK? I'm using PyGTK 0.6.9 and I have the gtkhtml-1.0.1 package (a RedHat 7.2 system) - I cant seem to find any GtkHTML class in the python sources. I'd appreciate it if anybody could post some

[pygtk] pygtk threading problem

2002-10-30 Thread LDC - Pablo Endres Lozada
Hi, I made an interface thats works ok while used stndalone, but I'm trying to connect it with the backend an I get the following error: Xlib: unexpected async reply This is is what I'm doing in both cases: Case 1: Only interface

Re: [pygtk] GtkHTML PyGTK

2002-10-30 Thread Steve McClure
On Wed, 2002-10-30 at 16:32, Rajarshi Guha wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, is it possible to use the GtkHTML widget with PyGTK? I'm using PyGTK 0.6.9 and I have the gtkhtml-1.0.1 package (a RedHat 7.2 system) - I cant seem to find any GtkHTML class in the

Re: [pygtk] Wrapping gtksourceview [WORKS]

2002-10-30 Thread Ahmad Baitalmal
It's Alive!! The problem was that the header files in gtksourceview (gtksourcebuffer.h) had function declarations with no implementation. The compiler didn't complain when compiling gtksrouceview or the wrapper in gnome-python, but when importing it was looking for those functions. The missing

Re: [pygtk] Wrapping gtksourceview [WORKS]

2002-10-30 Thread Johan Dahlin
Em Qua, 2002-10-30 às 20:14, Ahmad Baitalmal escreveu: It's Alive!! Congratulations The problem was that the header files in gtksourceview (gtksourcebuffer.h) had function declarations with no implementation. The compiler didn't complain when compiling gtksrouceview or the wrapper in

[pygtk] Problems wih multiselection and removing from a tree view

2002-10-30 Thread Rob Brown-Bayliss
Hi, This code here: def remove_from_list(self, obj): self.current_selection.selected_foreach(self.remove_by_iter,None) self.current_selection.unselect_all() def remove_by_iter(self, *data): self.current_model.remove(data[2]) Produces this error: (Boomer:14140):

Re: [pygtk] libglade, python and gnome widgets: segmentation fault

2002-10-30 Thread James Henstridge
Padraig Brady wrote: Juri wrote: Hi, I was going to ask about how to get Gnome widgets to work with libglade and python but apparently I solved the problem. I've seen other people complaining about the problem but no solution, so I decided to post this anyway; consider it a bug report. I

Re: [pygtk] line attributes

2002-10-30 Thread James Henstridge
John Hunter wrote: Does someone have some example code to show me how to use draw_line or draw_lines with line attributes, eg, GDK_LINE_DOUBLE_DASH, etc... All drawing operations in X take a GC (which stands for graphics context), which holds some settings used for doing the drawing. If you

Re: [pygtk] Wrapping gtksourceview [WORKS]

2002-10-30 Thread James Henstridge
Johan Dahlin wrote: * How/Who do I send my work to? James, again, is there something for gnome-python? There are two options here. The first is to add the binding to pygtk or gnome-python. The second is to distribute a stand alone package. The main benefit of including it in

Re: [pygtk] libglade, python and gnome widgets: segmentation fault

2002-10-30 Thread Padraig Brady
Christian Reis wrote: On Wed, Oct 23, 2002 at 01:33:25PM +0100, Padraig Brady wrote: GnomeUI-CRITICAL **: file gnome-app.c: line 208 (gnome_app_new): assertion `appname != NULL' failed. Gtk-WARNING **: invalid cast from (NULL) pointer to `GnomeApp' zsh: segmentation fault OK I would

Re: [pygtk] libglade, python and gnome widgets: segmentation fault

2002-10-30 Thread Padraig Brady
Christian Reis wrote: On Wed, Oct 30, 2002 at 03:14:38PM +, Padraig Brady wrote: Thanks for the info, I've noticed that (with pygtk-0.6.8-3) if you use any gnome stuff (even non obvious stuff like stock icons for buttons), then it will crash unless you import gnome.ui Can you test with

Re: [pygtk] libglade, python and gnome widgets: segmentation fault

2002-10-30 Thread Padraig Brady
Padraig Brady wrote: Christian Reis wrote: On Wed, Oct 30, 2002 at 03:14:38PM +, Padraig Brady wrote: Thanks for the info, I've noticed that (with pygtk-0.6.8-3) if you use any gnome stuff (even non obvious stuff like stock icons for buttons), then it will crash unless you import gnome.ui

Re: [pygtk] libglade, python and gnome widgets: segmentation fault

2002-10-30 Thread Padraig Brady
Christian Reis wrote: On Wed, Oct 30, 2002 at 05:18:51PM +, Padraig Brady wrote: Where can I get a pygnome corresponding to gtk-0.6.11 ? It's gnome-python cheers Anyway I broke by dependencies (--nodeps --force) just for you :-) And still same error. I created a button with stock

[pygtk] Limits of GConf

2002-10-30 Thread Rob Brown-Bayliss
Hi, Slightly off topic today (for the pygtk list). Does any one know the limits of GConf, I am building an app and have decided to pickle some data to GConf rather than to a file on disk. It occured to me (about 2 mins ago) that GConf might have limits to the size of a string. I am doing

[pygtk] PyGNOME2 panel applets

2002-10-30 Thread Brad Tonkes
The topic of panel applets in pygnome2 has been raised before, and seemingly, answered succinctly: http://www.daa.com.au/pipermail/pygtk/2002-September/003393.html However, I'm still confused. Using the files attached to the above post, I put GNOME_HelloApplet.server in