Re: Widget mask out clicks



On 1/8/07, johnmb <johnmblackburn googlemail com> wrote:

What do you mean by "realising" the object ? Do you mean creating the object
?

This is a GTK / X term.  See for example
http://developer.gnome.org/doc/API/2.0/gtk/GtkWidget.html#gtk-widget-realize
'Realizing' a widget is a specific event that happens between
construction of the widget and showing of the widget.  For example,
you can implement your own custom on_realize() handlers for widgets.
There are some functions you can't call until a widget is realized and
therefore you can't perform them in the constructor of the widget, you
must perform them in an on_realize() handler or some point after that.
For example, Widget::get_window() will return a NULL point if you
call it in the constructor of a widget, but after it has been
realized, it will return the Gdk::Window associated with the widget.

--
jonner



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]