Questions tagged [ltk]
32 questions
1
vote
1 answer
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 remove the first Long Term Key pair that was…

prokaryoticeukaryote
- 41
- 2
1
vote
1 answer
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 string will occupy and therefore how tall the…

Kotlopou
- 415
- 3
- 13
1
vote
1 answer
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 NxN many buttons.
Unfortunately, the scroll bars…

Pixel_Outlaw
- 45
- 8
1
vote
1 answer
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 applet I'm making (details here), but I can only find…

Kotlopou
- 415
- 3
- 13
1
vote
1 answer
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 'button
:width 20
…

Kotlopou
- 415
- 3
- 13
1
vote
1 answer
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.
There is a screenshot with the packets…

A. Lage
- 13
- 1
- 4
1
vote
1 answer
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 (prompt)
(format *query-io* "~a: " prompt)
…
Dan
1
vote
2 answers
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 when I click on the listbox.
import Tkinter as…

John Rowland
- 3,579
- 2
- 15
- 7
1
vote
2 answers
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 programmatically?.
// 1. Get ICompiationUnit for type…

prosseek
- 182,215
- 215
- 566
- 871
1
vote
2 answers
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, with BARRIER at the center of the canvas and…

SquareCrow
- 291
- 2
- 14
0
votes
0 answers
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 have tried to search for guides but there is not…
0
votes
2 answers
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 know TTK is the part of Tk libraries. But Tcl\Tk…

Lissomort
- 103
- 1
- 1
- 7
0
votes
1 answer
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 RefactoringWizard using some flags like…

recluising
- 348
- 1
- 3
- 13
0
votes
0 answers
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 color or relief). The documentation is…

Kotlopou
- 415
- 3
- 13
0
votes
2 answers
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 (make-instance 'frame :relief :groove :height 500…

martin
- 676
- 4
- 9