Re: A Question About Menus.



ldx wrote:
> How can I determine which menu item the mouse is pointing to?
> When I move mouse on menu items, I want to print a message to the
> statusbar to tell the user something about the pointed menu. 

Hi, connect to the "select" signal.

	gtk_signal_connect( GTK_OBJECT( menu_item ), "select",
		GTK_SIGNAL_FUNC( help_callback ), data );

John




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