[Glade-devel] Re: [glade3] notebook tab label

Shane Butler shane_b@users.sourceforge.net
Sun, 16 Jan 2005 10:02:22 +1100


--=-lStAtCAk42GP9riRdwNl
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Hi,

If you need an immediate solution just use glade 2.x series. I was
working on fixing the problem but I stopped after realising I would have
to use the LIBGLADE_INTEGRATION branch. If you want to look into it,
checkout the LIBGLADE_INTEGRATION branch and see how you go.

Cheers, Shane

On Sun, 2005-01-16 at 01:28 +0700, pclouds wrote:

> Noone answered. I tried myself :) I can make the notebook  behave just
> like one in glade-2 and save in glade-2 format. But i can't make it
> read glade-2 format properly. When it rebuilds the widget tree, it
> creates (and attachs) all widget first, applies packing properties
> later. So when packing properties are applied, all tab pages and tab
> labels are created as tab pages (GladeSupportedChild::add doesn't know
> anything about packing properties). Any ideas to solve this?
> 
> 
> On Sat, 15 Jan 2005 15:24:27 +0700, pclouds <pclouds@gmail.com> wrote:
> > Hi,
> > glade3 uses property tab-label to set notebook tab labels. Older glade
> > files use a <child> node with pack option 'tab'. The result is opening
> > old .glade files with glade3 produces double tabs and tabs don't have
> > correct label. Is anyone working on this or is there anyway to convert
> > old glade files to be able to use with glade3?
> > --
> > Bi Cờ Lao
> > 
> 
> 

--=-lStAtCAk42GP9riRdwNl
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.3.2">
</HEAD>
<BODY>
Hi,<BR>
<BR>
If you need an immediate solution just use glade 2.x series. I was working on fixing the problem but I stopped after realising I would have to use the LIBGLADE_INTEGRATION branch. If you want to look into it, checkout the LIBGLADE_INTEGRATION branch and see how you go.<BR>
<BR>
Cheers, Shane<BR>
<BR>
On Sun, 2005-01-16 at 01:28 +0700, pclouds wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">Noone answered. I tried myself :) I can make the notebook  behave just</FONT>
<FONT COLOR="#000000">like one in glade-2 and save in glade-2 format. But i can't make it</FONT>
<FONT COLOR="#000000">read glade-2 format properly. When it rebuilds the widget tree, it</FONT>
<FONT COLOR="#000000">creates (and attachs) all widget first, applies packing properties</FONT>
<FONT COLOR="#000000">later. So when packing properties are applied, all tab pages and tab</FONT>
<FONT COLOR="#000000">labels are created as tab pages (GladeSupportedChild::add doesn't know</FONT>
<FONT COLOR="#000000">anything about packing properties). Any ideas to solve this?</FONT>


<FONT COLOR="#000000">On Sat, 15 Jan 2005 15:24:27 +0700, pclouds &lt;<A HREF="mailto:pclouds@gmail.com">pclouds@gmail.com</A>&gt; wrote:</FONT>
<FONT COLOR="#000000">&gt; Hi,</FONT>
<FONT COLOR="#000000">&gt; glade3 uses property tab-label to set notebook tab labels. Older glade</FONT>
<FONT COLOR="#000000">&gt; files use a &lt;child&gt; node with pack option 'tab'. The result is opening</FONT>
<FONT COLOR="#000000">&gt; old .glade files with glade3 produces double tabs and tabs don't have</FONT>
<FONT COLOR="#000000">&gt; correct label. Is anyone working on this or is there anyway to convert</FONT>
<FONT COLOR="#000000">&gt; old glade files to be able to use with glade3?</FONT>
<FONT COLOR="#000000">&gt; --</FONT>
<FONT COLOR="#000000">&gt; Bi C&#7901; Lao</FONT>
<FONT COLOR="#000000">&gt; </FONT>


</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>

--=-lStAtCAk42GP9riRdwNl--