Example #1
0
def GdkPixbufFromDrawable(dest_pixbuf, drawable_src, cmap, src_x, src_y, dest_x, dest_y, width, height):
    if dest_pixbuf != None:
        dest_pixbuf = dest_pixbuf._o
    obj = _GdkPixbuf.pixbuf_get_from_drawable(
        dest_pixbuf, drawable_src, cmap, src_x, src_y, dest_x, dest_y, width, height
    )
    return GdkPixbuf(_obj=obj)
Example #2
0
def GdkPixbufFromDrawable(dest_pixbuf, drawable_src, cmap, src_x, src_y,
                          dest_x, dest_y, width, height):
    if dest_pixbuf != None:
        dest_pixbuf = dest_pixbuf._o
    obj = _GdkPixbuf.pixbuf_get_from_drawable(dest_pixbuf, drawable_src, cmap,
                                              src_x, src_y, dest_x, dest_y,
                                              width, height)
    return GdkPixbuf(_obj=obj)
Example #3
0
def pixbuf_get_from_drawable(pixbuf_dest, drawable_src, cmap, src_x, src_y,
                             dest_x, dest_y, width, height):
    obj = _GdkPixbuf.pixbuf_get_from_drawable(pixbuf_dest._o, drawable_src._o,
                                              cmap, src_x, src_y, dest_x,
                                              dest_y, width, height)
    return GdkPixbuf(_obj=obj)
Example #4
0
def pixbuf_get_from_drawable(pixbuf_dest, drawable_src, cmap, src_x, src_y, dest_x, dest_y, width, height):
    obj = _GdkPixbuf.pixbuf_get_from_drawable(
        pixbuf_dest._o, drawable_src._o, cmap, src_x, src_y, dest_x, dest_y, width, height
    )
    return GdkPixbuf(_obj=obj)