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 Oct 20, 2014 4:25 am

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: widget name?
PostPosted: Tue Oct 18, 2011 8:04 pm 
Offline
GTK+ Geek

Joined: Sat Sep 03, 2011 6:36 pm
Posts: 94
Can somebody tell me whats the name of the widget found in the preferences windows?

Like there is a list of elements and there is a bolded heading


Top
 Profile  
 
 Post subject: Re: widget name?
PostPosted: Wed Oct 19, 2011 12:49 pm 
Offline
Never Seen the Sunlight

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

Not sure what you mean by preferences window. There is no such standard widget, so you probably have seen something from custom application. Can you post a screenshot?

Tadej


Top
 Profile  
 
 Post subject: Re: widget name?
PostPosted: Wed Oct 19, 2011 3:30 pm 
Offline
GTK+ Geek

Joined: Sat Sep 03, 2011 6:36 pm
Posts: 94
apologies,i thought it was coherent enough.

i am after the gedit preferences effect (Edit>preferences) you can see that the buttons are arranged in "sections" with bolded headings (Text wrapping,line numbers) (:


Top
 Profile  
 
 Post subject: Re: widget name?
PostPosted: Wed Oct 19, 2011 6:33 pm 
Offline
Never Seen the Sunlight

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

That is no special widget. It's simple vertical box that hold many labels and various buttons (indented ones are additionally packed inside GtkAlignment that adds 12px padding to the left of the control). You can easily inspect the dialog using Glade, link to relevant ui file is this: http://git.gnome.org/browse/gedit/plain ... -dialog.ui

Cheers,
Tadej


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

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 2 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