Re: G_CALLBACK definition



On Sat, Apr 16, 2005 at 11:09:06AM +0200, Daniel Pekelharing wrote:
How do I define a G_CALLBACK function in my own function?
I'm trying to make a simple "convenience" function that creates a
dialog.

I need to pass the callback function to it.

Here's my definition so far, I don't know how to define <callback>

GtkWidget *dan_gui_open_dialog(char *title, char *filter_name, char
*filter, <callback>)

GtkWidget *dan_gui_open_dialog(char *title, char *filter_name,
                               char *filter, GCallback callback)

Yeti


--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?



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