menu doesn't have ancestor?
- From: Pedro Zorzenon Neto <pzn terra com br>
- To: gtk-list gnome org
- Subject: menu doesn't have ancestor?
- Date: Fri, 27 Jul 2001 16:25:39 -0300
Hi list,
When I do:
anc = gtk_widget_get_ancestor (button1, GTK_TYPE_WINDOW);
inside a button1 callback, it returns a pointer to the ancestor window.
But if I do it inside a menu item callback (changing button1 to menuitem1)
it doesn't work.
Any hints?
Pedro
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]