[9526] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Cut 'n Paste prob solved & Q

daemon@ATHENA.MIT.EDU (Conrad Steenberg)
Thu Oct 22 19:34:48 1998

Date: Thu, 22 Oct 1998 16:33:59 -0400 (EDT)
From: Conrad Steenberg <conrad@srl.caltech.edu>
Reply-To: Conrad Steenberg <conrad@srl.caltech.edu>
To: gtk-list@redhat.com
In-Reply-To: <Pine.GSO.4.05.9810221318480.20522-100000@xi>
Resent-From: gtk-list@redhat.com

Hi all

A few weeks ago I reported a problem in gtk where pasting text into an
editable widget would make it segfault. I just installed the most recent
gtk snapshot (last night's) and found that the problem is now gone. Thanks
to whoever made the changes :-)

This resolution of the problem may be due to changes in gtkselection.c. I
note that the function gtk_selection_add_handler is now gone from
gtk_selection.h, which breaks the spreadsheet widget of Adrian Feiguin :-(

The calls in that widget were of the form 
gtk_selection_add_handler (GTK_WIDGET(shentry), GDK_SELECTION_PRIMARY,
                             GDK_TARGET_STRING, handler_func,
                             NULL);
(The second and third arguments do not occur in the normal signal handler
install function.)

My question is this: how can I get the same functionality with the newer
versions of GTK? Reading gtk_selection.[ch] was not helpful...

Alternatively, does anyone know of a newer (non-gnome) spreadsheet widget
that I can use? 

Regards

Conrad

*-----------------------------------------*                                  
| Conrad Steenberg                        |                                  
| Caltech, Mail Code 220-47               |                                  
| Pasadena, CA, 91125                     |                                  
| e-mail: conrad@srl.caltech.edu          |                                  
| Tel: (626) 395-2964 Fax: (626) 449-8676 |                                  
*-----------------------------------------*                                  


-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post