Re: libglademm with my own customised class???
- From: John Spray <spray lyx org>
- To: Xiangfei Jia <xjianz gmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: libglademm with my own customised class???
- Date: Mon, 08 May 2006 09:31:53 +0100
On Mon, 2006-05-08 at 19:30 +1200, Xiangfei Jia wrote:
> I use glade2 to do the layout and use libglademm to load the layout.
> Sometimes, I need to have my own customised class, like I have a
> DisplayPlot class wich inherited from class Gtk::DrawingArea. I want
> to know if it's possible to use glade to lay out my own customised
> class.
Indeed - you create a DrawingArea in your glade file, and then used
get_widget_derived to load your own class into that space at runtime.
http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/ch20s03.html
John
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]