<commit_before>// 11 june 2015
#include "uipriv_unix.h"

struct combobox {
	uiCombobox c;
	GtkWidget *widget;
	GtkComboBox *combobox;
	GtkComboBoxText *comboboxText;
};

uiDefineControlType(uiCombobox, uiTypeCombobox, struct combobox)

static uintptr_t comboboxHandle(uiControl *cc)
{
	struct combobox *c = (struct combobox *) cc;

	return (uintptr_t) (c->widget);
}

static void comboboxAppend(uiCombobox *cc, const char *text)
{
	struct combobox *c = (struct combobox *) cc;

	PUT_CODE_HERE;
}

static uiCombobox *finishNewCombobox(GtkWidget *(*newfunc)(void))
{
	struct combobox *c;

	c = (struct combobox *) uiNewControl(uiTypeCombobox());

	c->widget = (*newfunc)();
	c->combobox = GTK_COMBO_BOX(c->widget);
	c->comboboxText = GTK_COMBO_BOX_TEXT(c->widget);
	uiUnixMakeSingleWidgetControl(uiControl(c), c->widget);<commit_msg>Finished GTK+ uiComboBox.<commit_after>// 11 june 2015
#include "uipriv_unix.h"

struct combobox {
	uiCombobox c;
	GtkWidget *widget;
	GtkComboBox *combobox;
	GtkComboBoxText *comboboxText;
};

uiDefineControlType(uiCombobox, uiTypeCombobox, struct combobox)

static uintptr_t comboboxHandle(uiControl *cc)
{
	struct combobox *c = (struct combobox *) cc;

	return (uintptr_t) (c->widget);
}

static void comboboxAppend(uiCombobox *cc, const char *text)
{
	struct combobox *c = (struct combobox *) cc;

	gtk_combo_box_text_append(c->comboboxText, NULL, text);
}

static uiCombobox *finishNewCombobox(GtkWidget *(*newfunc)(void))
{
	struct combobox *c;

	c = (struct combobox *) uiNewControl(uiTypeCombobox());

	c->widget = (*newfunc)();
	c->combobox = GTK_COMBO_BOX(c->widget);
	c->comboboxText = GTK_COMBO_BOX_TEXT(c->widget);
	uiUnixMakeSingleWidgetControl(uiControl(c), c->widget);
{'fraction_non_alphanumeric': 0.13177842565597667, 'fraction_numerical': 0.006997084548104956, 'mean_word_length': 6.302127659574468, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 18, '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': '4471580', 'n_tokens_mistral': 703, 'n_tokens_neox': 635, 'n_words': 135}