Re: [gtkmm] How to copy Gtk::Widgets?
- From: MHL Schulze t-online de (Martin Schulze)
- To: Enrico Costanza <ec142 york ac uk>
- Cc: gtkmm-list gnome org
- Subject: Re: [gtkmm] How to copy Gtk::Widgets?
- Date: Sun, 30 Mar 2003 13:23:54 +0200
Am 29.03.2003 15:20 schrieb(en) Enrico Costanza:
I see your point.
I guess that then I will have to create my own "MediaElement" class,
containing a Gtk::Widget or rather the "source material" (i.e. PixBuf,
or text, attributes, etc..) for it, and then sort out the methods and
subclasses to deal with different widget types.
In this way I could use a collection of MediaElements as described in my
previous email.
Can you see an easier way?
Perhaps it would help to create the user interface or parts of it with
Glade which generates an xml description file. Then use libglade/libglademm
(libglademm is part of gnomemm) to repeatedly create instances of the
widget
tree. There has been a thread on the ml about that, recently.
Regards,
Martin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]