Gtk2-Ex-CellRendererWrappedText/ 40777 0 0 0 11460170751 15147 5ustar usergroupGtk2-Ex-CellRendererWrappedText/Changes100666 0 0 135 11460170244 16513 0ustar usergroupRevision history for perl module Gtk2::Ex::CellRendererWrappedText 0.01 - first release Gtk2-Ex-CellRendererWrappedText/example/ 40777 0 0 0 11460165346 16606 5ustar usergroupGtk2-Ex-CellRendererWrappedText/example/01_cellrenderer_wrapped_text.t100666 0 0 6016 11460165201 24615 0ustar usergroupuse Gtk2 -init; use strict; use warnings; use Glib qw(FALSE TRUE); my $w = Gtk2::Window->new( 'toplevel' ); $w->set_title( 'CellRendererWrappedText' ); $w->signal_connect( 'delete-event' => sub { Gtk2->main_quit; FALSE; } ); my $vbox = Gtk2::VBox->new; $w->add ($vbox); my $label = Gtk2::Label->new; $label->set_markup ('F-Words'); $vbox->pack_start ($label, FALSE, FALSE, 0); # create and load the model my $model = Gtk2::ListStore->new ( 'Glib::String', 'Glib::String' ); foreach ( [ 'foo', 'bar'], [ 'fluffy', "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed et eros velit, eget adipiscing est. Duis eu lectus turpis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Suspendisse malesuada, odio in malesuada aliquam, nibh tortor placerat nulla, sed rhoncus metus mauris ut nibh. Cras ac enim libero. Nullam tristique accumsan libero vel iaculis. Cras id nibh eu nunc vulputate venenatis. Aenean sit amet rutrum enim. Cras eu lacus ut dui interdum ultrices eu bibendum turpis. Pellentesque quis arcu eros. Vestibulum non magna purus. Nulla augue nibh, pulvinar quis aliquam blandit, malesuada rhoncus urna. Vivamus tincidunt diam vel eros placerat quis facilisis mauris cursus. Nulla tincidunt, ante lobortis molestie interdum, nulla purus consequat lectus, venenatis euismod tellus tortor eget quam. Nullam nisl risus, ultricies nec adipiscing id, sollicitudin sed eros. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. "], [ 'flurble', "*Milk\n*Eggs\n*Drugs"],) { my $iter = $model->append; $model->set ($iter, 0, $_->[0], 1, $_->[1] ); } my $view = Gtk2::TreeView->new_with_model( $model ); $view->set_rules_hint ( 1 ); $view->set_reorderable ( 1 ); my ( $cell, $column ); # standard text render $cell = Gtk2::CellRendererText->new; $cell->set( editable => 1 ); $cell->set( wrap_width => 400 ); $cell->signal_connect (edited => sub { my ($cell, $text_path, $new_text, $model) = @_; my $path = Gtk2::TreePath->new_from_string ($text_path); my $iter = $model->get_iter ($path); $model->set ($iter, 0, $new_text); }, $model); $column = Gtk2::TreeViewColumn->new_with_attributes( 'Normal', $cell, text => 0 ); $column->set_resizable( 1 ); $view->append_column ($column); # multiline text render $cell = Gtk2::Ex::CellRendererWrappedText->new; $cell->set( editable => 1 ); $cell->set( wrap_mode => 'word' ); $cell->set( wrap_width => 400 ); $cell->signal_connect (edited => sub { my ($cell, $text_path, $new_text, $model) = @_; my $path = Gtk2::TreePath->new_from_string ($text_path); my $iter = $model->get_iter ($path); $model->set ($iter, 1, $new_text); }, $model); $column = Gtk2::TreeViewColumn->new_with_attributes( 'Wrapped', $cell, text => 1 ); $column->set_resizable( 1 ); $view->append_column ($column); my $scroll = Gtk2::ScrolledWindow->new; $scroll->set_policy ('never', 'automatic'); $scroll->add ($view); $vbox->pack_start ($scroll, TRUE, TRUE, 0); $w->set_default_size (400, 300); $w->show_all; Gtk2->main; Gtk2-Ex-CellRendererWrappedText/lib/ 40777 0 0 0 11460156635 15722 5ustar usergroupGtk2-Ex-CellRendererWrappedText/lib/Gtk2/ 40777 0 0 0 11460156641 16526 5ustar usergroupGtk2-Ex-CellRendererWrappedText/lib/Gtk2/Ex/ 40777 0 0 0 11460170016 17072 5ustar usergroupGtk2-Ex-CellRendererWrappedText/lib/Gtk2/Ex/CellRendererWrappedText.pm100666 0 0 11673 11460170015 24312 0ustar usergrouppackage Gtk2::Ex::CellRendererWrappedText::TextView; our $VERSION = 0.01; our $AUTHORITY = 'cpan:JHALLOCK'; use Glib qw(TRUE FALSE); use Gtk2; use Gtk2::Gdk::Keysyms; use Glib::Object::Subclass Gtk2::TextView::, interfaces => [ 'Gtk2::CellEditable' ], ; sub set_text { my ( $w, $text ) = @_; $w->get_buffer->set_text( $text ); } sub get_text { my ( $w ) = @_; my $buffer = $w->get_buffer; $buffer->get_text ( $buffer->get_start_iter, $buffer->get_end_iter, TRUE ); } package Gtk2::Ex::CellRendererWrappedText; use Glib qw(TRUE FALSE); use Glib::Object::Subclass Gtk2::CellRendererText::, ; sub START_EDITING { my ($cell, $event, $widget, $path, $background_area, $cell_area, $flags) = @_; my $e = Gtk2::Ex::CellRendererWrappedText::TextView->new; $e->set( 'wrap-mode', $cell->get( 'wrap-mode' ) ); $e->get_buffer->set_text( $cell->get( 'text' ) ); $e->set_border_width( $cell->get( 'ypad' ) ); $e->set_size_request( $cell_area->width - $cell->get( 'ypad' ) , $cell_area->height ); $e->grab_focus; $e->signal_connect ('key-press-event' => sub { my ( $widget, $event ) = @_; # if user presses Ctrl + enter/return then send edited signal if ( ( $event->keyval == $Gtk2::Gdk::Keysyms{Return} || $event->keyval == $Gtk2::Gdk::Keysyms{KP_Enter} ) and $event->state & 'control-mask' ) { $cell->signal_emit( edited => $path, $widget->get_text); $widget->destroy; return TRUE; } # if user presses esc - cancel editing elsif ( $event->keyval == $Gtk2::Gdk::Keysyms{Esc} ) { $widget->destroy; return TRUE; } return FALSE; }); # send edited signal on focus out $e->signal_connect( 'focus-out-event' => sub { my $widget = shift; $cell->signal_emit( edited => $path, $widget->get_text ); }); $e->show; return $e; } sub RENDER { my $cell = shift; my ($event, $widget, $path, $background_area, $cell_area, $flags) = @_; $cell->set( 'wrap-width', $cell_area->width - $cell->get( 'ypad' ) ); $cell->SUPER::RENDER( @_ ); } 1; __END__ =head1 NAME Gtk2::Ex::CellRendererWrappedText - Widget for displaying and editing multi-line text entries in a TreeView =head1 SYNOPSIS use Gtk2::Ex::CellRendererWrappedText; $treeview->new( $model ); $cell = Gtk2::CellRender $cell = Gtk2::Ex::CellRendererWrappedText->new; $cell->set( editable => 1 ); $cell->set( wrap_mode => 'word' ); $cell->set( wrap_width => 400 ); $cell->signal_connect (edited => sub { my ($cell, $text_path, $new_text, $model) = @_; my $path = Gtk2::TreePath->new_from_string ($text_path); my $iter = $model->get_iter ($path); $model->set ($iter, 1, $new_text); }, $model); $column = Gtk2::TreeViewColumn->new_with_attributes( 'Wrapped', $cell, text => 1 ); $column->set_resizable( 1 ); $view->append_column ($column); =head1 WIDGET HIERARCHY Glib::Object +----Glib::InitiallyUnowned +----Gtk2::Object +----Gtk2::CellRenderer +----Gtk2::CellRendererText +----Gtk2::Ex::CellRendererWrappedText =head1 DESCRIPTION C is a L that automatically updates the wrap-width of the of the renderer so that the text always fills (or shrinks to match) the available area. C also handles editing of strings that span multiple lines. L only displays multi-line strings on one line while in edit mode, regardless of the wrap-wdith of the renderer. Pressing whil in edit mode cancels the edit. Pressing moves to the next line. Pressing or focusing out of the render finishes editing and emits the 'edited' signal on the renderer. =head1 SEE ALSO L, L, L =head1 AUTHOR Jeffrey Hallock . Some code adapted from Muppet's customrenderer.pl script included in the Gtk2 examples directory. =head1 CAVEATS & BUGS None known. Please send bugs to . Patches and suggestions welcome. =head1 LICENSE Gtk2-Ex-CellRendererText is Copyright 2010 Jeffrey Ray Hallock Gtk2-Ex-CellRendererText is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. Gtk2-Ex-CellRendererText is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Gtk2-Ex-DateEntry. If not, see L. =cut Gtk2-Ex-CellRendererWrappedText/Makefile100666 0 0 57037 11460170266 16741 0ustar usergroup# This Makefile is for the Gtk2::Ex::CellRendererWrappedText extension to perl. # # It was generated automatically by MakeMaker version # 6.42 (Revision: 41145) from the contents of # Makefile.PL. Don't edit this file, edit Makefile.PL instead. # # ANY CHANGES MADE HERE WILL BE LOST! # # MakeMaker ARGV: () # # MakeMaker Parameters: # ABSTRACT_FROM => q[lib/Gtk2/Ex/CellRendererWrappedText.pm] # AUTHOR => q[Jeffrey Ray Hallock ] # NAME => q[Gtk2::Ex::CellRendererWrappedText] # PREREQ_PM => { Gtk2=>q[0] } # VERSION_FROM => q[lib/Gtk2/Ex/CellRendererWrappedText.pm] # --- MakeMaker post_initialize section: # --- MakeMaker const_config section: # These definitions are from config.sh (via c:/camelbox/lib/Config.pm) # They may have been overridden via Makefile.PL or on the command line AR = ar CC = gcc CCCDLFLAGS = CCDLFLAGS = DLEXT = dll DLSRC = dl_win32.xs EXE_EXT = .exe FULL_AR = LD = g++ LDDLFLAGS = -mdll -s -L"C:\camelbox\lib\CORE" -L"C:\camelbox\lib" LDFLAGS = -s -L"C:\camelbox\lib\CORE" -L"C:\camelbox\lib" LIBC = -lmsvcrt LIB_EXT = .a OBJ_EXT = .o OSNAME = MSWin32 OSVERS = 5.1 RANLIB = rem SITELIBEXP = C:\camelbox\site\lib SITEARCHEXP = C:\camelbox\site\lib SO = dll VENDORARCHEXP = VENDORLIBEXP = # --- MakeMaker constants section: AR_STATIC_ARGS = cr DIRFILESEP = \\ DFSEP = $(DIRFILESEP) NAME = Gtk2::Ex::CellRendererWrappedText NAME_SYM = Gtk2_Ex_CellRendererWrappedText VERSION = 0.01 VERSION_MACRO = VERSION VERSION_SYM = 0_01 DEFINE_VERSION = -D$(VERSION_MACRO)=\"$(VERSION)\" XS_VERSION = 0.01 XS_VERSION_MACRO = XS_VERSION XS_DEFINE_VERSION = -D$(XS_VERSION_MACRO)=\"$(XS_VERSION)\" INST_ARCHLIB = blib\arch INST_SCRIPT = blib\script INST_BIN = blib\bin INST_LIB = blib\lib INST_MAN1DIR = blib\man1 INST_MAN3DIR = blib\man3 MAN1EXT = 1 MAN3EXT = 3 INSTALLDIRS = site DESTDIR = PREFIX = $(SITEPREFIX) PERLPREFIX = C:\camelbox SITEPREFIX = C:\camelbox\site VENDORPREFIX = INSTALLPRIVLIB = C:\camelbox\lib DESTINSTALLPRIVLIB = $(DESTDIR)$(INSTALLPRIVLIB) INSTALLSITELIB = C:\camelbox\site\lib DESTINSTALLSITELIB = $(DESTDIR)$(INSTALLSITELIB) INSTALLVENDORLIB = DESTINSTALLVENDORLIB = $(DESTDIR)$(INSTALLVENDORLIB) INSTALLARCHLIB = C:\camelbox\lib DESTINSTALLARCHLIB = $(DESTDIR)$(INSTALLARCHLIB) INSTALLSITEARCH = C:\camelbox\site\lib DESTINSTALLSITEARCH = $(DESTDIR)$(INSTALLSITEARCH) INSTALLVENDORARCH = DESTINSTALLVENDORARCH = $(DESTDIR)$(INSTALLVENDORARCH) INSTALLBIN = C:\camelbox\bin DESTINSTALLBIN = $(DESTDIR)$(INSTALLBIN) INSTALLSITEBIN = C:\camelbox\bin DESTINSTALLSITEBIN = $(DESTDIR)$(INSTALLSITEBIN) INSTALLVENDORBIN = DESTINSTALLVENDORBIN = $(DESTDIR)$(INSTALLVENDORBIN) INSTALLSCRIPT = C:\camelbox\bin DESTINSTALLSCRIPT = $(DESTDIR)$(INSTALLSCRIPT) INSTALLSITESCRIPT = $(INSTALLSCRIPT) DESTINSTALLSITESCRIPT = $(DESTDIR)$(INSTALLSITESCRIPT) INSTALLVENDORSCRIPT = DESTINSTALLVENDORSCRIPT = $(DESTDIR)$(INSTALLVENDORSCRIPT) INSTALLMAN1DIR = C:\camelbox\man\man1 DESTINSTALLMAN1DIR = $(DESTDIR)$(INSTALLMAN1DIR) INSTALLSITEMAN1DIR = $(INSTALLMAN1DIR) DESTINSTALLSITEMAN1DIR = $(DESTDIR)$(INSTALLSITEMAN1DIR) INSTALLVENDORMAN1DIR = DESTINSTALLVENDORMAN1DIR = $(DESTDIR)$(INSTALLVENDORMAN1DIR) INSTALLMAN3DIR = C:\camelbox\man\man3 DESTINSTALLMAN3DIR = $(DESTDIR)$(INSTALLMAN3DIR) INSTALLSITEMAN3DIR = $(INSTALLMAN3DIR) DESTINSTALLSITEMAN3DIR = $(DESTDIR)$(INSTALLSITEMAN3DIR) INSTALLVENDORMAN3DIR = DESTINSTALLVENDORMAN3DIR = $(DESTDIR)$(INSTALLVENDORMAN3DIR) PERL_LIB = C:\camelbox\lib PERL_ARCHLIB = C:\camelbox\lib LIBPERL_A = libperl.a FIRST_MAKEFILE = Makefile MAKEFILE_OLD = Makefile.old MAKE_APERL_FILE = Makefile.aperl PERLMAINCC = $(CC) PERL_INC = C:\camelbox\lib\CORE PERL = C:\camelbox\bin\perl.exe FULLPERL = C:\camelbox\bin\perl.exe ABSPERL = $(PERL) PERLRUN = $(PERL) FULLPERLRUN = $(FULLPERL) ABSPERLRUN = $(ABSPERL) PERLRUNINST = $(PERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)" FULLPERLRUNINST = $(FULLPERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)" ABSPERLRUNINST = $(ABSPERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)" PERL_CORE = 0 PERM_RW = 644 PERM_RWX = 755 MAKEMAKER = c:/camelbox/lib/ExtUtils/MakeMaker.pm MM_VERSION = 6.42 MM_REVISION = 41145 # FULLEXT = Pathname for extension directory (eg Foo/Bar/Oracle). # BASEEXT = Basename part of FULLEXT. May be just equal FULLEXT. (eg Oracle) # PARENT_NAME = NAME without BASEEXT and no trailing :: (eg Foo::Bar) # DLBASE = Basename part of dynamic library. May be just equal BASEEXT. MAKE = dmake FULLEXT = Gtk2\Ex\CellRendererWrappedText BASEEXT = CellRendererWrappedText PARENT_NAME = Gtk2::Ex DLBASE = $(BASEEXT) VERSION_FROM = lib/Gtk2/Ex/CellRendererWrappedText.pm OBJECT = LDFROM = $(OBJECT) LINKTYPE = dynamic BOOTDEP = # Handy lists of source code files: XS_FILES = C_FILES = O_FILES = H_FILES = MAN1PODS = MAN3PODS = lib/Gtk2/Ex/CellRendererWrappedText.pm # Where is the Config information that we are using/depend on CONFIGDEP = $(PERL_ARCHLIB)$(DFSEP)Config.pm $(PERL_INC)$(DFSEP)config.h # Where to build things INST_LIBDIR = $(INST_LIB)\Gtk2\Ex INST_ARCHLIBDIR = $(INST_ARCHLIB)\Gtk2\Ex INST_AUTODIR = $(INST_LIB)\auto\$(FULLEXT) INST_ARCHAUTODIR = $(INST_ARCHLIB)\auto\$(FULLEXT) INST_STATIC = INST_DYNAMIC = INST_BOOT = # Extra linker info EXPORT_LIST = $(BASEEXT).def PERL_ARCHIVE = $(PERL_INC)\libperl510.a PERL_ARCHIVE_AFTER = TO_INST_PM = Makefile.pl \ lib/Gtk2/Ex/CellRendererWrappedText.pm PM_TO_BLIB = Makefile.pl \ $(INST_LIB)\Gtk2\Ex\Makefile.pl \ lib/Gtk2/Ex/CellRendererWrappedText.pm \ blib\lib\Gtk2\Ex\CellRendererWrappedText.pm # --- MakeMaker platform_constants section: MM_Win32_VERSION = 6.42 # --- MakeMaker tool_autosplit section: # Usage: $(AUTOSPLITFILE) FileToSplit AutoDirToSplitInto AUTOSPLITFILE = $(ABSPERLRUN) -e "use AutoSplit; autosplit($$ARGV[0], $$ARGV[1], 0, 1, 1)" -- # --- MakeMaker tool_xsubpp section: # --- MakeMaker tools_other section: CHMOD = $(ABSPERLRUN) -MExtUtils::Command -e chmod CP = $(ABSPERLRUN) -MExtUtils::Command -e cp MV = $(ABSPERLRUN) -MExtUtils::Command -e mv NOOP = rem NOECHO = @ RM_F = $(ABSPERLRUN) -MExtUtils::Command -e rm_f RM_RF = $(ABSPERLRUN) -MExtUtils::Command -e rm_rf TEST_F = $(ABSPERLRUN) -MExtUtils::Command -e test_f TOUCH = $(ABSPERLRUN) -MExtUtils::Command -e touch UMASK_NULL = umask 0 DEV_NULL = > NUL MKPATH = $(ABSPERLRUN) "-MExtUtils::Command" -e mkpath EQUALIZE_TIMESTAMP = $(ABSPERLRUN) "-MExtUtils::Command" -e eqtime ECHO = $(ABSPERLRUN) -l -e "print qq{{@ARGV}" -- ECHO_N = $(ABSPERLRUN) -e "print qq{{@ARGV}" -- UNINST = 0 VERBINST = 0 MOD_INSTALL = $(ABSPERLRUN) -MExtUtils::Install -e "install({{@ARGV}, '$(VERBINST)', 0, '$(UNINST)');" -- DOC_INSTALL = $(ABSPERLRUN) "-MExtUtils::Command::MM" -e perllocal_install UNINSTALL = $(ABSPERLRUN) "-MExtUtils::Command::MM" -e uninstall WARN_IF_OLD_PACKLIST = $(ABSPERLRUN) "-MExtUtils::Command::MM" -e warn_if_old_packlist MACROSTART = MACROEND = USEMAKEFILE = -f FIXIN = pl2bat.bat # --- MakeMaker makemakerdflt section: makemakerdflt : all $(NOECHO) $(NOOP) # --- MakeMaker dist section: TAR = tar TARFLAGS = cvf ZIP = zip ZIPFLAGS = -r COMPRESS = gzip --best SUFFIX = .gz SHAR = shar PREOP = $(NOECHO) $(NOOP) POSTOP = $(NOECHO) $(NOOP) TO_UNIX = $(NOECHO) $(NOOP) CI = ci -u RCS_LABEL = rcs -Nv$(VERSION_SYM): -q DIST_CP = best DIST_DEFAULT = tardist DISTNAME = Gtk2-Ex-CellRendererWrappedText DISTVNAME = Gtk2-Ex-CellRendererWrappedText-0.01 # --- MakeMaker macro section: # --- MakeMaker depend section: # --- MakeMaker cflags section: # --- MakeMaker const_loadlibs section: # --- MakeMaker const_cccmd section: # --- MakeMaker post_constants section: # --- MakeMaker pasthru section: PASTHRU = # --- MakeMaker special_targets section: .SUFFIXES : .xs .c .C .cpp .i .s .cxx .cc $(OBJ_EXT) .PHONY: all config static dynamic test linkext manifest blibdirs clean realclean disttest distdir .USESHELL : # --- MakeMaker c_o section: # --- MakeMaker xs_c section: # --- MakeMaker xs_o section: # --- MakeMaker top_targets section: all :: pure_all $(NOECHO) $(NOOP) pure_all :: config pm_to_blib subdirs linkext $(NOECHO) $(NOOP) subdirs :: $(MYEXTLIB) $(NOECHO) $(NOOP) config :: $(FIRST_MAKEFILE) blibdirs $(NOECHO) $(NOOP) help : perldoc ExtUtils::MakeMaker # --- MakeMaker blibdirs section: blibdirs : $(INST_LIBDIR)$(DFSEP).exists $(INST_ARCHLIB)$(DFSEP).exists $(INST_AUTODIR)$(DFSEP).exists $(INST_ARCHAUTODIR)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists $(INST_SCRIPT)$(DFSEP).exists $(INST_MAN1DIR)$(DFSEP).exists $(INST_MAN3DIR)$(DFSEP).exists $(NOECHO) $(NOOP) # Backwards compat with 6.18 through 6.25 blibdirs.ts : blibdirs $(NOECHO) $(NOOP) $(INST_LIBDIR)$(DFSEP).exists :: Makefile.PL $(NOECHO) $(MKPATH) $(INST_LIBDIR) $(NOECHO) $(CHMOD) 755 $(INST_LIBDIR) $(NOECHO) $(TOUCH) $(INST_LIBDIR)$(DFSEP).exists $(INST_ARCHLIB)$(DFSEP).exists :: Makefile.PL $(NOECHO) $(MKPATH) $(INST_ARCHLIB) $(NOECHO) $(CHMOD) 755 $(INST_ARCHLIB) $(NOECHO) $(TOUCH) $(INST_ARCHLIB)$(DFSEP).exists $(INST_AUTODIR)$(DFSEP).exists :: Makefile.PL $(NOECHO) $(MKPATH) $(INST_AUTODIR) $(NOECHO) $(CHMOD) 755 $(INST_AUTODIR) $(NOECHO) $(TOUCH) $(INST_AUTODIR)$(DFSEP).exists $(INST_ARCHAUTODIR)$(DFSEP).exists :: Makefile.PL $(NOECHO) $(MKPATH) $(INST_ARCHAUTODIR) $(NOECHO) $(CHMOD) 755 $(INST_ARCHAUTODIR) $(NOECHO) $(TOUCH) $(INST_ARCHAUTODIR)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists :: Makefile.PL $(NOECHO) $(MKPATH) $(INST_BIN) $(NOECHO) $(CHMOD) 755 $(INST_BIN) $(NOECHO) $(TOUCH) $(INST_BIN)$(DFSEP).exists $(INST_SCRIPT)$(DFSEP).exists :: Makefile.PL $(NOECHO) $(MKPATH) $(INST_SCRIPT) $(NOECHO) $(CHMOD) 755 $(INST_SCRIPT) $(NOECHO) $(TOUCH) $(INST_SCRIPT)$(DFSEP).exists $(INST_MAN1DIR)$(DFSEP).exists :: Makefile.PL $(NOECHO) $(MKPATH) $(INST_MAN1DIR) $(NOECHO) $(CHMOD) 755 $(INST_MAN1DIR) $(NOECHO) $(TOUCH) $(INST_MAN1DIR)$(DFSEP).exists $(INST_MAN3DIR)$(DFSEP).exists :: Makefile.PL $(NOECHO) $(MKPATH) $(INST_MAN3DIR) $(NOECHO) $(CHMOD) 755 $(INST_MAN3DIR) $(NOECHO) $(TOUCH) $(INST_MAN3DIR)$(DFSEP).exists # --- MakeMaker linkext section: linkext :: $(LINKTYPE) $(NOECHO) $(NOOP) # --- MakeMaker dlsyms section: CellRendererWrappedText.def: Makefile.PL $(PERLRUN) -MExtUtils::Mksymlists \ -e "Mksymlists('NAME'=>\"Gtk2::Ex::CellRendererWrappedText\", 'DLBASE' => '$(BASEEXT)', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);" # --- MakeMaker dynamic section: dynamic :: $(FIRST_MAKEFILE) $(INST_DYNAMIC) $(INST_BOOT) $(NOECHO) $(NOOP) # --- MakeMaker dynamic_bs section: BOOTSTRAP = # --- MakeMaker dynamic_lib section: # --- MakeMaker static section: ## $(INST_PM) has been moved to the all: target. ## It remains here for awhile to allow for old usage: "make static" static :: $(FIRST_MAKEFILE) $(INST_STATIC) $(NOECHO) $(NOOP) # --- MakeMaker static_lib section: # --- MakeMaker manifypods section: POD2MAN_EXE = $(PERLRUN) "-MExtUtils::Command::MM" -e pod2man "--" POD2MAN = $(POD2MAN_EXE) manifypods : pure_all \ lib/Gtk2/Ex/CellRendererWrappedText.pm $(NOECHO) $(POD2MAN) --section=3 --perm_rw=$(PERM_RW) \ lib/Gtk2/Ex/CellRendererWrappedText.pm $(INST_MAN3DIR)\Gtk2.Ex.CellRendererWrappedText.$(MAN3EXT) # --- MakeMaker processPL section: # --- MakeMaker installbin section: # --- MakeMaker subdirs section: # none # --- MakeMaker clean_subdirs section: clean_subdirs : $(NOECHO) $(NOOP) # --- MakeMaker clean section: # Delete temporary files but do not touch installed files. We don't delete # the Makefile here so a later make realclean still has a makefile to use. clean :: clean_subdirs - $(RM_F) \ *$(LIB_EXT) core \ core.[0-9] core.[0-9][0-9] \ $(BASEEXT).bso $(INST_ARCHAUTODIR)\extralibs.ld \ pm_to_blib.ts core.[0-9][0-9][0-9][0-9] \ $(BASEEXT).x $(BOOTSTRAP) \ perl$(EXE_EXT) tmon.out \ $(INST_ARCHAUTODIR)\extralibs.all *$(OBJ_EXT) \ pm_to_blib blibdirs.ts \ core.[0-9][0-9][0-9][0-9][0-9] *perl.core \ core.*perl.*.? $(MAKE_APERL_FILE) \ perl $(BASEEXT).def \ core.[0-9][0-9][0-9] mon.out \ lib$(BASEEXT).def perlmain.c \ perl.exe so_locations \ $(BASEEXT).exp - $(RM_RF) \ dll.exp dll.base \ blib - $(MV) $(FIRST_MAKEFILE) $(MAKEFILE_OLD) $(DEV_NULL) # --- MakeMaker realclean_subdirs section: realclean_subdirs : $(NOECHO) $(NOOP) # --- MakeMaker realclean section: # Delete temporary files (via clean) and also delete dist files realclean purge :: clean realclean_subdirs - $(RM_F) \ $(MAKEFILE_OLD) $(FIRST_MAKEFILE) - $(RM_RF) \ $(DISTVNAME) # --- MakeMaker metafile section: metafile : create_distdir $(NOECHO) $(ECHO) Generating META.yml $(NOECHO) $(ECHO) "--- #YAML:1.0" > META_new.yml $(NOECHO) $(ECHO) "name: Gtk2-Ex-CellRendererWrappedText" >> META_new.yml $(NOECHO) $(ECHO) "version: 0.01" >> META_new.yml $(NOECHO) $(ECHO) "abstract: Widget for displaying and editing multi-line" >> META_new.yml $(NOECHO) $(ECHO) "license: ~" >> META_new.yml $(NOECHO) $(ECHO) "author: " >> META_new.yml $(NOECHO) $(ECHO) " - Jeffrey Ray Hallock " >> META_new.yml $(NOECHO) $(ECHO) "generated_by: ExtUtils::MakeMaker version 6.42" >> META_new.yml $(NOECHO) $(ECHO) "distribution_type: module" >> META_new.yml $(NOECHO) $(ECHO) "requires: " >> META_new.yml $(NOECHO) $(ECHO) " Gtk2: 0" >> META_new.yml $(NOECHO) $(ECHO) "meta-spec:" >> META_new.yml $(NOECHO) $(ECHO) " url: http://module-build.sourceforge.net/META-spec-v1.3.html" >> META_new.yml $(NOECHO) $(ECHO) " version: 1.3" >> META_new.yml -$(NOECHO) $(MV) META_new.yml $(DISTVNAME)/META.yml # --- MakeMaker signature section: signature : cpansign -s # --- MakeMaker dist_basics section: distclean :: realclean distcheck $(NOECHO) $(NOOP) distcheck : $(PERLRUN) "-MExtUtils::Manifest=fullcheck" -e fullcheck skipcheck : $(PERLRUN) "-MExtUtils::Manifest=skipcheck" -e skipcheck manifest : $(PERLRUN) "-MExtUtils::Manifest=mkmanifest" -e mkmanifest veryclean : realclean $(RM_F) *~ */*~ *.orig */*.orig *.bak */*.bak *.old */*.old # --- MakeMaker dist_core section: dist : $(DIST_DEFAULT) $(FIRST_MAKEFILE) $(NOECHO) $(ABSPERLRUN) -l -e "print 'Warning: Makefile possibly out of date with $(VERSION_FROM)'\ if -e '$(VERSION_FROM)' and -M '$(VERSION_FROM)' < -M '$(FIRST_MAKEFILE)';" -- tardist : $(DISTVNAME).tar$(SUFFIX) $(NOECHO) $(NOOP) uutardist : $(DISTVNAME).tar$(SUFFIX) uuencode $(DISTVNAME).tar$(SUFFIX) $(DISTVNAME).tar$(SUFFIX) > $(DISTVNAME).tar$(SUFFIX)_uu $(DISTVNAME).tar$(SUFFIX) : distdir $(PREOP) $(TO_UNIX) $(TAR) $(TARFLAGS) $(DISTVNAME).tar $(DISTVNAME) $(RM_RF) $(DISTVNAME) $(COMPRESS) $(DISTVNAME).tar $(POSTOP) zipdist : $(DISTVNAME).zip $(NOECHO) $(NOOP) $(DISTVNAME).zip : distdir $(PREOP) $(ZIP) $(ZIPFLAGS) $(DISTVNAME).zip $(DISTVNAME) $(RM_RF) $(DISTVNAME) $(POSTOP) shdist : distdir $(PREOP) $(SHAR) $(DISTVNAME) > $(DISTVNAME).shar $(RM_RF) $(DISTVNAME) $(POSTOP) # --- MakeMaker distdir section: create_distdir : $(RM_RF) $(DISTVNAME) $(PERLRUN) "-MExtUtils::Manifest=manicopy,maniread" \ -e "manicopy(maniread(),'$(DISTVNAME)', '$(DIST_CP)');" distdir : create_distdir distmeta $(NOECHO) $(NOOP) # --- MakeMaker dist_test section: disttest : distdir cd $(DISTVNAME) && $(ABSPERLRUN) Makefile.PL cd $(DISTVNAME) && $(MAKE) $(PASTHRU) cd $(DISTVNAME) && $(MAKE) test $(PASTHRU) # --- MakeMaker dist_ci section: ci : $(PERLRUN) "-MExtUtils::Manifest=maniread" \ -e "@all = keys %{ maniread() };" \ -e "print(qq{Executing $(CI) @all\n}); system(qq{$(CI) @all});" \ -e "print(qq{Executing $(RCS_LABEL) ...\n}); system(qq{$(RCS_LABEL) @all});" # --- MakeMaker distmeta section: distmeta : create_distdir metafile $(NOECHO) cd $(DISTVNAME) && $(ABSPERLRUN) -MExtUtils::Manifest=maniadd -e "eval {{ maniadd({{q{{META.yml} => q{{Module meta-data (added by MakeMaker)}}}) } \ or print \"Could not add META.yml to MANIFEST: $${{'@'}\n\"" -- # --- MakeMaker distsignature section: distsignature : create_distdir $(NOECHO) cd $(DISTVNAME) && $(ABSPERLRUN) -MExtUtils::Manifest=maniadd -e "eval {{ maniadd({{q{{SIGNATURE} => q{{Public-key signature (added by MakeMaker)}}}) } \ or print \"Could not add SIGNATURE to MANIFEST: $${{'@'}\n\"" -- $(NOECHO) cd $(DISTVNAME) && $(TOUCH) SIGNATURE cd $(DISTVNAME) && cpansign -s # --- MakeMaker install section: install :: all pure_install doc_install $(NOECHO) $(NOOP) install_perl :: all pure_perl_install doc_perl_install $(NOECHO) $(NOOP) install_site :: all pure_site_install doc_site_install $(NOECHO) $(NOOP) install_vendor :: all pure_vendor_install doc_vendor_install $(NOECHO) $(NOOP) pure_install :: pure_$(INSTALLDIRS)_install $(NOECHO) $(NOOP) doc_install :: doc_$(INSTALLDIRS)_install $(NOECHO) $(NOOP) pure__install : pure_site_install $(NOECHO) $(ECHO) INSTALLDIRS not defined, defaulting to INSTALLDIRS=site doc__install : doc_site_install $(NOECHO) $(ECHO) INSTALLDIRS not defined, defaulting to INSTALLDIRS=site pure_perl_install :: $(NOECHO) $(MOD_INSTALL) \ read $(PERL_ARCHLIB)\auto\$(FULLEXT)\.packlist \ write $(DESTINSTALLARCHLIB)\auto\$(FULLEXT)\.packlist \ $(INST_LIB) $(DESTINSTALLPRIVLIB) \ $(INST_ARCHLIB) $(DESTINSTALLARCHLIB) \ $(INST_BIN) $(DESTINSTALLBIN) \ $(INST_SCRIPT) $(DESTINSTALLSCRIPT) \ $(INST_MAN1DIR) $(DESTINSTALLMAN1DIR) \ $(INST_MAN3DIR) $(DESTINSTALLMAN3DIR) $(NOECHO) $(WARN_IF_OLD_PACKLIST) \ $(SITEARCHEXP)\auto\$(FULLEXT) pure_site_install :: $(NOECHO) $(MOD_INSTALL) \ read $(SITEARCHEXP)\auto\$(FULLEXT)\.packlist \ write $(DESTINSTALLSITEARCH)\auto\$(FULLEXT)\.packlist \ $(INST_LIB) $(DESTINSTALLSITELIB) \ $(INST_ARCHLIB) $(DESTINSTALLSITEARCH) \ $(INST_BIN) $(DESTINSTALLSITEBIN) \ $(INST_SCRIPT) $(DESTINSTALLSITESCRIPT) \ $(INST_MAN1DIR) $(DESTINSTALLSITEMAN1DIR) \ $(INST_MAN3DIR) $(DESTINSTALLSITEMAN3DIR) $(NOECHO) $(WARN_IF_OLD_PACKLIST) \ $(PERL_ARCHLIB)\auto\$(FULLEXT) pure_vendor_install :: $(NOECHO) $(MOD_INSTALL) \ read $(VENDORARCHEXP)\auto\$(FULLEXT)\.packlist \ write $(DESTINSTALLVENDORARCH)\auto\$(FULLEXT)\.packlist \ $(INST_LIB) $(DESTINSTALLVENDORLIB) \ $(INST_ARCHLIB) $(DESTINSTALLVENDORARCH) \ $(INST_BIN) $(DESTINSTALLVENDORBIN) \ $(INST_SCRIPT) $(DESTINSTALLVENDORSCRIPT) \ $(INST_MAN1DIR) $(DESTINSTALLVENDORMAN1DIR) \ $(INST_MAN3DIR) $(DESTINSTALLVENDORMAN3DIR) doc_perl_install :: $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB) -$(NOECHO) $(DOC_INSTALL) \ "Module" "$(NAME)" \ "installed into" "$(INSTALLPRIVLIB)" \ LINKTYPE "$(LINKTYPE)" \ VERSION "$(VERSION)" \ EXE_FILES "$(EXE_FILES)" \ >> $(DESTINSTALLARCHLIB)\perllocal.pod doc_site_install :: $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB) -$(NOECHO) $(DOC_INSTALL) \ "Module" "$(NAME)" \ "installed into" "$(INSTALLSITELIB)" \ LINKTYPE "$(LINKTYPE)" \ VERSION "$(VERSION)" \ EXE_FILES "$(EXE_FILES)" \ >> $(DESTINSTALLARCHLIB)\perllocal.pod doc_vendor_install :: $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB) -$(NOECHO) $(DOC_INSTALL) \ "Module" "$(NAME)" \ "installed into" "$(INSTALLVENDORLIB)" \ LINKTYPE "$(LINKTYPE)" \ VERSION "$(VERSION)" \ EXE_FILES "$(EXE_FILES)" \ >> $(DESTINSTALLARCHLIB)\perllocal.pod uninstall :: uninstall_from_$(INSTALLDIRS)dirs $(NOECHO) $(NOOP) uninstall_from_perldirs :: $(NOECHO) $(UNINSTALL) $(PERL_ARCHLIB)\auto\$(FULLEXT)\.packlist uninstall_from_sitedirs :: $(NOECHO) $(UNINSTALL) $(SITEARCHEXP)\auto\$(FULLEXT)\.packlist uninstall_from_vendordirs :: $(NOECHO) $(UNINSTALL) $(VENDORARCHEXP)\auto\$(FULLEXT)\.packlist # --- MakeMaker force section: # Phony target to force checking subdirectories. FORCE : $(NOECHO) $(NOOP) # --- MakeMaker perldepend section: # --- MakeMaker makefile section: # We take a very conservative approach here, but it's worth it. # We move Makefile to Makefile.old here to avoid gnu make looping. $(FIRST_MAKEFILE) : Makefile.PL $(CONFIGDEP) $(NOECHO) $(ECHO) "Makefile out-of-date with respect to $?" $(NOECHO) $(ECHO) "Cleaning current config before rebuilding Makefile..." -$(NOECHO) $(RM_F) $(MAKEFILE_OLD) -$(NOECHO) $(MV) $(FIRST_MAKEFILE) $(MAKEFILE_OLD) - $(MAKE) $(USEMAKEFILE) $(MAKEFILE_OLD) clean $(DEV_NULL) $(PERLRUN) Makefile.PL $(NOECHO) $(ECHO) "==> Your Makefile has been rebuilt. <==" $(NOECHO) $(ECHO) "==> Please rerun the $(MAKE) command. <==" false # --- MakeMaker staticmake section: # --- MakeMaker makeaperl section --- MAP_TARGET = perl FULLPERL = C:\camelbox\bin\perl.exe $(MAP_TARGET) :: static $(MAKE_APERL_FILE) $(MAKE) $(USEMAKEFILE) $(MAKE_APERL_FILE) $@ $(MAKE_APERL_FILE) : $(FIRST_MAKEFILE) pm_to_blib $(NOECHO) $(ECHO) Writing \"$(MAKE_APERL_FILE)\" for this $(MAP_TARGET) $(NOECHO) $(PERLRUNINST) \ Makefile.PL DIR= \ MAKEFILE=$(MAKE_APERL_FILE) LINKTYPE=static \ MAKEAPERL=1 NORECURS=1 CCCDLFLAGS= # --- MakeMaker test section: TEST_VERBOSE=0 TEST_TYPE=test_$(LINKTYPE) TEST_FILE = test.pl TEST_FILES = TESTDB_SW = -d testdb :: testdb_$(LINKTYPE) test :: $(TEST_TYPE) subdirs-test subdirs-test :: $(NOECHO) $(NOOP) $(NOECHO) $(ECHO) 'No tests defined for $(NAME) extension.' test_dynamic :: pure_all testdb_dynamic :: pure_all $(FULLPERLRUN) $(TESTDB_SW) "-I$(INST_LIB)" "-I$(INST_ARCHLIB)" $(TEST_FILE) test_ : test_dynamic test_static :: test_dynamic testdb_static :: testdb_dynamic # --- MakeMaker ppd section: # Creates a PPD (Perl Package Description) for a binary distribution. ppd : $(NOECHO) $(ECHO) "" > $(DISTNAME).ppd $(NOECHO) $(ECHO) " $(DISTNAME)" >> $(DISTNAME).ppd $(NOECHO) $(ECHO) " Widget for displaying and editing multi-line" >> $(DISTNAME).ppd $(NOECHO) $(ECHO) " Jeffrey Ray Hallock <jeffrey dot hallock @ gmail dot com>" >> $(DISTNAME).ppd $(NOECHO) $(ECHO) " " >> $(DISTNAME).ppd $(NOECHO) $(ECHO) " " >> $(DISTNAME).ppd $(NOECHO) $(ECHO) " " >> $(DISTNAME).ppd $(NOECHO) $(ECHO) " " >> $(DISTNAME).ppd $(NOECHO) $(ECHO) " " >> $(DISTNAME).ppd $(NOECHO) $(ECHO) " " >> $(DISTNAME).ppd $(NOECHO) $(ECHO) "" >> $(DISTNAME).ppd # --- MakeMaker pm_to_blib section: pm_to_blib : $(TO_INST_PM) $(NOECHO) $(ABSPERLRUN) -MExtUtils::Install -e "pm_to_blib({{@ARGV}, '$(INST_LIB)\auto', '$(PM_FILTER)')" -- \ Makefile.pl $(INST_LIB)\Gtk2\Ex\Makefile.pl \ lib/Gtk2/Ex/CellRendererWrappedText.pm blib\lib\Gtk2\Ex\CellRendererWrappedText.pm $(NOECHO) $(TOUCH) pm_to_blib # --- MakeMaker selfdocument section: # --- MakeMaker postamble section: # End. Gtk2-Ex-CellRendererWrappedText/Makefile.pl100666 0 0 1211 11460170010 17275 0ustar usergroupuse 5.010000; use ExtUtils::MakeMaker; # See lib/ExtUtils/MakeMaker.pm for details of how to influence # the contents of the Makefile that is written. WriteMakefile( NAME => 'Gtk2::Ex::CellRendererWrappedText', VERSION_FROM => 'lib/Gtk2/Ex/CellRendererWrappedText.pm', # finds $VERSION PREREQ_PM => { 'Gtk2' => 0, }, ($] >= 5.005 ? ## Add these new keywords supported since 5.005 (ABSTRACT_FROM => 'lib/Gtk2/Ex/CellRendererWrappedText.pm', # retrieve abstract from module AUTHOR => 'Jeffrey Ray Hallock ') : ()), ); Gtk2-Ex-CellRendererWrappedText/MANIFEST100666 0 0 170 11460167434 16357 0ustar usergroupChanges Makefile.PL MANIFEST README example/01_cellrenderer_wrapped_text.t lib/Gtk2/Ex/CellRendererWrappedText.pm Gtk2-Ex-CellRendererWrappedText/META_new.yml100666 0 0 0 11460170751 17274 0ustar usergroupGtk2-Ex-CellRendererWrappedText/README100666 0 0 0 11460121244 16023 0ustar usergroup