Re: Gtk::Style painting help



On 14/03/11 19:34, Yann LEYDIER wrote:
> It seems your passing a pointer when a reference is expected.
> 
> Just try this :
> 
> get_style()->paint_shadow(get_window(), get_state(), Gtk::SHADOW_IN,
>         Gdk::Rectangle(0, 0, width, height),
>         *this, Glib::ustring::ustring("viewport"), 0, 0, width, height);

Thanks very much yann, it works now :)

-- 
Andrew


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