The GtkHTML Library
<<< Previous Page | Home | Up | Next Page >>>

# GtkHTMLEmbedded widget

## Name

GtkHTMLEmbedded widget -- Container for widgets embedded in the document.

## Synopsis

    GtkWidget*  gtk_html_embedded_new           (char *classid,
                                                 char *name,
                                                 char *type,
                                                 char *data,
                                                 int width,
                                                 int height);
    void        gtk_html_embedded_set_parameter (GtkHTMLEmbedded *ge,
                                                 char *param,
                                                 char *value);
    char*       gtk_html_embedded_get_parameter (GtkHTMLEmbedded *ge,
                                                 char *param);
    void        gtk_html_embedded_set_descent   (GtkHTMLEmbedded *ge,
                                                 int descent);

## Description

The GtkHTML Embedded widget is simple container designed to hold widgets embedded by using <object> elements.

## Details

### gtk_html_embedded_new ()

    GtkWidget*  gtk_html_embedded_new           (char *classid,
                                                 char *name,
                                                 char *type,
                                                 char *data,
                                                 int width,
                                                 int height);

Create a new GtkHTMLEmbedded widget. Note that this function should never be called outside of gtkhtml.

`classid` : |
`name` : |
`type` : |
`data` : |
`width` : |
`height` : |
Returns : | A new GtkHTMLEmbedded widget.

### gtk_html_embedded_set_parameter ()

    void        gtk_html_embedded_set_parameter (GtkHTMLEmbedded *ge,
                                                 char *param,
                                                 char *value);

The parameter named `name` to the `value`.

`ge` : | The GtkHTMLEmbedded widget.
`param` : | the name of the parameter to set.
`value` : | the value of the parameter.

### gtk_html_embedded_get_parameter ()

    char*       gtk_html_embedded_get_parameter (GtkHTMLEmbedded *ge,
                                                 char *param);

`ge` : | the GtkHTMLEmbedded widget.
`param` : | the parameter to examine.
Returns : | the value of the parameter.

### gtk_html_embedded_set_descent ()

    void        gtk_html_embedded_set_descent   (GtkHTMLEmbedded *ge,
                                                 int descent);

Set the descent of the widget beneath the baseline.

`ge` : | the GtkHTMLEmbedded widget.
`descent` : | the value of the new descent.

<<< Previous Page | Home | Up | Next Page >>>
GtkHTML widget | GtkHTML stream