Gtk.Toolbar.PrependElement Method

This method is deprecated and should not be used in new code.

Adds a new button to the beginning of the toolbar (left or top, depending on toolbar orientation).

If type == Gtk.ToolbarChildType.Widget, widget is used as the new element. If type == Gtk.ToolbarChildType.Radiobutton, widget is used to determine the radio group for the new element. In all other cases, widget must be NULL.

Syntax

public Widget PrependElement (ToolbarChildType type, Widget widget, string text, string tooltip_text, string tooltip_private_text, Widget icon, SignalFunc cb)

Parameters

type
a Gtk.ToolbarChildType, the type of widget to add
widget
a Gtk.Widget, the widget itself
text
a string, a label for the widget
tooltip_text
a string, simple tooltip text
tooltip_private_text
a string, context-sensitive detailed help
icon
a Gtk.Widget, the icon to use for this widget
cb
a Gtk.SignalFunc, a callback function to use when the new widget is touched.

Returns

a Gtk.Widget

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Gtk
Assembly: gtk-sharp (in gtk-sharp.dll)