gtk_widget_set_usize(GTK_WIDGET(hidlg->eyear), twocharwidth*2+5,-1);/* dash */label = gtk_label_new("-"); gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE,2);/* month */hidlg->emon =gtk_entry_new_with_max_length(2); gtk_box_pack_start(GTK_BOX(hbox), hidlg->e...
GtkEntryCompletion *completion =NULL;/* Create a tree model and use it as the completion model */list_store = gtk_list_store_new(1, G_TYPE_STRING);/* Create the completion object */completion =gtk_entry_completion_new(); gtk_entry_completion_set_model(completion, GTK_TREE_MODEL(list_st...
container_user := gtk.NewHBox(false,0) container_pass := gtk.NewHBox(false,0) container_buttons := gtk.NewHBox(false,5) container_main.SetBorderWidth(10)// usernameuser_label := gtk.NewLabel("Username") user_entry := gtk.NewEntry()// passwordpass_label := gtk.NewLabel("Password")...
cbestop[i]=gtk.combo_box_entry_new_text()#~ cbestop[i].set_model(liststop)#~ cbestop[i].child.set_completion(completstop)button[i] = gtk.Button(stock=gtk.STOCK_ADD) button[i].connect('clicked',self.zins,i) buttond[i] = gtk.Button(stock=gtk.STOCK_DELETE) buttond[i].connect('...