Script selector :: Class interface |
[hide private]
[frames] | no frames]

# Class interface

class interface that manages the GUI using Glade-2

Instance Methods | [hide private]
__init__(self, AllJpegs=`[``]`, first=0, selected=`[``]`, mode=`'``Default``'`) |
flush_event_queue(self) Updates the GTK GUI before comming back to the gtk.main() |
settitle(self) Set the new title of the image |
ShowImage(self) Show the image in the given GtkImage widget and set up the exif tags in the GUI |
next(self, *args) Switch to the next image |
next10(self, *args) Switch forward of 10 images |
previous(self, *args) Switch to the previous image |
previous10(self, *args) Switch 10 images backward |
first(self, *args) switch to the first image |
last(self, *args) switch to the last image |
droite(self, *args) rotate the current image clockwise |
gauche(self, *args) rotate the current image counterclockwise |
poubelle(self, *args) Send the current file to the trash |
gimp(self, *args) Edit the current file with the Gimp |
filter(self, *args) Filter the current image with a contrast mask |
select_Shortcut(self, *args) Select or unselect the image |
select(self, *args) Select or unselect the image |
destroy(self, *args) destroy clicked by user |
FullScreen(self, *args) Switch to fullscreen mode |
SlideShow(self, *args) Switch to fullscreen mode and starts the SlideShow |
run(self, *args) lauch the copy of all selected files then scale them to generate web pages |
ToWeb(self, *args) lauch the copy of all selected files then scale and finaly copy them to the generator-repository and generate web pages |
EmptySelected(self, *args) remove all the files in the "Selected" folder |
copy(self, *args) lauch the copy of all selected files |
Burn(self, *args) lauch the copy of all selected files then burn a CD according to the configuration file |
die(self, *args) you wanna leave the program ?? |
SaveSelection(self, *args) Saves all the selection of photos |
LoadSelection(self, *args) Load a previously saved selection of photos |
SelectAll(self, *args) Select all photos for processing |
SelectNone(self, *args) Select NO photos and empty selection |
InvertSelection(self, *args) Invert the selection of photos |
about(self, *args) display a copyright message |
nextJ(self, *args) Switch to the first image of the next day |
previousJ(self, *args) Switch to the first image of the previous day |
firstJ(self, *args) switch to the first image of the first day |
lastJ(self, *args) switch to the first image of the last day |
firstS(self, *args) switch to the first image selected |
lastS(self, *args) switch to the last image selected |
nextS(self, *args) switch to the next image selected |
previousS(self, *args) switch to the previous image selected |
firstNS(self, *args) switch to the first image NOT selected |
lastNS(self, *args) switch to the last image NOT selected |
nextNS(self, *args) switch to the next image NOT selected |
previousNS(self, *args) switch to the previous image NOT selected |
firstT(self, *args) switch to the first titeled image |
previousT(self, *args) switch to the previous titeled image |
nextT(self, *args) switch to the next titeled image |
lastT(self, *args) switch to the last titeled image |
firstNT(self, *args) switch to the first non-titeled image |
previousNT(self, *args) switch to the previous non-titeled image |
nextNT(self, *args) switch to the next non-titeled image |
lastNT(self, *args) switch to the last non-titeled image |
SavePref(self, *args) Preferences,save clicked. |
DefAutoRotate(self, *args) Set the autorotate flag |
DefFiligrane(self, *args) Set the Signature/Filigrane flag |
SizeCurrent(self, *args) reads the current size of the image and defines it as default for next-time |
Size300(self, *args) reads the current size of the image and defines it as default for next-time |
Size600(self, *args) reads the current size of the image and defines it as default for next-time |
Size900(self, *args) reads the current size of the image and defines it as default for next-time |
SetInterpol0(self, *args) set interpolation level to nearest |
SetInterpol1(self, *args) set interpolation level to tiles |
SetInterpol2(self, *args) set interpolation level to bilinear |
SetInterpol3(self, *args) set interpolation level to hyperbolic |
Set30PerPage(self, *args) set 30 images per web-page |
Set25PerPage(self, *args) set 25 images per web-page |
Set20PerPage(self, *args) set 20 images per web-page |
Set16PerPage(self, *args) set 16 images per web-page |
Set12PerPage(self, *args) set 12 images per web-page |
Set9PerPage(self, *args) set 9 images per web-page |
renommer(self, *args) lauch a new window and ask for anew name for the current directory |
DefMediaSize(self, *args) lauch a new window and ask for the size of the backup media |
SlideShowSetup(self, *args) lauch a new window for seting up the slideshow |
indexJ(self, *args) lauch a new window for selecting the day of interest |
synchronize(self, *args) lauch the synchronization window |
SelectNewerMedia(self, *args) Calculate the size of the selected images then add newer images to complete the media (CD or DVD). |
SelectOlderMedia(self, *args) Calculate the size of the selected images then add older images to complete the media (CD or DVD). |
CalculateSize(self, *args) Calculate the size of the selection and print it |

Method Details | [hide private]

### SavePref(self, *args) |
Preferences,save clicked. now we save the preferences in the file

### SelectNewerMedia(self, *args) |
Calculate the size of the selected images then add newer images to complete the media (CD or DVD). Finally the last selected image is shown and the total size is printed

### SelectOlderMedia(self, *args) |
Calculate the size of the selected images then add older images to complete the media (CD or DVD). Finally the first selected image is shown and the total size is printed