Skip to main content
GameDev.net gamedev.net
🔒 Locked

Gtk question

Started by Muzzafarath Aug 16, 2001 at 3:29 PM 0 replies 600+ views
Original Post
Muzzafarath
Muzzafarath
Okay, I have 2 tables (left_table and right_table). I want them both to be visible in the same window, at the same time. Is this possible? If so, how? Right now, if I try to add and show both tables, only left_table shows (probably because I add it first). Here is the relevant code (it's in perl, but it should be almost the same in C):
# We want the right table to be on the, uh, right of the left table
# so we change its x coord a bit...

$right_table->set_uposition(290, 15);

$window->add($left_table);
$window->add($right_table);

$left_table->show();
$right_table->show();
 
This is driving me crazy If it matters, the tables are of differing sizes... Edited by - Muzzafarath on August 16, 2001 4:31:45 PM
I'm reminded of the day my daughter came in, looked over my shoulder at some Perl 4 code, and said, "What is that, swearing?" - Larry Wall

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.