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

Widget Item

The GnomeCanvasWidget item places a widget on the canvas. The canvas item emulates a container widget, passing a size allocation to the widget it holds. You can specify an anchor point for the widget item, just as you can for GnomeCanvasText.

Table 6. GnomeCanvasWidget Arguments

Name Type Read/Write Description
widget GtkWidget* Both Widget 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 of widget
height double Both Height of widget
size_pixels gboolean Both Specifies how to interpret the width and height argument; if TRUE, they are in pixels; if FALSE, they are in canvas units
Gtk+/Gnome Application Development
Prev Home Next

 
 
  Published under free license. Design by Interspire