32 #import "CoreGTK/CGTKComboBoxText.h" 50 self = [
super initWithGObject:(GObject *)gtk_combo_box_text_new_with_entry()];
62 return GTK_COMBO_BOX_TEXT([
self GOBJECT]);
65 -(void)appendWithId:(NSString*) id andText:(NSString*) text
67 gtk_combo_box_text_append(GTK_COMBO_BOX_TEXT([
self GOBJECT]), [
id UTF8String], [text UTF8String]);
70 -(void)appendText:(NSString*) text
72 gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT([
self GOBJECT]), [text UTF8String]);
77 return [NSString stringWithUTF8String:gtk_combo_box_text_get_active_text(GTK_COMBO_BOX_TEXT([
self GOBJECT]))];
80 -(void)insertWithPosition:(gint) position andId:(NSString*) id andText:(NSString*) text
82 gtk_combo_box_text_insert(GTK_COMBO_BOX_TEXT([
self GOBJECT]), position, [
id UTF8String], [text UTF8String]);
85 -(void)insertTextWithPosition:(gint) position andText:(NSString*) text
87 gtk_combo_box_text_insert_text(GTK_COMBO_BOX_TEXT([
self GOBJECT]), position, [text UTF8String]);
90 -(void)prependWithId:(NSString*) id andText:(NSString*) text
92 gtk_combo_box_text_prepend(GTK_COMBO_BOX_TEXT([
self GOBJECT]), [
id UTF8String], [text UTF8String]);
95 -(void)prependText:(NSString*) text
97 gtk_combo_box_text_prepend_text(GTK_COMBO_BOX_TEXT([
self GOBJECT]), [text UTF8String]);
100 -(void)remove:(gint) position
102 gtk_combo_box_text_remove(GTK_COMBO_BOX_TEXT([
self GOBJECT]), position);
107 gtk_combo_box_text_remove_all(GTK_COMBO_BOX_TEXT([
self GOBJECT]));
id initWithGObject:(GObject *obj)
GtkComboBoxText * COMBOBOXTEXT()
NSString * getActiveText()