Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 01 Oct 2014, 12:23
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
Way to set <default> for gtkdialog ComboBox?
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
sunburnt


Joined: 08 Jun 2005
Posts: 5032
Location: Arizona, U.S.A.

PostPosted: Tue 20 Apr 2010, 08:07    Post_subject:  Way to set <default> for gtkdialog ComboBox?  

Itried the Combo text for that line and I tried setting the array index number ( starting at 0 ).
Nothing worked, this is as I remember gtkdialog to be from years ago...
I suppose I could rewrite the Combo`s list to put the "selected" one at the top of the list. Confused
Back to top
View user's profile Send_private_message 
seaside

Joined: 11 Apr 2007
Posts: 886

PostPosted: Tue 20 Apr 2010, 10:16    Post_subject:  

sunburnt,

Yeah, it would be nice to have an index. Zigbert has the workaround below with a config file setting.

http://www.murga-linux.com/puppy/viewtopic.php?t=38608

See item 5 on config files.

Cheers,
s
Back to top
View user's profile Send_private_message 
8-bit


Joined: 03 Apr 2007
Posts: 3368
Location: Oregon

PostPosted: Tue 20 Apr 2010, 11:27    Post_subject:  

See the file, benconf, I sent you in a PM.
It has a combobox and remembers your selection from the dropdown list for the next run.
I used it as an example in how I set up driveman.set.gtk3 to save the settings file.
The example file Benefits of a configuration file does not work as written.
I told Zigbert how to change it, but it seems he never did in the examples.
My modification to it in the benconf file does work.
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Off-Topic Area » Programming
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0391s ][ Queries: 12 (0.0037s) ][ GZIP on ]