Method

GtkTextset_extra_menu

Declaration [src]

void
gtk_text_set_extra_menu (
  GtkText* self,
  GMenuModel* model
)

Description [src]

Sets a menu model to add when constructing the context menu for self.

Sets propertyGtk.Text:extra-menu

Parameters

model

Type: GMenuModel

A GMenuModel.

The argument can be NULL.
The data is owned by the caller of the method.