Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

gnome2::gconf::schema(3pm) [debian man page]

Gnome2::GConf::Schema(3pm)				User Contributed Perl Documentation				Gnome2::GConf::Schema(3pm)

NAME
Gnome2::GConf::Schema - Schema Objects for key description SYNOPSIS
$client->set_schema($key, { owner => 'some_program', short_desc => 'Some key.', long_desc => 'A key that does something to some_program.', locale => 'C', type => 'int', default_value => { type => 'int', value => 42 } }); $description{'short'} = $client->get_schema($key)->{short_desc}; DESCRIPTION
In C, "GConfSchema" is an opaque type for a "schema", that is a collection of useful information about a key/value pair. It may contain a description of the key, a default value, the program which owns the key, etc. In perl, it is represented using an hashref containing any of these keys: type The type of the value the key points to. It's similar to the corresponding 'type' key of "GConfValue", but it explicitly tags lists and pairs using the 'list' and 'pair' types (the 'type' key is just an indication of what should be expected inside the "default_value" field). default_value The default value of the key. In C, this should be a "GConfValue", so, in perl, it becomes an hashref (see Gnome2::GConf::Value) short_desc A string containing a short description (a phrase, no more) of the key. long_desc A string containing a longer description (a paragraph or more) of the key. owner A string containing the name of the program which uses ('owns') the key to which the schema is bound. locale The locale for the three strings above (above strings are UTF-8, and the locale is needed for translations purposes). SEE ALSO
Gnome2::GConf(3pm), Gnome2::GConf::Value(3pm). SEE ALSO
Gnome2::GConf COPYRIGHT
Copyright (C) 2003-2006 by the gtk2-perl team. This software is licensed under the LGPL. See Gnome2::GConf for a full notice. perl v5.14.2 2011-11-17 Gnome2::GConf::Schema(3pm)

Check Out this Related Man Page

Gnome2::AppHelper(3pm)					User Contributed Perl Documentation				    Gnome2::AppHelper(3pm)

NAME
Gnome2::AppHelper GnomeUIInfo In Gnome2 GnomeUIInfo's are often used as a convenient way to create GUI's. In Perl, GnomeUIInfo's are always references to arrays of items. Items can either be references to hashs or references to arrays: Hash Reference When using hash references, items are specified by giving key-value pairs. A typical example: { type => "item", label => "Quit", callback => sub { exit(0); } } For the list of valid keys, see below. Array References When using array references, items are a list of the following keys, in this order: type, label, hint, moreinfo, pixmap_type, pixmap_info, accelerator_key and modifiers. The example from above would become: [ "item", "Item", undef, sub { exit(0); }, undef, undef, undef, undef ] To create multi-level structures, you use the "subtree" type and the "subtree" key, as in the following example: { type => "subtree", label => "Radio Items", subtree => [ { type => "radioitems", moreinfo => [ { type => "item", label => "A" }, { type => "item", label => "B" }, { type => "item", label => "C" }, { type => "item", label => "D" }, { type => "item", label => "E" } ] } ] } METHODS
Gnome2->accelerators_sync $menu_shell->fill_menu ($uiinfo, $accel_group, $uline_accels, $pos) o $uiinfo (Gnome2::UIInfo) o $accel_group (Gtk2::AccelGroup) o $uline_accels (boolean) o $pos (integer) $toolbar->fill_toolbar ($uiinfo, $accel_group) o $uiinfo (Gnome2::UIInfo) o $accel_group (Gtk2::AccelGroup) list = $parent->find_menu_pos ($path) o $path (string) Returns the GtkWidget and the position associated with the path. $bar->install_menu_hints ($uiinfo) o $uiinfo (Gnome2::UIInfo) SEE ALSO
Gnome2 COPYRIGHT
Copyright (C) 2003-2004 by the gtk2-perl team. This software is licensed under the LGPL. See Gnome2 for a full notice. perl v5.14.2 2011-11-16 Gnome2::AppHelper(3pm)
Man Page