[mcclim-devel] button size

Irène Durand idurand at labri.fr
Wed Mar 27 12:22:19 UTC 2013


  Hello,

In order to give a project to my students using McClim for the graphical
interface, I am trying to make a square button of a given size.

But I always obtain a default size button the width, height, max-width, ...
have no effect.

Where could I find some help about that?

Thank you,
Irène

(defun make-square-pane ()
   (make-pane
    'square-button-pane
    :label ""
    :width 20
    :height 20
    :activate-callback (lambda (x)
             (setf (gadget-label x) "O"))))


-------------- next part --------------
A non-text attachment was scrubbed...
Name: square-button.lisp
Type: application/x-extension-lisp
Size: 846 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/mcclim-devel/attachments/20130327/1db3c602/attachment.bin>


More information about the mcclim-devel mailing list