Commit 7dcc8b84 by castro

Replace tab.c

parent 0efea21d
Showing with 10 additions and 0 deletions
......@@ -47,6 +47,16 @@ void LisaTab(ui *UI)
g_signal_connect (G_OBJECT (Jargmine_nupp), "clicked",
G_CALLBACK (Jargmine_nupp_vajutatud), &UI->Tabid[TabidN]);
// Teksti asendamine
Tab->replace_entry = gtk_entry_new ();
gtk_box_pack_start (GTK_BOX (hbox), Tab->replace_entry, TRUE, TRUE, 0);
GtkWidget *Asenda_nupp =gtk_button_new_with_label ("Asenda"); // Asenda teksti nupp
gtk_box_pack_start (GTK_BOX (hbox), Asenda_nupp, FALSE, FALSE, 0);
g_signal_connect (G_OBJECT (Asenda_nupp), "clicked",
G_CALLBACK (Asenda_nupp_vajutatud), &UI->Tabid[TabidN]);
// Scroll window
Tab->ScrollWindow = gtk_scrolled_window_new(NULL, NULL); // Loo scroll aken
gtk_container_add(GTK_CONTAINER(Tab->ScrollWindow), Tab->TextView); // Scroll aknasse läheb tekstiaken
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment