AW: [Insight-users] Tabs in fltk

Luis Ibanez luis . ibanez at kitware . com
Thu, 12 Jun 2003 10:34:14 -0400


Hi Zein,

If you want your tabs to be opaque so that they
cover the other tab-groups when they are selected,
you will have to make sure that your groups in the
tab are using BOX and not FRAMES.  Frames only define
the border and let the inside transparent.  Boxes,
on the other hand are opaque.

Check the properties of the groups in your tab
and make sure they are using some sort of BOX.


Regards,


    Luis


---------------
salah wrote:
> Thanks Luis,
> 
> I did not find any tabs in the RegionGrowingSegmentation!
> But I have made the Tabs. Your last sentence 
> "You will have to create an FLTK Tab, and then put FLTK
> groups inside it. Each group will appear as one of
> the options in the tab."
> was quite enough.
> I believe you are right person to write documentations for
> toolkits! really!
> 
> However, one of my groups (one option in tag) has a viewer
> that inherits GLSliceView. The problem is that when I select 
> this option/Group the viewer is shown just as I wish. But when
> I choose any other tab-option, the window of this viewer
> remains on top of the newly selected groups. I assumed It must
> be automaticaly hided when its mother group is covered with
> a new one, my assumption was not right! 
> 
> Is there someway to go around this problem?? It would be 
> impractical if I must take care of this myself!
> 
> 
> Thanks,
> Zein
> 
> -----Ursprüngliche Nachricht-----
> Von: Luis Ibanez [mailto:luis . ibanez at kitware . com]
> Gesendet: Mittwoch, 11. Juni 2003 21:45
> An: salah
> Cc: ITK Users (E-Mail)
> Betreff: Re: [Insight-users] Tabs in fltk
> 
> 
> 
> Hi Zein,
> 
> Please take a look at the RegionGrowingSegmentation
> application in
> 
>     InsightApplications/RegionGrowingSegmentation
> 
> http://www . itk . org/cgi-bin/cvsweb . cgi/InsightApplications/RegionGrowingSegmentation/?cvsroot=Insight
> 
> FLTK tabs are used there to select among the multiple
> possibilities for edge-preserving smoothing filters.
> (this is done in the 3D version, not in the 2D one).
> 
> You will have to create an FLTK Tab, and then put FLTK
> groups inside it. Each group will appear as one of
> the options in the tab.
> 
> 
> Regards,
> 
> 
>    Luis
> 
> 
> ---------------------
> salah wrote:
> 
>>Hello all,
>>
>>I am trying to make a tabed window UI with fltk.
>>Unfortunately, I could not understand the documentation
>>of tabs Fl_Tabs in fltk. 
>>Does any body  have little code of .fl for this purpose?
>>Thanks
>>Zein
>>
>>_______________________________________________
>>Insight-users mailing list
>>Insight-users at www . itk . org
>>http://www . itk . org/mailman/listinfo/insight-users
>>
> 
> 
> 
> 
>