GtkFrame Class

The GtkFrame class is a container that enclose multiple widgets that are logicalically related with a visible box and title.

The class heirarchy


   Object
      +---GtkWidget
         +---GtkContainer
            +---GtkBox
               +---GtkFrame

The methods for the GtkFrame class are documented below.

GtkFrame Method Table of Contents

new - Create and initialize the widget


Method: new

This method creates and initializes the widget.

Example

This is a example of how to create a new frame widget.


text = 'My Frame Text'
myframe = .GtkFrame~new(text)

Method Parameters

text
The label text for the frame.

Method Results

The new GtkFrame object.




Valid XHTML 1.0!