Thread Entry & Scale via -textvariable: Problem... (15 answers)
Opened by pktm at 2005-08-12 05:16

pktm
 2005-08-16 00:31
#44359 #44359
User since
2003-08-07
2921 Artikel
BenutzerIn
[Homepage]
user image
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
        $gui{'QualitaetEntry'} = $gui{'QualitatFrame'}->NumEntry( 
-minvalue => 0,
-maxvalue => 100,
-readonly => 1,
-textvariable => \$thumbnailQuality,
-width => 3,
);
$gui{'QualitaetEntry'}->configure(
-browsecmd => sub{

$self->__setScale(

-scale => $gui{'QualitaetSkala'},

-quality => $thumbnailQuality,

);
},
);

$gui{'QualitaetSkala'} = $gui{'QualitatFrame'}->Scale(
-from => 0,
-to &nb
sp; => 100,
-variable &nb
sp; => $thumbnailQuality,
-sliderlength => 6,
-orient => 'horizontal',
-length &nbsp
; => 100,
-showvalue => 0,
-bg => 'yellow',
-activebackground => 'blue',
-border => 0,
);
$gui{'QualitaetSkala'}->configure(
-command => sub{ $thumbnailQuality = $gui{'QualitaetSkala'}->get(); },
);


Publiziert habe ich die Neuerungen aber noch nicht. Ich möchte zuerst noch versuchen dem Benutzer die Möglichkeit der Verzeichnisbearbeitung (md, rd, rename) beim Auswahldialog des Zeilverzeichnissen zu geben.

Ich spiele da ein bischen mit dem Gedanken das ganze in Wx zu machen, da es da sowas schon gibt.
http://www.intergastro-service.de (mein erstes CMS :) )

View full thread Entry & Scale via -textvariable: Problem...