[gtk+/wip/baseline2] testbaseline: Test spinbuttons
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baseline2] testbaseline: Test spinbuttons
- Date: Fri, 22 Mar 2013 16:01:54 +0000 (UTC)
commit dcacd416415207f2dc9d2017cfc10c8ba9cebfbe
Author: Alexander Larsson <alexl redhat com>
Date: Fri Mar 22 11:32:29 2013 +0100
testbaseline: Test spinbuttons
tests/testbaseline.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/tests/testbaseline.c b/tests/testbaseline.c
index b540c52..2313447 100644
--- a/tests/testbaseline.c
+++ b/tests/testbaseline.c
@@ -97,6 +97,10 @@ main (int argc,
gtk_container_add (GTK_CONTAINER (hbox), entry);
}
+ spin = gtk_spin_button_new (NULL, 0, 1);
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (spin), GTK_ORIENTATION_VERTICAL);
+ gtk_widget_set_valign (spin, aligns[j]);
+ gtk_container_add (GTK_CONTAINER (hbox), spin);
}
for (j = 0; j < 2; j++)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]