Result:
found more than 396 distributions - search limited to the first 2001 files matching your query ( run in 0.856 )


Glade-Perl-Two

 view release on metacpan or  search on metacpan

Glade/Two/Generate.pm  view on Meta::CPAN

    'widgets'   => {
        'underlineable' => " ".
            join(" ", (
                'GtkLabel', 
                'GtkButton', 
                'GtkMenuItem')
               )." ",
        'to_ignore'     => join (' ', 
            'Placeholder',
            'Custom',
           ),

Glade/Two/Generate.pm  view on Meta::CPAN

            'GnomePropertyBox',
            'GnomeSpell',
#            'GtkCalendar',          # In Gtk after CVS-19990914
            'GtkClock',
            'GtkDial',
            'GtkPixmapMenuItem',
           ),
        'gnome_db'      => join( " ",
            'GnomeDbGrid',
            'GnomeDbList',
            'GnomeDbCombo',

Glade/Two/Generate.pm  view on Meta::CPAN

    } else {
        # We probably have a parent to pack into somehow
        eval "\$refpar = (ref ${current_form}\{'$parentname'})||'UNDEFINED !!';";
        $Glade_Perl->diag_print(5, "Adding %s to %s", $refwid, $refpar);
        unless (eval "exists ${current_form}\{'$parentname'}") {
            if ($Glade_Perl->source->quick_gen or 'Gtk2::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 Gtk2::Tooltips;");
                $class->add_to_UI($depth,   

Glade/Two/Generate.pm  view on Meta::CPAN

        }
        if ($postpone_show) {
            # Do nothing
            
#---------------------------------------
        } elsif (' Gtk2::ImageMenuItem ' =~ m/ $refpar / && 
            ' Gtk2::Image ' =~ m/ $refwid / ) {
#            $class->use_par($proto->{'packing'}, 'type', $NOT_WIDGET|$MAYBE)) {
#print "We have a $refpar to pack into\n";
            $class->add_to_UI($depth, 
                "${current_form}\{'$parentname'}->set_image(".

Glade/Two/Generate.pm  view on Meta::CPAN

            $class->add_to_UI($depth, 
                "${current_form}\{'$parentname'}->put(".
                    "\$widgets->{'$childname'}, $x, $y);");

#---------------------------------------
        } elsif (' Gtk2::MenuBar Gtk2::Menu ' =~ m/ $refpar /) {
            # We are a menuitem
            $class->add_to_UI($depth, 
                "${current_form}\{'$parentname'}->append(".
                    "\$widgets->{'$childname'});");

#---------------------------------------
        } elsif (' Gtk2::MenuItem Gtk2::PixmapMenuItem ' =~ m/ $refpar /) {
            # We are a menu for a meuitem
            $class->add_to_UI($depth, 
                "${current_form}\{'$parentname'}->set_submenu(".
                    "\$widgets->{'$childname'});");
            $postpone_show = 1;

#---------------------------------------
        } elsif (' Gtk2::OptionMenu ' =~ m/ $refpar /) {
            # We are a menu for an optionmenu
            $class->add_to_UI($depth, 
                "${current_form}\{'$parentname'}->set_menu(".
                    "\$widgets->{'$childname'});");
            $postpone_show = 1;

Glade/Two/Generate.pm  view on Meta::CPAN

# Gnome::App::add_docked() or Gnome::App::add_dock_item() instead?
#                $class->add_to_UI($depth, 
#                    "${current_form}\{'$parentname'}->set_contents(".
#                        "\$widgets->{'$childname'});");

            } elsif (' Gtk2::MenuBar ' =~ m/ $refwid /) {
                $class->add_to_UI($depth, 
                    "${current_form}\{'$parentname'}->set_menus(".
                        "\$widgets->{'$childname'});");

            } else {

Glade/Two/Generate.pm  view on Meta::CPAN

                'area_height'       => 'height',
            },
            'GtkList'           => {
                $WIDGET             => $BROKEN,
            },
            'GtkMenuBar'        => {
                'shadow_type'       => $OBSOLETE,
            },
            'GtkMenuItem'       => {
                'right_justify'     => $OBSOLETE,
            },
            'GtkNotebook'       => {
                'popup_enable'      => 'enable-popup',
            },
            'GtkOptionMenu'     => {
                'initial_choice'    => 'history',
            },
            'GtkPacker'         => {
                $WIDGET             => $REMOVED,
            },
            'GtkPixmap'         => {
                $WIDGET             => $DEPRECATED,
                $CONVERT_TO         => 'GtkImage',
            },
            'GtkPixmapMenuItem' => {
                $WIDGET             => $REMOVED,
            },
            'GtkRange'          => {
                'policy'            => 'update-policy',
            },

 view all matches for this distribution


Glade-Perl

 view release on metacpan or  search on metacpan

Glade/PerlUI.pm  view on Meta::CPAN

    'GnomePropertyBox',
    'GnomeSpell',
    'GtkCalendar',          # In Gtk after CVS-19990914
    'GtkClock',
    'GtkDial',
    'GtkPixmapMenuItem',
    );

$gnome_db_widgets = join( " ",
    'GnomeDbGrid',
    'GnomeDbList',

Glade/PerlUI.pm  view on Meta::CPAN


    } 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,   

Glade/PerlUI.pm  view on Meta::CPAN

            $class->add_to_UI( $depth, 
                "${current_form}\{'$parentname'}->put(".
                    "\$widgets->{'$childname'}, $x, $y);" );

#---------------------------------------
        } elsif (' Gtk::MenuBar Gtk::Menu ' =~ m/ $refpar /) {
            # We are a menuitem
            $class->add_to_UI( $depth, 
                "${current_form}\{'$parentname'}->append(".
                    "\$widgets->{'$childname'} );" );

#---------------------------------------
        } elsif (' Gtk::MenuItem Gtk::PixmapMenuItem ' =~ m/ $refpar /) {
            # We are a menu for a meuitem
            $class->add_to_UI( $depth, 
                "${current_form}\{'$parentname'}->set_submenu(".
                    "\$widgets->{'$childname'} );" );
            $postpone_show = 1;

#---------------------------------------
        } elsif (' Gtk::OptionMenu ' =~ m/ $refpar /) {
            # We are a menu for an optionmenu
            $class->add_to_UI( $depth, 
                "${current_form}\{'$parentname'}->set_menu(".
                    "\$widgets->{'$childname'} );" );
            $postpone_show = 1;

Glade/PerlUI.pm  view on Meta::CPAN

# Gnome::App::add_docked() or Gnome::App::add_dock_item() instead?
#                $class->add_to_UI( $depth, 
#                    "${current_form}\{'$parentname'}->set_contents(".
#                        "\$widgets->{'$childname'} );" );

            } elsif (' Gtk::MenuBar ' =~ m/ $refwid /) {
                $class->add_to_UI( $depth, 
                    "${current_form}\{'$parentname'}->set_menus(".
                        "\$widgets->{'$childname'} );" );

            } else {

 view all matches for this distribution


Glib-Ex-ConnectProperties

 view release on metacpan or  search on metacpan

lib/Glib/Ex/ConnectProperties/Element/widget.pm  view on Meta::CPAN

C<widget#screen> uses the C<get_screen()> method.  This means it will give
the default screen until the widget is added to a toplevel C<Gtk2::Window>
or similar to determine the screen.

C<widget#screen> is read-only for most widgets, but is writable for anything
with a C<set_screen()> such as C<Gtk2::Menu>.  There's a plain C<screen>
property on C<Gtk2::Window> so it doesn't need this special
C<widget#screen>, but other widgets benefit.

C<Gtk2::Gdk::Screen> is new in Gtk 2.2 and C<widget#screen> and
C<widget#has-screen> are not available in Gtk 2.0.x.

 view all matches for this distribution


Glib-Ex-ObjectBits

 view release on metacpan or  search on metacpan

lib/Glib/Ex/ObjectBits.pm  view on Meta::CPAN

Nothing is exported by default, but the functions can be requested in usual
C<Exporter> style,

    use Glib::Ex::ObjectBits 'set_property_maybe';
    # "tearoff-title" new in Gtk 2.10
    set_property_maybe ($combobox, tearoff_title => 'My Menu');

Importing C<set_property_maybe()> is good if making many such settings.  The
name is tolerably distinctive.

There's no C<:all> tag since this module is meant as a grab-bag of functions

 view all matches for this distribution


Glib

 view release on metacpan or  search on metacpan

lib/Glib/GenPod.pm  view on Meta::CPAN

  } elsif ($type eq 'Glib::Float' && $default == - POSIX::FLT_MAX()) {
    $default = "-FLT_MAX";

  } elsif ($type eq 'Glib::Double' || $type eq 'Glib::Float') {
    # Limit the decimals shown in floats,
    # eg. Gtk2::Menu style property "arrow-scaling" is 0.7 and comes out as
    # 0.6999999999 if not restricted a bit
    $default = sprintf '%.6g', $default;

  } elsif ($pname =~ /keyval/
	   && $type eq 'Glib::UInt'

 view all matches for this distribution


Gnome2-Vte

 view release on metacpan or  search on metacpan

t/VteTerminal.t  view on Meta::CPAN

isa_ok($terminal, "Gnome2::Vte::Terminal");

$window -> add($terminal);
$window -> show_all();

$terminal -> im_append_menuitems(Gtk2::Menu -> new());

like($terminal -> fork_command("/bin/ls",
                               ["/bin/ls", "--color", "-l", "bin"],
                               ["TERM=xterm-color"],
                               "/",

 view all matches for this distribution


( run in 0.856 second using v1.01-cache-2.11-cpan-60884a8df76 )