Re: question about label adjustment
| From: | jack | Date: | Tue, 25 Nov 2003 01:11:28 +0000 |
| Subject: | Re: question about label adjustment | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-4230@lists.php.net to get a copy of this message | ||
So, that means both of
$label->set_line_wrap(true);
$label->set_justify(GTK_JUSTIFY_LEFT);
do not work at all. Use set_alignment() instead.
And the OnClicked is changed as following:
function onClicked(){
global $label, $list;
$o1=$list->selection[0];
$o2=$o1->child;
$label->set_text($o2->get());
}
It works now!
Thanks a lot.
Jack