Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Gtk+/Gnome Application Development
Prev Home Next

Image Item

GnomeCanvasImage places an image on the canvas; you pass it a GdkImlibImage, loaded using one of the Imlib routines. If the image has transparent areas, they will be properly handled (they won't be considered part of the item, and will not receive events). To use GnomeCanvasImage with a GDK canvas, you must push the Imlib visual and colormap before creating the canvas; see the section called Preparing the GnomeCanvas Widget.

Table 4. GnomeCanvasImage Arguments

Name Type Read/Write Description
image GdkImlibImage* Both GdkImlibImage to display
x double Both X coordinate of the anchor point
y double Both Y coordinate of the anchor point
anchor GtkAnchorType Both Location of anchor point
width double Both Width in canvas units (image will be scaled)
height double Both Height in canvas units (image will be scaled)
Gtk+/Gnome Application Development
Prev Home Next

 
 
  Published under free license. Design by Interspire