Re: [gtkmm] Gtk::Invisible broken?
- From: Murray Cumming <murrayc usa net>
- To: Tony <a_a_c bellsouth net>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: [gtkmm] Gtk::Invisible broken?
- Date: 01 Jul 2002 08:50:04 +0100
On Sun, 2002-06-30 at 22:14, Tony wrote:
> I'm using gtkmm 1.3.17 and I can't get a Gtk::Invisible to work. Here's
> a simple program that shows the problem:
> #include <gtkmm.h>
> When I run it, the window appears for a split second and then this is
> coughed up:
> (a.out:4913): Gtk-CRITICAL **: file gtkwidget.c: line 3757
> (gtk_widget_set_parent): assertion `!GTK_WIDGET_TOPLEVEL (widget)'
> failed
gtk_invisible_new() calls gtk_widget_realize(). _new functions aren't
supposed to do extra stuff, so we didn't know about it. I've added a
realize() to the Gtk::Invisible constructor, so that might fix it.
Please file a bug if it doesn't.
By the way, according to the GTK+ docs, GtkInvisible isn't that useful.
> Am I doing something dumb, or is it broken?
>
> Thanks for gtkmm... it's good stuff...
--
Murray Cumming
murrayc usa net
www.murrayc.com
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]