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
Implements: Gio.Icon
Extends: GObject.Object
This is the main structure in the &gdk-pixbuf; library. It is
used to represent images. It contains information about the
image's pixel data, its color space, bits per sample, width and
height, and the rowstride (the number of bytes between the start of
one row and the start of the next).
Properties
Properties Defined By
Methods / Constructors
Method / Constructor Defined By
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
EvinceDocument.AsyncRenderer
Signal
render_finished (AsyncRenderer self, Pixbuf object) : none
EvinceDocument.Document
Method
EvinceDocument.Document.misc_invert_pixbuf (Pixbuf pixbuf) : none
EvinceDocument.Document
Method
EvinceDocument.Document.misc_surface_from_pixbuf (Pixbuf pixbuf) : cairo.Surface
EvinceDocument.Image
Method
new EvinceDocument.Image.from_pixbuf (Pixbuf pixbuf) : EvinceDocument.Image
Create a new EvinceDocument.Image
EvinceDocument.Image
Method
save_tmp (Pixbuf pixbuf) : String
Gdk
Method
Gdk.cairo_set_source_pixbuf (Context cr, Pixbuf pixbuf, gdouble pixbuf_x, gdouble pixbuf_y) : none
Sets the given pixbuf as the source pattern for cr.
Gdk
Method
Gdk.pixbuf_get_from_surface (Surface surface, gint32 src_x, gint32 src_y, gint32 width, gint32 height) : GdkPixbuf.Pixbuf
Transfers image data from a cairo_surface_t and converts it to an RGB(A)
representation inside a GdkPixbuf.
Gdk
Method
Gdk.pixbuf_get_from_window (Window window, gint32 src_x, gint32 src_y, gint32 width, gint32 height) : GdkPixbuf.Pixbuf
Transfers image data from a GdkWindow and converts it to an RGB(A)
representation inside a GdkPixbuf.
Gdk.Cursor
Method
new Gdk.Cursor.from_pixbuf (Display display, Pixbuf pixbuf, gint32 x, gint32 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.PixbufSimpleAnim
Method
add_frame (Pixbuf pixbuf) : none
Adds a new frame to animation.
Gtk
Method
Gtk.drag_set_icon_pixbuf (DragContext context, Pixbuf pixbuf, gint32 hot_x, gint32 hot_y) : none
Sets pixbuf as the icon for a given drag.
Gtk
Method
Gtk.render_icon_pixbuf (StyleContext context, IconSource source, gint32 size) : GdkPixbuf.Pixbuf
Renders the icon specified by source at the given size, returning the result
in a pixbuf.
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
get_page_header_image (Widget page) : GdkPixbuf.Pixbuf
Gets the header image for page.
Gtk.Assistant
Method
get_page_side_image (Widget page) : GdkPixbuf.Pixbuf
Gets the header image for page.
Gtk.Assistant
Method
set_page_header_image (Widget page, Pixbuf pixbuf) : none
Sets a header image for page.
Gtk.Assistant
Method
set_page_side_image (Widget page, Pixbuf pixbuf) : none
Sets a 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.Widget
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
get_icon_pixbuf (EntryIconPosition icon_pos) : GdkPixbuf.Pixbuf
Retrieves the image used for the icon.
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.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.IconInfo
Method
load_symbolic (RGBA fg, RGBA success_color, RGBA warning_color, RGBA error_color, Object out_values) : GdkPixbuf.Pixbuf
Loads an icon, modifying it to match the system colours for the foreground,
success, warning and error colors provided.
Gtk.IconInfo
Method
load_symbolic_for_context (StyleContext context, Object out_values) : GdkPixbuf.Pixbuf
Loads an icon, modifying it to match the system colors for the foreground,
success, warning and error colors provided.
Gtk.IconInfo
Method
load_symbolic_for_style (Style style, StateType state, Object out_values) : GdkPixbuf.Pixbuf
Loads an icon, modifying it to match the system colours for the foreground,
success, warning and error colors provided.
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, gint32 size, Widget widget, String detail) : GdkPixbuf.Pixbuf
Renders an icon using gtk_style_render_icon().
Gtk.IconSet
Method
render_icon_pixbuf (StyleContext context, gint32 size) : GdkPixbuf.Pixbuf
Renders an icon using gtk_render_icon_pixbuf().
Gtk.IconSource
Method
get_pixbuf () : GdkPixbuf.Pixbuf
Retrieves the source pixbuf, or NULL if none is set.
Gtk.IconSource
Method
set_pixbuf (Pixbuf pixbuf) : none
Sets a pixbuf to use as a base image when creating icon variants
for GtkIconSet.
Gtk.IconTheme
Method
Gtk.IconTheme.add_builtin_icon (String icon_name, gint32 size, Pixbuf pixbuf) : none
Registers a built-in icon for icon theme lookups.
Gtk.IconTheme
Method
load_icon (String icon_name, gint32 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.Widget
Create a new Gtk.Image
Gtk.Image
Method
get_pixbuf () : GdkPixbuf.Pixbuf
Gets the GdkPixbuf being displayed by the GtkImage.
Gtk.Image
Method
set_from_pixbuf (Pixbuf pixbuf) : none
See gtk_image_new_from_pixbuf() for details.
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 (gint32 size) : GdkPixbuf.Pixbuf
Retrieves the icon of size size associated to the resource MIME type.
Gtk.SelectionData
Method
get_pixbuf () : GdkPixbuf.Pixbuf
Gets the contents of the selection data as a GdkPixbuf.
Gtk.SelectionData
Method
set_pixbuf (Pixbuf pixbuf) : gboolean
Sets the contents of the selection from a GdkPixbuf
The pixbuf is converted to the form determined by
otherwise FALSE.
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
get_pixbuf () : GdkPixbuf.Pixbuf
Gets the GdkPixbuf being displayed by the GtkStatusIcon.
Gtk.StatusIcon
Method
set_from_pixbuf (Pixbuf pixbuf) : none
Makes status_icon display pixbuf.
Gtk.Style
Method
render_icon (IconSource source, TextDirection direction, StateType state, gint32 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
drag_source_set_icon_pixbuf (Pixbuf pixbuf) : none
Sets the icon that will be used for drags from a particular widget
from a GdkPixbuf.
Gtk.Widget
Method
render_icon (String stock_id, gint32 size, String detail) : GdkPixbuf.Pixbuf
A convenience function that uses the theme settings for widget
to look up stock_id and render it to a pixbuf.
Gtk.Widget
Method
render_icon_pixbuf (String stock_id, gint32 size) : GdkPixbuf.Pixbuf
A convenience function that uses the theme engine and style
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
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).
Gtk.Window
Method
set_icon (Pixbuf icon) : none
Sets up the icon representing a GtkWindow.
GtkClutter.Texture
Method
set_from_pixbuf (Pixbuf pixbuf) : gboolean
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
GtkSource.CompletionProvider
Method
get_icon () : GdkPixbuf.Pixbuf
GtkSource.CompletionWords
Property
GtkSource.CompletionWords
Method
new GtkSource.CompletionWords.c_new (String name, Pixbuf icon) : GtkSource.CompletionWords
Create a new GtkSource.CompletionWords
GtkSource.GutterRendererPixbuf
Property
pixbuf : GdkPixbuf.Pixbuf
GtkSource.GutterRendererPixbuf
Method
get_pixbuf () : GdkPixbuf.Pixbuf
GtkSource.GutterRendererPixbuf
Method
set_pixbuf (Pixbuf pixbuf) : none
GtkSource.MarkAttributes
Property
pixbuf : GdkPixbuf.Pixbuf
GtkSource.MarkAttributes
Method
get_pixbuf () : GdkPixbuf.Pixbuf
GtkSource.MarkAttributes
Method
render_icon (Widget widget, gint32 size) : GdkPixbuf.Pixbuf
GtkSource.MarkAttributes
Method
set_pixbuf (Pixbuf pixbuf) : none
Notify.Notification
Method
set_icon_from_pixbuf (Pixbuf icon) : none
Notify.Notification
Method
set_image_from_pixbuf (Pixbuf pixbuf) : none
Vte.Terminal
Property
background_image_pixbuf : GdkPixbuf.Pixbuf
Vte.Terminal
Method
set_background_image (Pixbuf image) : none
WebKit.IconDatabase
Method
get_icon_pixbuf (String page_uri) : GdkPixbuf.Pixbuf
Obtains a GdkPixbuf of the favicon for the given page URI, or
a default icon if there is no icon for the given page.
WebKit.WebView
Method
get_icon_pixbuf () : GdkPixbuf.Pixbuf
Obtains a GdkPixbuf of the favicon for the given WebKitWebView, or
a default icon if there is no icon for the given page.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:11:02 GMT+0800 (HKT)