GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Sun Apr 20, 2014 8:16 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: How to create a non-rectagular window ?
PostPosted: Sun May 11, 2008 11:34 am 
Offline

Joined: Sun May 11, 2008 11:28 am
Posts: 1
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


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 12, 2008 6:14 am 
Offline
Familiar Face

Joined: Wed Apr 02, 2008 10:53 pm
Posts: 28
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group