Method

Gtk.Text.set_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 GMenuModel*
 

a GMenuModel

 Can be NULL
 Ownership is not transferred to the callee