Project:DUI

Class List Class Hierarchy
Summary: Ctors Methods Mixins

Module dui.Misc

Class Misc

dui.ObjectG.ObjectG
        dui.DUIObject.DUIObject
                dui.Widget.Widget
                        dui.Misc.Misc

Implemented interfaces:


public class

Misc



Base for many widgets to provide alignment and padding for all it's children

Constructor Summary
(GtkWidget* gtkWidget)
          Creates a Misc from a GtkMisc

Methods Summary
public static GType getType()
          Gets this class type
public void setAlignment(gfloat xalign, gfloat yalign)
          Sets the alignement
void getAlignment(gfloat* xalign, gfloat* yalign)
          Gets the alignement
void setPadding(gint xpad, gint ypad)
          Sets the pading
void getPadding(gint* xpad, gint* ypad)
          Gets the pading


getType

public static GType getType()
Gets this class type

Returns:
type



ctor(Misc)(GtkWidget* gtkWidget)
Creates a Misc from a GtkMisc

Parameters:
gtkWidget - the GtkMisc

setAlignment

public void setAlignment(gfloat xalign, gfloat yalign)
Sets the alignement

Parameters:
xalign -
yalign -

getAlignment

void getAlignment(gfloat* xalign, gfloat* yalign)
Gets the alignement

Parameters:
xalign -
yalign -

setPadding

void setPadding(gint xpad, gint ypad)
Sets the pading

Parameters:
xpad -
ypad -

getPadding

void getPadding(gint* xpad, gint* ypad)
Gets the pading

Parameters:
xpad -
ypad -