On Fri, 09 Mar 2001 08:36:57 +0800, James Henstridge wrote:
>On Thu, 8 Mar 2001, Brian Keck wrote:
>> Is selection_add_handler() implemented?
>> I can't see it in the source.
>What is selection_add_handler() supposed to do?  I searched through the
>gtk and gdk sources/headers, and there is no mention of a function by that
>name.

I saw it in woody's libgtk-doc 1.0.6-4, in 
/usr/doc/libgtk-doc/tutorial-html/gtk_tut-20.html.

To save you looking, it says ...

  20.3 Supplying the selection

     Supplying the selection is a bit more complicated. You must register
     handlers that will be called when your selection is requested. For
     each selection/target pair you will handle, you make a call to:

  void gtk_selection_add_handler( GtkWidget            *widget,
                                  GdkAtom               selection,
                                  GdkAtom               target,
                                  GtkSelectionFunction  function,
                                  GtkRemoveFunction     remove_func,
                                  gpointer              data );

I guess this is obsolete?

I see the selection stuff in gtkselection.h seems to be in pygtk ...

Thanks,
Brian K


_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to