I do this doing boxes. You can set the contents "Fill" and "Expand" properties. Create a 2 element Box, set one element to "expand=yes" and the widget you want at the bottom to "expand=no".

In this way, the other widget (blank label for empty space, or whatever) will fill the remaining space in the window / container, and your widget won't be resized.

-Harry


On , jody <[email protected]> wrote:
Hi

Thank you for your suggestion.

Unfortunately it did not work, and there were many runtime (error?)

messages of the form



(IQApp:20626): Gtk-CRITICAL **: IA__gtk_widget_get_mapped: assertion

`GTK_IS_WIDGET (widget)' failed



Jody



On Thu, Jul 5, 2012 at 2:32 PM, Yann Leydier [email protected]> wrote:

> Hi,

>

> if the alignments do not work (I don't use them, so I don't know if they

> should), perhaps, you'll need to pack an Invisible atop of your widget :

> http://developer.gnome.org/gtkmm/2.24/classGtk_1_1Invisible.html

>

> yann

>

>

> On 04/07/12 18:10, jody wrote:

>>

>> Hi

>>

>> When i place a widget in a Frame which has a fixed width and i change

>> my window's size,

>> the widget always is positioned in the center of the frame.

>> Is there a way to place a widget in a Frame so that it always

>> "sticks" to the bottom?

>> Perhaps with a different container?

>> (I also tried to place the widget inside an Gtk::Alignment which i

>> called with m_Alignment(Gtk::ALIGN_START, Gtk::ALIGN_END)

>> hoping the "ALIGN_END" would do the trick...)

>>

>> Thank You

>> Jody

>> _______________________________________________

>> gtkmm-list mailing list

>> [email protected]

>> https://mail.gnome.org/mailman/listinfo/gtkmm-list

>>

>

> _______________________________________________

> gtkmm-list mailing list

> [email protected]

> https://mail.gnome.org/mailman/listinfo/gtkmm-list

_______________________________________________

gtkmm-list mailing list

[email protected]

https://mail.gnome.org/mailman/listinfo/gtkmm-list


_______________________________________________
gtkmm-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to