hallo ihrs,
wisst ihr eine möglichkeit, wie man ein PanedWindow dazu bringen kann, dass eines der eingefügten (mit der .add() - methode!) objekte eine ganz bestimmte größe hat?
in PMW war ein beispiel mit panedwindow.add(name, min = .1, max = .1), was aber hier nicht klappt (da ich nur Tkinter verwenden mag)!
wäre schön, wenn ihr eine lösung dafür hättet.
Danke im Voraus
hannes
PanedWindow -> fixed size / feste größe?
- Hannes-Spz
- User
- Beiträge: 123
- Registriert: Sonntag 7. August 2005, 22:42
paneconfigure oder paneconfig haben:
minsize n
Specifies that the size of the window cannot be made
less than n. This constraint only affects the size of
the widget in the paned dimension -- the x dimension
for horizontal panedwindows, the y dimension for
vertical panedwindows. May be any value accepted by
Tk_GetPixels.
width size
Specify a width for the window. The width will be
the outer dimension of the window including its
border, if any. If size is an empty string, or
if -width is not specified, then the width requested
internally by the window will be used initially; the
width may later be adjusted by the movement of sashes
in the panedwindow. Size may be any value accepted by
Tk_GetPixels.
- Hannes-Spz
- User
- Beiträge: 123
- Registriert: Sonntag 7. August 2005, 22:42
Wer ist online?
Mitglieder in diesem Forum: 0 Mitglieder