Changeset 415

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

Expose the GdkPixbufDrawCache and GdkPixbufDrawOpts to the Python
binding.

Files:

Legend:

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

    r407 r415  
    55  (c-name "GtkIImageTool") 
    66  (gtype-id "GTK_TYPE_IIMAGE_TOOL") 
     7  (vtable "GtkIImageToolClass") 
    78) 
    89 
     
    2627  (c-name "GtkImageToolDragger") 
    2728  (gtype-id "GTK_TYPE_IMAGE_TOOL_DRAGGER") 
     29  (implements "GtkIImageTool") 
    2830) 
    2931 
     
    3335  (c-name "GtkImageToolSelector") 
    3436  (gtype-id "GTK_TYPE_IMAGE_TOOL_SELECTOR") 
     37  (implements "GtkIImageTool") 
    3538) 
    3639 
     
    174177) 
    175178 
    176 (define-method button_press 
     179(define-virtual button_press 
    177180  (of-object "GtkIImageTool") 
    178181  (c-name "gtk_iimage_tool_button_press") 
     
    183186) 
    184187 
    185 (define-method button_release 
     188(define-virtual button_release 
    186189  (of-object "GtkIImageTool") 
    187190  (c-name "gtk_iimage_tool_button_release") 
     
    192195) 
    193196 
    194 (define-method motion_notify 
     197(define-virtual motion_notify 
    195198  (of-object "GtkIImageTool") 
    196199  (c-name "gtk_iimage_tool_motion_notify") 
     
    201204) 
    202205 
    203 (define-method pixbuf_changed 
     206(define-virtual pixbuf_changed 
    204207  (of-object "GtkIImageTool") 
    205208  (c-name "gtk_iimage_tool_pixbuf_changed") 
     
    211214) 
    212215 
    213 (define-method paint_image 
     216(define-virtual paint_image 
    214217  (of-object "GtkIImageTool") 
    215218  (c-name "gtk_iimage_tool_paint_image") 
    216219  (return-type "none") 
    217220  (parameters 
    218     '("DrawSettings*" "ds") 
     221    '("GdkPixbufDrawOpts*" "opts") 
    219222    '("GdkDrawable*" "drawable") 
    220223  ) 
    221224) 
    222225 
    223 (define-method cursor_at_point 
     226(define-virtual cursor_at_point 
    224227  (of-object "GtkIImageTool") 
    225228  (c-name "gtk_iimage_tool_cursor_at_point") 
  • pygtkimageview/src/gtkimageview.override

    r407 r415  
    33headers 
    44#include <Python.h> 
     5#include <gtkimageview/gdkpixbufdrawcache.h> 
    56#include <gtkimageview/gtkanimview.h> 
    67#include <gtkimageview/gtkimageview.h> 
     
    9091import gtk.Window as PyGtkWindow_Type 
    9192import gtk.Table as PyGtkTable_Type 
     93import gtk.gdk.Drawable as PyGdkDrawable_Type 
    9294import gtk.gdk.Pixbuf as PyGdkPixbuf_Type 
    9395import gtk.gdk.PixbufAnimation as PyGdkPixbufAnimation_Type 
     
    180182 
    181183 
     184    
     185 
     186