How to remove a button from the assistant:

It took me a while - but I figured it out.

I wanted to remove the 'Last' button from a Gtk2::Assistant - and couldn't 
figure out how to get access to the buttons. I found this

http://old.nabble.com/Gtk2%3A%3AAssistant%3A-Access-to-Buttons-td11415772.html#a11415772

The accessors were added - http://cpansearch.perl.org/src/TSCH/Gtk2-1.180/NEWS

But never documented - 
http://gtk2-perl.sourceforge.net/doc/pod/Gtk2/Assistant.html

Is there someplace else I should be looking?



The accessors are   get_*button-name*_button

So:

$assistant->get_next_button
$assistant->get_last_button
$assistant->get_previous_button
$assistant->get_close_button
...


Hope this helps.

-Jeff
_______________________________________________
gtk-perl-list mailing list
gtk-perl-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list

Reply via email to