GtkRadiobutton Class

The GtkRadiobutton class is the class for instantiating radio button widgets.

The class heirarchy


   Object
      +---GtkWidget
         +---GtkContainer
            +---GtkButton
               +---GtkCheckbutton
                  +---GtkRadiobutton

The methods for the GtkRadioButton class are documented below.

GtkRadioButton 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 radio button widget.


mylist = .GSList~new()

text = 'My Radio Button'
myradio = .GtkRadioButton~new(mylist, text)

Method Parameters

mylist
A GSList object.
text
(Optional) The label text for the radio button.

Method Results

The new GtkRadioButton object.




Valid XHTML 1.0!