index
gtk-- homepage



Description:
Gtk_Alignment

#include <gtk--/alignment.h>
Base classes: Gtk_Bin

Alignment Container
Normally, a widget is allocated at least as much size as it requests. When a widget is allocated more size than it requests there is a question of how the widget should expand. By convention, most GTK widgets expand to fill their allocated space. Sometimes this behavior is not desired. The alignment widget allows the programmer to specify how a widget should expand and position itself to fill the area it is allocated.



Properties:


Public member index:


static GtkType get_type();
GtkAlignment *gtkobj();
const GtkAlignment *gtkobj()const;
static bool isA(Gtk_Object *checkcast);
virtual ~Gtk_Alignment();
explicit Gtk_Alignment(gfloat xalign=0 . 5,gfloat yalign=0 . 5,gfloat xscale=1 . 0,gfloat yscale=1 . 0);
void set(gfloat xalign=0 . 5,gfloat yalign=0 . 5,gfloat xscale=1 . 0,gfloat yscale=1 . 0);
Sets the properties for this widget.

gfloat get_xalign()const;
gfloat get_yalign()const;
gfloat get_xscale()const;
gfloat get_yscale()const;
Protected member index:


void initialize_class();
void *get_parent_class();
static void init_parent_class();
explicit Gtk_Alignment(GtkAlignment *castitem);
Private member index:


Gtk_Alignment(const Gtk_Alignment &);
Gtk_Alignment &operator =(const Gtk_Alignment &);

Public member details:


set
void Gtk_Alignment::set(gfloat xalign=0 . 5,gfloat yalign=0 . 5,gfloat xscale=1 . 0,gfloat yscale=1 . 0);

Sets the properties for this widget.
Sets both the alignment and scale of the window.

See properties xalign and xscale for more detail.


Protected member details:



Private member details:



Examples:





(pages generated by PERCEPS -script.)