Re: Need help with window-state-event



On Sun, 2011-11-20 at 11:55 +0100, Bernhard Schuster wrote:
Screw it, replace the "|" with an "&". Sorry screwed this up.

Regards

This is working fine. But i still can't solve the problem i have.

I have a gtkimage inside an eventbox. the eventbox inside a gtklayout
and finally the gtklayout inside a scrolledwindow. When the toplevel
window is maximized, i requested for allocated size of the gtkimage,
eventbox, gtklayout and scrolledwindow. the allocated sizes were the
same as when the window was unmaximized. When the window is maximized,
shouldn't the sizes of the childwidgets expand?

gtk_box_pack_start(GTK_BOX(vbox), scrolledwindow, TRUE, TRUE, 0); 

This is how the scrolledwindow is packed into the main window.






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