w3-tools.com - Free Webmaster Tools and Resources
 
w3-tools.com - Free Webmaster Tools and Resources
 Free Webmaster Tools and Resources

 



PHP-GTK Manual

This manual is provided as a courtesy. It is not an official source. Please check gtk.php.net for updated information.

PHP-GTK Manual

PHP-GTK Manual

GtkMisc

Base class for widgets having their own alignment and padding.

Object Hierarchy

GtkObject
`-- GtkWidget
       `-- GtkMisc

Direct subclasses

Description

GtkMisc is a base class bequeathing alignment and padding properties and related methods to its descendants.

Most widgets do not have such properties on their own account, and only get them through being packed into a multiple container such as the GtkBox family members or GtkTable, or else through using the GtkAlignment widget which is designed to lend a facsimile of these properties to its child widget.

It is therefore rare in GTK+ to find a widget capable of calling its own alignment and padding properties directly, and only GtkMisc descendants are able to do so.

This is an abstract base class, and cannot be directly constructed.

Methods

set_alignment()
  Sets alignment.
set_padding()
  Sets padding.

Properties

xalign:
  Relative distance from container's left edge.
yalign:
  Relative distance from container's top edge.
xpad:
  Padding along horizontal axis.
ypad:
  Padding along vertical axis.

Newsletter

Join to our newsletter and receive news and updates about our site.
Your name: 
E-mail address: 
Action: 
 

Hosted by

Search

Google
Web w3-tools.com

Links

  What is my IP? Find your IP address!     Valid XHTML 1.0 Transitional  
Copyright © 2006. by w3-tools.com. All rights reserved