Lines Matching refs:child2
54 GtkWidget* child2 = gtk_fixed_new();
58 gtk_container_add(GTK_CONTAINER(expanded_), child2);
59 ASSERT_TRUE(FindChild(child2));
64 ASSERT_TRUE(FindChild(child2));
66 gtk_container_remove(GTK_CONTAINER(expanded_), child2);
67 ASSERT_FALSE(FindChild(child2));
72 GtkWidget* child2 = gtk_fixed_new();
75 child2, 10, 20);
86 EXPECT_EQ(10, child2->allocation.x);
87 EXPECT_EQ(20, child2->allocation.y);
88 EXPECT_EQ(50, child2->allocation.width);
89 EXPECT_EQ(100, child2->allocation.height);
97 EXPECT_EQ(20, child2->allocation.x);
98 EXPECT_EQ(40, child2->allocation.y);