Re: Using g_signal_connect on GtkMenuItem with data
- From: "Luiz Rafael Culik Guimaraes" <luiz xharbour com br>
- To: "sinsedrix" <sinsedrix gmail com>,	<gtk-list gnome org>
- Subject: Re: Using g_signal_connect on GtkMenuItem with data
- Date: Thu, 17 Jul 2008 10:07:52 -0300
Hi
try
GtkTextBuffer * log_buffer = gtk_text_buffer_new(NULL);
// Here log_buffer != NULL
g_signal_connect ((gpointer) item_cut, "activate",
           G_CALLBACK (on_cut_activate),
           (gpointer) log_buffer);
Regards
luiz
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]