   #home GTK Classes cancel GtkMisc::set_alignment

      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
