Re: get_window() returns NULL
- From: Paul Davis <paul linuxaudiosystems com>
- To: Andrea Spadaccini <a spadaccini catania linux it>
- Cc: gtkmm-list gnome org
- Subject: Re: get_window() returns NULL
- Date: Wed, 15 Jun 2005 21:39:08 -0400
On Thu, 2005-06-16 at 00:00 +0200, Andrea Spadaccini wrote:
> Hi everyone,
> I've got a problem with get_window().. gdb backtrace shows me that a
> segfault is caused by this function returning NULL from inside a member
> of my SubnetRenderer class, which is derived from Gtk::Drawable. here's
> the function that generates the problem:
::get_window() returns NULL before the widget (or its window-providing
parent) has been realized. if you are interested in the window, attached
a handler to the realize signal or wait till you know by some other
means that it has been realized.
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]