GtkMenu::set_tearoff_state

void set_tearoff_state(bool torn_off);

See also: get_tearoff_state()