Re: non-rectangular windows
- From: John Cupitt ng-london org uk
- To: pclouds users sourceforge net
- Cc: gtk-list gnome org
- Subject: Re: non-rectangular windows
- Date: Fri, 17 Jan 2003 12:29:02 -0000
pclouds wrote:
> Is there any way to create a window with a other special shape than
rectangle?
Hiya, see gtk_widget_shape_combine_mask():
http://developer.gnome.org/doc/API/2.0/gtk/GtkWidget.html#gtk-widget-shape-c
ombine-mask
Call this on your top-level window and supply a bitmap with the shape you
want. You can use it to make non-rectangular buttons too.
John
==========================================================
Coming Soon:
T I T I A N
19 February - 18 May 2003
Advance Booking Recommended
Open every day
Wed-Sat late opening until 9pm
For information and tickets:
http://www.nationalgallery.org.uk/exhibitions/titian
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]