Changeset 417

Show
Ignore:
Timestamp:
09/26/07 18:30:32 (1 year ago)
Author:
bjourne
Message:

Expose the draw() method of PixbufDrawCache to the binding and also
add an assert for it.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • pygtkimageview/src/gtkimageview.defs

    r415 r417  
    9595  ) 
    9696 
     97(define-method draw 
     98  (of-object "GdkPixbufDrawCache") 
     99  (c-name "gdk_pixbuf_draw_cache_draw") 
     100  (return-type "none") 
     101  (parameters 
     102   '("GdkPixbufDrawOpts*" "draw_opts") 
     103   '("GdkDrawable*" "drawable") 
     104   ) 
     105  ) 
     106 
    97107;; Enumerations and flags ... 
    98108 
  • pygtkimageview/tests/test_module.py

    r406 r417  
    267267    assert hasattr(obj, 'old') 
    268268    assert hasattr(obj, 'check_size') 
     269    assert callable(obj.draw) 
    269270