Re: Gtk::Style painting help
- From: Andrew <rugby471 gmail com>
- To: gtkmm-list gnome org
- Subject: Re: Gtk::Style painting help
- Date: Tue, 15 Mar 2011 07:20:06 +0000
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]