Re: Is it posible

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

 



On Wed, 2008-07-16 at 19:52 -0400, Claudio Saavedra wrote:> El jue, 17-07-2008 a las 01:56 +0300, Иван Васильев escribió:> > > > Is itposible to draw circle in Cairo and to place in the midle of it> > Button in gtk+?> > Yes, you can. Use an empty GtkButton and place a GtkDrawingArea inside> of it, then draw here.
you can even override the expose method of the button, and draw directly(with cairo or GDK) on the button itself. could get a little complicatedbecause you want some parts of the button to still draw, but slightlymore efficient than packing a DrawingArea into the button.

_______________________________________________gtk-list mailing listgtk-list@xxxxxxxxxxxxx://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