RE: How to shape a button

2005-05-26 Thread Chris Wu
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

RE: How to shape a button

2005-05-24 Thread Chris Wu
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

RE: How to shape a button

2005-05-21 Thread Chris Wu
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

RE: How to shape a button

2005-05-20 Thread Muthiah Annamalai
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

RE: How to shape a button

2005-05-19 Thread Chris Wu
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

Re: How to shape a button

2005-05-19 Thread Muthiah Annamalai
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) {