Re: Pixmaps and Buttons

From: Date: Wed, 30 Aug 2006 18:45:39 +0000
Subject: Re: Pixmaps and Buttons
References: 1 2  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-7151@lists.php.net to get a copy of this message
Okay, I seem to have found out where the pixmap is going, but now I have another problem. It turns out that the pixmap was being added to the button, but the internal packing of the widget ends up putting the actual pixmap in the "middle" of the button area. The button mask was in the upper left corner, making it appear as if the widget wasn't there. Let's try a goofy ASCII diagram: ___________________ |::::::::: | | | | | | pixmap! | | | | | | | |__________________| where the :'s are the viewable area in my window. If I resize the main application window, I get my desired effect: __________ |:pixmap!:| ----------- Unfortunately, my application is designed around a 1024x768 resolution, and I have buttons in the lower right corner. Do you have any suggestions on how to "fit" a pixmap into this space? set_usize and set_uposition seem to do nothing. Is there a way to remove the internal padding/resizing of a widget and/or its children? Andrew

« previous php.gtk.general (#7151) next »