Hi,
(BMr. Alem Thanks for your help!
(B
(BChris.Wu
(B
(B-Original Message-
(BFrom: Alem Dain [mailto:[EMAIL PROTECTED]
(BSent: 2005$BG/(B5$B7n(B27$BF|(B 13:51
(BTo: [EMAIL PROTECTED]
(BCc: gtk-app-devel-list@gnome.org
(BSubject: Re: How to shape a button
(B
(B
(BHi
Chris.Wu
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Muthiah Annamalai
Sent: 2005年5月20日 17:34
To: [EMAIL PROTECTED]; gtk-app-devel-list@gnome.org
Subject: RE: How to shape a button
Hi!
It seems to work for me...
I just forgot to mention, just create & co
Annamalai
Sent: 2005年5月20日 17:34
To: [EMAIL PROTECTED]; gtk-app-devel-list@gnome.org
Subject: RE: How to shape a button
Hi!
It seems to work for me...
I just forgot to mention, just create & connect a
button to its configure_event.
>
>
> #include
> #include
> #includ
Hi!
It seems to work for me...
I just forgot to mention, just create & connect a
button to its configure_event.
>
>
> #include
> #include
> #include
>
>
> gboolean configure_event(GtkWidget *w,gpointer
> data)
> {
> //make a shaped mask
> GdkPixmap *pix;
> GdkBitmap *bit;
> GdkCo
Chris.Wu
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Muthiah Annamalai
Sent: 2005å5æ20æ 12:18
To: [EMAIL PROTECTED]; gtk-app-devel-list@gnome.org
Subject: Re: How to shape a button
Hi!
Im sending you code from the project gtk-book,
http://gtkbook.source
Hi!
Im sending you code from the project gtk-book,
http://gtkbook.sourceforge.net/
The function make_shapedwidget() should help.
To choose the shape of the widget change the
mask in the file "circle.xpm".
#include
#include
#include
gboolean configure_event(GtkWidget *w,gpointer data)
{