2006/1/19, Kalle Vahlman [EMAIL PROTECTED]:
On 1/19/06, Luca Donaggio [EMAIL PROTECTED] wrote:[Finding the AppView from a menu reference] I'm tryng to port grsync to maemo, it's almost done really, but for this
menu related issue. Grsync has been made with Glade and Glade uses a lookup_widget()
2006/1/19, Kalle Vahlman [EMAIL PROTECTED]:
On 1/18/06, Fred Lefévère-Laaoide [EMAIL PROTECTED] 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 whichhas the menu...That
On 1/19/06, Luca Donaggio [EMAIL PROTECTED] wrote:
[Finding the AppView from a menu reference]
I'm tryng to port grsync to maemo, it's almost done really, but for this
menu related issue. Grsync has been made with Glade and Glade uses a
lookup_widget() function to retrieve widgets
How can I get a reference to the parent AppView giving a pointer to its GtkMenu?gtk_menu_get_attach_widget() doesn't work and gtk_widget_get_parent() returns a pointer to some unknown object (I checked it).
Thanks in advance,Luca Donaggio
___
On 1/18/06, Fred Lefévère-Laaoide [EMAIL PROTECTED] 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...
Luca Donaggio wrote:
How can I get a