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 Mon 20 Oct 2014, 09:10
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
gtkdialog - edit input file
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [2 Posts]  
Author Message
singhai.nish

Joined: 16 Jan 2014
Posts: 8

PostPosted: Tue 28 Jan 2014, 06:03    Post subject:  gtkdialog - edit input file
Subject description: could'nt stat
 

I am trying this and constantly getting this error. Anybody getting same error. How did you solve it.

<edit file-monitor="true" auto-refresh="true">
<variable>AO2_2EDITOR</variable>
<width>300</width><height>200</height>
<default>Output Display</default>
<sensitive>true</sensitive>
<action signal="refresh">AO2_2outputFileName</action>
<input file>AO2_2outputFileName</input>
</edit>


widget_edit_input_by_file(): Couldn't stat 'AO2_2outputFileName'.


I got answer. There was no text file by this name hence the error.

After ensuring file gets created it works.
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3331
Location: Ontario

PostPosted: Thu 30 Jan 2014, 20:59    Post subject:  

Code:

<action signal="refresh">AO2_2outputFileName</action>


When you do a refresh it has to be on a widget variable name.
In your example it is a filename, so you are getting an error.

I like to use capital letters for widget variable names so I don't
get confused.


Think of the widget that is emitting the
signal and the other widget that is receiving the signal.

___________________________________________
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [2 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.0431s ][ Queries: 11 (0.0042s) ][ GZIP on ]