Method

Gtk.TextView.set_extra_menu

Declaration [src]

void
gtk_text_view_set_extra_menu (
  GtkTextView* text_view,
  GMenuModel* model
)

Description [src]

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

You can pass NULL to remove a previously set extra menu.

Parameters

model GMenuModel*
 

a GMenuModel

 Can be NULL
 Ownership is not transferred to the callee