model_server/ui_viewer/src/miniBrowser.h.cxx
// Unmanages list from form.  list == 0 - top list list != 0 bottom list
// Create new form for elememt placing and return it
Unmanages list from form.  list == 0 - top list list != 0 bottom list
Create new form for elememt placing and return it
Unmanages list from form . list == 0 - top list list ! = 0 bottom list Create new form for elememt placing and return it
gtForm *miniBrowser::unmanage_list(int list)
{
    gtForm *list_form;
    if(list == 0){
	list1->unmanage();
	list1->detach(gtTop);
	list1->detach(gtBottom);
	list1->detach(gtLeft);
	list1->detach(gtRight);
	unmanaged_list = list1;
	list_form      = list1Form;
    } else {
	list2->unmanage();
	list2->detach(gtTop);
	list2->detach(gtBottom);
	list2->detach(gtLeft);
	list2->detach(gtRight);
	unmanaged_list = list2;
	list_form      = list2Form;
    }
    new_form = gtForm::create(list_form, "temp_form");
    new_form->attach(gtTop);
    new_form->attach(gtLeft);
    new_form->attach(gtRight);
    new_form->attach(gtBottom);
    new_form->manage();
    return new_form;
}
gtForm * miniBrowser :: unmanage_list ( int list ) { gtForm * list_form ; if ( list == 0 ) { list1 -> unmanage ( ) ; list1 -> detach ( gtTop ) ; list1 -> detach ( gtBottom ) ; list1 -> detach ( gtLeft ) ; list1 -> detach ( gtRight ) ; unmanaged_list = list1 ; list_form = list1Form ; } else { list2 -> unmanage ( ) ; list2 -> detach ( gtTop ) ; list2 -> detach ( gtBottom ) ; list2 -> detach ( gtLeft ) ; list2 -> detach ( gtRight ) ; unmanaged_list = list2 ; list_form = list2Form ; } new_form = gtForm :: create ( list_form , " " ) ; new_form -> attach ( gtTop ) ; new_form -> attach ( gtLeft ) ; new_form -> attach ( gtRight ) ; new_form -> attach ( gtBottom ) ; new_form -> manage ( ) ; return new_form ; }
Unmanages list from form.
Unmanages list from form .