Re: statusbar components don't remain attached to the left corner of the window



Hey,
 
Thank you for your suggestion, it was a good idea, i managed to insert a frame that contains the label used to display the system clock, on the right side, and, on the left side, I do push/pop of the informations i need.
 
Thank tou for your ideea. It worked with the Gtk::Frame.
 
Anca
 


Claudio Polegato Junior <cpolegatojr_lsts pop com br> wrote:
Anca Mitrica escreveu:

> statusBar->pack_start(*leftalign,Gtk::PACK_EXPAND_WIDGET);
> statusBar->pack_start(*rightalign,Gtk::PACK_EXPAND_WIDGET);

Hi,

You do a crazy thing! In statusbar you just can pop or push a string.
What you want is not it.
On gtk-app-list I post it, maybe help you:
------------------------------------------------------------------------------------------------------------------------------------------------------------
Colossus escreveu:

> Claudio Polegato Junior wrote:
>
>> If you open de Glade, new window, add a vbox with 2 parts, on
>> superior part add a textview widget and on inferior part add a hbox
>> with 3 parts. On this hbox, add one viewport, click the right button
>> on this viewport, viewport1, select, CTRL+X, click with the left
>> mouse button on scrollbars and then DEL. Click on each part of the
>> hbox and CTRL+V. Now you have something like Firefox style. The
>> viewport add the shadow efect/property. On one of this viewports, you
>> can insert/add a progressbar.
>
> Thank you, Claudio, really many many thanks ! It's exactly what I was
> looking for !


Looking for in the sources, I fou nd that instead of a viewport it is
used a frame. This frame has no label, maybe functions better or
overloads little, but the final efect is the same.
------------------------------------------------------------------------------------------------------------------------------------------------------------

--

[]'s

Claudio Polegato Junior

Um peregrino de Problemas; Um pergaminho de Soluções.




Anca Mitrica


Yahoo! FareChase - Search multiple travel sites in one click.

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