Glade-Perl
view release on metacpan or search on metacpan
Documentation/README view on Meta::CPAN
Unicode::String 2.04 CPAN (optionally used for I18N)
ACKNOWLEDGEMENTS
----------------
Doesn't the world seem a richer place with the beautiful contributions of
these creative people? I have only mentioned the most obvious names and I
apologise to those who I have missed out.
Glade Damon Chaplin <damon at ximian.com> Main author
Martijn van Beers <martijn at earthling.net> Part of the source code
output, some popup menu functions, and the widget tree view.
GTK Copyright - Peter Mattis, Spencer Kimball and Josh MacDonald
gnome-libs Too many to list, check the AUTHORS file in the dist
Gtk-Perl Kenneth Albanowski <kjahds at kjahds.com> and
Paolo Molaro <lupus at ximian.com>
Perl Larry Wall <larry at wall.org>, with the help of oodles of other folks
XML::Parser Larry Wall <larry at wall.org> wrote version 1.0.
Clark Cooper <coopercl at sch.ge.com> picked up support, changed the
API for this version (2.x), provided documentation, and added
some standard package features.
Example/Bus/Project.glade view on Meta::CPAN
<widget>
<class>GtkNotebook</class>
<name>notebook1</name>
<can_focus>True</can_focus>
<show_tabs>True</show_tabs>
<show_border>True</show_border>
<tab_pos>GTK_POS_TOP</tab_pos>
<scrollable>True</scrollable>
<tab_hborder>2</tab_hborder>
<tab_vborder>2</tab_vborder>
<popup_enable>False</popup_enable>
<widget>
<class>GtkHBox</class>
<name>hbox1</name>
<homogeneous>False</homogeneous>
<spacing>0</spacing>
<widget>
<class>GtkVBox</class>
<name>vbox9</name>
Glade/PerlUI.pm view on Meta::CPAN
# die "\nerror F$me $indent- This is a $child_type type Window".
# " - what should I do?";
# }
$postpone_show = 1;
} else {
# We probably have a parent to pack into somehow
eval "\$refpar = (ref ${current_form}\{'$parentname'})||'UNDEFINED !!';";
unless (eval "exists ${current_form}\{'$parentname'}") {
if ($Glade_Perl->source->quick_gen or 'Gtk::Menu' eq $refwid) {
# We are a popup menu so we don't have a root window
# $class->add_to_UI( $depth, "${first_form}->popup_enable;" );
$class->add_to_UI($depth,
"${current_form}\{'tooltips'} = new Gtk::Tooltips;" );
$class->add_to_UI($depth,
"${current_form}\{'accelgroup'} = new Gtk::AccelGroup;" );
$class->add_to_UI( $depth,
"${current_form}\{'accelgroup'}->attach(\$widgets->{'$childname'} );" );
$postpone_show = 1;
} else {
die sprintf(("\nerror %s - Unable to find a widget called '%s' - ".
"I can not pack widget '%s' into a non-existant widget!"),
Glade/PerlUIExtra.pm view on Meta::CPAN
my $me = "$class->new_GnomeDateEdit";
my $name = $proto->{name};
my $show_time = $class->use_par($proto, 'show_time', $BOOL, 'True' );
my $use_24_format = $class->use_par($proto, 'use_24_format', $BOOL, 'True' );
my $week_start_monday = $class->use_par($proto, 'week_start_monday', $BOOL, 'False' );
my $lower_hour = $class->use_par($proto, 'lower_hour', $DEFAULT, 7 );
my $upper_hour = $class->use_par($proto, 'upper_hour', $DEFAULT, 19 );
$class->add_to_UI( $depth, "\$widgets->{'$name'} = new Gnome::DateEdit(".
"0, $show_time, $use_24_format);" );
$class->add_to_UI( $depth, "\$widgets->{'$name'}->set_popup_range(".
"$lower_hour, $upper_hour );" );
$class->pack_widget($parent, $name, $proto, $depth );
return $widgets->{$name};
}
sub new_GnomeDialog {
my ($class, $parent, $proto, $depth) = @_;
my $me = "$class->new_GnomeDialog";
my $name = $proto->{name};
Glade/PerlUIGtk.pm view on Meta::CPAN
unless ($class->new_from_child_name($parent, $name, $proto, $depth )) {
$class->add_to_UI($depth, "\$widgets->{'$name'} = new Gtk::Notebook;" );
$class->pack_widget($parent, $name, $proto, $depth );
}
$class->add_to_UI( $depth, "$current_form\{'$name'}->set_tab_pos('$tab_pos' );" );
$class->add_to_UI( $depth, "$current_form\{'$name'}->set_show_tabs($show_tabs );" );
$class->add_to_UI( $depth, "$current_form\{'$name'}->set_show_border($show_border );" );
$class->add_to_UI( $depth, "$current_form\{'$name'}->set_scrollable($scrollable );" );
$class->add_to_UI( $depth, "$current_form\{'$name'}->set_tab_hborder($tab_hborder );" );
$class->add_to_UI( $depth, "$current_form\{'$name'}->set_tab_vborder($tab_vborder );" );
if ($class->use_par($proto, 'popup_enable', $BOOL, 'True' )) {
$class->add_to_UI( $depth, "$current_form\{'$name'}->popup_enable;" );
}
# 'num_pages'
$nb->{$name} = {'panes' => [], 'pane' => 0, 'tab' => 0};
@Notebook_panes = ();
$Notebook_pane = 0;
$Notebook_tab = 0;
return $widgets->{$name};
}
( run in 2.550 seconds using v1.01-cache-2.11-cpan-364913b4093 )