Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
karudu
/
C-editor
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Pipelines
Snippets
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
7dcc8b84
authored
Apr 20, 2022
by
castro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace tab.c
parent
0efea21d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
tab.c
tab.c
View file @
7dcc8b84
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment