#include <gtk/gtk.h>
#include <string.h>

int main(int argc, char* argv[]) {
  char tooltip[32 << 10];  /* 32kb */
  memset(tooltip, 'a', sizeof(tooltip));
  tooltip[sizeof(tooltip) - 1] = 0;

  gtk_init(&argc, &argv);
  GtkWidget* win = gtk_window_new(GTK_WINDOW_TOPLEVEL);
  gtk_widget_set_tooltip_text(win, tooltip);
  gtk_widget_show(win);
  gtk_main();
  return 0;
}
