Project:DUI

Class List Class Hierarchy
Summary: Ctors Methods Mixins

Module dui.FontSelection

Class FontSelection

dui.ObjectG.ObjectG
        dui.DUIObject.DUIObject
                dui.Widget.Widget
                        dui.Container.Container
                                dui.Box.Box
                                        dui.VBox.VBox
                                                dui.FontSelection.FontSelection

Implemented interfaces:


public class

FontSelection



A widget for selecting fonts.

Constructor Summary
protected (GtkWidget* gtkWidget)
          
()
          Creates a new FontSelection

Methods Summary
public static GType getType()
          Gets this class type
String getFontName()
          GetFont \todo GetFont - need to create GdkFont class -> ddi.
bit setFontName(String fontName)
          Sets the font name
String getPreviewText()
          Gets the preview text.




protected ctor(FontSelection)(GtkWidget* gtkWidget)

getType

public static GType getType()
Gets this class type



ctor(FontSelection)()
Creates a new FontSelection

getFontName

String getFontName()
GetFont \todo GetFont - need to create GdkFont class -> ddi.
ont /+ Font getFont() return new Font(gtk_font_selection_get_font (gtkW())); +/ Gets the font name

Returns:
the font name

setFontName

bit setFontName(String fontName)
Sets the font name

Parameters:
fontName - the new font name

Returns:
true if sucesseful

getPreviewText

String getPreviewText()
Gets the preview text.

Returns:
the preview text