Learn R Programming

gWidgets (version 0.0-25)

ghtml: Constructors for widgets to handle text input

Description

The ghtml widget is used to enter single lines of text. The gtext widget creates a text buffer for handling multiple lines of text.

Usage

ghtml(url, handler = NULL, action = NULL, container = NULL, ..., toolkit = guiToolkit())

Arguments

Details

This widget loads the given url into a widget. Currently no toolkits support this.

The svalue method returns the current url.

The svalue<- method loads the current url in the widget.

Examples

Run this code
ghtml(system.file("html","gedit.html",package="gWidgets"),
    container = gwindow())

Run the code above in your browser using DataLab