RE: cairo-xlib-surface.c:401 _swap_ximage_to_native: Assertion `N OT_R EACHED' failed.

2006-01-09 Thread erik_ohrnberger
OK. Figured it out with the help from this list. gtk+ was upgraded that caused a problem. Reverted system back to gtk+-2.6.10 and all is well again. Thanks for your help. ___ gtkmm-list mailing list gtkmm-list@gnome.org

RE: cairo-xlib-surface.c:401 _swap_ximage_to_native: Assertion `N OT_R EACHED' failed.

2006-01-06 Thread erik_ohrnberger
I was under the impression that g++ automatically enables exception support when compiling c++ source code. Are you sure that you were compiling without exception support at first? Are you sure it wasn't a different change that caused the core dump? It doesn't look like an

RE: cairo-xlib-surface.c:401 _swap_ximage_to_native: Assertion `N OT_R EACHED' failed.

2006-01-06 Thread erik_ohrnberger
Jonathon, This sounds very likely. I check in my /var/log/emerge.log, and see that: 1136509834: ::: completed emerge (103 of 543) x11-libs/gtk+-2.8.8 to / Now I just wish that I could figure out what 1136509834 (some sort of timestamp) means. I'm digging into that right now.

cairo-xlib-surface.c:401 _swap_ximage_to_native: Assertion `NOT_R EACHED' failed.

2006-01-05 Thread erik_ohrnberger
Recently, I've determined that my gtkmm application needs to be able to use C++ exceptions (mainly to handle persisten C++ object stores via another library). Once I turned on g++'s -fexceptions option on the compile line, rebuilt, re-linked and ran the application, it core dumps with the

RE: cairo-xlib-surface.c:401 _swap_ximage_to_native: Assertion `N OT_REACHED' failed.

2006-01-05 Thread erik_ohrnberger
Just thought that I should provide more information. here is the call stack that gdb captures right after the core dump: #0 0x415e2061 in kill () from /lib/libc.so.6 #1 0x402631c1 in pthread_kill () from /lib/libpthread.so.0 #2 0x4026353b in raise () from /lib/libpthread.so.0 #3 0x415e1df4

UI event sounds

2005-08-30 Thread erik_ohrnberger
Does gtkmm have some facility for making gnome user interface event sounds? I'm thinking of audio feedback to the user for when they take some sort of action in the application's user interface like clicking a button, or setting / unsetting a checkbox. Having dug into it a bit, I know that it'll

RE: UI event sounds

2005-08-30 Thread erik_ohrnberger
Bob, Yea, that exactly what I did, but there appears to be something else missing. But as was pointed out, that's a gnome question, and not a gtkmm question. Time to dig into yet another API! :-( From: Bob Caryl [mailto:[EMAIL PROTECTED] It would seem to me that you would

RE: Gtk::TreeView: Custom cellrenderer for single cells

2005-08-02 Thread erik_ohrnberger
While studying the cellrendertoggle.cc example, I see inside of the MyCellRendererToggle::render_vfunc method that it either uses the widget style's paint_option (for an option label) or paint_check (for a checkbox). Which widget style method would be used to paint a text entry? Would be text

RE: Gtk::TreeView: Custom cellrenderer for single cells

2005-08-02 Thread erik_ohrnberger
Maybe we are all going about this the wrong way. Wouldn't another method of accomplishing the same thing be a scrolled window containing a two column table, left column having a label, and the right column having either a checkbutton or a text entry?

Re: Gtk::TreeView: Custom cellrenderer for single cells

2005-08-01 Thread erik_ohrnberger
I've got the same problem, however, I do not need a combo cell renderer at this time. I just need a numeric input and a toggle input (true / false) Does anyone have some sample code for this? I've looked at cellrenderercustom example, and it does get me part of the way there. Thanks in

Differences in Window object gtkmm-2.0 vs. gtkmm-2.4

2005-07-20 Thread erik_ohrnberger
I apologize in advance for the picture attachments, but it seemed the best way to show the issue that I'm struggling with. Background: I've ported my application from gtkmm-2.0 to gtkmm-2.4, including the required sigc-1.2 to sigc-2.0 migration as well. I can provide more background

migrating from gtkmm-2.0 to gtkmm-2.4

2005-07-13 Thread erik_ohrnberger
I've been searching for information on what I have to change in my code to migrate it from gtkmm-2.0 to gtkmm-2.4. Any pointers or web references that I can use to help me accomplish this would be greatly appreciated. Thanks in advance! Erik. ___

RE: migrating from gtkmm-2.0 to gtkmm-2.4

2005-07-13 Thread erik_ohrnberger
Murray, Thanks. That's going to help a bunch. I noticed that Toolbar::tools() is gone as well as the entire Gtk::Toolbar_Helpers namespace. Ouch. That means that Gtk::Toolbar_Helpers::Space() is gone too. Hmm. Looks like this is gonna take a bit more than I first

undefined reference to `non-virtual thunk [nv:-35]

2005-05-10 Thread erik_ohrnberger
I'm really at a loss here and don't know how to proceed as to correct this issue. During the link phase of my gtkmm program I get this error associated with one of my shared libraries. Obviously there's a problem here, but what is the error message trying to tell me? The program is using gtkmm,

RE: undefined reference to `non-virtual thunk [nv:-35] - resolved

2005-05-10 Thread erik_ohrnberger
Part of the code that I was compiling was a number of bit packed structure definitions using #pragma pack(1). It would appear that this causes problems for the virtual table stuff. When I went to surrounding the bit packed structures with #pragma pack(push,1) structure definition here

RE: Re: Displaying simple HTML in gtkmm app (got it!)

2005-04-15 Thread erik_ohrnberger
OK, so I got it working now. It's pretty much a hack job, but it'll get me by for now. I've declared a class gtkhtml, which is a sub class of Gtk::ScrolledWindow. In this code module, I just include the simple.c source code file like so: extern C { # include simple.c }; And make sure to