[Glade-users] The composition of different Glade files



Hi,

Thanks for the help. When I select a VBox with left click, and then right  
click in the inspector, all that happens
is the inspector turning blue. Could this be a problem with Glade 3.4.5,  
or am I doing it wrongly?

On Tue, 15 Sep 2009 19:40:01 +0100, Tristan Van Berkom  
<tristan.van.berkom at gmail.com> wrote:

On Tue, Sep 15, 2009 at 2:27 PM, Justin Paston-Cooper
<paston.cooper at googlemail.com> wrote:
Hi,
Could you please tell me how to do this? I haven't been able to figure  
out
how to make an interface with a top-level
other than one in the "Toplevels" section.

Oh sorry I didnt specify that, you can either:
  - Right click on the widget class item in the palette directly
  - With a widget class selected, right click into the inspector

Cheers,
       -Tristan


On Tue, 15 Sep 2009 18:35:20 +0100, Tristan Van Berkom
<tristan.van.berkom at gmail.com> wrote:

On Tue, Sep 15, 2009 at 6:59 AM, Justin Paston-Cooper
<paston.cooper at googlemail.com> wrote:
Hello,

Could anyone give me advice on how to create separate Glade files  
which
can be incorporated into each other?
My example is that I want to build a simple client for an IRC-like
protocol where I have a Notebook with tabs
for each channel, and an input and text display in each open channel.  
I
would like to separately design the outer part
with its Notebook, and the inner part with the input and text display.
How
should I go about this?

Pretty simple.

Glade will let you define an interface without a toplevel window, so
you can define a hierarchy with a toplevel alignment or a toplevel
GtkVBox for instance.

Then using GtkBuilder, you create your main interface which contains
an empty notebook, and use GtkBuilder to build the inner area
of the notebook page on the fly for every page.

Note you will probably want to use separate files for the main
interface and the notebook page as it may be easier to work
with GtkBuilder that way.

Cheers,
       -Tristan

_______________________________________________
Glade-users maillist  -  Glade-users at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/glade-users






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]