33 questions
1
vote
1
answer
29
views
How to add columns and insert data in Common Lisp ltk treeview
am trying to create a table using a scrolled-treeview, to contain students' performance but i have failed to add the specific columns (name, math-mark, comp-mark) to it.
I have tried the following ...
1
vote
1
answer
96
views
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 ...
0
votes
0
answers
77
views
implementing extract method refactoring using jdt and ltk
I am currently working on my project which requires me to implement extract method refactoring using the eclipse jdt and ltk. I am new to this topic, can anyone point me to some walkthrough example?
I ...
1
vote
0
answers
77
views
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 ...
1
vote
0
answers
66
views
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 ...
2
votes
0
answers
44
views
Remote GUI with LTK doesn't open window [duplicate]
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 ...
1
vote
1
answer
478
views
In Bluetooth LE GATT, is there any way to detect when Long Term Keys are invalid?
I am using Windows Bluetooth LE GATT library to connect to and pair with a BLE-supporting device, D. Since D has a limited amount of storage space, if more than N Clients bond with it, then it will ...
4
votes
2
answers
211
views
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 :...
1
vote
1
answer
155
views
Setting font in ltk
In LTK, I want to write a string on a canvas and surround it with a rectangle. I can set it to wrap around at a given width (in pixels), but because of kerning, I cannot predict how many lines the ...
1
vote
1
answer
114
views
LTK Scrolled Frame Scrollbars Not Resizing
Ltk is proving very frustrating due to missing and sometimes incorrect documentation.
(You'll find that the button styling options don't work)
I'm trying to make a simple scrolled frame that contains ...
3
votes
1
answer
99
views
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 ...
1
vote
1
answer
92
views
Finding ltk window position
Is it possible to get the position of a ltk (Common Lisp basic GUI library) window (one of its corners), in pixels from the top left screen corner?
I'm trying to use mouse movement to control an ...
5
votes
2
answers
335
views
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, ...
0
votes
0
answers
92
views
Ltk button configuration
I originally only had problems setting the height of buttons, but as it turns out, configuring in general has problems. I can change the width, text, and commands of buttons, but nothing else (such as ...
1
vote
1
answer
233
views
LTK button height not configurable
I'm using LTK for basic windows in Common Lisp. I want to create a square button, but it turns out that height can't be changed. Here's the relevant part of the code:
(let ((tile (make-instance '...
1
vote
1
answer
6k
views
How is LTK formed in Bluetooth Low Energy connections?
I'm working on pentesting over a BLE connection between an Android and a Sensor and I'm having problems when I try to decrypt Wireshark .pcap files, because I'm not very sure how the LTK is formed.
...
2
votes
1
answer
358
views
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 ...
0
votes
2
answers
437
views
set maximum window size
How can I set the maximum window size of a LTK window?
(ql:quickload "ltk")
(defpackage :pub-quiz
(:use :ltk :cl))
(in-package :pub-quiz)
(defun pub-quiz-window ()
(with-ltk ()
(let* ((f (...
0
votes
0
answers
382
views
Triggering 'extract method' in Eclipse Refactoring/LTK API
I am currently developing an Eclipse Plug-In that will let me trigger refactorings, using gestures.
I've been trying to trigger 'extract method' programmatically in Eclipse for a while now but I am ...
5
votes
2
answers
3k
views
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 ...
2
votes
1
answer
132
views
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 ...
0
votes
1
answer
200
views
Lisp Toolkit (ltk): Cannot get SCALE :variable value
I am working with SBCL for Linux on an AMD64 machine.
Function CONTROL-TEST makes a window with a drawing CANVAS and two sliding SCALEs. The slider :VARIABLES for UPPER-SLIDER and FORE-SLIDER are ...
1
vote
2
answers
5k
views
Problems in Python getting multiple selections from Tkinter listbox
This is the same problem I posed earlier today and which a couple of you tried to help me with, but I can't get it to work. All I want to do is to populate "ichose" with the multiple selections I make ...
7
votes
2
answers
368
views
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<Person> getPersonByName(...
1
vote
2
answers
2k
views
How to execute inline refactoring programmatically using JDT/LTK?
I could use Refactor->Inine when I need to inline a method.
This the code skeleton that I tried, I used the code in this post - Is there any eclipse refactoring API that I can call ...
1
vote
2
answers
175
views
Cannot access mouse coords relative to CANVAS widget
I am working with SBCL for Linux on an AMD64 machine.
Function ANIMTEST instantiates an LTK window with a CANVAS widget. Two items, BARRIER and FOLLOWER, live in the canvas. Both spin continuously, ...
3
votes
1
answer
662
views
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-...
0
votes
2
answers
816
views
TTK error in programms with LTK
After upgrade of the system from Ubuntu 10.10 to Ubuntu 11.04, have a problem with LTK.
Programs with LTK load successful, but after loading the function I had an error "Can't find TTK package". As I ...
0
votes
1
answer
365
views
disable back button on in ltk wizardinputpage
I'm doing a plugin in Eclipse IDE in order to do a refactoring. I'm using LTK, the point is: I don't know how I can disabled the back button after the preview. I've tried to create the ...
3
votes
2
answers
378
views
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 ...
7
votes
2
answers
2k
views
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:...
1
vote
1
answer
599
views
How do I get Ltk to display what the user is writing and what the functions print?
The kind of functions are of the sort of:
(defun display-all ()
"Display all items in the database."
(dolist (item *database*)
(format t "~{~a:~10t~a~%~}~%" item)))
(defun prompt-read (...
4
votes
2
answers
2k
views
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 ...