Re: drawing in a TreeView
- From: Jonathon Jongsma <jonathon jongsma gmail com>
- To: gtkmm <gtkmm-list gnome org>
- Subject: Re: drawing in a TreeView
- Date: Sun, 4 Sep 2005 18:49:40 -0500
> Everything compiles fine, but where I expect a rectangle to be drawn,
> there's absolutely nothing. I have no idea if I'm even approaching
> the problem correctly. Since most of the implementation is the same
> as the given example, I'm fairly sure the issue must be in the
> render_vfunc since it's the only function that's significantly
> different. I have no idea whether it's even legal to just draw a
> rectangle on the window passed into render_vfunc or if I'm doing
> something extremely stupid. Can anybody give any advice on this
> topic? If I can get this figured out, I'd be willing to contribute
> some of my findings back to the gtkmm documentation as well.
As a followup to my own question, it turns out that it was simply not
calling my get_size_vfunc function since I forgot to declare it const.
Once I changed that, it worked out ok. Sorry to waste your time,
Jonathon
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]