[maemo-developers] [maemo-developers] Way to get a reference to parent HildonAppView from its menu
From: Luca Donaggio donaggio at gmail.comDate: Thu Jan 19 15:26:20 EET 2006
- Previous message: [maemo-developers] Way to get a reference to parent HildonAppView from its menu
- Next message: [maemo-developers] Streaming - Supported Containers / Formats
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
2006/1/19, Kalle Vahlman <kalle.vahlman at gmail.com>: > > On 1/18/06, Fred Lefévère-Laaoide <Fred at lefevere-laoide.net> wrote: > > Have you try gtk_widget_get_toplevel ? > > That would give the HildonApp, as AppViews are not toplevels. You > could then of course iterate over the list of appviews and check which > has the menu... That would not be a big issue, as this app has only one AppView and a simple call to hildon_app_get_appview() would do the trick, but ... it doesn't work for me! It seems to return the same value I got before: ie a reference to a GtkWindow (probably the window in which the app itself is displayed ?) and not a pointer to the HildonApp object. [skip] > -- > Kalle Vahlman, zuh at iki.fi > Powered by http://movial.fi > Interesting stuff at http://syslog.movial.fi > _______________________________________________ > maemo-developers mailing list > maemo-developers at maemo.org > https://maemo.org/mailman/listinfo/maemo-developers > Luca Donaggio -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20060119/2be6bd2e/attachment.htm
- Previous message: [maemo-developers] Way to get a reference to parent HildonAppView from its menu
- Next message: [maemo-developers] Streaming - Supported Containers / Formats
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]