Re: 'wrap'=>1 for Gtk2::CheckButton



thanks a lot, it is exactly what i was looking for!

$checkbutton->get_child->set_property('wrap'=>1, .......);


On Thursday 28 July 2005 17:54, A. Pagaltzis wrote:
* andrea bravetti freeinternet it <andrea bravetti freeinternet it> 
[2005-07-28 16:35]:
What i mean is: exists a way to change the wrap property on an
existing CheckButton with an existing Label?

    $ckbtn->get_child->set_line_wrap( TRUE );

Most widgets which have ->new_with_label() or the like inherit
from GtkBin, a container for a single child. This approach works
for all of them.

Regards,



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