Re: extend Drawing Area class



On Tue, 2005-03-22 at 13:15 -0500, Jeff Simpson wrote:
> (also posted to glade-users):
> 
> I'm hoping somebody can point me in the right direction for a project
> I'm working on. Basically, I need to add a few extra functions to the
> DrawingArea object, and I'd like to use Glade / gtkmm as much as
> possible. The code needs to be in C++ due to some already existing
> functions that I'd like to not have to re-write.
> 
> Can anybody point me in the right direction for how to create a new
> custom class/object based on DrawingArea? I'd like it to have all the
> existing functions of DrawingArea (draw_line, etc) but also have a few
> customized functions. Thanks for any help!

get_widget_derived():

http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/ch19s03.html

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]