Re: Crashing with widgets as class members
- From: "John C. Spray" <spray lyx org>
- To: gtkmm-list gnome org
- Subject: Re: Crashing with widgets as class members
- Date: Fri, 10 Feb 2006 16:32:08 +0000
On Fri, 2006-02-10 at 09:20 -0600, Bob Caryl wrote:
> If you include a widget in a class where that widget's instantiation
> would occur before Gtk has been initialized, you will see this
> behavior. You need to include your classes as pointers and not
> instantiate them until you're actually ready for them to come into
> existance.
My class containing widgets is created with "new" long after the start
of the program, after other classes using gtkmm have functioned
correctly (and Gtk::Main) has been called.
TBH it seems like it's going to be easier to just switch to
pointer-members than get to the bottom of this. End-of-the-week-itis.
John
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]