GObject.Object
GdkPixbuf.Pixbuf
Import line: | GdkPixbuf = imports.gi.GdkPixbuf; |
GIR File: | GdkPixbuf-2.0.gir |
C documentation: | GdkPixbuf |
Class : | Pixbuf |
Extends: | GObject.Object |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
bits_per_sample : Number
The number of bits per sample.
The number of bits per sample. Currently only 8 bit per sample are supported.
|
GdkPixbuf.Pixbuf | |
colorspace : GdkPixbuf.Colorspace
|
GdkPixbuf.Pixbuf | |
has_alpha : Boolean
|
GdkPixbuf.Pixbuf | |
height : Number
|
GdkPixbuf.Pixbuf | |
n_channels : Number
The number of samples per pixel.
The number of samples per pixel. Currently, only 3 or 4 samples per pixel are supported.
|
GdkPixbuf.Pixbuf | |
pixels : void*
|
GdkPixbuf.Pixbuf | |
rowstride : Number
The number of bytes between the start of a row and the start of the next row.
The number of bytes between the start of a row and the start of the next row. This number must (obviously) be at least as large as the width of the pixbuf.
|
GdkPixbuf.Pixbuf | |
width : Number
|
GdkPixbuf.Pixbuf |
Method / Constructor | Defined By | |
---|---|---|
new GdkPixbuf.Pixbuf
(Object properties)
Create a new GdkPixbuf.Pixbuf
Create a new GdkPixbuf.Pixbuf
|
||
new GdkPixbuf.Pixbuf.c_new
(Colorspace colorspace, Boolean has_alpha, Number bits_per_sample, Number width, Number height)
:
GdkPixbuf.Pixbuf
Create a new GdkPixbuf.Pixbuf
Create a new GdkPixbuf.Pixbuf
|
||
new GdkPixbuf.Pixbuf.from_data
(String data, Colorspace colorspace, Boolean has_alpha, Number bits_per_sample, Number width, Number height, Number rowstride, Function destroy_fn, void* destroy_fn_data)
:
GdkPixbuf.Pixbuf
Create a new GdkPixbuf.Pixbuf
Create a new GdkPixbuf.Pixbuf
|
||
Create a new GdkPixbuf.Pixbuf
Create a new GdkPixbuf.Pixbuf
|
||
new GdkPixbuf.Pixbuf.from_file_at_scale
(String filename, Number width, Number height, Boolean preserve_aspect_ratio)
:
GdkPixbuf.Pixbuf
Create a new GdkPixbuf.Pixbuf
Create a new GdkPixbuf.Pixbuf
|
||
new GdkPixbuf.Pixbuf.from_file_at_size
(String filename, Number width, Number height)
:
GdkPixbuf.Pixbuf
Create a new GdkPixbuf.Pixbuf
Create a new GdkPixbuf.Pixbuf
|
||
new GdkPixbuf.Pixbuf.from_inline
(Number data_length, String data, Boolean copy_pixels)
:
GdkPixbuf.Pixbuf
Create a new GdkPixbuf.Pixbuf
Create a new GdkPixbuf.Pixbuf
|
||
Create a new GdkPixbuf.Pixbuf
Create a new GdkPixbuf.Pixbuf
|
||
new GdkPixbuf.Pixbuf.from_stream_at_scale
(InputStream stream, Number width, Number height, Boolean preserve_aspect_ratio, Cancellable cancellable)
:
GdkPixbuf.Pixbuf
Create a new GdkPixbuf.Pixbuf
Create a new GdkPixbuf.Pixbuf
|
||
Create a new GdkPixbuf.Pixbuf
Create a new GdkPixbuf.Pixbuf
|
||
new GdkPixbuf.Pixbuf.subpixbuf
(Pixbuf src_pixbuf, Number src_x, Number src_y, Number width, Number height)
:
GdkPixbuf.Pixbuf
Create a new GdkPixbuf.Pixbuf
Create a new GdkPixbuf.Pixbuf
|
||
Converts a GdkPixdata to a GdkPixbuf.
Converts a GdkPixdata to a GdkPixbuf. If copy_pixels is TRUE or if the pixel data is run-length-encoded, the pixel data is copied into newly-allocated memory; otherwise it is reused.
|
GdkPixbuf.Pixbuf | |
Parses an image file far enough to determine its format and size.
Parses an image file far enough to determine its format and size. or NULL if the image format wasn't recognized. The return value is owned by GdkPixbuf and should not be freed.
|
GdkPixbuf.Pixbuf | |
GdkPixbuf.Pixbuf.get_formats
()
:
Array
Obtains the available information about the image formats supported by GdkPixbuf.
Obtains the available information about the image formats supported by GdkPixbuf. image formats. The list should be freed when it is no longer needed, but the structures themselves are owned by GdkPixbuf and should not be freed.
|
GdkPixbuf.Pixbuf | |
Takes an existing pixbuf and adds an alpha channel to it.
Takes an existing pixbuf and adds an alpha channel to it. If the existing pixbuf already had an alpha channel, the channel values are copied from the original; otherwise, the alpha channel is initialized to 255 (full opacity). If substitute_color is TRUE, then the color specified by (r, g, b) will be assigned zero opacity. That is, if you pass (255, 255, 255) for the substitute color, all white pixels will become fully transparent.
|
GdkPixbuf.Pixbuf | |
apply_embedded_orientation
()
:
GdkPixbuf.Pixbuf
Takes an existing pixbuf and checks for the presence of an associated "orientation" option, which may be provided by the jpeg loader (which reads the exif orientation tag) or the tiff loader (which reads the tiff orientation tag, and compensates it for the partial transforms performed by libtiff).
Takes an existing pixbuf and checks for the presence of an associated "orientation" option, which may be provided by the jpeg loader (which reads the exif orientation tag) or the tiff loader (which reads the tiff orientation tag, and compensates it for the partial transforms performed by libtiff). If an orientation option/tag is present, the appropriate transform will be performed so that the pixbuf is oriented correctly. input pixbuf (with an increased reference count).
|
GdkPixbuf.Pixbuf | |
composite
(Pixbuf dest, Number dest_x, Number dest_y, Number dest_width, Number dest_height, Number offset_x, Number offset_y, Number scale_x, Number scale_y, InterpType interp_type, Number overall_alpha)
:
none
Creates a transformation of the source image src by scaling by This gives an image in the coordinates of the destination pixbuf.
Creates a transformation of the source image src by scaling by This gives an image in the coordinates of the destination pixbuf. The rectangle (dest_x, dest_y, dest_width, dest_height) is then composited onto the corresponding rectangle of the original destination image. When the destination rectangle contains parts not in the source image, the data at the edges of the source image is replicated to infinity.
|
GdkPixbuf.Pixbuf | |
composite_color
(Pixbuf dest, Number dest_x, Number dest_y, Number dest_width, Number dest_height, Number offset_x, Number offset_y, Number scale_x, Number scale_y, InterpType interp_type, Number overall_alpha, Number check_x, Number check_y, Number check_size, Number color1, Number color2)
:
none
Creates a transformation of the source image src by scaling by then composites the rectangle (dest_x ,dest_y, dest_width, colors color1 and color2 and renders it onto the destination image.
Creates a transformation of the source image src by scaling by then composites the rectangle (dest_x ,dest_y, dest_width, colors color1 and color2 and renders it onto the destination image. See gdk_pixbuf_composite_color_simple() for a simpler variant of this function suitable for many tasks.
|
GdkPixbuf.Pixbuf | |
composite_color_simple
(Number dest_width, Number dest_height, InterpType interp_type, Number overall_alpha, Number check_size, Number color1, Number color2)
:
GdkPixbuf.Pixbuf
Creates a new GdkPixbuf by scaling src to dest_width x allocated for it.
Creates a new GdkPixbuf by scaling src to dest_width x allocated for it.
|
GdkPixbuf.Pixbuf | |
copy
()
:
GdkPixbuf.Pixbuf
Creates a new GdkPixbuf with a copy of the information in the specified not enough memory could be allocated.
Creates a new GdkPixbuf with a copy of the information in the specified not enough memory could be allocated.
|
GdkPixbuf.Pixbuf | |
copy_area
(Number src_x, Number src_y, Number width, Number height, Pixbuf dest_pixbuf, Number dest_x, Number dest_y)
:
none
Copies a rectangular area from src_pixbuf to dest_pixbuf.
Copies a rectangular area from src_pixbuf to dest_pixbuf. Conversion of pixbuf formats is done automatically. If the source rectangle overlaps the destination rectangle on the same pixbuf, it will be overwritten during the copy operation. Therefore, you can not use this function to scroll a pixbuf.
|
GdkPixbuf.Pixbuf | |
fill
(Number pixel)
:
none
Clears a pixbuf to the given RGBA value, converting the RGBA value into the pixbuf's pixel format.
Clears a pixbuf to the given RGBA value, converting the RGBA value into the pixbuf's pixel format. The alpha will be ignored if the pixbuf doesn't have an alpha channel.
|
GdkPixbuf.Pixbuf | |
flip
(Boolean horizontal)
:
GdkPixbuf.Pixbuf
Flips a pixbuf horizontally or vertically and returns the result in a new pixbuf.
Flips a pixbuf horizontally or vertically and returns the result in a new pixbuf. allocated for it.
|
GdkPixbuf.Pixbuf | |
get_bits_per_sample
()
:
Number
Queries the number of bits per color sample in a pixbuf.
Queries the number of bits per color sample in a pixbuf.
|
GdkPixbuf.Pixbuf | |
get_colorspace
()
:
GdkPixbuf.Colorspace
Queries the color space of a pixbuf.
Queries the color space of a pixbuf.
|
GdkPixbuf.Pixbuf | |
get_has_alpha
()
:
Boolean
Queries whether a pixbuf has an alpha channel (opacity information).
Queries whether a pixbuf has an alpha channel (opacity information).
|
GdkPixbuf.Pixbuf | |
get_height
()
:
Number
Queries the height of a pixbuf.
Queries the height of a pixbuf.
|
GdkPixbuf.Pixbuf | |
get_n_channels
()
:
Number
Queries the number of channels of a pixbuf.
Queries the number of channels of a pixbuf.
|
GdkPixbuf.Pixbuf | |
Looks up key in the list of options that may have been attached to the function using gdk_pixbuf_set_option().
Looks up key in the list of options that may have been attached to the function using gdk_pixbuf_set_option(). For instance, the ANI loader provides "Title" and "Artist" options. The ICO, XBM, and XPM loaders provide "x_hot" and "y_hot" hot-spot options for cursor definitions. The PNG loader provides the tEXt ancillary chunk key/value pairs as options. Since 2.12, the TIFF and JPEG loaders return an "orientation" option string that corresponds to the embedded TIFF/Exif orientation tag (if present). string that should not be freed or NULL if key was not found.
|
GdkPixbuf.Pixbuf | |
get_pixels
()
:
String
Queries a pointer to the pixel data of a pixbuf.
Queries a pointer to the pixel data of a pixbuf. for information about how the pixel data is stored in memory.
|
GdkPixbuf.Pixbuf | |
get_rowstride
()
:
Number
Queries the rowstride of a pixbuf, which is the number of bytes between the start of a row and the start of the next row.
Queries the rowstride of a pixbuf, which is the number of bytes between the start of a row and the start of the next row.
|
GdkPixbuf.Pixbuf | |
get_width
()
:
Number
Queries the width of a pixbuf.
Queries the width of a pixbuf.
|
GdkPixbuf.Pixbuf | |
rotate_simple
(PixbufRotation angle)
:
GdkPixbuf.Pixbuf
Rotates a pixbuf by a multiple of 90 degrees, and returns the result in a new pixbuf.
Rotates a pixbuf by a multiple of 90 degrees, and returns the result in a new pixbuf. allocated for it.
|
GdkPixbuf.Pixbuf | |
Modifies saturation and optionally pixelates src, placing the result in saturation is reduced (the image turns toward grayscale); if greater than 1.0, saturation is increased (the image gets more vivid colors).
Modifies saturation and optionally pixelates src, placing the result in saturation is reduced (the image turns toward grayscale); if greater than 1.0, saturation is increased (the image gets more vivid colors). If pixelate is TRUE, then pixels are faded in a checkerboard pattern to create a pixelated image. src and dest must have the same image format, size, and rowstride.
|
GdkPixbuf.Pixbuf | |
save_to_bufferv
(Array buffer, Object out_values, String type, Array option_keys, Array option_values)
:
Boolean
Saves pixbuf to a new buffer in format type, which is currently "jpeg", "tiff", "png", "ico" or "bmp".
Saves pixbuf to a new buffer in format type, which is currently "jpeg", "tiff", "png", "ico" or "bmp". See gdk_pixbuf_save_to_buffer() for more details.
|
GdkPixbuf.Pixbuf | |
save_to_callbackv
(Function save_func, void* user_data, String type, Array option_keys, Array option_values)
:
Boolean
Saves pixbuf to a callback in format type, which is currently "jpeg", "png", "tiff", "ico" or "bmp".
Saves pixbuf to a callback in format type, which is currently "jpeg", "png", "tiff", "ico" or "bmp". If error is set, FALSE will be returned. See gdk_pixbuf_save_to_callback () for more details.
|
GdkPixbuf.Pixbuf | |
Saves pixbuf to a file in type, which is currently "jpeg", "png", "tiff", "ico" or "bmp".
Saves pixbuf to a file in type, which is currently "jpeg", "png", "tiff", "ico" or "bmp". If error is set, FALSE will be returned. See gdk_pixbuf_save () for more details.
|
GdkPixbuf.Pixbuf | |
scale
(Pixbuf dest, Number dest_x, Number dest_y, Number dest_width, Number dest_height, Number offset_x, Number offset_y, Number scale_x, Number scale_y, InterpType interp_type)
:
none
Creates a transformation of the source image src by scaling by then renders the rectangle (dest_x, dest_y, dest_width, replacing the previous contents.
Creates a transformation of the source image src by scaling by then renders the rectangle (dest_x, dest_y, dest_width, replacing the previous contents. Try to use gdk_pixbuf_scale_simple() first, this function is the industrial-strength power tool you can fall back to if gdk_pixbuf_scale_simple() isn't powerful enough. If the source rectangle overlaps the destination rectangle on the same pixbuf, it will be overwritten during the scaling which results in rendering artifacts.
|
GdkPixbuf.Pixbuf | |
Create a new GdkPixbuf containing a copy of src scaled to should be GDK_INTERP_NEAREST if you want maximum speed (but when scaling down GDK_INTERP_NEAREST is usually unusably ugly).
Create a new GdkPixbuf containing a copy of src scaled to should be GDK_INTERP_NEAREST if you want maximum speed (but when scaling down GDK_INTERP_NEAREST is usually unusably ugly). The default interp_type should be GDK_INTERP_BILINEAR which offers reasonable quality and speed. You can scale a sub-portion of src by creating a sub-pixbuf pointing into src; see gdk_pixbuf_new_subpixbuf(). For more complicated scaling/compositing see gdk_pixbuf_scale() and gdk_pixbuf_composite(). allocated for it.
|
GdkPixbuf.Pixbuf | |
Attaches a key/value pair as an option to a GdkPixbuf.
|
GdkPixbuf.Pixbuf |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Epiphany.EphyFaviconCache
Method |
get
(String url)
:
GdkPixbuf.Pixbuf
|
Epiphany.EphyLocationAction
Property |
icon : GdkPixbuf.Pixbuf
|
Epiphany.EphyToolbar
Method |
set_favicon
(Pixbuf icon)
:
none
Sets icon to be the favicon of toolbar's internal EphyLocationEntry.
|
Epiphany.EphyWebView
Property |
icon : GdkPixbuf.Pixbuf
read only
View's favicon set by the loaded site.
|
Epiphany.EphyWebView
Method |
get_icon
()
:
GdkPixbuf.Pixbuf
Returns the view's site icon as a GdkPixbuf, or NULL if it is not available.
|
Gdk
Method |
Sets the given pixbuf as the source pattern for the Cairo context.
|
Gdk
Method |
Gdk.draw_pixbuf
(Drawable drawable, GC gc, Pixbuf pixbuf, Number src_x, Number src_y, Number dest_x, Number dest_y, Number width, Number height, RgbDither dither, Number x_dither, Number y_dither)
:
none
Renders a rectangular portion of a pixbuf to a drawable.
|
Gdk
Method |
Gdk.pixbuf_get_from_drawable
(Pixbuf dest, Drawable src, Colormap cmap, Number src_x, Number src_y, Number dest_x, Number dest_y, Number width, Number height)
:
GdkPixbuf.Pixbuf
Transfers image data from a GdkDrawable and converts it to an RGB(A) representation inside a GdkPixbuf.
|
Gdk
Method |
Gdk.pixbuf_get_from_image
(Pixbuf dest, Image src, Colormap cmap, Number src_x, Number src_y, Number dest_x, Number dest_y, Number width, Number height)
:
GdkPixbuf.Pixbuf
Same as gdk_pixbuf_get_from_drawable() but gets the pixbuf from an image.
|
Gdk
Method |
Gdk.pixbuf_render_pixmap_and_mask
(Pixbuf pixbuf, Pixmap pixmap_return, Bitmap mask_return, Number alpha_threshold)
:
none
Creates a pixmap and a mask bitmap which are returned in the pixmap_return and mask_return arguments, respectively, and renders a pixbuf and its corresponding thresholded alpha mask to them.
|
Gdk
Method |
Gdk.pixbuf_render_pixmap_and_mask_for_colormap
(Pixbuf pixbuf, Colormap colormap, Pixmap pixmap_return, Bitmap mask_return, Number alpha_threshold)
:
none
Creates a pixmap and a mask bitmap which are returned in the pixmap_return and mask_return arguments, respectively, and renders a pixbuf and its corresponding tresholded alpha mask to them.
|
Gdk
Method |
Gdk.pixbuf_render_threshold_alpha
(Pixbuf pixbuf, Bitmap bitmap, Number src_x, Number src_y, Number dest_x, Number dest_y, Number width, Number height, Number alpha_threshold)
:
none
Takes the opacity values in a rectangular portion of a pixbuf and thresholds them to produce a bi-level alpha mask that can be used as a clipping mask for a drawable.
|
Gdk
Method |
Gdk.pixbuf_render_to_drawable
(Pixbuf pixbuf, Drawable drawable, GC gc, Number src_x, Number src_y, Number dest_x, Number dest_y, Number width, Number height, RgbDither dither, Number x_dither, Number y_dither)
:
none
Renders a rectangular portion of a pixbuf to a drawable while using the specified GC.
|
Gdk
Method |
Gdk.pixbuf_render_to_drawable_alpha
(Pixbuf pixbuf, Drawable drawable, Number src_x, Number src_y, Number dest_x, Number dest_y, Number width, Number height, PixbufAlphaMode alpha_mode, Number alpha_threshold, RgbDither dither, Number x_dither, Number y_dither)
:
none
Renders a rectangular portion of a pixbuf to a drawable.
|
Gdk.Cursor
Method |
Create a new Gdk.Cursor
|
Gdk.Cursor
Method |
get_image
()
:
GdkPixbuf.Pixbuf
Returns a GdkPixbuf with the image used to display the cursor.
|
GdkPixbuf.PixbufAnimation
Method |
get_static_image
()
:
GdkPixbuf.Pixbuf
If an animation is really just a plain image (has only one frame), this function returns that image.
|
GdkPixbuf.PixbufAnimationIter
Method |
get_pixbuf
()
:
GdkPixbuf.Pixbuf
Gets the current pixbuf which should be displayed; the pixbuf will be the same size as the animation itself (gdk_pixbuf_animation_get_width(), gdk_pixbuf_animation_get_height()).
|
GdkPixbuf.PixbufLoader
Method |
get_pixbuf
()
:
GdkPixbuf.Pixbuf
Queries the GdkPixbuf that a pixbuf loader is currently creating.
|
GdkPixbuf.PixbufNonAnim
Method |
Create a new GdkPixbuf.PixbufNonAnim
|
GdkPixbuf.PixbufSimpleAnim
Method |
add_frame
(Pixbuf pixbuf)
:
none
Adds a new frame to animation.
|
GdkPixbuf.Pixdata
Method |
Converts a GdkPixbuf to a GdkPixdata.
|
Gladeui
Method |
Gladeui.cursor_get_add_widget_pixbuf
()
:
GdkPixbuf.Pixbuf
|
GooCanvas.CanvasGrid
Property |
horz_grid_line_pixbuf : GdkPixbuf.Pixbuf
|
GooCanvas.CanvasGrid
Property |
vert_grid_line_pixbuf : GdkPixbuf.Pixbuf
|
GooCanvas.CanvasGrid
Property |
border_pixbuf : GdkPixbuf.Pixbuf
|
GooCanvas.CanvasGridModel
Property |
horz_grid_line_pixbuf : GdkPixbuf.Pixbuf
|
GooCanvas.CanvasGridModel
Property |
vert_grid_line_pixbuf : GdkPixbuf.Pixbuf
|
GooCanvas.CanvasGridModel
Property |
border_pixbuf : GdkPixbuf.Pixbuf
|
GooCanvas.CanvasImage
Property |
pixbuf : GdkPixbuf.Pixbuf
|
GooCanvas.CanvasImageModel
Property |
pixbuf : GdkPixbuf.Pixbuf
|
GooCanvas.CanvasItemModelSimple
Property |
stroke_pixbuf : GdkPixbuf.Pixbuf
|
GooCanvas.CanvasItemModelSimple
Property |
fill_pixbuf : GdkPixbuf.Pixbuf
|
GooCanvas.CanvasItemSimple
Property |
stroke_pixbuf : GdkPixbuf.Pixbuf
|
GooCanvas.CanvasItemSimple
Property |
fill_pixbuf : GdkPixbuf.Pixbuf
|
Gtk
Method |
Sets pixbuf as the icon for a given drag.
|
Gtk
Method |
Sets the icon that will be used for drags from a particular widget from a GdkPixbuf.
|
Gtk.AboutDialog
Property |
logo : GdkPixbuf.Pixbuf
A logo for the about box.
|
Gtk.AboutDialog
Method |
get_logo
()
:
GdkPixbuf.Pixbuf
Returns the pixbuf displayed as logo in the about dialog.
|
Gtk.AboutDialog
Method |
set_logo
(Pixbuf logo)
:
none
Sets the pixbuf to be displayed as logo in the about dialog.
|
Gtk.Assistant
Method |
Sets a header image for page.
|
Gtk.Assistant
Method |
get_page_header_image
(Widget page)
:
GdkPixbuf.Pixbuf
Gets the header image for page.
|
Gtk.Assistant
Method |
Sets a header image for page.
|
Gtk.Assistant
Method |
get_page_side_image
(Widget page)
:
GdkPixbuf.Pixbuf
Gets the header image for page.
|
Gtk.CellRendererPixbuf
Property |
pixbuf : GdkPixbuf.Pixbuf
|
Gtk.CellRendererPixbuf
Property |
pixbuf_expander_closed : GdkPixbuf.Pixbuf
|
Gtk.CellRendererPixbuf
Property |
pixbuf_expander_open : GdkPixbuf.Pixbuf
|
Gtk.CellView
Method |
Create a new Gtk.CellView
|
Gtk.Clipboard
Method |
set_image
(Pixbuf pixbuf)
:
none
Sets the contents of the clipboard to the given GdkPixbuf.
|
Gtk.Clipboard
Method |
wait_for_image
()
:
GdkPixbuf.Pixbuf
Requests the contents of the clipboard as image and converts the result to a GdkPixbuf.
|
Gtk.Entry
Property |
primary_icon_pixbuf : GdkPixbuf.Pixbuf
A pixbuf to use as the primary icon for the entry.
|
Gtk.Entry
Property |
secondary_icon_pixbuf : GdkPixbuf.Pixbuf
An pixbuf to use as the secondary icon for the entry.
|
Gtk.Entry
Method |
set_icon_from_pixbuf
(EntryIconPosition icon_pos, Pixbuf pixbuf)
:
none
Sets the icon shown in the specified position using a pixbuf.
|
Gtk.Entry
Method |
get_icon_pixbuf
(EntryIconPosition icon_pos)
:
GdkPixbuf.Pixbuf
Retrieves the image used for the icon.
|
Gtk.IconInfo
Method |
Create a new Gtk.IconInfo
|
Gtk.IconInfo
Method |
get_builtin_pixbuf
()
:
GdkPixbuf.Pixbuf
Gets the built-in image for this icon, if any.
|
Gtk.IconInfo
Method |
load_icon
()
:
GdkPixbuf.Pixbuf
Renders an icon previously looked up in an icon theme using gtk_icon_theme_lookup_icon(); the size will be based on the size passed to gtk_icon_theme_lookup_icon().
|
Gtk.IconSet
Method |
Create a new Gtk.IconSet
|
Gtk.IconSet
Method |
render_icon
(Style style, TextDirection direction, StateType state, Number size, Widget widget, String detail)
:
GdkPixbuf.Pixbuf
Renders an icon using gtk_style_render_icon().
|
Gtk.IconSource
Method |
set_pixbuf
(Pixbuf pixbuf)
:
none
Sets a pixbuf to use as a base image when creating icon variants for GtkIconSet.
|
Gtk.IconSource
Method |
get_pixbuf
()
:
GdkPixbuf.Pixbuf
Retrieves the source pixbuf, or NULL if none is set.
|
Gtk.IconTheme
Method |
Registers a built-in icon for icon theme lookups.
|
Gtk.IconTheme
Method |
Looks up an icon in an icon theme, scales it to the given size and renders it into a pixbuf.
|
Gtk.Image
Property |
pixbuf : GdkPixbuf.Pixbuf
|
Gtk.Image
Method |
Create a new Gtk.Image
|
Gtk.Image
Method |
set_from_pixbuf
(Pixbuf pixbuf)
:
none
See gtk_image_new_from_pixbuf() for details.
|
Gtk.Image
Method |
get_pixbuf
()
:
GdkPixbuf.Pixbuf
Gets the GdkPixbuf being displayed by the GtkImage.
|
Gtk.OffscreenWindow
Method |
get_pixbuf
()
:
GdkPixbuf.Pixbuf
Retrieves a snapshot of the contained widget in the form of a GdkPixbuf.
|
Gtk.RecentInfo
Method |
get_icon
(Number size)
:
GdkPixbuf.Pixbuf
Retrieves the icon of size size associated to the resource MIME type.
|
Gtk.SelectionData
Method |
Sets the contents of the selection from a GdkPixbuf The pixbuf is converted to the form determined by otherwise FALSE.
|
Gtk.SelectionData
Method |
get_pixbuf
()
:
GdkPixbuf.Pixbuf
Gets the contents of the selection data as a GdkPixbuf.
|
Gtk.StatusIcon
Property |
pixbuf : GdkPixbuf.Pixbuf
|
Gtk.StatusIcon
Method |
Create a new Gtk.StatusIcon
|
Gtk.StatusIcon
Method |
set_from_pixbuf
(Pixbuf pixbuf)
:
none
Makes status_icon display pixbuf.
|
Gtk.StatusIcon
Method |
get_pixbuf
()
:
GdkPixbuf.Pixbuf
Gets the GdkPixbuf being displayed by the GtkStatusIcon.
|
Gtk.Style
Method |
render_icon
(IconSource source, TextDirection direction, StateType state, Number size, Widget widget, String detail)
:
GdkPixbuf.Pixbuf
Renders the icon specified by source at the given size according to the given parameters and returns the result in a pixbuf.
|
Gtk.TextBuffer
Signal |
The ::insert-pixbuf signal is emitted to insert a GdkPixbuf in a GtkTextBuffer.
|
Gtk.TextBuffer
Method |
Inserts an image into the text buffer at iter.
|
Gtk.TextIter
Method |
get_pixbuf
()
:
GdkPixbuf.Pixbuf
If the element at iter is a pixbuf, the pixbuf is returned (with no new reference count added).
|
Gtk.Tooltip
Method |
set_icon
(Pixbuf pixbuf)
:
none
Sets the icon of the tooltip (which is in front of the text) to be
|
Gtk.Widget
Method |
A convenience function that uses the theme engine and RC file settings for widget to look up stock_id and render it to a pixbuf.
|
Gtk.Window
Property |
icon : GdkPixbuf.Pixbuf
|
Gtk.Window
Method |
Gtk.Window.set_default_icon
(Pixbuf icon)
:
none
Sets an icon to be used as fallback for windows that haven't had gtk_window_set_icon() called on them from a pixbuf.
|
Gtk.Window
Method |
set_icon
(Pixbuf icon)
:
none
Sets up the icon representing a GtkWindow.
|
Gtk.Window
Method |
get_icon
()
:
GdkPixbuf.Pixbuf
Gets the value set by gtk_window_set_icon() (or if you've called gtk_window_set_icon_list(), gets the first icon in the icon list).
|
GtkClutter
Method |
Creates a new ClutterTexture and sets its contents with a copy of pixbuf.
|
GtkClutter
Method |
Sets the contents of texture with a copy of pixbuf.
|
GtkSource.CompletionItem
Property |
icon : GdkPixbuf.Pixbuf
|
GtkSource.CompletionItem
Method |
new GtkSource.CompletionItem.c_new
(String label, String text, Pixbuf icon, String info)
:
GtkSource.CompletionItem
Create a new GtkSource.CompletionItem
|
GtkSource.CompletionItem
Method |
new GtkSource.CompletionItem.with_markup
(String markup, String text, Pixbuf icon, String info)
:
GtkSource.CompletionItem
Create a new GtkSource.CompletionItem
|
GtkSource.CompletionProposal
Method |
get_icon
()
:
GdkPixbuf.Pixbuf
Gets the icon of proposal.
|
GtkSource.CompletionProvider
Method |
get_icon
()
:
GdkPixbuf.Pixbuf
Get the icon of the provider.
|
GtkSource.View
Method |
Associates a given pixbuf with a given mark category.
|
GtkSource.View
Method |
Sets the icon to be used for category to pixbuf.
|
GtkSource.View
Method |
get_mark_category_pixbuf
(String category)
:
GdkPixbuf.Pixbuf
Gets the pixbuf which is associated with the given mark category.
|
Notify.Notification
Method |
set_icon_from_pixbuf
(Pixbuf icon)
:
none
|
Poppler.Page
Method |
render_to_pixbuf
(Number src_x, Number src_y, Number src_width, Number src_height, Number scale, Number rotation, Pixbuf pixbuf)
:
none
|
Poppler.Page
Method |
render_to_pixbuf_for_printing
(Number src_x, Number src_y, Number src_width, Number src_height, Number scale, Number rotation, Pixbuf pixbuf)
:
none
|
Poppler.Page
Method |
get_thumbnail_pixbuf
()
:
GdkPixbuf.Pixbuf
|
Poppler.Page
Method |
render_selection_to_pixbuf
(Number scale, Number rotation, Pixbuf pixbuf, Rectangle selection, Rectangle old_selection, SelectionStyle style, Color glyph_color, Color background_color)
:
none
|
Vte.Terminal
Property |
background_image_pixbuf : GdkPixbuf.Pixbuf
|
Vte.Terminal
Method |
set_background_image
(Pixbuf image)
:
none
|