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 29 Aug 2014, 10:36
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
How to filter file types in chooser?
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [2 Posts]  
Author Message
arivas_2005

Joined: 25 Feb 2007
Posts: 89

PostPosted: Thu 26 Dec 2013, 13:46    Post subject:  How to filter file types in chooser?  

greetings

I need filter only files *.odt and *.ods

how i can modified in <chooser> for filter only files of the type "*.odt" and "*.ods" ?



Code:
#!/bin/bash

DIRACTUAL=`pwd`

export MAIN_DIALOG='
<vbox>

   <chooser>
         <height>500</height>
         <width>600</width>
         <variable>CHOOSER</variable>
         <default>'$DIRACTUAL'</default>

   </chooser>

   <hbox>
          <button help></button>
          <button ok></button>
   </hbox>

</vbox>
'
gtkdialog --program=MAIN_DIALOG


Excuse my english

thanks
Back to top
View user's profile Send private message 
Geoffrey


Joined: 30 May 2010
Posts: 1357
Location: Queensland Australia ɹǝpu∩uʍop

PostPosted: Thu 26 Dec 2013, 21:49    Post subject:  

It doesn't support file filter http://code.google.com/p/gtkdialog/source/browse/trunk/examples/miscellaneous/chooser?r=292&spec=svn320
_________________
Carolina: Recent Repository Additions
Create strikethrough text HERE
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.0446s ][ Queries: 12 (0.0100s) ][ GZIP on ]