[Gtk-sharp-list] MDI Solution?

Chris Seaton chris at chrisseaton.com
Sun Dec 10 10:53:49 EST 2006


Yeah, but remember that there is no explicit tab class, you just  
create a widget of any sort and add that to the notebook, which  
creates a tab to hold the widget. You can add and remove the widget  
to add and remove the tab.

Your tab widget will probably be a layout widget, into which you put  
other widgets.

On 10 Dec 2006, at 15:33, Carlos Adriano Portes wrote:

> Let me see if I got it, I create a class that is a tab then I add and
> remove it as needed?
>
> 2006/12/10, Chris Seaton <chris at chrisseaton.com>:
>> You can remove the tabs and then add them again.
>>
>> Chris
>>
>> On 10 Dec 2006, at 14:49, Carlos Adriano Portes wrote:
>>
>> > Is there a way of make the tabs invisible? if so how?
>> >
>> > Thanks for reply!
>> >
>> > 2006/12/10, Chris Seaton <chris at chrisseaton.com>:
>> >> Yeah, that's easily done.
>> >>
>> >> In your main window have a notebook control.
>> >>
>> >> For each tab create a widget such as a table and pack all your
>> >> controls for that tab into it.
>> >>
>> >> Then just add each of those widgets into the notebook.
>> >>
>> >> Chris
>> >>
>> >> On 10 Dec 2006, at 13:26, Carlos Adriano Portes wrote:
>> >>
>> >> > Hi friends!
>> >> >
>> >> > I would like to know how I can develop an application that'd use
>> >> lots
>> >> > of mdi (in this case tabs) but it is not a text-like application
>> >> where
>> >> > every tab is an instance, but rather they are different as it  
>> is a
>> >> > database application, for instance:
>> >> > A tab for the customers, another one for bills etc...
>> >> > _______________________________________________
>> >> > Gtk-sharp-list maillist  -  Gtk-sharp-list at lists.ximian.com
>> >> > http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
>> >>
>> >>
>>
>>



More information about the Gtk-sharp-list mailing list