Re: Making an element look like a resize grip
- From: Jaroslav Šmíd <jardasmid gmail com>
- To: Noam Yorav-Raphael <noamraph gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Making an element look like a resize grip
- Date: Sun, 11 Jul 2010 12:32:07 +0200
In expose event handler, use function gtk_paint_resize_grip(). Note that
due to GTK's system of skinning/theming the resize grip might look
different then the one on statusbar depending on the theme.
On 07/11/2010 09:33 AM, Noam Yorav-Raphael wrote:
Hello,
I have made a widget that acts as a resize grip (I had to write one by
myself because the resize grip of the statusbar doesn't work on popup
windows for some reason). I used an EventBox for that, and manually
handled button down, up, motion events.
My question is: can I make it look like a resize grip? Is there some
way to take the graphic of it (diagonal lines, or dots) and paint it
on my widget?
Thanks!
Noam
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]