Back to Seed Clases

GdkPixbuf


Classes

Interfaces

Structs

Unions

Enums

GObject.Object
parent-child marker GdkPixbuf.Pixbuf

Class 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
Properties Defined By
Methods / Constructors
Method / Constructor Defined By
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Epiphany.EphyFaviconCache
Method
get (String url) : GdkPixbuf.Pixbuf
Epiphany.EphyLocationAction
Property
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
Gdk.cairo_set_source_pixbuf (Context cr, Pixbuf pixbuf, Number pixbuf_x, Number pixbuf_y) : none
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
new Gdk.Cursor.from_pixbuf (Display display, Pixbuf pixbuf, Number x, Number y) : Gdk.Cursor
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
new GdkPixbuf.PixbufNonAnim.c_new (Pixbuf pixbuf) : GdkPixbuf.PixbufNonAnim
Create a new GdkPixbuf.PixbufNonAnim
GdkPixbuf.PixbufSimpleAnim
Method
add_frame (Pixbuf pixbuf) : none
Adds a new frame to animation.
GdkPixbuf.Pixdata
Method
from_pixbuf (Pixbuf pixbuf, Boolean use_rle) : void*
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
Gtk.drag_set_icon_pixbuf (DragContext context, Pixbuf pixbuf, Number hot_x, Number hot_y) : none
Sets pixbuf as the icon for a given drag.
Gtk
Method
Gtk.drag_source_set_icon_pixbuf (Widget widget, Pixbuf pixbuf) : none
Sets the icon that will be used for drags from a particular widget from a GdkPixbuf.
Gtk.AboutDialog
Property
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
set_page_header_image (Widget page, Pixbuf pixbuf) : none
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
set_page_side_image (Widget page, Pixbuf pixbuf) : none
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
new Gtk.CellView.with_pixbuf (Pixbuf pixbuf) : Gtk.CellView
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
new Gtk.IconInfo.for_pixbuf (IconTheme icon_theme, Pixbuf pixbuf) : Gtk.IconInfo
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
new Gtk.IconSet.from_pixbuf (Pixbuf pixbuf) : Gtk.IconSet
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
Gtk.IconTheme.add_builtin_icon (String icon_name, Number size, Pixbuf pixbuf) : none
Registers a built-in icon for icon theme lookups.
Gtk.IconTheme
Method
load_icon (String icon_name, Number size, IconLookupFlags flags) : GdkPixbuf.Pixbuf
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
new Gtk.Image.from_pixbuf (Pixbuf pixbuf) : Gtk.Image
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
set_pixbuf (Pixbuf pixbuf) : Boolean
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
new Gtk.StatusIcon.from_pixbuf (Pixbuf pixbuf) : Gtk.StatusIcon
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
insert_pixbuf (TextBuffer self, TextIter location, Pixbuf pixbuf) : none
The ::insert-pixbuf signal is emitted to insert a GdkPixbuf in a GtkTextBuffer.
Gtk.TextBuffer
Method
insert_pixbuf (TextIter iter, Pixbuf pixbuf) : none
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
render_icon (String stock_id, Number size, String detail) : GdkPixbuf.Pixbuf
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
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
GtkClutter.texture_new_from_pixbuf (Pixbuf pixbuf) : Clutter.Actor
Creates a new ClutterTexture and sets its contents with a copy of pixbuf.
GtkClutter
Method
GtkClutter.texture_set_from_pixbuf (Texture texture, Pixbuf pixbuf) : Boolean
Sets the contents of texture with a copy of pixbuf.
GtkSource.CompletionItem
Property
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
set_mark_category_pixbuf (String category, Pixbuf pixbuf) : none
Associates a given pixbuf with a given mark category.
GtkSource.View
Method
set_mark_category_icon_from_pixbuf (String category, Pixbuf pixbuf) : none
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
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Tue Jun 22 2010 16:33:27 GMT+0800 (HKT)