Re: Is it posible
- From: Paul Davis <paul linuxaudiosystems com>
- To: Claudio Saavedra <csaavedra gnome org>
- Cc: Иван , gtk-list gnome org
- Subject: Re: Is it posible
- Date: Wed, 16 Jul 2008 20:40:59 -0400
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 complicated
because you want some parts of the button to still draw, but slightly
more efficient than packing a DrawingArea into the button.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]