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 22 Dec 2014, 05:20
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
embedded if in gtkdialog?
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
hannysabbagh

Joined: 14 Apr 2013
Posts: 17

PostPosted: Thu 27 Jun 2013, 10:27    Post_subject:  embedded if in gtkdialog?  

Hello everyone.

i was watching this example: http://gtkdialog.googlecode.com/svn/trunk/examples/miscellaneous/embedded_if

but the problem is that it is broken, so i wonder if there is any other way to use an embedded if in gtkdialog like if a file exists in file-system, run the action1 ,else, run the action2 , is there a something like that?

Thanks.

Edited_time_total
Back to top
View user's profile Send_private_message 
L18L

Joined: 19 Jun 2010
Posts: 2620
Location: www.eussenheim.de/

PostPosted: Thu 27 Jun 2013, 14:21    Post_subject: embedded if in gtkdialog?
Sub_title: ?
 

Code:
[ "${flag}" ] && action1 || action2
Rolling Eyes
Back to top
View user's profile Send_private_message 
hannysabbagh

Joined: 14 Apr 2013
Posts: 17

PostPosted: Tue 02 Jul 2013, 13:24    Post_subject:  

Thanks!

i have more questions about gtkdialog , shall i put them here or i have to open a new post? Very Happy because i almost to flood the forum Laughing Embarassed
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.0370s ][ Queries: 11 (0.0034s) ][ GZIP on ]