[gtkmm] showing same isntance of a widget in multiple places
- From: Peter Gasper <pgasper designadvantage com>
- To: gtkmm-list gnome org
- Subject: [gtkmm] showing same isntance of a widget in multiple places
- Date: 24 Jun 2003 08:46:56 -0600
When I add the same label to two halves of a vpaned container only one
shows at a time. Why is this? Obviously, without doing something
special, it appears that a widget can only have one parent.
What I am trying to do is display the same widget in two different
places of a notebook (ie. only one will be showing at a time), but I
don't want to declare multiple instances of that same widget. Thats not
what this code does, its just the simplest case that manifests the
problem.
thank you for your help.
code:
Gtk::Label test;
vpaned.add1(test);
vpaned.add2(test);
error messages:
(lb:27829): Gtk-CRITICAL **: file ../../gtk/gtkwidget.c: line 3817
(gtk_widget_set_parent): assertion `widget->parent == NULL' failed
(lb:27829): Gtk-CRITICAL **: file ../../gtk/gtkwidget.c: line 1983
(gtk_widget_unrealize): assertion `GTK_IS_WIDGET (widget)' failed
(lb:27829): Gtk-CRITICAL **: file ../../gtk/gtkwidget.c: line 1626
(gtk_widget_destroy): assertion `GTK_IS_WIDGET (widget)' failed
On Tue, 2003-06-24 at 12:13, Sagar Shah wrote:
> Hi,
>
> thanx for ur reply, well i think i should conclude that at present
> libgnomecanvasmm libraies isnt possible over Windows.
>
> Regards
> Sagar Shah
> Final Year student Comp Engg
> Sinhagad College of Engineering
> Pune (M.S)
> India
> ----- Original Message -----
> From: "Manjit Dua" <manjit_dua indiainfo com>
> To: <sagars dpsl net>
> Cc: <gtkmm-list gnome org>
> Sent: Monday, June 23, 2003 3:55 AM
> Subject: Re: [gtkmm] can any one help as for gnome canvas
>
>
> > Hi,
> > i am trying out the same thing.
> >
> > i had installed the packages avaliable at
> > http://web.sfc.keio.ac.jp/~s01397ms/cygwin/
> >
> > and tried to build the libgnomecanvasmm using cygwin port with gcc 3.2.3
> and autoconf 2.57 , automake 1.7.5 libtool 1.5, there were no problems with
> ./configure while during make following errors occured
> > cygtkmm-2.0.dll.a: file truncated.
> >
> > when i saw the size of the file was 0 bytes.
> >
> > Someone recomended me to build using minge32-gcc and tried with options
> with ./configure as
> > ./configure CC=mingw32-gcc CXX=mingw32-g++ LD=mingw32-g++
> >
> > no problem with ./configure but during make the error
> > cygpath: can't convert empty path
> >
> > occured. i installed the mingw environment but still the same problem.
> >
> > my registry showed strange values like
> > the value of
> > HKEY_LOCAL_MACHINE/SOFTWARE/Cygnus Solutions/Cygwin/mounts v2/usr/bin
> >
> > shows like D:\Manjit\Cygwin/bin instead of D:\Manjit\Cygwin/usr/bin
> >
> > well if u could get it done please help me also.
> >
> > Regards
> > Manjit Dua
> >
> >
> >
> >
> > ----- Original Message -----
> > From: Sagar Shah
> > Date: Mon, 23 Jun 2003 14:24:56 -0700
> > To: gtkmm-list gnome org
> > Subject: [gtkmm] can any one help as for gnome canvas
> >
> >
> > Hi all,
> >
> > i want gnome canvas libraries on windows to have my applications portable
> for windows also.
> >
> > i have installed Cygwin and i dont what to do for dependencies and all.
> >
> > TAI
> > Regards
> > Sagar Shah
> > Final Year student Comp Engg
> > Sinhagad College of Engineering
> > Pune (M.S)
> > India
> > --
> > ______________________________________________
> > http://www.indiainfo.com
> > Now with POP3/SMTP access for only US$14.95/yr
> >
> > Powered by Outblaze
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
--
Peter Gasper <pgasper designadvantage com>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]