Webhosting and cheap domain registration service
  

 Home

GTK Classes
Prev GtkMisc Next

GtkMisc

Base class for widgets having their own alignment and padding.

Object Hierarchy

GtkObject
`-- GtkWidget
       `-- GtkMisc

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.


Prev Home Next
cancel Up GtkMisc::set_alignment

 

  

Network sites:

Cheap domain registrar's cheap domain registration service

$8.95 domain registration : Buy domain name or register domain name 

 
 
Quotes:
There are two kinds of truths: those of reasoning and those of facts. The truths of reasoning are necessary and their opposite is impossible; the truths of fact are contingent and their opposites are possible.  
 
 

Disclaimer: This documentation is provided only for the benefits of our webhosting customers.
For authoritative source of the documentation, please refer to http://gtk.php.net/docs.php