Re: Getting at widget toplevel parent...
- From: Owen Taylor <otaylor redhat com>
- To: Ron Forrester <rjf zero-ping com>
- Cc: gtk-list redhat com
- Subject: Re: Getting at widget toplevel parent...
- Date: 13 Jul 1999 15:41:58 -0400
Ron Forrester <rjf@zero-ping.com> writes:
> I would like to call gtk_object_set_data() on the root level window
> after I create it, and then, from within callbacks for various widgets
> (menu items, buttons, etc), get back that data.
>
> Is there a way for me to get the toplevel windows data (without making
> its variable global) from anywhere in a GTK app, i.e. via some
> gtk_get_toplevel_window() call?
GtkWidget* gtk_widget_get_toplevel (GtkWidget *widget);
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]