Re: pixmaps and xpm-transparency



On Wed, Apr 18, 2001 at 03:02:37PM +0100, John Cupitt wrote:
> 
> 
>         fixed = gtk_fixed_new();
>         gtk_box_pack_start( GTK_BOX( hb ), fixed, FALSE, FALSE, 2 );
>         gtk_widget_show( fixed );
> 
>         px = gtk_pixmap_new( image, mask );
>         gtk_fixed_put( GTK_FIXED( fixed ), px, 10, 10 );
>         gtk_widget_show( px );
> 
>         px = gtk_pixmap_new( image, mask );
>         gtk_fixed_put( GTK_FIXED( fixed ), px, 20, 20 );
>         gtk_widget_show( px );

thanks. this one just works.

regards,
th
--
 323C 2218 6E86 F116 6ABD  C7F5 276D 6F68 C67B D192
          (pub  1024D/C67BD192 2001-01-11)
           Tobias Hintze <hintze olsn org>




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