Re: Single or Multiple Windows?
- From: Harring Figueiredo <harringf yahoo com>
- To: James Wesolowski <james_wesolowski yahoo com>, gtk-app-devel-list gnome org
- Subject: Re: Single or Multiple Windows?
- Date: Fri, 2 May 2003 15:16:11 -0700 (PDT)
Hi James...
The best approach is:
You can have you application main menu in you layout .. and a GtkNotebook for
all other 'windows'. GtkNotebook has an API to hide the tab/page.
So basically, you would have an index for each 'window' that would represent
each user selection.
I hope you get the gist.
Harring.
--- James Wesolowski <james_wesolowski yahoo com> wrote:
Hello,I am new to developing for GTK+ and I have a simple question. I have
looked around but have not found the answer to this question; it was probably
assumed the answer was obvious. I am writing an application which needs only
one window, but the contents of that window need to change. This is a simple
POS application and the buttons need to change depending on the user
selections. The question is this: do I create one window and multiple sets of
layouts, or do I create a different window for each layout. I have been
using Glade for the interface design, but I don't see any way to have
multiple containers occupying the same space in the window (though they won't
be displayed at the same time). Can I do this under Glade or will I need to
hand-code it? I don't see why a new window would need to be created for
every screen when all I have to do is change the contents in the window. Any
thoughts would be appreciated. Thank you! James
Wesolowski<james_wesolowski yahoo com>
---------------------------------
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]