Project

General

Profile

Actions

Support #1599

closed

more than onr WTreeTable in WStackedWidget

Added by Marek Szumlas almost 12 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
12/10/2012
Due date:
% Done:

0%

Estimated time:

Description

it would seem logical to be able to have 2 or more WTreeTables inside a WStackedWidget

is this not allowed ?

i get a segmentation fault on this loop -

Wt::WStackedWidget *sw = new Wt::WStackedWidget();

vector< Wt::WTreeTable* > tt;

for( int i=0; i<3; i ) tt.push_back( new Wt::WTreeTable( sw ));

if this is not allowed - could i put the WTreeTables inside a WTabWidget - one table per tab of course ?

greetings

Marek

Actions #1

Updated by Marek Szumlas almost 12 years ago

sorry - both 'sw' and 'tt' are pointers of course

i thought i made a mistake but the editor threw out the "asteriscs" and the "less than" sign

Actions #2

Updated by Wim Dumon almost 12 years ago

Marek,

Of course it is allowed to put multiple WTreeTables in a WStackedWidget. I have no idea why you get a segmentation fault - can you tell something more about it? A backtrace, or valgrind, or ... ?

BR,

Wim.

Actions #3

Updated by Wim Dumon almost 12 years ago

Based on your source code, this seems to be a bug in Wt - I will file a bug report

Actions #4

Updated by Koen Deforche almost 12 years ago

  • Status changed from New to Resolved
  • Assignee set to Koen Deforche
Actions #5

Updated by Koen Deforche almost 12 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF