Re: can we override the drawing method of Gtk::Style



On Wed, 2006-05-24 at 19:01 +0530, Yogesh Arora wrote:
> class NewStyle : public Style
> {
>         void draw_box_vfunc(const Glib::RefPtr<Gdk::Window>& window,
> Gtk::StateType state_type, ShadowType shadow_type, const
> Gdk::Rectangle& area, Widget* widget, const Glib::ustring& detail, int
> x, int y, int width, int height);
> }; 

This does look a correct virtual function override.

Are you using a regular installation of gtkmm? Or are you maybe using a
custom-built version of gtkmm that was built with
--enable-api-vfuncs=no ?

-- 
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]