GtkFontSelectionDialog Class

The GtkFontSelectionDialog class is the class for font selection dialogs.

This class subclasses the Object REXX Object class so all of its methods are also available to this class.

The class heirarchy


   Object
      +---GtkFontSelectionDialog

The methods for the GtkFontSelectionDialog class are documented below.

GtkFontSelectionDialog Method Table of Contents

new - Create and initialize the dialog widget
run - Run the dialog widget


Method: new

This method creates and initializes the dialog widget.

Example

This is a example of how to create a font selection dialog widget.


fontname = 'Courier 10'
myfontdialog = .GtkFontSelectionDialog~new(fontname)

Method Parameters

fontname
The font name, style, and size string.

Method Results

The new GtkFontSelectionDialog object.




Method: run

This method runs the font selection dialog.

Example

This is a example of how to run a font selection dialog.


myfontdialog~run()

Method Parameters

None.

Method Results

The font name, style, and size string or a zero-length string if no slection was made.




Valid XHTML 1.0!