I'd like to ask about menu item callback
- From: "nguyen phong" <phongnh0211k hotmail com>
- To: gtk-app-devel-list gnome org
- Subject: I'd like to ask about menu item callback
- Date: Mon, 21 Nov 2005 13:55:21 +0700
Hi alll,
How can I pass 2 parameters to the callback function of a menu item?
For example:
In callback function:
void on_activate_test(GtkMenuItem *menuitem,
gpointer user_data1,
gpointer user_data2
) ;
Where to pass user_data1 and user_data2?
---------------------------------
and
how can I pass a widget parameter and a data parameter when I click on the
menu_item
For example:
In callback function:
void call_back_test(GtkWidget *widget,gpointer user_data)
Where to pass user_data?
I'm looking for hear from you.
Thank you very much.
Phong
___________________________________________________________
Sent by ePrompter, the premier email notification software.
Free download at http://www.ePrompter.com.
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]