[Glade-users] remove and create new objects (events)...
- From: damon karuna uklinux net (Damon Chaplin)
- Subject: [Glade-users] remove and create new objects (events)...
- Date: 29 Jan 2003 15:38:32 +0000
On Tue, 2003-01-28 at 13:07, duarte wrote:
gtk_fixed_put (GTK_FIXED (fixed1), alarm, 20, 40);
gtk_widget_set_uposition (alarm, 20, 40);
gtk_widget_set_usize (alarm, 10, 10);
z = 1;
gtk_object_set_user_data (GTK_OBJECT (alarm), (void *) z);
gtk_widget_set_events (alarm, GDK_BUTTON_PRESS_MASK | GDK_ENTER_NOTIFY_MASK | GDK_LEAVE_NOTIFY_MASK);
You need to call gtk_widget_set_events() before the gtk_fixed_put().
Damon
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]