insert-text signal handler



I'm trying to get the insert-text signal handler to work on the
GtkTextBuffer. Today, while searching for information on how to use the
handler, I ran across /two/ different prototypes for the handler function.
Here they are... Which one is correct?

"insert-text"
    void user_function (GtkTextBuffer *textbuffer,
                        gpointer arg1,
                        gpointer arg2,
                        gint arg3,
                        gboolean arg4,
                        gpointer user_data);

"insert-text"
    void user_function (GtkTextBuffer *textbuffer,
                        GtkTypeTextIter arg1,
                        gchar *arg2,
                        gint arg3,
                        gpointer user_data);



----------------------------------------------------
Matthew Walker                       Kydance Hosting
mwalker kydance net       Low Prices, High Standards
                              http://www.kydance.net
Quote:
Schools are prisons for the enlightened mind  --  Me





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]