<commit_before>#include <stdio.h>
#include <stdlib.h>

#include <clutter/clutter.h>
#include <nbtk/nbtk.h>

static void
button_hide (NbtkButton *button)
{
  clutter_actor_hide (CLUTTER_ACTOR (button));
}

int
main (int argc, char *argv[])
{
  NbtkWidget *button;
  ClutterColor stage_color =  { 0xff, 0xff, 0xff, 0xff };
  ClutterActor *stage;

  clutter_init (&argc, &argv);

  /* load the style sheet */
  nbtk_style_load_from_file (nbtk_style_get_default (),
                             "style/default.css", NULL);

  stage = clutter_stage_get_default ();
  clutter_stage_set_color (CLUTTER_STAGE (stage), &stage_color);

  button = nbtk_button_new_with_label ("Hide Me");
  g_signal_connect (button, "clicked",
                    G_CALLBACK (button_hide),
                    "hello");
  nbtk_button_set_tooltip (NBTK_BUTTON (button), "Disappear");
  clutter_container_add_actor (CLUTTER_CONTAINER (stage),
                               CLUTTER_ACTOR (button));
  clutter_actor_set_position (CLUTTER_ACTOR (button), 100, 100);

  button = nbtk_button_new_with_label ("Testing 123");
  nbtk_button_set_tooltip (NBTK_BUTTON (button), "Testing the Tooltips...");
  clutter_container_add_actor (CLUTTER_CONTAINER (stage),
                               CLUTTER_ACTOR (button));
  clutter_actor_set_position (CLUTTER_ACTOR (button), 200, 100);


  button = nbtk_button_new_with_label ("Testing Long Text");
  nbtk_button_set_tooltip (NBTK_BUTTON (button),
                           "Here is some really"
                           " long text to test the handling in NbtkTooltip");
  clutter_container_add_actor (CLUTTER_CONTAINER (stage),
                               CLUTTER_ACTOR (button));
  clutter_actor_set_position (CLUTTER_ACTOR (button), 200, 100);

  clutter_actor_show (stage);

  clutter_main ();

  return EXIT_SUCCESS;
}
<commit_msg>[teset-tooltips] add some more positions to test tooltips at<commit_after>#include <stdio.h>
#include <stdlib.h>

#include <clutter/clutter.h>
#include <nbtk/nbtk.h>

static void
button_hide (NbtkButton *button)
{
  clutter_actor_hide (CLUTTER_ACTOR (button));
}

int
main (int argc, char *argv[])
{
  NbtkWidget *button;
  ClutterColor stage_color =  { 0xff, 0xff, 0xff, 0xff };
  ClutterActor *stage;

  clutter_init (&argc, &argv);

  /* load the style sheet */
  nbtk_style_load_from_file (nbtk_style_get_default (),
                             "style/default.css", NULL);

  stage = clutter_stage_get_default ();
  clutter_stage_set_color (CLUTTER_STAGE (stage), &stage_color);

  button = nbtk_button_new_with_label ("Hide Me");
  g_signal_connect (button, "clicked",
                    G_CALLBACK (button_hide),
                    "hello");
  nbtk_button_set_tooltip (NBTK_BUTTON (button), "Disappear");
  clutter_container_add_actor (CLUTTER_CONTAINER (stage),
                               CLUTTER_ACTOR (button));
  clutter_actor_set_position (CLUTTER_ACTOR (button), 50, 100);

  button = nbtk_button_new_with_label ("Testing 123");
  nbtk_button_set_tooltip (NBTK_BUTTON (button), "Testing the Tooltips...");
  clutter_container_add_actor (CLUTTER_CONTAINER (stage),
                               CLUTTER_ACTOR (button));
  clutter_actor_set_position (CLUTTER_ACTOR (button), 50, 200);


  button = nbtk_button_new_with_label ("Testing Long Text");
  nbtk_button_set_tooltip (NBTK_BUTTON (button),
                           "Here is some really"
                           " long text to test the handling in NbtkTooltip");
  clutter_container_add_actor (CLUTTER_CONTAINER (stage),
                               CLUTTER_ACTOR (button));
  clutter_actor_set_position (CLUTTER_ACTOR (button), 50, 300);

  button = nbtk_button_new_with_label ("Testing Long Text");
  nbtk_button_set_tooltip (NBTK_BUTTON (button),
                           "Here is some really"
                           " long text to test the handling in NbtkTooltip");
  clutter_container_add_actor (CLUTTER_CONTAINER (stage),
                               CLUTTER_ACTOR (button));
  clutter_actor_set_position (CLUTTER_ACTOR (button), 500, 300);

  clutter_actor_show (stage);

  clutter_main ();

  return EXIT_SUCCESS;
}

{'fraction_non_alphanumeric': 0.1007919366450684, 'fraction_numerical': 0.012718982481401488, 'mean_word_length': 3.1185770750988144, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4188750', 'n_tokens_mistral': 1477, 'n_tokens_neox': 1395, 'n_words': 294}