MenuGidBuilderImpl.attachWidget

T attachWidget(gtk.widget.Widget propval)

Set attachWidget property.

Parameters

propvalThe widget the menu is attached to. Setting this property attaches the menu without a #GtkMenuDetachFunc. If you need to use a detacher, use [gtk.menu.Menu.attachToWidget] directly.

Returns

Builder instance for fluent chaining