 |
GTK+ Forums Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
|
|
|
| Author |
Message |
|
|
Kicker
Joined: 11 May 2008 Posts: 1
|
Posted: Sun May 11, 2008 11:34 am Post subject: How to create a non-rectagular window ? |
|
|
Hello,
I'd like to make a window with a shape of my choice but I don't manage to.
I understood I had to use gtk_widget_combine_mask().
The problem is how to get the GdkBitmap from a .bmp file so I can obtain the mask.
I read that it's easy to do when you get your mask from an XPM file.
But I have no idea how to save my .bpm file as a .xpm one...
Please anyone help me :)
Thanks in advance |
|
| Back to top |
|
 |
cofcof Familiar Face
Joined: 02 Apr 2008 Posts: 29
|
Posted: Mon May 12, 2008 6:14 am Post subject: |
|
|
Hi Kicker
You can try to open your bitmap with gimp
and save it in XPM (or XBM?)
See how it goes and let us know.
CofCof |
|
| Back to top |
|
 |
|
Powered by phpBB © 2001, 2005 phpBB Group CodeBB 1.0 Beta 2
|