Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

gtk2::builder(3) [suse man page]

Gtk2::Builder(3)					User Contributed Perl Documentation					  Gtk2::Builder(3)

NAME
Gtk2::Builder HIERARCHY
Glib::Object +----Gtk2::Builder METHODS
builder = Gtk2::Builder->new integer = $builder->add_from_file ($filename) o $filename (localized file name) May croak with a Glib::Error in $@ on failure. integer = $builder->add_from_string ($buffer) o $buffer (string) May croak with a Glib::Error in $@ on failure. integer = $builder->add_objects_from_string ($buffer, $first_object_id, ...) o $buffer (string) o $first_object_id (string) o ... (list) Since: gtk+ 2.14 $builder->connect_signals ($user_data) $builder->connect_signals ($user_data, $package) $builder->connect_signals ($user_data, %handlers) There are four ways to let Gtk2::Builder do the signal connecting work for you: "$builder->connect_signals ($user_data)" When invoked like this, Gtk2::Builder will connect signals to functions in the calling package. The callback names are specified in the UI description. "$builder->connect_signals ($user_data, $package)" When invoked like this, Gtk2::Builder will connect signals to functions in the package $package. "$builder->connect_signals ($user_data, $object)" When invoked like this, Gtk2::Builder will connect signals to method calls against the object $object. "$builder->connect_signals ($user_data, %handlers)" When invoked like this, %handlers is used as a mapping from handler names to code references. $builder->connect_signals_full ($func, $user_data=undef) o $func (scalar) o $user_data (scalar) object = $builder->get_object ($name) o $name (string) list = $builder->get_objects string or undef = $builder->get_translation_domain $builder->set_translation_domain ($domain) o $domain (string or undef) PROPERTIES
'translation-domain' (string : readable / writable / private) The translation domain used by gettext SEE ALSO
Gtk2, Glib::Object COPYRIGHT
Copyright (C) 2003-2008 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice. perl v5.12.1 2010-07-05 Gtk2::Builder(3)

Check Out this Related Man Page

Gtk2::RadioMenuItem(3)					User Contributed Perl Documentation				    Gtk2::RadioMenuItem(3)

NAME
Gtk2::RadioMenuItem HIERARCHY
Glib::Object +----Glib::InitiallyUnowned +----Gtk2::Object +----Gtk2::Widget +----Gtk2::Container +----Gtk2::Bin +----Gtk2::Item +----Gtk2::MenuItem +----Gtk2::CheckMenuItem +----Gtk2::RadioMenuItem INTERFACES
Glib::Object::_Unregistered::AtkImplementorIface Gtk2::Buildable Glib::Object::_Unregistered::GtkActivatable METHODS
widget = Gtk2::RadioMenuItem->new ($member_or_listref=undef, $label=undef) o $member_or_listref (scalar) o $label (string) widget = Gtk2::RadioMenuItem->new_from_widget ($group, $label=undef) o $group (Gtk2::RadioMenuItem) o $label (string) Since: gtk+ 2.4 widget = Gtk2::RadioMenuItem->new_with_label ($member_or_listref=undef, $label=undef) o $member_or_listref (scalar) o $label (string) widget = Gtk2::RadioMenuItem->new_with_label_from_widget ($group, $label=undef) o $group (Gtk2::RadioMenuItem) o $label (string) Since: gtk+ 2.4 widget = Gtk2::RadioMenuItem->new_with_mnemonic ($member_or_listref=undef, $label=undef) o $member_or_listref (scalar) o $label (string) widget = Gtk2::RadioMenuItem->new_with_mnemonic_from_widget ($group, $label=undef) o $group (Gtk2::RadioMenuItem) o $label (string) Since: gtk+ 2.4 list = $radio_menu_item->get_group Returns a list of Gtk2::RadioMenuItems, the group. $radio_menu_item->set_group ($member_or_listref) o $member_or_listref (scalar) PROPERTIES
'group' (Gtk2::RadioMenuItem : writable / private) The radio menu item whose group this widget belongs to. SIGNALS
group-changed (Gtk2::RadioMenuItem) SEE ALSO
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Bin, Gtk2::Item, Gtk2::MenuItem, Gtk2::CheckMenuItem COPYRIGHT
Copyright (C) 2003-2008 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice. perl v5.12.1 2010-07-05 Gtk2::RadioMenuItem(3)
Man Page