Questions tagged [ltk]
32 questions
7
votes
2 answers
Problems with ltk (common lisp)
I installed ltk to Steel Bank Common Lisp with asdf-install, but I can't even start using it V_V. The code below is the simplest example in the documentation, and is copied almost verbatim.
(asdf:operate 'asdf:load-op :ltk)
(defun hello-1()
…

Silvanus
- 168
- 7
7
votes
2 answers
How to extend Eclipse's rename refactoring to trigger another refactoring after its completion
I'm trying to extend eclipse's rename refactoring to call another rename refactoring.
public class Person {
...
}
public class PersonDAO {
public List getPersonByName(String name) {
...
}
}
After renaming the…

Gustavo Schmidt
- 132
- 1
- 9
5
votes
2 answers
Common Lisp mouse position with ltk
I'm making a simple applet in Common Lisp and I want to control it using mouse movement. I use LTK for the window. I couldn't find any function that would retrieve the mouse location. For example, Emacs Lisp has (mouse-pixel-position). I found this…

Kotlopou
- 415
- 3
- 13
5
votes
2 answers
Refactoring java code using scripts
Is there an eclipse based solution to refactor Java code using scripts?
I've read about the Eclipse Language toolkit, but it seems that it implies the creation of a plugin, which sounds like overkill for a one-off operation.
Are there some kind of…

Mikarnage
- 893
- 1
- 9
- 24
4
votes
2 answers
How do I display an image with ltk?
I have written code to read a windows bitmap and would now like to display it with ltk. How can I construct an appropriate object? Is there such functionality in ltk? If not how can I do it directly interfacing to tk?

Sarien
- 6,647
- 6
- 35
- 55
4
votes
2 answers
Error: can't read server: no such variable when using ltk remotely
I am tinkering around with ltk as it provides the option of running a remote GUI. However, when trying to use the remote GUI I run into issues I do not encounter when running ltk locally:
(in-package :ltk-user)
(defun…

Sim
- 4,199
- 4
- 39
- 77
3
votes
1 answer
LTK, button action
My first LTK-application. Trying to execute function with argument from entry-field.
(defpackage :test
(:use :cl
:ltk))
(in-package :test)
(defun main()
(with-ltk ()
(let* ((f (make-instance 'frame
:height 200
…

Lissomort
- 103
- 1
- 1
- 7
3
votes
1 answer
How to wait until event conclusion to return from function using ltk?
I'm using ltk to develop a GUI application for the Dijkstra algorithm in Common-Lisp. However, to place a node on a canvas, I need the label for it, and to do so, the execution must wait until the user enters a string (and press Return) to initiate…

Gap1512
- 121
- 4
3
votes
2 answers
Acessing values of ltk widget options
I am trying to make a GUI application in common lisp with ltk, and there is one thing I just cannot figure out. I know I can set options of ltk widgets with configure, but I cannot figure out a way to read the values.
For example, I create an…
user629132
2
votes
0 answers
Remote GUI with LTK doesn't open window
What I am trying to do: I have a preexisting game that uses LTK for its user interface. The game contains numerous buttons, canvases, and windows. I would like to access the GUI from a remote computer through ltk-remote, as described in section 7 of…

Kotlopou
- 415
- 3
- 13
2
votes
1 answer
Facing issue while communicating with multiple BLE devices using IRK
I am facing one challenge while using IRK. Please guide - maybe I am missing some info.
Scenario:
BLE 5.0 Device Acting Slave (lets call it BSL) generates IRK 1 and bond with master device 1(lets call it BMS1). Suppose it drops connection after some…

Vicky
- 87
- 1
- 5
2
votes
1 answer
LTK: removing character echo in Entry widget
Is there anyway to have remove echoing of characters being typed in the Entry widget of LTK?
For the CLI interface I use the c-string function (alien routine)
(sb-alien:define-alien-routine getpass sb-alien:c-string (prompt sb-alien:c-string))
Not…

momo
- 1,045
- 3
- 9
- 18
1
vote
1 answer
Recommended way to use LTK asynchronously
I want a function to create a LTK frame/canvas that lets it persist in the background. The function then updates the LTK frame/canvas through other functions as it does some other work.
What I have so far is the following two functions and one…

digikar
- 576
- 5
- 13
1
vote
0 answers
How can I set position of root frame or window in Common Lisp ltk?
I am outputting a window with 2 columns and 11 rows with LTK in Common Lisp. Unfortunately I cannot set the position on screen where it is displayed. Mostly it appears top left, sometimes to the right of my terminal window. How can I set its…

klk2ptx
- 41
- 6
1
vote
0 answers
TK (LTK) Paint Program (Raster)
I really want to make a raster paint program while keeping the pixel model CPU side.
I want to expose the underlying data structure to users of the program so they can extend it with their own functionality. (Think how Emacs provides a few…

Pixel_Outlaw
- 45
- 8