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 24 Jan 2020, 15:33
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
ComboboxEntry Widget in GtkDialog
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [3 Posts]  
Author Message
LazY Puppy


Joined: 21 Nov 2014
Posts: 2007
Location: Germany

PostPosted: Thu 14 Apr 2016, 19:43    Post subject:  ComboboxEntry Widget in GtkDialog
Subject description: How to update after loading a new Config File?
 

Hi.

I have multiple config files to be edited in a gtkdialog gui.

One of the config file's containing variables is: MYWMTHEME

Example content: MYWMTHEME=Gradient-blue

If I'm loading such config file at program's start,
Code:
. PathToMyConfigFileHere

the value of MYWMTHEME is shown/present/active in the edit field of the comboboxentry widget.

But after the gui is opened and present at the screen the comboboxentry widget still keeps it's value when I'm loading a different config file without to close and restart the gui.

How can I make the comboboxentry widget showing the new value after loading a new/different config file?

In an entry widget I'm using auto-refresh="true" and file-monitor="true". When echoing the new value from the config file into a temp file for the entry widget (<input file>TempFileHere</input>), the entry widget accepts the new value and shows/presents it in the gui.

Though, auto-refresh="true" and file-monitor="true" seems not to be possible to use in a comboboxentry widget, so I couldn't find any solution on this.

Anyone got one?

Thanks.

_________________
RSH

"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) Laughing

No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! Wink
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5456
Location: Ontario

PostPosted: Thu 14 Apr 2016, 19:59    Post subject:  

You should review this page

http://murga-linux.com/puppy/viewtopic.php?p=756690
___________________________________________________
Back to top
View user's profile Send private message 
LazY Puppy


Joined: 21 Nov 2014
Posts: 2007
Location: Germany

PostPosted: Thu 14 Apr 2016, 20:05    Post subject:  

Thanks for the reply, had a look at it, but -I may be blind or what ever- I can't see how this connects to my problem regarding the comboboxentry widget.
Sad

_________________
RSH

"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) Laughing

No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! Wink
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.0436s ][ Queries: 11 (0.0039s) ][ GZIP on ]