Re: Shapes of widgets in GTK???



On Wed, 2007-01-03 at 14:09 +0530, pushpalata patil soc-soft com wrote:
> Hi All,
> 
>  
> 
>  I wanted to change shape of a widget like round, oval buttons.  Is it
> possible to change shape  using gtk  theme concept ?
> 

you can't change a square button into a circle. you can round off the
corners, change the ways the edges are drawn etc etc.

>  1) How to change button shapes ,different style lines ?
> 
>  2) How to mask button with image(pixmap->png,xpm etc) ?

sounds as if you need gdk_window_shape_combine and friends, which is
unrelated to styles and is also unrelated to existing widgets like
buttons.






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