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 Fri 28 Nov 2014, 11:57
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 [3 Posts]  
Author Message
sunburnt


Joined: 08 Jun 2005
Posts: 5042
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: 887

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: 3393
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 from previous:   Sort by:   
Page 1 of 1 [3 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
Jump to:  

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 vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


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