[maemo-developers] Visibility events for widgets in Fremantle
From: Henrik Hedberg henrik.hedberg at innologies.fiDate: Sat Jun 27 18:28:45 EEST 2009
- Previous message: Regarding N810 nokia internet tablet
- Next message: How to create a flash image from a Noka N810?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, I am trying to track visibility changes for a widget (HDHomePluginItem) in Fremantle. For some reason this is not working: HD_DEFINE_PLUGIN_MODULE(MaukuWidget, mauku_widget, HD_TYPE_HOME_PLUGIN_ITEM); static gboolean on_visibility_notify_event(GtkWidget* widget, GdkEventVisibility* event, gpointer user_data) { return FALSE; } static void mauku_widget_init(MaukuWidget* mauku_widget) { g_signal_connect(mauku_widget, "visibility-notify-event", G_CALLBACK(on_visibility_notify_event), NULL); gtk_widget_add_events(GTK_WIDGET(mauku_widget), GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_BUTTON_MOTION_MASK | GDK_VISIBILITY_NOTIFY_MASK); } The callback function is never called. Is this a bug in the window manager or in the X, expected behaviour, or am I just missing something? BR, Henrik -- Henrik Hedberg - http://www.henrikhedberg.net/
- Previous message: Regarding N810 nokia internet tablet
- Next message: How to create a flash image from a Noka N810?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]