[gtk+/treeview-refactor] Added orientation control to testcellarea's focus/editing test



commit 47d55c4a4bda941f7c0b31a75c2e18a938fe22ab
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date:   Fri Nov 12 19:44:45 2010 +0900

    Added orientation control to testcellarea's focus/editing test

 tests/testcellarea.c |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/tests/testcellarea.c b/tests/testcellarea.c
index c6db6ae..c9e478e 100644
--- a/tests/testcellarea.c
+++ b/tests/testcellarea.c
@@ -411,6 +411,16 @@ focus_cell_area (void)
   gtk_widget_show (vbox);
   gtk_box_pack_end (GTK_BOX (hbox), vbox, FALSE, FALSE, 0);
 
+  widget = gtk_combo_box_text_new ();
+  gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (widget), "Horizontal");
+  gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (widget), "Vertical");
+  gtk_combo_box_set_active (GTK_COMBO_BOX (widget), 0);
+  gtk_widget_show (widget);
+  gtk_box_pack_start (GTK_BOX (vbox), widget, FALSE, FALSE, 0);
+
+  g_signal_connect (G_OBJECT (widget), "changed",
+                    G_CALLBACK (orientation_changed), scaffold);
+
   widget = gtk_check_button_new_with_label ("Focus Sibling");
   gtk_widget_show (widget);
   gtk_box_pack_start (GTK_BOX (vbox), widget, FALSE, FALSE, 0);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]