[vtkusers] vtkTkRenderWidget -width -height
Olivier Coulon
o.coulon at cs.ucl.ac.uk
Tue Aug 29 05:06:36 EDT 2000
Wolfram H Volpi wrote:
> I have a question.
> How can one change width and height of a vtkTkRehderWidget object after it
> is already set?
>
> For example, in /vtk/graphics/examples/vol.tcl there are these two lines:
>
> vtkTkRenderWidget .top.f1.f2.f1.f1.ren -width 256 -height 256
> BindTkRenderWidget .top.f1.f2.f1.f1.ren
>
> Is there a way to change the width and height to 512 latter in the
> program?
>
> Thank you,
> Wolfv.
>
Wolfram,
I think this is more a Tk question. Using the 'config' command should work:
.top.f1.f2.f1.f1.ren config -width $new_width -height $new_height
- Olivier
More information about the vtkusers
mailing list