chiark / gitweb /
Updated/added bindings for label class
authorespen <espen>
Mon, 25 Mar 2002 09:24:55 +0000 (09:24 +0000)
committerespen <espen>
Mon, 25 Mar 2002 09:24:55 +0000 (09:24 +0000)
gtk/gtk.lisp

index 2c310b269dd849ade8e2619a88514227f38016ce..011d12f5377cf3931a7c61de8f93e00b8f812a8b 100644 (file)
@@ -15,7 +15,7 @@
 ;; License along with this library; if not, write to the Free Software
 ;; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
-;; $Id: gtk.lisp,v 1.10 2002-03-24 21:54:06 espen Exp $
+;; $Id: gtk.lisp,v 1.11 2002-03-25 09:24:55 espen Exp $
 
 
 (in-package "GTK")
@@ -388,20 +388,40 @@ (defmethod (setf container-children) (children (dialog dialog))
 ;;; Drawing area -- no functions
 
 
+;;; Entry
 
-;;; Toggle button
+(defbinding  entry-get-layout () pango:layout
+  (entry entry))
+
+(defbinding entry-get-layout-offsets () nil
+  (entry entry)
+  (x int :out)
+  (y int :out))
 
-(defbinding toggle-button-toggled () nil
-  (toggle-button toggle-button))
 
 
 ;;; Label
 
+(defbinding label-get-layout-offsets () nil
+  (labe label)
+  (x int :out)
+  (y int :out))
+
 (defbinding label-select-region () nil
   (label label)
   (start int)
   (end int))
 
+(defbinding  label-get-text () string
+  (label label))
+
+(defbinding label-get-layout () pango:layout
+  (label label))
+
+(defbinding  label-get-selection-bounds () boolean
+  (label label)
+  (start int :out)
+  (end int :out))
 
 
 
@@ -511,6 +531,13 @@ (defmethod initialize-instance ((item radio-menu-item)
   
 
 
+;;; Toggle button
+
+(defbinding toggle-button-toggled () nil
+  (toggle-button toggle-button))
+
+
+
 ;;; Window
 
 (defbinding window-set-wmclass () nil