> I try to create a tabed window,
> with vertical tabas and horizontal text
> for a purchase process the user
> shall specify his/her needs by clicking down a tabed
> view. I try to create such a window using fluid
> but the tabs always show up north (top) or south (bottom)
> but never west (left) and east (right).
> Do I miss something?

No, I think what you see is consistent with the fltk tab design - you
get tabs above or below, but not to the side...

To get the tabs at the side, I think you might need to make your own...
Say you want the tabs down the left edge, I'd make a group with some
radio buttons in it, so only one can be selected at a time. Then in the
main area place several groups on top of each other - one associated
with each button.
On clicking a button, its callback shows it's associated group, and
hides all the others...


Hacky fluid file follows to try and show what I mean...

Side_tab.fl
----------------------------------
# data file for the Fltk User Interface Designer (fluid)
version 1.0109 
header_name {.h} 
code_name {.cxx}
Function {} {open
} {
  Fl_Window main_win {
    label {Side Tabs} open
    xywh {465 224 489 444} type Double visible
  } {
    Fl_Group tabs_grp {open
      xywh {5 40 70 90}
    } {
      Fl_Button tb1 {
        label {TAB 1}
        callback {tab2->hide();
tab3->hide();
tab1->show();}
        xywh {8 55 64 20} type Radio
      }
      Fl_Button tb2 {
        label {TAB 2}
        callback {tab1->hide();
tab3->hide();
tab2->show();}
        xywh {8 75 64 20} type Radio
      }
      Fl_Button tb3 {
        label {TAB 3}
        callback {tab1->hide();
tab2->hide();
tab3->show();} selected
        xywh {8 95 64 20} type Radio value 1
      }
    }
    Fl_Group tab1 {open
      xywh {80 20 310 370} box FLAT_BOX
    } {
      Fl_Button {} {
        label {This is TAB 1}
        xywh {140 125 160 70}
      }
    }
    Fl_Group tab2 {open
      xywh {80 20 310 370} box FLAT_BOX
    } {
      Fl_Button {} {
        label {This is TAB 2}
        xywh {130 100 165 110}
      }
    }
    Fl_Group tab3 {open
      xywh {80 20 310 370} box FLAT_BOX
    } {
      Fl_Button {} {
        label {This is TAB 3}
        xywh {155 115 165 120}
      }
    }
    Fl_Button {} {
      label exit
      callback {main_win->hide();}
      xywh {410 410 64 20}
    }
  }
} 
----------------------------------

SELEX Sensors and Airborne Systems Limited
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to