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

GTK Signal



Hi folks,

When I was trying to make a gtk_signal_connect (by a button_press_event of a gtk_event_box (!!)), I wasn't able to pass an int to the ButtonPressed function:

... GTK_SIGNAL_FUNC (ButtonPressed), (gint) ibutton);

void ButtonPressed (GtkWidget *widget, int ibutton)
{
  // ibutton just won't be the right value ;(
  // no matter how I pass this integer to this
  // gtk_signal_connect event.
}

Thanks in advance, Norbert de Jonge
(http://users.tebenet.nl/~ndejonge)

----------------------------------------------------------------
Get your free email from AltaVista at http://altavista.iname.com



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