Re: Drawing in a Container
- From: "John Hobbs" <john velvetcache org>
- To: "GTKmm List" <gtkmm-list gnome org>
- Subject: Re: Drawing in a Container
- Date: Tue, 11 Nov 2008 10:07:38 -0600
Please ignore the "it looks fine to me." I didn't understand the problem when I wrote that bit :-)
- John Hobbs
john velvetcache org
http://www.velvetcache.org/http://www.ouruno.com/On Tue, Nov 11, 2008 at 10:06 AM, John Hobbs
<john velvetcache org> wrote:
I just tried it (thanks for the tar bomb ;-) and it looks fine to me. Attached is a screen shot.
I ran: g++ -Wall -o example examplewindow.cc main.cc LabelBox.cpp `pkg-config gtkmm-2.4 --cflags --libs`
I'm afraid I can't offer you much more than confirmation. I downloaded it, compiled and then played with it but I haven't found anything. Never implemented my own widget though :-)
I did get four of these on closing the app:
(example:8982): Gtk-WARNING **: GtkContainerClass::remove not implemented for `gtkmm__CustomObject_LabelBox'
Attached is a screen shot of my output.
- John Hobbs
john velvetcache org
http://www.velvetcache.org/
http://www.ouruno.com/
Hello,
I have made a custom widget from a Container object that
draws a border and colors the background behind a single child widget.
It works just fine as long as I only use it once in a window, but if I
put two or more instances of the widget in a table, the child widget is
not visible in all but the first instance. I have a feeling it has
something to do with sharing the same parent window, but nothing I do
seems to help. I have attached a modified version of a gtkmm example.
The custom widget is a marriage of the two examples from Chapter 25 of
the gtkmm book.
Any help would be appreciated,
Dustin Moore
me dustinmoore net
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]