<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.lisp.ltk.user">
    <title>gmane.lisp.ltk.user</title>
    <link>http://blog.gmane.org/gmane.lisp.ltk.user</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.ltk.user/461"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.ltk.user/455"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.ltk.user/452"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.ltk.user/451"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.ltk.user/450"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.ltk.user/440"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.ltk.user/437"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.ltk.user/437"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.ltk.user/437"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.ltk.user/436"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.ltk.user/435"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.ltk.user/434"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.ltk.user/432"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.ltk.user/430"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.ltk.user/427"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.ltk.user/425"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.ltk.user/423"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.ltk.user/422"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.ltk.user/420"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.ltk.user/418"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.ltk.user/461">
    <title>unpack frame?</title>
    <link>http://comments.gmane.org/gmane.lisp.ltk.user/461</link>
    <description>&lt;pre&gt;I'm trying to program a little computer game for my sons, and I'm wondering if there is a way to have some of the buttons on it disappear for a while and then return. I have them in a frame, and I was wondering if there is a command I could use to remove that frame temporarily. Any suggestions?

Christy&lt;/pre&gt;</description>
    <dc:creator>Christy</dc:creator>
    <dc:date>2012-04-27T15:02:34</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.ltk.user/455">
    <title>resizing canvas, exiting main loop, fullscreen</title>
    <link>http://comments.gmane.org/gmane.lisp.ltk.user/455</link>
    <description>&lt;pre&gt;Hi,

I am trying to write a small program that would do the following:

1. create a full screen window with no decorations

2. when the left mouse button is pressed, change the color of the window
according to the relative position (ie the color is calculated from the
position),

3. when the right mouse button is pressed, exit.

BTW, the application is for testing LCD screens.

I came up with the following:

(in-package :cl-user)
(require :ltk)
(use-package :ltk)

(defun hex-color (r g b)
  "Return a hexadecimal color string.  R G B should be in [0,1]."
  (flet ((normalize (x)
           (assert (&amp;lt;= 0 x 1))
           (round (* x 255))))
    (format nil "#~2,0x~2,0x~2,0x"
            (normalize r)
            (normalize g)
            (normalize b))))

(defun lcd-test ()
  (with-ltk ()
    (let* ((canvas (make-instance 'canvas))
           (down nil))
      (flet ((set-color (x-rel y-rel)
               (configure canvas "background"
                          (hex-color x-rel y-rel 0.5))))
        (pack canv&lt;/pre&gt;</description>
    <dc:creator>Tamas K Papp</dc:creator>
    <dc:date>2012-04-27T11:53:38</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.ltk.user/452">
    <title>Color in lines</title>
    <link>http://comments.gmane.org/gmane.lisp.ltk.user/452</link>
    <description>&lt;pre&gt;Hi,
 is there any way of coloring a create-line, or all lines are black?

Thanks.


&lt;/pre&gt;</description>
    <dc:creator>Tiago Charters de Azevedo</dc:creator>
    <dc:date>2012-03-27T14:49:46</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.ltk.user/451">
    <title>Add an event in the ltk event queue</title>
    <link>http://comments.gmane.org/gmane.lisp.ltk.user/451</link>
    <description>&lt;pre&gt;Hello

Is it possible to add an event in the ltk event queue from another
thread ?

I can put events in a queue and use (after ...) to read it periodically
in the ltk thread, but it would be easier and more efficient to use the
ltk event queue directly.

Thank you

Syll

&lt;/pre&gt;</description>
    <dc:creator>Syll</dc:creator>
    <dc:date>2012-03-12T20:51:02</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.ltk.user/450">
    <title>Selection in listbox</title>
    <link>http://comments.gmane.org/gmane.lisp.ltk.user/450</link>
    <description>&lt;pre&gt;
Hello

I have a few problems/questions with listbox selection (especially
multiple selection).

* If the listbox does'nt have the focus and I select items with
  Ctrl+click (including the first one), events from keys are not
  triggered for this listbox. Is it because the listbox has'nt get the
  focus at all ? How do i give the focus to the listbox (but not to
  any item) ?

* If I understand this well, there are two special states that can be
  applied to list items : say "selected" (zero, one or several items)
  and "focused" (zero or one item).

* I can select an item with listbox-select.
  How can I give the focus to an item ?

* I catch selection events with &amp;lt;&amp;lt;ListboxSelect&amp;gt;&amp;gt;.
  How can I catch "item focus" events ?
  How can I get the focused item ?

Thank you

Syll

&lt;/pre&gt;</description>
    <dc:creator>Syll</dc:creator>
    <dc:date>2012-02-29T23:17:30</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.ltk.user/440">
    <title>Problem with scrolled-frame</title>
    <link>http://comments.gmane.org/gmane.lisp.ltk.user/440</link>
    <description>&lt;pre&gt;Hello

I have tried to use scrolled-frame (which is not in the documentation but seem exist...).

This code does not work : the program is frozen and the "wish" process uses all my CPU :s .

(with-ltk ()
(let* ((p (make-instance 'scrolled-frame :master nil :pack '()))
(txt (make-instance 'label :text "11" :master p :pack '(:side left))))))

Thank you for your help

Syll


Une messagerie gratuite, garantie à vie et des services en plus, ça vous tente ?
Je crée ma boîte mail www.laposte.net

_______________________________________________
ltk-user site list
ltk-user&amp;lt; at &amp;gt;common-lisp.net
http://common-lisp.net/mailman/listinfo/ltk-user&lt;/pre&gt;</description>
    <dc:creator>syll-dev&lt; at &gt;laposte.net</dc:creator>
    <dc:date>2012-01-12T01:35:43</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.ltk.user/437">
    <title>Bold font for label</title>
    <link>http://comments.gmane.org/gmane.lisp.ltk.user/437</link>
    <description>&lt;pre&gt;
Hello

I can't set the "bold" style to a label's font :
(with-ltk ()
(make-instance 'label :text "..."
:font '(:weight :bold)
:pack '(:side :left)))

(I've a similar error with 3 instead of :bold for example)

-&amp;gt; "Tcl/Tk error: expected integer but got "BOLD)"

How does it work ?

Thank you

Sylvain


Une messagerie gratuite, garantie à vie et des services en plus, ça vous tente ?
Je crée ma boîte mail www.laposte.net

_______________________________________________
ltk-user site list
ltk-user&amp;lt; at &amp;gt;common-lisp.net
http://common-lisp.net/mailman/listinfo/ltk-user&lt;/pre&gt;</description>
    <dc:creator>syll-dev&lt; at &gt;laposte.net</dc:creator>
    <dc:date>2012-01-08T00:59:38</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.ltk.user/437">
    <title>Bold font for label</title>
    <link>http://comments.gmane.org/gmane.lisp.ltk.user/437</link>
    <description>&lt;pre&gt;
Hello

I can't set the "bold" style to a label's font :
(with-ltk ()
(make-instance 'label :text "..."
:font '(:weight :bold)
:pack '(:side :left)))

(I've a similar error with 3 instead of :bold for example)

-&amp;gt; "Tcl/Tk error: expected integer but got "BOLD)"

How does it work ?

Thank you

Sylvain


Une messagerie gratuite, garantie à vie et des services en plus, ça vous tente ?
Je crée ma boîte mail www.laposte.net

_______________________________________________
ltk-user site list
ltk-user&amp;lt; at &amp;gt;common-lisp.net
http://common-lisp.net/mailman/listinfo/ltk-user&lt;/pre&gt;</description>
    <dc:creator>syll-dev&lt; at &gt;laposte.net</dc:creator>
    <dc:date>2012-01-08T00:59:38</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.ltk.user/437">
    <title>Bold font for label</title>
    <link>http://comments.gmane.org/gmane.lisp.ltk.user/437</link>
    <description>&lt;pre&gt;
Hello

I can't set the "bold" style to a label's font :
(with-ltk ()
(make-instance 'label :text "..."
:font '(:weight :bold)
:pack '(:side :left)))

(I've a similar error with 3 instead of :bold for example)

-&amp;gt; "Tcl/Tk error: expected integer but got "BOLD)"

How does it work ?

Thank you

Sylvain


Une messagerie gratuite, garantie à vie et des services en plus, ça vous tente ?
Je crée ma boîte mail www.laposte.net

_______________________________________________
ltk-user site list
ltk-user&amp;lt; at &amp;gt;common-lisp.net
http://common-lisp.net/mailman/listinfo/ltk-user&lt;/pre&gt;</description>
    <dc:creator>syll-dev&lt; at &gt;laposte.net</dc:creator>
    <dc:date>2012-01-08T00:59:38</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.ltk.user/436">
    <title>tk-princ changed</title>
    <link>http://comments.gmane.org/gmane.lisp.ltk.user/436</link>
    <description>&lt;pre&gt;I bumped into problems with SVN revision 261.  It added tkescaping to 
tk-princ, where there previously was none.

This change broke part of treeview-heading.  A patch to make 
treeview-heading work with the new tk-princ is attached.

example: (tk-princ "{stuff}")
old result: "{stuff}"
new result: "\{stuff\}"
new code for old result: (tk-princ '("stuff"))


The docstring for tk-princ says
"Like princ (format ~a), but convert a lisp list to a Tk list."
but the code is now very different.

Should the docstring change to match the new code, or should the code be 
reverted to match the docstring?

Thanks,
DanielFrom 15dc5a09d1ad5b62df5eb559579f20ada7b2fa45 Mon Sep 17 00:00:00 2001
From: D Herring &amp;lt;dherring&amp;lt; at &amp;gt;at.tentpost.dot.com&amp;gt;
Date: Sun, 13 Nov 2011 22:43:39 -0500
Subject: [PATCH 1/2] fix treeview-heading

---
 ltk/ltk.lisp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ltk/ltk.lisp b/ltk/ltk.lisp
index 25ca182..9bb2b00 100644
--- a/ltk/ltk.lisp
+++ b/ltk/ltk.lisp
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -2872&lt;/pre&gt;</description>
    <dc:creator>Daniel Herring</dc:creator>
    <dc:date>2011-11-14T04:00:44</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.ltk.user/435">
    <title>nothing happens at ltktest</title>
    <link>http://comments.gmane.org/gmane.lisp.ltk.user/435</link>
    <description>&lt;pre&gt;ok, I reinstalled everything and now it works

____________________________________________________________
TRY FREE IM TOOLPACK at http://www.imtoolpack.com/default.aspx?rc=if5
Capture screenshots, upload images, edit and send them to your friends
through IMs, post on Twitter®, Facebook®, MySpace™, LinkedIn® – FAST!



_______________________________________________
ltk-user site list
ltk-user&amp;lt; at &amp;gt;common-lisp.net
http://common-lisp.net/mailman/listinfo/ltk-user&lt;/pre&gt;</description>
    <dc:creator>claudio romanini</dc:creator>
    <dc:date>2011-10-02T11:30:15</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.ltk.user/434">
    <title>nothing happens at ltktest</title>
    <link>http://comments.gmane.org/gmane.lisp.ltk.user/434</link>
    <description>&lt;pre&gt;hello to all

I'd like to study LTK, but I got stuck at the very start

I run "(load "e:/lisp/ltk/ltk-0.96/ltk")" ok, "(in-package :ltk)" ok, and then "(ltktest)": after a slight pause Emacs prints 0 and returns the prompt; no errors, then, but the problem is that nothing else happens! same thing if i run "(ltk::ltk-eyes)"

I checked paths, etc (or so I think), and don't know what to do;

in particular, I tried to modify ltk.lisp as follows:

(defvar *wish-pathname*
;  #+freebsd "wish8.4"
;  #-freebsd "wish"
   "wish.exe")

(defvar *debug-tk* t)

my configuration:
Windows Vista, ActiveState tcl/tk 8.5, the LispBox suite (CCL, Emacs, Slime), ltk-0.96

thanks in advance
Claudio

____________________________________________________________
FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
Check it out at http://www.inbox.com/earth



&lt;/pre&gt;</description>
    <dc:creator>claudio romanini</dc:creator>
    <dc:date>2011-10-01T15:05:21</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.ltk.user/432">
    <title>problems with create-text</title>
    <link>http://comments.gmane.org/gmane.lisp.ltk.user/432</link>
    <description>&lt;pre&gt;Hi,
I'm trying to create an animation with words based on the (ltktest) function
in the library (rotate).
For that I'm storing the words in a plist. The code to maintain the words
is:

(defvar *initial-word-energy* 100)
(defvar *words* '()) ; list of words in the form (:text :x :y :energy)

(defun make-word (text x y display-item)
  (list :text text :x x :y y :display-item display-item :energy
*initial-word-energy*))

(defun add-word (word) (push word *words*))


Then I created a button that will add words to the plist and to the canvas:

           (enter-text-button (make-instance 'button
                                             :master controls
                                             :text "Enter text"
                                             :command (lambda ()
                                                        ;;store word in
*words*
                                                        (let*  ((text (text
user-text-entry))
                                                            &lt;/pre&gt;</description>
    <dc:creator>Andre RsFiveTwo</dc:creator>
    <dc:date>2011-09-13T13:42:55</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.ltk.user/430">
    <title>[IDEA] Update ltk to Tk 8.5.</title>
    <link>http://comments.gmane.org/gmane.lisp.ltk.user/430</link>
    <description>&lt;pre&gt;Tk 8.5 adds lots of new widgets, and the ttk extension which allows
"themed" widgets for a native look-and-feel. I think it would be a good
idea to update ltk for the new framework. I am willing to help write the
code once the weekend rolls around.

Thanks,

Krzysztof Drewniak
&lt;/pre&gt;</description>
    <dc:creator>Krzysztof Drewniak</dc:creator>
    <dc:date>2011-09-12T23:03:09</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.ltk.user/427">
    <title>how to read properties of widgets</title>
    <link>http://comments.gmane.org/gmane.lisp.ltk.user/427</link>
    <description>&lt;pre&gt;Hi,
I'm starting to use the ltk library to build a twitter client and I'm liking
it a lot.
I'm having trouble trying to read the properties of widgets.
I know for to set them, using configure, but I can't read them back.
More specifically, I'm trying to read the width and height of a canvas.
Any help would be appreciated.
Thanks,
André
&lt;/pre&gt;</description>
    <dc:creator>Andre RsFiveTwo</dc:creator>
    <dc:date>2011-09-01T02:34:44</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.ltk.user/425">
    <title>configuring widgets</title>
    <link>http://comments.gmane.org/gmane.lisp.ltk.user/425</link>
    <description>&lt;pre&gt;Hi Again,

  Still delighted with Ltk but having problem getting general widgets
configured for background color, font, etc.  Certain ones seem to work
fine, others complain configuration pairs not workable.  Could you
send me an example script which will (for instance) provide background
color and font for a scrollable listbox ?  Would much appreciate.
Thanks in advance.

  Norm Hochstetler

&lt;/pre&gt;</description>
    <dc:creator>norman hochstetler</dc:creator>
    <dc:date>2011-08-17T04:55:10</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.ltk.user/423">
    <title>colors message</title>
    <link>http://comments.gmane.org/gmane.lisp.ltk.user/423</link>
    <description>&lt;pre&gt;Hi,

  Please ignore my previous message asking if colors were on the
drawing board.  I just woke up and found them.  By the way, you have a
SUPER product in Ltk, thanks for developing it.

  Norm

&lt;/pre&gt;</description>
    <dc:creator>norman hochstetler</dc:creator>
    <dc:date>2011-08-11T14:19:45</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.ltk.user/422">
    <title>colors in lkt</title>
    <link>http://comments.gmane.org/gmane.lisp.ltk.user/422</link>
    <description>&lt;pre&gt;Hi,

  Is any thought being given to allowing colors in ltk ?

Would very much enjoy having them.

  Thanks

 Norm

&lt;/pre&gt;</description>
    <dc:creator>norman hochstetler</dc:creator>
    <dc:date>2011-08-11T02:03:07</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.ltk.user/420">
    <title>slot-value</title>
    <link>http://comments.gmane.org/gmane.lisp.ltk.user/420</link>
    <description>&lt;pre&gt;Hi.

I try to set a label slot-value 'text  but I get error
that slot text is missing ?
(setf (slot-value a-label 'text) "a")&lt;/pre&gt;</description>
    <dc:creator>Haris Bogdanovich</dc:creator>
    <dc:date>2011-08-08T16:40:52</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.ltk.user/418">
    <title>text line</title>
    <link>http://comments.gmane.org/gmane.lisp.ltk.user/418</link>
    <description>&lt;pre&gt;Which widget (and how) do I use for
printing a single line of text ?&lt;/pre&gt;</description>
    <dc:creator>Haris Bogdanovich</dc:creator>
    <dc:date>2011-08-06T12:52:29</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.ltk.user/415">
    <title>sizes and rowspan</title>
    <link>http://comments.gmane.org/gmane.lisp.ltk.user/415</link>
    <description>&lt;pre&gt;If I want a square button I have to specify a width
3 times larger than height. Why is that so ?
What do size values represent exactly ?

I made a grid button rowspan of 2.
That button's height isn't exactly 2 times larger
than other buttons so it streches the positions
of other buttons a bit. Why is that ?

Thanks
&lt;/pre&gt;</description>
    <dc:creator>Haris Bogdanovich</dc:creator>
    <dc:date>2011-08-05T11:57:24</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.lisp.ltk.user">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.lisp.ltk.user</link>
  </textinput>
</rdf:RDF>

