GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Mon Sep 01, 2014 11:30 pm

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: How to reproduce this ?
PostPosted: Thu Jan 15, 2009 6:47 am 
Offline
GTK+ Geek

Joined: Tue Oct 21, 2008 7:09 am
Posts: 70
Location: Moscow
Hi all,
I want to reproduce this:

Image
I used a shaded frame, but it's different.
Code:
frame1 = gtk_frame_new("");
gtk_frame_set_shadow_type(GTK_FRAME(frame1), GTK_SHADOW_OUT);


Is there any widget that do this ?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 15, 2009 9:00 am 
Offline
Never Seen the Sunlight

Joined: Wed Jul 23, 2008 10:31 am
Posts: 2406
Location: Slovenia
Hi.

Have you tried using GtkEntry and making it insensitive?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 15, 2009 9:11 am 
Offline
GTK+ Geek

Joined: Tue Oct 21, 2008 7:09 am
Posts: 70
Location: Moscow
What do you mean by "insensitive" ?
I can use gtkentry, but I don't know how to make it look likes image above


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 15, 2009 10:26 am 
Offline
Never Seen the Sunlight

Joined: Wed Jul 23, 2008 10:31 am
Posts: 2406
Location: Slovenia
Hi.

Making GtkEntry insensitive will make it's background look like "gray-ish".

What else do you need to tweak to fulfill your requirements?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 16, 2009 4:28 pm 
Offline
Never Seen the Sunlight

Joined: Thu Jun 14, 2007 11:02 pm
Posts: 923
Location: Falun, WI USA
Doc for explanation of sensitivity:
http://library.gnome.org/devel/gtk/stab ... -sensitive


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

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 1 guest


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