Re: Drawing an insensitive widget

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

 



Hi!

The GtkWidget “expose-event” signal has been replaced by a new “draw”
signal, which takes a cairo_t instead of an expose event. 

https://developer.gnome.org/gtk3/stable/ch24s02.html#id-1.6.3.4.11
-- 


Best regards, Yan Zlobin
E-Mail: yan_zlobin@xxxxxxxxxxxx
Web: http://yan.zlobin.name/
IM: yan_zlobin@xxxxxxxxxxx



-------- Исходное сообщение --------
От: ax487 <ax487@xxxxxx>
Кому: gtk-list@xxxxxxxxx
Тема: Drawing an insensitive widget
Дата: Wed, 30 Apr 2014 16:29:12 +0200

Hello all,

I have the following problem: I have a widget with a custom drawing
routine which is triggered by the widgets "expose-event". I just obtain
a cairo_t* and use it to draw on the widget. However, at some point in
time the widget might be insensitive. Of course the widget should still
be drawn. However, I would like to know how I can appropriately achieve
the "greyed out" effect. Any ideas for a portable, clean solution?

ax487
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list


_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list





[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux