X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/clg/blobdiff_plain/9186f7e332d5ddd0a958236573e3e0888943191d..5884be5c1dd5f6dfa460088a9332230fe1a1d7af:/gtk/gtktypes.lisp diff --git a/gtk/gtktypes.lisp b/gtk/gtktypes.lisp index 28834f6..0cc9478 100644 --- a/gtk/gtktypes.lisp +++ b/gtk/gtktypes.lisp @@ -20,7 +20,7 @@ ;; TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE ;; SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -;; $Id: gtktypes.lisp,v 1.40 2006/02/04 12:18:12 espen Exp $ +;; $Id: gtktypes.lisp,v 1.42 2006/02/06 19:16:17 espen Exp $ (in-package "GTK") @@ -307,7 +307,7 @@ (default-widget :type boolean) (icon-list :allocation :virtual - :getter "gtk_window_get_icon_list" + :getter %window-get-icon-list :setter "gtk_window_set_icon_list" :accessor window-icon-list :initarg :icon-list @@ -1183,7 +1183,6 @@ (define-enum-type drop-position :no-drop :drop-into :drop-left :drop-right :drop-above :drop-below) - (defclass target-entry (struct) ((target :allocation :alien @@ -1202,4 +1201,32 @@ (defclass target-entry (struct) :type unsigned-int)) (:metaclass struct-class)) -(deftype target-list () 'pointer) + +(defclass selection-data (boxed) + ((selection + :allocation :alien :type gdk:atom + :reader selection-data-selection) + (target + :allocation :alien :type gdk:atom + :reader selection-data-target) + (type + :allocation :alien :type gdk:atom + :reader selection-data-type) + (format + :allocation :alien :type int + :reader selection-data-format) + (data + :allocation :alien :type pointer + :reader selection-data-data) + (length + :allocation :alien :type int + :reader selection-data-length) + (display + :allocation :alien :type gdk:display + :reader selection-data-display)) + (:metaclass boxed-class)) + + +(defclass target-list (proxy) + () + (:metaclass proxy-class))