On 5/31/24 13:10, Paul Emsley wrote:


--


On 31/05/2024 08:54, Marko Hyvonen wrote:


--

Hello all,

Hello Marko.

Would anyone have a template/example to create a custom pop-up window (a bit like “Go to atom….” one) for Coot?  We’d like to have something to help to browse through a large number of sizeable structures (oligomeric protein, several ligand sites, problematic loops, fair few other sites of “interest”)  as using Go To Atom selection gets a little tiring after a while.

First things first. Yes, Go To Atom gui can get tiring. Are you aware of the Ctrl-G mechanism?

OK, maybe something like this is what you want?

Paul.


########################################################################

To unsubscribe from the COOT list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=COOT&A=1

This message was issued to members of www.jiscmail.ac.uk/COOT, a mailing list 
hosted by www.jiscmail.ac.uk, terms & conditions are available at 
https://www.jiscmail.ac.uk/policyandsecurity/
(let ((places
       (list
	;; adjust these to your liking:
	(list "Ligand 1" (list 1.1 2.2 3.3))
	(list "Ligand 2" (list 3.1 4.2 5.3))
	(list "Ligand 2" (list 6.1 7.2 8.3)))))


  (let ((buttons
	 (map (lambda(p) (list (car p) (lambda () (apply set-rotation-centre (cadr p)))))
	      places)))
    (dialog-box-of-buttons "Interesting Places" (cons 300 200) buttons "Close")))


Reply via email to