Table, Boxes and Coordinates



    0                    1                      2
0 +-----------------+------------------+
    |(0,1)            | (1,2)              |
    |(0,1)            | (1,2)              |
1 +----------------+-------------------+
    | (0,1)           |  (1,2)             |
    | (1,2)           |  (1,2)             |
2 +-----------------+------------------+
    |(0,1)            | (1,2)              |
    |(2,3)            | (2,3)              |
3 +----------------+-------------------+

Following the above reasoning, I have plotted the the above coordinates in to a table to display in the middle right box a Gtk::Lable object, like so: 
    ......
// Middle Left
    tblTable->attach(*lblWidgetLabelLeft,   0,1,1,2,Gtk::EXPAND,Gtk::EXPAND,0,0);
    vbBase->pack_start(*tblTable);

// Middle right
    tblTable->attach(*lblWidgetLableRight, 1,2,1,2,Gtk::EXPAND,Gtk::EXPAND,0,0);
    vbBase->pack_start(*tblTable);

    ......

If this is correct, a value should appear next to the word Double, as the word Int has, see the attached file.
What am I doing wrong?

TIA

Attachment: Testing 64bit Variables.png
Description: PNG image



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