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

* 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.

*AUTOLOAD=*_=sub{s/(.*)::(.*)/print$2,(",$\/"," ")[defined wantarray]/e;$1};

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