Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
gtk
Commits
4862c90b
Commit
4862c90b
authored
Apr 08, 2002
by
Manish Singh
Committed by
Manish Singh
Apr 08, 2002
Browse files
really revert testgtk.c
2002-04-08 Manish Singh <yosh@gimp.org> * tests/testgtk.c: really revert testgtk.c
parent
18dfabc1
Changes
7
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
4862c90b
2002-04-08 Manish Singh <yosh@gimp.org>
* tests/testgtk.c: really revert testgtk.c
Mon Apr 8 20:28:54 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeselection.c (gtk_tree_selection_select_path),
...
...
ChangeLog.pre-2-10
View file @
4862c90b
2002-04-08 Manish Singh <yosh@gimp.org>
* tests/testgtk.c: really revert testgtk.c
Mon Apr 8 20:28:54 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeselection.c (gtk_tree_selection_select_path),
...
...
ChangeLog.pre-2-2
View file @
4862c90b
2002-04-08 Manish Singh <yosh@gimp.org>
* tests/testgtk.c: really revert testgtk.c
Mon Apr 8 20:28:54 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeselection.c (gtk_tree_selection_select_path),
...
...
ChangeLog.pre-2-4
View file @
4862c90b
2002-04-08 Manish Singh <yosh@gimp.org>
* tests/testgtk.c: really revert testgtk.c
Mon Apr 8 20:28:54 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeselection.c (gtk_tree_selection_select_path),
...
...
ChangeLog.pre-2-6
View file @
4862c90b
2002-04-08 Manish Singh <yosh@gimp.org>
* tests/testgtk.c: really revert testgtk.c
Mon Apr 8 20:28:54 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeselection.c (gtk_tree_selection_select_path),
...
...
ChangeLog.pre-2-8
View file @
4862c90b
2002-04-08 Manish Singh <yosh@gimp.org>
* tests/testgtk.c: really revert testgtk.c
Mon Apr 8 20:28:54 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeselection.c (gtk_tree_selection_select_path),
...
...
tests/testgtk.c
View file @
4862c90b
...
...
@@ -2487,19 +2487,19 @@ void create_labels (void)
frame
=
gtk_frame_new
(
"Internationalized Label"
);
label
=
gtk_label_new
(
NULL
);
gtk_label_set_markup
(
GTK_LABEL
(
label
),
"French (Fran
Á
ais) Bonjour, Salut
\n
"
"Korean (한
ꁸ
) 안녕하
섁
요, 안녕하
싁니ꁹ
\n
"
"Russian (
Ё
усс
ЁЁЁ) ЗЁрЁЁстЁуЁтЁ
!
\n
"
"Chinese (Simplified) <span lang=
\"
zh-cn
\"
>元
恰 偼
发</span>
\n
"
"Chinese (Traditional) <span lang=
\"
zh-tw
\"
>元
恰
開
癁
</span>
\n
"
"Japanese <span lang=
\"
ja
\"
>元
恰
開
癁
</span>"
);
"French (Fran
ç
ais) Bonjour, Salut
\n
"
"Korean (한
글
) 안녕하
세
요, 안녕하
십니까
\n
"
"Russian (
Р
усс
кий) Здравствуйте
!
\n
"
"Chinese (Simplified) <span lang=
\"
zh-cn
\"
>元
气 开
发</span>
\n
"
"Chinese (Traditional) <span lang=
\"
zh-tw
\"
>元
氣
開
發
</span>
\n
"
"Japanese <span lang=
\"
ja
\"
>元
気
開
発
</span>"
);
gtk_label_set_justify
(
GTK_LABEL
(
label
),
GTK_JUSTIFY_LEFT
);
gtk_container_add
(
GTK_CONTAINER
(
frame
),
label
);
gtk_box_pack_start
(
GTK_BOX
(
vbox
),
frame
,
FALSE
,
FALSE
,
0
);
frame
=
gtk_frame_new
(
"Bidirection Label"
);
label
=
gtk_label_new
(
"Arabic
لل
م
ليكم
\n
"
"Hebrew
ׁ
לום"
);
label
=
gtk_label_new
(
"Arabic
السلا
م
ع
ليكم
\n
"
"Hebrew
ש
לום"
);
gtk_widget_set_direction
(
label
,
GTK_TEXT_DIR_RTL
);
gtk_label_set_justify
(
GTK_LABEL
(
label
),
GTK_JUSTIFY_RIGHT
);
gtk_container_add
(
GTK_CONTAINER
(
frame
),
label
);
...
...
@@ -2535,7 +2535,7 @@ void create_labels (void)
frame
=
gtk_frame_new
(
"Underlined label"
);
label
=
gtk_label_new
(
"This label is underlined!
\n
"
"This one is underlined (こん
ぁぁぁ
) in quite a funky fashion"
);
"This one is underlined (こん
にちは
) in quite a funky fashion"
);
gtk_label_set_justify
(
GTK_LABEL
(
label
),
GTK_JUSTIFY_LEFT
);
gtk_label_set_pattern
(
GTK_LABEL
(
label
),
"_________________________ _ _________ _ _____ _ __ __ ___ ____ _____"
);
gtk_container_add
(
GTK_CONTAINER
(
frame
),
label
);
...
...
@@ -3648,9 +3648,9 @@ create_key_lookup (void)
gtk_box_pack_start
(
GTK_BOX
(
GTK_DIALOG
(
window
)
->
vbox
),
button
,
FALSE
,
FALSE
,
0
);
button
=
gtk_button_new_with_mnemonic
(
"Button 2 (_A)"
);
gtk_box_pack_start
(
GTK_BOX
(
GTK_DIALOG
(
window
)
->
vbox
),
button
,
FALSE
,
FALSE
,
0
);
button
=
gtk_button_new_with_mnemonic
(
"Button 3 (_ф)"
);
button
=
gtk_button_new_with_mnemonic
(
"Button 3 (_ф)"
);
gtk_box_pack_start
(
GTK_BOX
(
GTK_DIALOG
(
window
)
->
vbox
),
button
,
FALSE
,
FALSE
,
0
);
button
=
gtk_button_new_with_mnemonic
(
"Button 4 (_
Ё
)"
);
button
=
gtk_button_new_with_mnemonic
(
"Button 4 (_
Ф
)"
);
gtk_box_pack_start
(
GTK_BOX
(
GTK_DIALOG
(
window
)
->
vbox
),
button
,
FALSE
,
FALSE
,
0
);
button
=
gtk_button_new_with_mnemonic
(
"Button 6 (_b)"
);
gtk_box_pack_start
(
GTK_BOX
(
GTK_DIALOG
(
window
)
->
vbox
),
button
,
FALSE
,
FALSE
,
0
);
...
...
@@ -4073,7 +4073,7 @@ create_entry (void)
gtk_box_pack_start
(
GTK_BOX
(
box2
),
hbox
,
TRUE
,
TRUE
,
0
);
entry
=
gtk_entry_new
();
gtk_entry_set_text
(
GTK_ENTRY
(
entry
),
"hello world
لل
م
ليكم"
);
gtk_entry_set_text
(
GTK_ENTRY
(
entry
),
"hello world
السلا
م
ع
ليكم"
);
gtk_editable_select_region
(
GTK_EDITABLE
(
entry
),
0
,
5
);
gtk_box_pack_start
(
GTK_BOX
(
hbox
),
entry
,
TRUE
,
TRUE
,
0
);
...
...
Write
Preview
Supports
Markdown
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