From: Ali Morshedi (morshedi1370_at_gmail.com)
Date: Tue Apr 09 2019 - 01:22:22 CDT

Great suggestion. Thanks!

Best,
Ali

On Mon, Apr 8, 2019 at 5:26 AM Joao Ribeiro <jribeiro_at_ks.uiuc.edu> wrote:

> Dear Ali,
>
>
>
> I would suggest you take a look at the “VMD PDB Tool” as a simple example.
>
>
>
> In the VMD tree, you have all the code for the VMD plugins, including the
> tk code for their interface. So inside the vmd installation folder, you
> will have something like “vmd/plugins/noarch/tcl/pdbtool1.0”. This is a
> simple plugin with a simple interface that you can use as a template.
>
>
>
> Best
>
>
>
> João
>
>
>
>
>
> ……………………………………………………...
> João Vieira Ribeiro
> Theoretical and Computational Biophysics Group
> Beckman Institute, University of Illinois
>
> http://www.ks.uiuc.edu/~jribeiro/
>
> jribeiro_at_illinois.edu
>
> +1 (217) 3005851
>
>
>
> *From: *<owner-vmd-l_at_ks.uiuc.edu> on behalf of Ali Morshedi <
> morshedi1370_at_gmail.com>
> *Date: *Sunday, April 7, 2019 at 3:35 AM
> *To: *<vmd-l_at_ks.uiuc.edu>
> *Subject: *vmd-l: Creating and using a tk button
>
>
>
> Dear vmd users,
>
>
>
> My goal is to have a canvas with a button and a box so that I enter a
> number in the box and press the button and a procedure is executed (e.g. a
> new molecule is loaded).
>
>
>
> I'm having trouble getting gui in tcl console to work. For example when I
> execute:
>
> label .hello "hello world"
>
> grid .label
>
>
>
> nothing happens.
>
>
>
> I'd appreciate it if you let me know whether doing this is possible and if
> yes, some hints about how to do it.
>
>
>
> Thanks
>
> Ali
>
> [image:
> https://mailfoogae.appspot.com/t?sender=abW9yc2hlZGkxMzcwQGdtYWlsLmNvbQ%3D%3D&type=zerocontent&guid=3aa47061-6f16-4ca0-8f39-46683cc3b443]
> ᐧ
>