On Wed, 2005-09-28 at 16:34 -0600, jalkadir@xxxxxxxxxx wrote: > In the constructor I assigned values to the two variables, > namespace jme{ > class Data{ > public: > std::string str; > GtkWidget* obj; > public: > Data(){str = ""; obj = gtk_window_new(GTK_WINDOW_TOPLEVEL);} > void setStr(std::string ps){ str = ps;} > void setObj(GtkWidget* o){obj = o;} > }; > } > and as soon as I get the value for the jme::Data::str variable, I replace > the value, but for jme::Data::obj, I replace the value as soon as the > GtkWidget::MainMenuWin value is aquired. > > But, for some reason, I am unable to use the assignment operator on > GtkWidget objects. > > What should I do now? you can start by saving yourself a lot of typing and use gtkmm (www.gtkmm.org) --p _______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list