Project:DUI

Class List Class Hierarchy
Summary: Ctors Methods Mixins

Module dui.Frame

Class Frame

dui.ObjectG.ObjectG
        dui.DUIObject.DUIObject
                dui.Widget.Widget
                        dui.Container.Container
                                dui.Bin.Bin
                                        dui.Frame.Frame

Implemented interfaces:


public class

Frame



A Visual border

Constructor Summary
protected (GtkWidget *gtkWidget)
          
(char label)
          Creates a new frame with a label
(Widget child, char )
          Creates a new frame width a label for a widget

Methods Summary
public static GType getType()
          Gets this class type
void setlabel(char label)
          Sets the frame label
void setLabelAlign(float xAlign, float yAlign)
          Sets the frame label alignment
void getabelAlign(gfloat* xalign, gfloat* yalign)
          Gets the currrent label alignment
void setShadowType(ShadowType type)
          Sets the shadow type
String getLabel()
          Gets the frame current label text
void setLabelWidget(Widget widget)
          Set the frame label widget
Widget getLabelWidget()
          Get the current label widget
ShadowType getShadowType()
          Gets the current shadow type of this frame




protected ctor(Frame)(GtkWidget *gtkWidget)

getType

public static GType getType()
Gets this class type



ctor(Frame)(char label)
Creates a new frame with a label

Parameters:
label - the frame label



ctor(Frame)(Widget child, char )
Creates a new frame width a label for a widget

Parameters:
child - the frame child widget
label - the frame label

setlabel

void setlabel(char label)
Sets the frame label

Parameters:
label - the new frame label

setLabelAlign

void setLabelAlign(float xAlign, float yAlign)
Sets the frame label alignment

Parameters:
xAlign - the horizontal alignment
yAlign - the vertical alignment

getabelAlign

void getabelAlign(gfloat* xalign, gfloat* yalign)
Gets the currrent label alignment

Parameters:
xalign -
yalign -

setShadowType

void setShadowType(ShadowType type)
Sets the shadow type

Parameters:
type - the new shadow type

getLabel

String getLabel()
Gets the frame current label text

Returns:
the label text

setLabelWidget

void setLabelWidget(Widget widget)
Set the frame label widget

Parameters:
widget - the new frame label widget

getLabelWidget

Widget getLabelWidget()
Get the current label widget

Returns:
the label widget

getShadowType

ShadowType getShadowType()
Gets the current shadow type of this frame

Returns:
the shadow type