diff -Nru pygtk-2.14.1/aclocal.m4 pygtk-2.15.1/aclocal.m4 --- pygtk-2.14.1/aclocal.m4 2009-03-05 23:09:13.000000000 +0000 +++ pygtk-2.15.1/aclocal.m4 2009-05-24 23:17:05.000000000 +0100 @@ -1,7 +1,7 @@ -# generated automatically by aclocal 1.9.6 -*- Autoconf -*- +# generated automatically by aclocal 1.10.2 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005 Free Software Foundation, Inc. +# 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -11,6 +11,14 @@ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. +m4_ifndef([AC_AUTOCONF_VERSION], + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],, +[m4_warning([this file was generated for autoconf 2.63. +You have another version of autoconf. It may work, but is not guaranteed to. +If you have problems, you may need to regenerate the build system entirely. +To do so, use the procedure documented by the package, typically `autoreconf'.])]) + # Configure paths for GLIB # Owen Taylor 1997-2001 @@ -106,8 +114,9 @@ { int major, minor, micro; char *tmp_version; + int ignored; - system ("touch conf.glibtest"); + ignored = system ("touch conf.glibtest"); /* HP/UX 9 (%@#!) writes to sscanf strings */ tmp_version = g_strdup("$min_glib_version"); @@ -599,12 +608,12 @@ # lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...]) # --------------------------------------------------- m4_define([lt_decl_varnames_tagged], -[_$0(m4_quote(m4_default([$1], [[, ]])), - m4_quote(m4_if([$2], [], - m4_quote(lt_decl_tag_varnames), - m4_quote(m4_shift($@)))), - m4_split(m4_normalize(m4_quote(_LT_TAGS))))]) -m4_define([_lt_decl_varnames_tagged], [lt_combine([$1], [$2], [_], $3)]) +[m4_assert([$# <= 2])dnl +_$0(m4_quote(m4_default([$1], [[, ]])), + m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]), + m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))]) +m4_define([_lt_decl_varnames_tagged], +[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])]) # lt_decl_all_varnames([SEPARATOR], [VARNAME1...]) @@ -1164,10 +1173,10 @@ _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; darwin1.*) _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; - darwin*) # darwin 5.x on + darwin*) # darwin 5.x on # if running on 10.5 or later, the deployment target defaults # to the OS version, if on x86, and 10.4, the deployment - # target defaults to 10.4. Don't you love it? + # target defaults to 10.4. Don't you love it? case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*) _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; @@ -1209,7 +1218,11 @@ _LT_TAGVAR(whole_archive_flag_spec, $1)='' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined" - if test "$GCC" = "yes"; then + case $cc_basename in + ifort*) _lt_dar_can_shared=yes ;; + *) _lt_dar_can_shared=$GCC ;; + esac + if test "$_lt_dar_can_shared" = "yes"; then output_verbose_link_cmd=echo _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" @@ -1731,7 +1744,7 @@ lt_cv_sys_max_cmd_len=-1; ;; - cygwin* | mingw*) + cygwin* | mingw* | cegcc*) # On Win9x/ME, this test blows up -- it succeeds, but takes # about 5 minutes as the teststring grows exponentially. # Worse, since 9x/ME are not pre-emptively multitasking, @@ -1899,10 +1912,6 @@ # endif #endif -#ifdef __cplusplus -extern "C" void exit (int); -#endif - void fnord() { int i=42;} int main () { @@ -1918,7 +1927,7 @@ else puts (dlerror ()); - exit (status); + return status; }] _LT_EOF if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then @@ -1957,7 +1966,7 @@ lt_cv_dlopen_self=yes ;; - mingw* | pw32*) + mingw* | pw32* | cegcc*) lt_cv_dlopen="LoadLibrary" lt_cv_dlopen_libs= ;; @@ -2254,6 +2263,7 @@ [AC_REQUIRE([AC_CANONICAL_HOST])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_DECL_OBJDUMP])dnl m4_require([_LT_DECL_SED])dnl AC_MSG_CHECKING([dynamic linker characteristics]) m4_if([$1], @@ -2418,14 +2428,14 @@ # libtool to hard-code these into programs ;; -cygwin* | mingw* | pw32*) +cygwin* | mingw* | pw32* | cegcc*) version_type=windows shrext_cmds=".dll" need_version=no need_lib_prefix=no case $GCC,$host_os in - yes,cygwin* | yes,mingw* | yes,pw32*) + yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ @@ -2448,7 +2458,7 @@ soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" ;; - mingw*) + mingw* | cegcc*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` @@ -2886,7 +2896,7 @@ version_type=linux need_lib_prefix=no need_version=no - library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes @@ -2910,7 +2920,7 @@ if test "$GCC" = yes; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi - + if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" fi @@ -3187,6 +3197,7 @@ # -- PORTME fill in with the dynamic library characteristics m4_defun([_LT_CHECK_MAGIC_METHOD], [m4_require([_LT_DECL_EGREP]) +m4_require([_LT_DECL_OBJDUMP]) AC_CACHE_CHECK([how to recognize dependent libraries], lt_cv_deplibs_check_method, [lt_cv_file_magic_cmd='$MAGIC_CMD' @@ -3237,6 +3248,12 @@ fi ;; +cegcc) + # use the weaker test based on 'objdump'. See mingw*. + lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' + lt_cv_file_magic_cmd='$OBJDUMP -f' + ;; + darwin* | rhapsody*) lt_cv_deplibs_check_method=pass_all ;; @@ -3548,7 +3565,7 @@ aix*) symcode='[[BCDT]]' ;; -cygwin* | mingw* | pw32*) +cygwin* | mingw* | pw32* | cegcc*) symcode='[[ABCDGISTW]]' ;; hpux*) @@ -3794,7 +3811,7 @@ beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; - mingw* | cygwin* | os2* | pw32*) + mingw* | cygwin* | os2* | pw32* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style @@ -3821,10 +3838,11 @@ fi ;; hpux*) - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but - # not for PA HP-UX. + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag + # sets the default TLS model and affects inlining. case $host_cpu in - hppa*64*|ia64*) + hppa*64*) ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' @@ -3922,12 +3940,19 @@ _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; - icpc* | ecpc* ) - # Intel C++ + ecpc* ) + # old Intel C++ for x86_64 which still supported -KPIC. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; + icpc* ) + # Intel C++, used to be incompatible with GCC. + # ICC 10 doesn't accept -KPIC any more. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; pgCC* | pgcpp*) # Portland Group C++ compiler _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' @@ -4093,7 +4118,7 @@ # PIC is the default for these OSes. ;; - mingw* | cygwin* | pw32* | os2*) + mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style @@ -4109,10 +4134,11 @@ ;; hpux*) - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but - # not for PA HP-UX. + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag + # sets the default TLS model and affects inlining. case $host_cpu in - hppa*64*|ia64*) + hppa*64*) # +Z the default ;; *) @@ -4162,7 +4188,7 @@ fi ;; - mingw* | cygwin* | pw32* | os2*) + mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). m4_if([$1], [GCJ], [], @@ -4193,11 +4219,25 @@ linux* | k*bsd*-gnu) case $cc_basename in - icc* | ecc* | ifort*) + # old Intel for x86_64 which still supported -KPIC. + ecc*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; + # icc used to be incompatible with GCC. + # ICC 10 doesn't accept -KPIC any more. + icc* | ifort*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + # Lahey Fortran 8.1. + lf95*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared' + _LT_TAGVAR(lt_prog_compiler_static, $1)='--static' + ;; pgcc* | pgf77* | pgf90* | pgf95*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) @@ -4379,7 +4419,7 @@ pw32*) _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" ;; - cygwin* | mingw*) + cygwin* | mingw* | cegcc*) _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' ;; linux* | k*bsd*-gnu) @@ -4434,7 +4474,7 @@ extract_expsyms_cmds= case $host_os in - cygwin* | mingw* | pw32*) + cygwin* | mingw* | pw32* | cegcc*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. @@ -4521,7 +4561,7 @@ fi ;; - cygwin* | mingw* | pw32*) + cygwin* | mingw* | pw32* | cegcc*) # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, # as there is no search path for DLLs. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' @@ -4587,6 +4627,9 @@ tmp_addflag=' -i_dynamic -nofor_main' ;; ifc* | ifort*) # Intel Fortran compiler tmp_addflag=' -nofor_main' ;; + lf95*) # Lahey Fortran 8.1 + _LT_TAGVAR(whole_archive_flag_spec, $1)= + tmp_sharedflag='--shared' ;; xl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below) tmp_sharedflag='-qmkshrobj' tmp_addflag= ;; @@ -4819,6 +4862,7 @@ fi fi + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall' # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. _LT_TAGVAR(always_export_symbols, $1)=yes @@ -4873,7 +4917,7 @@ _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic ;; - cygwin* | mingw* | pw32*) + cygwin* | mingw* | pw32* | cegcc*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is @@ -4977,7 +5021,7 @@ _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' @@ -5758,6 +5802,7 @@ fi fi + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall' # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to # export. @@ -5816,7 +5861,7 @@ esac ;; - cygwin* | mingw* | pw32*) + cygwin* | mingw* | pw32* | cegcc*) # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, # as there is no search path for DLLs. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' @@ -7197,6 +7242,18 @@ ]) +# _LT_DECL_OBJDUMP +# -------------- +# If we don't have a new enough Autoconf to choose the best objdump +# available, choose the one first in the user's PATH. +m4_defun([_LT_DECL_OBJDUMP], +[AC_CHECK_TOOL(OBJDUMP, objdump, false) +test -z "$OBJDUMP" && OBJDUMP=objdump +_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper]) +AC_SUBST([OBJDUMP]) +]) + + # _LT_DECL_SED # ------------ # Check for a fully-functional sed program, that truncates @@ -7657,7 +7714,7 @@ [enable_win32_dll=yes case $host in -*-*-cygwin* | *-*-mingw* | *-*-pw32*) +*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*) AC_CHECK_TOOL(AS, as, false) AC_CHECK_TOOL(DLLTOOL, dlltool, false) AC_CHECK_TOOL(OBJDUMP, objdump, false) @@ -7898,14 +7955,14 @@ # ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*- # -# Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc. -# Written by Gary V. Vaughan, 2004 +# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc. +# Written by Gary V. Vaughan, 2004 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. -# serial 5 ltsugar.m4 +# serial 6 ltsugar.m4 # This is to help aclocal find these macros, as it can't see m4_define. AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])]) @@ -7961,14 +8018,14 @@ # Produce a SEP delimited list of all paired combinations of elements of # PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list # has the form PREFIXmINFIXSUFFIXn. +# Needed until we can rely on m4_combine added in Autoconf 2.62. m4_define([lt_combine], -[m4_if([$2], [], [], - [m4_if([$4], [], [], - [lt_join(m4_quote(m4_default([$1], [[, ]])), - lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_prefix, [$2], - [m4_foreach(_Lt_suffix, lt_car([m4_shiftn(3, $@)]), - [_Lt_prefix[]$3[]_Lt_suffix ])])))))])])dnl -]) +[m4_if(m4_eval([$# > 3]), [1], + [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl +[[m4_foreach([_Lt_prefix], [$2], + [m4_foreach([_Lt_suffix], + ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[, + [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])]) # lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ]) @@ -8031,15 +8088,15 @@ # Generated from ltversion.in. -# serial 2976 ltversion.m4 +# serial 3012 ltversion.m4 # This file is part of GNU Libtool -m4_define([LT_PACKAGE_VERSION], [2.2.4]) -m4_define([LT_PACKAGE_REVISION], [1.2976]) +m4_define([LT_PACKAGE_VERSION], [2.2.6]) +m4_define([LT_PACKAGE_REVISION], [1.3012]) AC_DEFUN([LTVERSION_VERSION], -[macro_version='2.2.4' -macro_revision='1.2976' +[macro_version='2.2.6' +macro_revision='1.3012' _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) _LT_DECL(, macro_revision, 0) ]) @@ -8295,7 +8352,7 @@ fi[]dnl ])# PKG_CHECK_MODULES -# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. +# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -8305,14 +8362,31 @@ # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y. -AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"]) +# (This private macro should not be called outside this file.) +AC_DEFUN([AM_AUTOMAKE_VERSION], +[am__api_version='1.10' +dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to +dnl require some minimum version. Point them to the right macro. +m4_if([$1], [1.10.2], [], + [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl +]) + +# _AM_AUTOCONF_VERSION(VERSION) +# ----------------------------- +# aclocal traces this macro to find the Autoconf version. +# This is a private macro too. Using m4_define simplifies +# the logic in aclocal, which can simply ignore this definition. +m4_define([_AM_AUTOCONF_VERSION], []) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- -# Call AM_AUTOMAKE_VERSION so it can be traced. -# This function is AC_REQUIREd by AC_INIT_AUTOMAKE. +# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. +# This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], - [AM_AUTOMAKE_VERSION([1.9.6])]) +[AM_AUTOMAKE_VERSION([1.10.2])dnl +m4_ifndef([AC_AUTOCONF_VERSION], + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl +_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- @@ -8369,14 +8443,14 @@ # AM_CONDITIONAL -*- Autoconf -*- -# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005 +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 7 +# serial 8 # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- @@ -8385,8 +8459,10 @@ [AC_PREREQ(2.52)dnl ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl -AC_SUBST([$1_TRUE]) -AC_SUBST([$1_FALSE]) +AC_SUBST([$1_TRUE])dnl +AC_SUBST([$1_FALSE])dnl +_AM_SUBST_NOTMAKE([$1_TRUE])dnl +_AM_SUBST_NOTMAKE([$1_FALSE])dnl if $2; then $1_TRUE= $1_FALSE='#' @@ -8400,15 +8476,14 @@ Usually this means the macro was only invoked conditionally.]]) fi])]) - -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 8 +# serial 9 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be # written in clear, in which case automake, when reading aclocal.m4, @@ -8436,6 +8511,7 @@ ifelse([$1], CC, [depcc="$CC" am_compiler_list=], [$1], CXX, [depcc="$CXX" am_compiler_list=], [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], + [$1], UPC, [depcc="$UPC" am_compiler_list=], [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], [depcc="$$1" am_compiler_list=]) @@ -8501,6 +8577,7 @@ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then @@ -8553,61 +8630,74 @@ AMDEPBACKSLASH='\' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) -AC_SUBST([AMDEPBACKSLASH]) +AC_SUBST([AMDEPBACKSLASH])dnl +_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl ]) # Generate code to set up dependency tracking. -*- Autoconf -*- -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -#serial 3 +#serial 5 # _AM_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], -[for mf in $CONFIG_FILES; do - # Strip MF so we end up with the name of the file. - mf=`echo "$mf" | sed -e 's/:.*$//'` - # Check whether this is an Automake generated Makefile or not. - # We used to match only the files named `Makefile.in', but - # some people rename them; so instead we look at the file content. - # Grep'ing the first line is not enough: some people post-process - # each Makefile.in and add a new line on top of each file to say so. - # So let's grep whole file. - if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then - dirpart=`AS_DIRNAME("$mf")` - else - continue - fi - # Extract the definition of DEPDIR, am__include, and am__quote - # from the Makefile without running `make'. - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` - test -z "$DEPDIR" && continue - am__include=`sed -n 's/^am__include = //p' < "$mf"` - test -z "am__include" && continue - am__quote=`sed -n 's/^am__quote = //p' < "$mf"` - # When using ansi2knr, U may be empty or an underscore; expand it - U=`sed -n 's/^U = //p' < "$mf"` - # Find all dependency output files, they are included files with - # $(DEPDIR) in their names. We invoke sed twice because it is the - # simplest approach to changing $(DEPDIR) to its actual value in the - # expansion. - for file in `sed -n " - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do - # Make sure the directory exists. - test -f "$dirpart/$file" && continue - fdir=`AS_DIRNAME(["$file"])` - AS_MKDIR_P([$dirpart/$fdir]) - # echo "creating $dirpart/$file" - echo '# dummy' > "$dirpart/$file" +[{ + # Autoconf 2.62 quotes --file arguments for eval, but not when files + # are listed without --file. Let's play safe and only enable the eval + # if we detect the quoting. + case $CONFIG_FILES in + *\'*) eval set x "$CONFIG_FILES" ;; + *) set x $CONFIG_FILES ;; + esac + shift + for mf + do + # Strip MF so we end up with the name of the file. + mf=`echo "$mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile or not. + # We used to match only the files named `Makefile.in', but + # some people rename them; so instead we look at the file content. + # Grep'ing the first line is not enough: some people post-process + # each Makefile.in and add a new line on top of each file to say so. + # Grep'ing the whole file is not good either: AIX grep has a line + # limit of 2048, but all sed's we know have understand at least 4000. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then + dirpart=`AS_DIRNAME("$mf")` + else + continue + fi + # Extract the definition of DEPDIR, am__include, and am__quote + # from the Makefile without running `make'. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` + test -z "$DEPDIR" && continue + am__include=`sed -n 's/^am__include = //p' < "$mf"` + test -z "am__include" && continue + am__quote=`sed -n 's/^am__quote = //p' < "$mf"` + # When using ansi2knr, U may be empty or an underscore; expand it + U=`sed -n 's/^U = //p' < "$mf"` + # Find all dependency output files, they are included files with + # $(DEPDIR) in their names. We invoke sed twice because it is the + # simplest approach to changing $(DEPDIR) to its actual value in the + # expansion. + for file in `sed -n " + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`AS_DIRNAME(["$file"])` + AS_MKDIR_P([$dirpart/$fdir]) + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done done -done +} ])# _AM_OUTPUT_DEPENDENCY_COMMANDS @@ -8638,14 +8728,14 @@ # Do all the work for Automake. -*- Autoconf -*- -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 -# Free Software Foundation, Inc. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, +# 2005, 2006, 2008 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 12 +# serial 13 # This macro actually does too much. Some checks are only needed if # your package does certain things. But this isn't really a big deal. @@ -8662,16 +8752,20 @@ # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], -[AC_PREREQ([2.58])dnl +[AC_PREREQ([2.60])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl -# test to see if srcdir already configured -if test "`cd $srcdir && pwd`" != "`pwd`" && - test -f $srcdir/config.status; then - AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) +if test "`cd $srcdir && pwd`" != "`pwd`"; then + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output + # is not polluted with repeated "-I." + AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl + # test to see if srcdir already configured + if test -f $srcdir/config.status; then + AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) + fi fi # test whether we have cygpath @@ -8691,6 +8785,9 @@ AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl +dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. +m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, + [m4_fatal([AC_INIT should be called with package and version arguments])])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl @@ -8726,6 +8823,10 @@ [_AM_DEPENDENCIES(CXX)], [define([AC_PROG_CXX], defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl +AC_PROVIDE_IFELSE([AC_PROG_OBJC], + [_AM_DEPENDENCIES(OBJC)], + [define([AC_PROG_OBJC], + defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl ]) ]) @@ -8739,16 +8840,17 @@ # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. +_am_arg=$1 _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in - $1 | $1:* ) + $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done -echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) +echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. # @@ -8761,7 +8863,7 @@ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl -install_sh=${install_sh-"$am_aux_dir/install-sh"} +install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} AC_SUBST(install_sh)]) # Copyright (C) 2003, 2005 Free Software Foundation, Inc. @@ -8839,14 +8941,14 @@ # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- -# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005 +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 4 +# serial 5 # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ @@ -8862,6 +8964,7 @@ # If it does, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +AC_REQUIRE_AUX_FILE([missing])dnl test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" # Use eval to expand $SHELL if eval "$MISSING --run true"; then @@ -8872,7 +8975,7 @@ fi ]) -# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. +# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -8880,70 +8983,33 @@ # AM_PROG_MKDIR_P # --------------- -# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. -# -# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories -# created by `make install' are always world readable, even if the -# installer happens to have an overly restrictive umask (e.g. 077). -# This was a mistake. There are at least two reasons why we must not -# use `-m 0755': -# - it causes special bits like SGID to be ignored, -# - it may be too restrictive (some setups expect 775 directories). -# -# Do not use -m 0755 and let people choose whatever they expect by -# setting umask. -# -# We cannot accept any implementation of `mkdir' that recognizes `-p'. -# Some implementations (such as Solaris 8's) are not thread-safe: if a -# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c' -# concurrently, both version can detect that a/ is missing, but only -# one can create it and the other will error out. Consequently we -# restrict ourselves to GNU make (using the --version option ensures -# this.) +# Check for `mkdir -p'. AC_DEFUN([AM_PROG_MKDIR_P], -[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then - # We used to keeping the `.' as first argument, in order to - # allow $(mkdir_p) to be used without argument. As in - # $(mkdir_p) $(somedir) - # where $(somedir) is conditionally defined. However this is wrong - # for two reasons: - # 1. if the package is installed by a user who cannot write `.' - # make install will fail, - # 2. the above comment should most certainly read - # $(mkdir_p) $(DESTDIR)$(somedir) - # so it does not work when $(somedir) is undefined and - # $(DESTDIR) is not. - # To support the latter case, we have to write - # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), - # so the `.' trick is pointless. - mkdir_p='mkdir -p --' -else - # On NextStep and OpenStep, the `mkdir' command does not - # recognize any option. It will interpret all options as - # directories to create, and then abort because `.' already - # exists. - for d in ./-p ./--version; - do - test -d $d && rmdir $d - done - # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. - if test -f "$ac_aux_dir/mkinstalldirs"; then - mkdir_p='$(mkinstalldirs)' - else - mkdir_p='$(install_sh) -d' - fi -fi -AC_SUBST([mkdir_p])]) +[AC_PREREQ([2.60])dnl +AC_REQUIRE([AC_PROG_MKDIR_P])dnl +dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, +dnl while keeping a definition of mkdir_p for backward compatibility. +dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. +dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of +dnl Makefile.ins that do not define MKDIR_P, so we do our own +dnl adjustment using top_builddir (which is defined more often than +dnl MKDIR_P). +AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl +case $mkdir_p in + [[\\/$]]* | ?:[[\\/]]*) ;; + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; +esac +]) # Helper functions for option handling. -*- Autoconf -*- -# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. +# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -# serial 3 +# serial 4 # _AM_MANGLE_OPTION(NAME) # ----------------------- @@ -8960,7 +9026,7 @@ # ---------------------------------- # OPTIONS is a space-separated list of Automake options. AC_DEFUN([_AM_SET_OPTIONS], -[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) +[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) # ------------------------------------------- @@ -9082,7 +9148,13 @@ dnl doesn't work. AC_CACHE_CHECK([for $am_display_PYTHON script directory], [am_cv_python_pythondir], - [am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null || + [if test "x$prefix" = xNONE + then + py_prefix_arg= + else + py_prefix_arg=",prefix='$prefix'" + fi + am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0$py_prefix_arg)" -n -q install $py_prefix_arg 2>/dev/null || echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`]) AC_SUBST([pythondir], [$am_cv_python_pythondir]) @@ -9099,8 +9171,14 @@ dnl doesn't work. AC_CACHE_CHECK([for $am_display_PYTHON extension module directory], [am_cv_python_pyexecdir], - [am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null || - echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`]) + [if test "x$exec_prefix" = xNONE + then + py_exec_prefix_arg=$py_prefix_arg + else + py_exec_prefix_arg=",prefix='$exec_prefix'" + fi + am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0$py_exec_prefix_arg)" -n -q install $py_exec_prefix_arg 2>/dev/null || + echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"`]) AC_SUBST([pyexecdir], [$am_cv_python_pyexecdir]) dnl pkgpyexecdir -- $(pyexecdir)/$(PACKAGE) @@ -9226,9 +9304,21 @@ if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi -INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) +# Copyright (C) 2006 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# _AM_SUBST_NOTMAKE(VARIABLE) +# --------------------------- +# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. +# This macro is traced by Automake. +AC_DEFUN([_AM_SUBST_NOTMAKE]) + # Check how to create a tarball. -*- Autoconf -*- # Copyright (C) 2004, 2005 Free Software Foundation, Inc. diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/atkmodule.c /tmp/vg4GBciBVb/pygtk-2.15.1/atkmodule.c --- pygtk-2.14.1/atkmodule.c 2009-03-05 22:06:53.000000000 +0000 +++ pygtk-2.15.1/atkmodule.c 2009-04-26 16:11:17.000000000 +0100 @@ -16,7 +16,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA */ diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/atk.override /tmp/vg4GBciBVb/pygtk-2.15.1/atk.override --- pygtk-2.14.1/atk.override 2009-03-05 22:06:53.000000000 +0000 +++ pygtk-2.15.1/atk.override 2009-04-26 16:11:17.000000000 +0100 @@ -16,7 +16,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA */ %% diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/atkrectangle.override /tmp/vg4GBciBVb/pygtk-2.15.1/atkrectangle.override --- pygtk-2.14.1/atkrectangle.override 2009-03-05 22:06:53.000000000 +0000 +++ pygtk-2.15.1/atkrectangle.override 2009-04-26 16:11:17.000000000 +0100 @@ -16,7 +16,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA */ %% diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/ChangeLog /tmp/vg4GBciBVb/pygtk-2.15.1/ChangeLog --- pygtk-2.14.1/ChangeLog 2009-03-05 23:09:31.000000000 +0000 +++ pygtk-2.15.1/ChangeLog 2009-05-24 23:26:02.000000000 +0100 @@ -1,3267 +1,227 @@ -=== PyGTK 2.14.1 === -2009-03-05 Gian Mario Tagliaretti +commit 2c0ba86924b6fa86ab48a3bcd1f33f717c886164 +Author: Gian Mario Tagliaretti +Date: Mon May 25 00:22:54 2009 +0200 - * NEWS: Updaed - * configure.ac: Bump version 2.14.1 + Update NEWS, release 2.15.1 -2009-02-01 Gustavo J. A. M. Carneiro + NEWS | 16 ++++++++++++++++ + 1 files changed, 16 insertions(+), 0 deletions(-) - * gtk/gtktextview.override - (_wrap_gtk_text_buffer_register_deserialize_format): Return the - deserialized string as a new memory buffer. Closes #567747. - (_wrap_gtk_text_buffer_serialize): We must free the original - deserialized string buffer (caller owns return). +commit 713d88a59b099fb04139b93d60401895ff51e6ef +Author: Gian Mario Tagliaretti +Date: Mon May 25 00:16:28 2009 +0200 -=== PyGTK 2.14.0 === -2008-01-28 Gian Mario Tagliaretti + Post release version bump 2.15.1 - Bug 556130 – bogus override of python includes in configure.ac + configure.ac | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) - * configure.ac: Don't override PYTHON_INCLUDES, it's already set - by AM_CHECK_PYTHON_HEADERS patch by Loïc Minier. +commit ee2dfca5879125346bc309f4f13c553e12fb7460 +Author: Paul Pogonyshev +Date: Sat May 16 00:12:46 2009 +0300 -2009-01-27 Gian Mario Tagliaretti + Add HSV support to gtk.gdk.Color objects - * configure.ac: version bump to 2.14.0. + Add read-only float attributes for hue, saturation and value of a + color. Add a function to create a color objects out of HSV + components. Add unit tests and document new features. Part of bug + 546019. -2008-12-02 Paul Pogonyshev + docs/reference/pygtk-gdkcolor.xml | 100 + ++++++++++++++++++++++++++++++++++++- + gtk/gdk-base-types.defs | 3 + + gtk/gdkcolor.override | 83 ++++++++++++++++++++++++++++++ + tests/test_color.py | 21 +++++++- + 4 files changed, 204 insertions(+), 3 deletions(-) - Bug 562991 – memory leak in gdk.draw_indexed_image +commit 15b7265a00d405d6115f45ba0b1f26019ef1a52b +Author: Paul Pogonyshev +Date: Tue May 12 00:47:51 2009 +0300 - * gtk/gdkdraw.override (_wrap_gdk_draw_indexed_image): Free - `colors' array. + Add floating-point support to gtk.gdk.Color -2008-12-01 Gian Mario Tagliaretti + Make constructor accept floating-point arguments. Add 'red_float', + 'green_float' and 'blue_float' read-write properties. Test and + document new features. Part of bug #546019. - * gtk/Makefile.am: - * gtk/gtkunixprint-2.12.defs: - * gtk/gtkunixprint-2.14.defs: - * gtk/gtkunixprint-base-types.defs: - * gtk/gtkunixprint-base.defs: - * gtk/gtkunixprint.defs: split gtkunixprint defs in order to support - multiple gtk versions. + docs/reference/pygtk-gdkcolor.xml | 50 +++++++++ + gtk/gdk-base-types.defs | 5 + + gtk/gdkcolor.override | 220 + +++++++++++++++++++++++++++++++------ + tests/test_color.py | 21 ++++ + 4 files changed, 260 insertions(+), 36 deletions(-) -2008-09-10 Paul Pogonyshev +commit 029b2905baec78b370e76e1b2340dc2ee2ddaea1 +Author: Paul Pogonyshev +Date: Tue May 12 23:32:40 2009 +0300 - Bug 550442 – gdk.c:19188: error: ‘GDK_TYPE_APP_LAUNCH_CONTEXT’ - undeclared (first use in this function) + Retire hand-written ChangeLog; autocreate from Git history - * gtk/gdk.override: Include itself. + Basically copied over from GLib source tree. -2008-09-09 Paul Pogonyshev + ChangeLog | 3544 + --------------------------------------------------- + ChangeLog.pre-2-16 | 3546 + ++++++++++++++++++++++++++++++++++++++++++++++++++++ + Makefile.am | 33 + + 3 files changed, 3579 insertions(+), 3544 deletions(-) - Bug 551505 – set_parent_window(None) should work +commit bec9aad2859e246ee5148494089dcc67c1fd8404 +Author: Frederic Peters +Date: Tue May 12 20:26:30 2009 +0300 - * gtk/gtk-base.defs (gtk.Widget.set_parent_window): Accept None - too. + Fix conditional in docs/Makefile.am -2008-09-02 Gian Mario Tagliaretti + Bug #582139. - * gtk/gtk-2.14.defs: comment out for a while gtk_selection_data_get_data - waiting to fix a problem in codegen. + docs/Makefile.am | 4 ++++ + 1 files changed, 4 insertions(+), 0 deletions(-) -2008-08-31 Gian Mario Tagliaretti +commit 04889ab2e24a691a523c2b5db1da1cfa2a7c40a9 +Author: Paul Pogonyshev +Date: Sat May 9 16:12:12 2009 +0300 - * gtk/pygtktreemodel.c: Remove compiler warnings. + Document that gtk.gdk.GC coordinates are not related to allocation -2008-08-28 Paul Pogonyshev + See bug #581357. - Bug 541476 – Update pango examples + docs/reference/pygtk-gdkgc.xml | 4 ++++ + 1 files changed, 4 insertions(+), 0 deletions(-) - * examples/pango/utf8-demo.py: Fix interpreter line. Replace all - escapes with corresponding characters. Use gtk.main_quit() - instead of deprecated gtk.mainquit(). +commit b8b6f248286b1e4ff1179bdc4e8b810f6e9f00c5 +Author: Paul Pogonyshev +Date: Fri May 8 23:50:49 2009 +0300 - * examples/pango/extentdemo.py: Fix interpreter line. + Make pygtk_boxed_unref_shared() also handle Py_None -2008-08-28 Paul Pogonyshev + Fixes bug #523001. - Bug 529623 – TypeError not raised when setting gtk.TreeView - adjustment property to None + gtk/gtkobject-support.c | 4 ++++ + 1 files changed, 4 insertions(+), 0 deletions(-) - * gtk/gtk-base.defs (gtk.ScrolledWindow.set_hadjustment): Allow - the argument to be None. - (gtk.ScrolledWindow.set_vadjustment): Likewise. +commit 25a126afb27e7f946a0da2fd8d304c99fa6c8ee6 +Author: Paul Pogonyshev +Date: Fri May 8 23:42:06 2009 +0300 -2008-08-28 Paul Pogonyshev + Make gtk.MenuItem.set_submenu accept None - Bug 526189 – add __str__ and/or __repr__ to several types + Fixes bug #534675. - * gtk/gdk.override (_wrap_gdk_cursor_tp_repr): New function. + gtk/gtk-base.defs | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) - * gtk/gdkcolor.override (pygdk_color_to_string_smart) - (_wrap_gdk_color_tp_repr, _wrap_gdk_color_tp_str): New functions. +commit 5e1034ff15690da047c280022e9c9e99f3d8ba5b +Author: Björn Lindqvist +Date: Fri May 8 23:31:57 2009 +0300 - * gtk/gdkevent.override (_wrap_gdk_event_tp_repr): New function. + Don't run 'fixxref.py' if documentation is not built - * gtk/gdkrectangle.override (_wrap_gdk_rectangle_tp_repr): New - function. + Closes bug #536091. - * tests/test_color.py (Tests.test_repr, Tests.test_str): New tests. - (Tests._test_color_list): New helper method. + docs/Makefile.am | 6 +++--- + 1 files changed, 3 insertions(+), 3 deletions(-) - * tests/test_rectangle.py (Tests.test_repr): New test. - (Tests._test_rectangle_list): New helper method. +commit 313b6c7133542096e4b229066fb654b067883212 +Author: Paul Pogonyshev +Date: Fri May 8 23:14:21 2009 +0300 -2008-08-24 Gian Mario Tagliaretti + Apply libtool 2.2 compatibility patch - * configure.ac: post release version bump. + Closes bug #564023. -=== PyGTK 2.13.0 === -2008-08-24 Gian Mario Tagliaretti + configure.ac | 2 ++ + 1 files changed, 2 insertions(+), 0 deletions(-) - * NEWS: updated. +commit cec183f138153df7c6573b01f3a44a5fe54dfc54 +Author: Paul Pogonyshev +Date: Sat May 2 16:55:53 2009 +0300 - * README: updated. + Plug reference leak on main signal watch source -2008-08-24 Gian Mario Tagliaretti + Additionally rename pygtk_signal_watch_finalize() to + pygtk_main_watch_finalize() for consistency. Fixes bug #579406. - * tests/test_treeview.py: Comment out test_default_attributes until - we get a response on bugs #546005 and #498010. + gtk/gtk.override | 18 ++++++++++++++---- + 1 files changed, 14 insertions(+), 4 deletions(-) -2008-08-24 Paul Pogonyshev +commit bf8333755b4db98a54650f1cd15ecfe4fa2b4451 +Author: Paul Pogonyshev +Date: Fri May 8 21:46:45 2009 +0300 - * gtk/gtk-base.defs (gtk.Toolbar.set_icon_size) - (gtk.Toolbar.unset_icon_size): Undeprecate based on the same move - in GTK+ itself (see bug #314172). + Add extra warning against accidental misuse of tree model columns -2008-08-24 Paul Pogonyshev + If a property is bound from a boolean (which is treated as integer, + even though user most likely has different intentions), issue a + warning. Closes bug #554061. - Bug 548180 – install compatibility symlink for pygtk-codegen-2.0 + gtk/gtktreeview.override | 6 ++++++ + 1 files changed, 6 insertions(+), 0 deletions(-) - * pygtk-codegen-2.0.in: New file. +commit 807239aac5d1a8ae7ab1e3e2360d54ee572bbfdd +Author: Mariano Suárez-Alvarez +Date: Fri May 8 21:39:53 2009 +0300 - * configure.ac: - * Makefile.am: Hook it up. + Wrap gtk.Border attributes and constructor -2008-08-21 Gian Mario Tagliaretti + Closes bug #414779. - * NEWS: Updated. + docs/reference/pygtk-gtkborder.xml | 102 +++++++++++++++++++++++ + gtk/Makefile.am | 1 + + gtk/gtk-base.defs | 6 ++ + gtk/gtk.override | 1 + + gtk/gtkborder.override | 159 + ++++++++++++++++++++++++++++++++++++ + 5 files changed, 269 insertions(+), 0 deletions(-) -2008-08-21 Gian Mario Tagliaretti +commit d62ef2077277f32f0c88bdde92cc48a0efaa38a6 +Author: Paul Pogonyshev +Date: Fri May 8 21:06:54 2009 +0300 - * docs/Makefile.am: Fix a problem with distcheck and avoid including - .svn dir in the resulting tarball. + Make gtk.gdk.Event.time accept 'long' in assignments -2008-08-18 Gian Mario Tagliaretti + Fixes bug #408658. - Bug 548312 – gtk_font_selection_get_family_entry and - gtk_font_selection_get_face_entry are gone + gtk/gdkevent.override | 46 + ++++++++++++++++++++++++++-------------------- + tests/test_gdkevent.py | 9 +++++++++ + 2 files changed, 35 insertions(+), 20 deletions(-) - * gtk/gtk-2.14.defs: remove gtk_font_selection_get_family_entry and - gtk_font_selection_get_face_entry since they are gone in GTK+ itself. - Patch by Björn Lindqvist. +commit ed89f5605c57e21e95cfc2fecfc6830947faf2de +Author: Paul Pogonyshev +Date: Fri May 8 20:59:33 2009 +0300 -2008-08-18 Gian Mario Tagliaretti + Wrap gtk.RcStyle attributes - Bug 548349 – gtk_widget_get_snapshot(NULL) is allowed + Closes bug #421196. - * gtk/gtk-2.14.defs: (gtk.Widget.get_snapshot) Accept None and - default to None. Reported by Björn Lindqvist. + docs/reference/pygtk-gtkrcstyle.xml | 92 +++++++++++++++++++++ + gtk/Makefile.am | 1 + + gtk/gtk-base-types.defs | 11 +++ + gtk/gtk-types.c | 154 + ++++++++++++++++++++++++++++++++++- + gtk/gtk.override | 1 + + gtk/gtkrcstyle.override | 150 + ++++++++++++++++++++++++++++++++++ + gtk/pygtk-private.h | 11 +++ + 7 files changed, 419 insertions(+), 1 deletions(-) -2008-08-09 Paul Pogonyshev +commit 948dd2863d130b3e7bb81cd7df07a95e49a2c778 +Author: Gian Mario Tagliaretti +Date: Sat May 2 23:53:02 2009 +0200 - * gtk/gtk-base.defs (gtk.CellViewset_background_color): Accept - None (bug #546733). + Update NEWS and README, release PyGTK 2.15.0 -2008-08-03 Gian Mario Tagliaretti + NEWS | 19 +++++++++++++++++++ + README | 8 +++++--- + 2 files changed, 24 insertions(+), 3 deletions(-) - * gtk/gtk-2.14.defs: rename gtk_window_get_default to - gtk_window_get_default_widget see #65818. +commit 90cfb3e6694a9d575b8fb2420b1c61fd5d6401a8 +Author: Paul Pogonyshev +Date: Sat May 2 17:11:03 2009 +0300 - * configure.ac: GTK+ 2.13.6 is required to compile pygtk. + Document pango.UNDERLINE_ERROR -2008-08-02 Paul Pogonyshev + Fixes bug #576938. - Bug 527212 – types with well-defined equality semantics are not - properly comparable - - * gtk/gdk.override (_wrap_pygdk_region_tp_richcompare): New - function. - - * gtk/gdkcolor.override (_wrap_gdk_color_tp_richcompare): New - function. - - * gtk/gdkrectangle.override (_wrap_gdk_rectangle_tp_richcompare): - New function. - - * tests/test_conversion.py (testColorCreation): Move to thematic - test file. - - * tests/Makefile.am: - * tests/test_color.py: - * tests/test_rectangle.py: Two new test files. - -2008-07-29 Gian Mario Tagliaretti - - * configure.ac: pygobject 2.15.3 is required to compile pygtk 2.14. - -2008-07-26 Paul Pogonyshev - - * gtk/gtkbuilder.override (PyGCustomSignalNotify): Add - 'missing_handlers' (Python list) and 'exception_pending' (boolean) - fields. - (connect_many, _wrap_gtk_builder_connect_signals): Warn user on - missing handlers and set/modify new fields as appropriate (bug - #543768). - -2008-07-15 Johan Dahlin - - * configure.ac: rename from configure.in - -2008-07-26 Gian Mario Tagliaretti - - Bug 544777 – Add GTK+ 2.14 API in PyGTK - - * gtk/gdk.override: - * gtk/gtk.override: - * gtk/gdk-2.14.defs: - * gtk/gtk-2.14.defs: - * gtk/gtk-2.14-types.defs: - * gtk/gdk-base-types.defs: - * gtk/Makefile.am: Add GTK+ 2.14 API - - * configure.in: Bump version to 2.13.0. - -2008-07-19 Paul Pogonyshev - - * docs/Makefile.am (EXTRA_DIST): Don't include full directories: - that drags in the '.svn's in them (bug #530142). - -2008-07-15 Johan Dahlin - - * gtk/libglade.override: - modulename should be gtk.glade, not just glade. - Spotted by pychecker. - -2008-07-14 Paul Pogonyshev - - * gtk/gtk-base.defs (gtk.CellRenderer.do_start_editing): Mark - return value as optional (bug #542583). - - bug 542821: - - * codegen: Remove directory, we will use PyGObject's codegen from - now on. - - * configure.in: Remove local codegen mentions. - (CODEGENDIR): New AC_SUBST: determine where installed PyGObject's - codegen is. - - * Makefile.am: - * gtk/Makefile.am: Remove local codegen mentions and use - 'CODEGENDIR' instead. - - * MANIFEST.in: - * pygtk.spec.in: - * setup.py: Remove all mentions of codegen. - - * pygobject-2.0.pc.in: Remove file (unused). - - * pygtk-2.0.pc.in: Change 'codegendir' to refer to PyGObject's - codegen. - -2008-07-08 Murray Cumming - - * codegen/h2def.py: clean_func(): Strip GSEAL out, to avoid - us thinking that there are many functions called GSEAL. - -2008-06-26 Paul Pogonyshev - - * gtk/gtk.override (_wrap_gtk_plug_new): Fix to work also with - integer 'socket_id' argument (bug #539365). - - * tests/Makefile.am: - * tests/test_plug.py: New test file. - - * gtk/gtk-2.12.defs (gtk.Builder.add_from_string): Explain why - 'length' is preserved in definition, but not mentioned in docs. - -2008-06-24 Paul Pogonyshev - - * gtk/gtktreeview.override (_wrap_gtk_tree_model_tp_getitem): Fix - logic in negative index branch to avoid refcount corruption. - (_wrap_gtk_tree_model_tp_setitem): Likewise (bug #537459). - - * tests/test_liststore.py (ListStoreTest.testNegativeIndexGet) - (ListStoreTest.testNegativeIndexSet): Two new tests for the bug. - -2008-06-23 Gian Mario Tagliaretti - - Bug 539743 – Missing method gtk.IconView.get_tooltip_context - - * gtk/gtk.override: wrap gtk.IconView.get_tooltip_context - - * examples/pygtk-demo/demos/tooltip.py: use the above method. - -2008-06-22 Paul Pogonyshev - - * gtk/gtk.override (_wrap_gtk_action_set_menu_item_type) - (_wrap_gtk_action_set_tool_item_type): Check that argument is a - subclass of gtk.MenuItem or gtk.ToolItem correspondingly (bug - #533644). - - * tests/test_actiongroup.py (ActionTest.testSetItemClasses): New - test for the added type check. - -2008-06-22 Gian Mario Tagliaretti - - Bug 530145 – Missing method gtk.TreeView.get_tooltip_context - - * gtk/gtk.override: wrap gtk.TreeView.get_tooltip_context - - * examples/pygtk-demo/demos/tooltip.py: use the above method. - -2008-06-21 Paul Pogonyshev - - * gtk/gtk.override (_wrap_gtk_button_new): Fix 'use_underline' - being ignored if neither 'text' nor 'stock' is set (bug #524187). - - * tests/Makefile.am: - * tests/test_button.py: New test file. - -2008-06-10 Gian Mario Tagliaretti - - * gtk/gtk.override: wrap gtk.show_about_dialog() - fixes (bug #167603) patch from Christopher Aillon. - -2008-06-09 Gian Mario Tagliaretti - - * tests/Makefile.am: - * tests/test_filechooserdialog.py: New test - - * gtk/gtk.override: Add a gtk.FileChooserDialog get_action method to - workaround an issue with the same mothos of gtk.Widget being called. - fixes (bug #534042). - -2008-06-06 Johan Dahlin - - * gtk/gtk-base.defs: Deprecate gtk.FileSelection - -2008-06-06 Gian Mario Tagliaretti - - * examples/Makefile.am: Ship tooltip.py example in pygtk-demo. - -2008-06-06 Gian Mario Tagliaretti - - * gtk/gtk-1.12.defs: Allow None in gtk.recent_action_new_for_manager - params. - -2008-06-06 Gian Mario Tagliaretti - - * gtk/gtk-1.12.defs: Allow None in gtk.RecentAction constructor params, - fixes (bug #536882). - -2008-06-01 Björn Lindqvist - - * docs/Makefile.am: Move CSS_DATA variable inside the if - ENABLE_DOCS block. Makes make work if --enable-docs=no is - specified and pygobject docs are not available. (bug #536077) - -2008-05-20 Owen Taylor - - * gtk/gtk.override: Allocate the right amount of memory - for PySignalWatchSource, fixing memory corruption. - (bug #534083) - -2008-05-18 Gian Mario Tagliaretti - - * examples/Makefile.am: - * examples/pygtk-demo/demos/textscroll.py: add new example - by Muntyan, fixes (bug #522047). - -2008-05-18 Gian Mario Tagliaretti - - * gtk/gdk-base.defs: gtk.gdk.DragContext.set_icon_widget allow mask - parameter to be NULL, fixes (bug #497781). - -2008-05-08 Gian Mario Tagliaretti - - * gtk/gtk-2.12.defs: wrap gtk_widget_set_has_tooltip, - fixes (bug #524987). - -2008-05-02 Gian Mario Tagliaretti - - * gtk/gdk-2.12.defs: wrap gdk_notify_startup_complete_with_id, - fixes (bug #454985). - -2008-05-02 Gian Mario Tagliaretti - - * gtk/gtk-2.12.defs: wrap set_tip_area of gtk.Tooltip, - fixes (bug #485171). - -2008-05-02 Gian Mario Tagliaretti - - * gtk/gtk-base-types.defs: Wrap region field for expose event, - fixes (bug #495933). - -2008-05-02 Gian Mario Tagliaretti - - * gtk/gtk-base-types.defs: wrap gtk.Border fields, - fixes (bug #484030). - -2008-05-02 Gian Mario Tagliaretti - - * gtk/gtk-base-types.defs: wrap the requisition field of gtk.Widget, - fixes (bug #369311). - -2008-05-02 Gian Mario Tagliaretti - - * gtk/gdkevent.override: wrap is_modifier for key press/release, - fixes (bug #367970). - -2008-05-02 Gian Mario Tagliaretti - - * gtk/gdkcairo.override: cairo_set_source_pixmap should accept any - drawable not just pixmaps, fixes (bug #491256). - -2008-05-01 Gian Mario Tagliaretti - - * gtk/gdk.override: Wrap gdk_region_get_rectangles, - (bug #517099). - -2008-04-27 Paul Pogonyshev - - * gtk/gdkcolor.override (_wrap_gdk_color_new): Add constructor - variant similar to what gtk.gdk.color_parse() done. Raise with - useful message in case of wrong arguments (bug #527718). - - * tests/test_conversion.py (Tests.testColorCreation): Test the new - constructor with string argument. - -2008-04-15 Johan Dahlin - - patch by: Johan Euphrosine - - * configure.in: - Unbreak pango/cairo dependency chains (bug #528217) - -2008-03-24 Paul Pogonyshev - - * gtk/gdkevent.override (_wrap_gdk_event_tp_setattr): Fix several - bugs wrt 'y_root' caused by copy-paste (bug #519631). - -2008-02-14 Johan Dahlin - - * examples/Makefile.am: - * examples/gtk/application.py: - Add an application example, which includes hoovering statusbar - updates using a ui manager. - -2008-02-06 Yevgen Muntyan - - * gtk/gdk.override: - * gtk/gdk-base.defs: Create instance of GdkScreen using - gdk_screen_get_default() to avoid segfault. Fix #444974. - -2008-02-01 Paul Pogonyshev - - * gtk/gdkpixbuf.override (_wrap_gdk_pixbuf_save): Detach from - Python interpreter while saving, which can take a long time. - -2008-01-31 Nathaniel Smith - - * examples/gtk/scrollable.py (Layout.do_realize, Layout.do_map): - Use conceptually correct set_flags() calls. - - * examples/gtk/widget.py (PyGtkWidget.do_realize): Likewise. - -2007-01-29 Olivier Crete - - * codegen/h2def.py (DefsWriter.__init__): Fix copy-paste typos. - -2008-01-29 Paul Pogonyshev - - * gtk/gtk-base.defs (insert_action_group): Add default value of -1 - to `pos' argument. - -2008-01-06 Johan Dahlin - - * gtk/gtk-2.12.defs (GtkBuilder.add_from_string): Set the default - length to -1. - -2008-01-03 Johan Dahlin - - * configure.in: Post release version bump - -=== PyGTK 2.12.1 === -2008-01-03 Johan Dahlin - - * NEWS: Update - - * configure.in: - * gtk/gtk.override (pygtk_main_watch_prepare): - Port PyGObject patch from #481569 over to PyGTK, this avoids - unnecessary wakeups every 100ms. - -2007-12-16 Gian Mario Tagliaretti - - * examples/pygtk-demo/demos/changedisplay.py: Fix change display demo, - patch by Yevgen Muntyan. fixes #354896. - -2007-12-16 Paul Pogonyshev - - * gtk/gtk-base.defs (get_cell_area): Accept null `column' (fixes - #358091). - -2007-12-16 Guillaume Cottenceau - - * gtk/gdk-base.defs (flip): Add `caller-owns-return'. - -2007-12-15 Gian Mario Tagliaretti - - * examples/pango/extentdemo.py: add new example (by Adam Olsen, - and Behdad Esfahbod), fixes #400810. - -2007-12-13 Gian Mario Tagliaretti - - * gtk/gdk-base.defs: - (pixbuf_new_from_file) - (pixbuf_new_from_file_at_size): release the GIL, fixes #415611 - patch by Jakub Stachowski - -2007-12-12 Ed Catmur - - * Makefile.am (EXTRA_DIST): Also distribute m4 files. - -2007-12-12 Sebastien Bacher - - * examples/glade/README: Fix wrong command name. - -2007-12-12 Richard Hult - - * examples/pygtk-demo/demos/hypertext.py - (HypertextDemo.key_press_event): Use `gtk.keysyms', not `gtk.gdk' - where applicable. - -2007-12-10 Gustavo J. A. M. Carneiro - - * gtk/gtk-base.defs (render_icon): Bug 502871: - gtk.Style.render_icon leaks a reference to the returned pixbuf. - -2007-11-29 Dan Winship - - * codegen/defsgen.py (GType): GType is a gulong, not a guint. - Fixes crash on x86_64. #500508 - -2007-11-25 Matthew Barnes - - * gtk/Makefile.am: Install gtk-extrafuncs.defs. Fixes #380020. - -2007-11-16 Yevgen Muntyan - - * gtk/gtk-base.defs: Add several `null-ok' for accel-related - functions. - -2007-11-13 Yevgen Muntyan - - * gtk/gtkcontainer.override: (_wrap_GtkContainer__proxy_do_forall): - do not leak allocated user data. Fixes #480306, patch by Mark Doffman. - -2007-11-12 Yevgen Muntyan - - * autogen.sh: use absolute path of srcdir; and use it in ACLOCAL_FLAGS. - -2007-11-03 Julien Moutinho - - * gtk/gtk.override (_wrap_gtk_clipboard_set_with_data): Fix typo - in the code. - -2007-10-20 Gian Mario Tagliaretti - - * configure.in: raise pygobject dependency to 2.14.0, fixes #478718 - reported by Daniel Gryniewicz. - -2007-10-18 Gian Mario Tagliaretti - - * README: mention how to build docs, patch from Björn Lindqvist, - fixes #479379. - -2007-10-18 Gian Mario Tagliaretti - - * gtk/gtk-2.12.defs: - (gtk_widget_set_tooltip_window) Allow None in parameter. - -2007-10-16 Gian Mario Tagliaretti - - * gtk/gtk-2.12.defs: - (gtk_widget_set_tooltip_markup) - (gtk_widget_set_tooltip_text) - (gtk_icon_view_set_tooltip_cell) - (gtk_tool_item_set_tooltip_text) - (gtk_tool_item_set_tooltip_markup) - (gtk_tree_view_set_tooltip_cell) Allow None in parameters. - -2007-09-21 Jeremy Katz - - * gtk/gtktreeview.override - (gtk_tree_view_convert_widget_to_bin_window_coords) - (gtk_tree_view_convert_widget_to_tree_coords) - (gtk_tree_view_convert_tree_to_widget_coords) - (gtk_tree_view_convert_tree_to_bin_window_coords) - (gtk_tree_view_convert_bin_window_to_widget_coords) - (gtk_tree_view_convert_bin_window_to_tree_coords): Fix wrapper (#479012) - -2007-09-16 Gustavo J. A. M. Carneiro - - * configure.in: Post-release bump. - -=== 2.12.0 === -2007-09-16 Gustavo J. A. M. Carneiro - - * configure.in: Version 2.12.0. - - * NEWS: Update. - -2007-09-06 John Finlay - - * docs/Makefile.am (install-data-hook): Add pygobject docs dir to - index dirs for fixxref.py - -2007-09-04 John Finlay - - * codegen/defsgen.py (main): Create a GObject to initialize param pool - Fixes #473576 (patch by Mark Doffman). - -2007-09-02 Gustavo J. A. M. Carneiro - - * pango.override: - * tests/test_pango.py: - Bug 472908 – Make pango.Context non-instantiable. - -2007-09-01 John Finlay - - * codegen/argtypes.py (StringArg.write_param) - * codegen/codegen.py (Wrapper.write_function_wrapper): Allow StringArg - to have default empty string ("") - -2007-08-30 Gustavo J. A. M. Carneiro - - * gtk/gdk-2.12.defs: Put the X11 defs inside (ifdef GDK_TARGET_X11 - ...). Fixes Bug 471804 – X11 specific calls included in the gtk - module, breaking other backends. - -2007-08-29 Johan Dahlin - - * pango.override: Make the bindings a bit more pythonic, implement - tp_str, tp_hash and tp_compare for a few objects. - - * tests/test_pango.py: Add tests. - -2007-08-27 Gustavo J. A. M. Carneiro - - * configure.in: Post-release version bump. - -=== 2.11.0 === -2007-08-27 Johan Dahlin - - * README: - - * NEWS: Update - -2007-08-27 Gustavo J. A. M. Carneiro - - * configure.in (gtk_version): Add -DHAVE_GTK_2_12 to - PYGTK_CODEGEN_DEFINES when compiling with gtk+ 2.12. - - * gtk/gtk-base.defs (scroll_child): Idem. for - ScrolledWindow.scroll_child. - - * gtk/gtk-2.10.defs (reorder_tab): Idem for reorder_tab. - - * gtk/gtk-base.defs: Adjust GtkNotebook virtual - change_current_page return type to gboolean if compiling against - gtk+ >= 2.12. - - * docs/Makefile.am (EXTRA_DIST): Add icons and cursors to dist. - - * configure.in: Fix CFLAGS to allow compilation on Solaris. - -2007-08-25 John Finlay - - * Makefile.am (doc-dist): Copy icons and cursors when making doc-dist. - -2007-08-23 Gustavo J. A. M. Carneiro - - * gtk/Makefile.am: Fix makefile rules to regenerate the defs after - each configure. - -2007-08-21 John Finlay - - * docs/cursors: Add missing cursor images - * docs/icons: Add missing stock item icons - * docs/Makefile.am (install-data-local): Install the stock item icons - and cursor images in subdirectories of the reference docs. - -2007-08-20 Johan Dahlin - - * tests/test_bin.py: New file. - - * gtk/gtk.override (_wrap_gtk_bin__set_child): New function. - Closes #398155. - -2007-08-14 Paul Pogonyshev - - reviewed by: Gustavo Carneiro - - * gtk/gtk-base.defs (GtkTextLayout.set_buffer): Allow None as - `buffer'. - (GtkTextView.set_buffer): Likewise. Closes #466375. - -2007-08-15 Gustavo J. A. M. Carneiro - - * gtk/gdkevent.override: - Bug 466990 – GdkEventClient binding is 64-bit unclean. - -2007-08-11 Paul Pogonyshev - - reviewed by: Johan Dahlin - - * gtk/gtk-base.defs (GtkContainer.set_focus_child): Allow None as - `widget'. - (GtkContainer.do_set_focus_child): Likewise. - (GtkWindow.do_set_focus): Likewise for `focus'. Closes #462368. - - * tests/test_container.py (FocusContainer, FocusWindow): New - auxiliary classes. - (ContainerTest.testFocusSignalHandlers): New test. - -2007-08-09 Tim Evans - - reviewed by: Gustavo Carneiro - - * gtk/gtk.override (_wrap_GtkCellRenderer__do_get_size): Fix - PyArg_ParseTupleAndKeywords() call. Allow `cell_area' to be None. - Closes #450770. - -2007-08-09 Yevgen Muntyan - - reviewed by: Gustavo Carneiro - - * gtk/gtk-base.defs (GtkWidget.style_set): Allow None for - `previous_style' argument. Closes #425759. - -2007-08-09 Paul Pogonyshev - - reviewed by: Gustavo Carneiro - - * gtk/gtktreeview.override (pygtk_tree_sortable_sort_cb): Don't - leak `py_model'. Closes #361439. - -2007-08-05 Gian Mario Tagliaretti - - * gtk/gtk-2.12.defs: - (gtk_tooltip_set_markup) - (gtk_tooltip_set_text) - (gtk_tooltip_set_icon_from_stock) - (gtk_tooltip_set_icon) Allow None in parameters. - -2007-07-30 Gian Mario Tagliaretti - - * gtk/gtk-2.12.defs: - (gtk_widget_modify_cursor) Allow None in parameters. - -2007-07-30 Paul Pogonyshev - - reviewed by: Johan, Fix bug #388754 - - * examples/gtk/customtreemodel.py: Add usage example. - - * gtk/gtk-extrafuncs.defs (get_user_data, create_tree_iter): New - methods of `gtk.GenericTreeModel'. - - * gtk/pygtktreemodel.c (pygtk_generic_tree_model_get_user_data) - (pygtk_generic_tree_model_create_tree_iter): New functions. - -2007-07-28 Gian Mario Tagliaretti - - reviewed by: gjc, Fix bug #461245 - - * gtk/gtk.override: - (gtk_icon_theme_list_contexts) - (gtk_icon_theme_choose_icon) Add wrappers. - -2007-07-27 Gian Mario Tagliaretti - - * gtk/gtk.override: - (gtk_cell_layout_get_cells) Add wrapper. - - * gtk/gtk-2.12.defs: - (gtk_entry_set_cursor_hadjustment) Allow None. - -2007-07-27 Paul Pogonyshev - - reviewed by: Johan, Fix bug #389777 - - * tests/test_container.py (MyAlignment): New auxiliary widget class. - (ContainerTest.testSuperclassForAll): New test case. - - * gtk/gtkcontainer.override (_wrap_GtkContainer__do_forall_callback) - (_wrap_GtkContainer__do_forall): New functions. - -2007-07-26 Gian Mario Tagliaretti - - reviewed by: gjc, Fix bug #460200 - - * gtk/gtk.override: - (gtk_scale_button_new) - (gtk_scale_button_set_icons): Add wrappers. - - * tests/test_scalebutton.py: Test the above. - - * gtk/gtk-2.12.defs: - (gtk_buildable_add_child) - (gtk_builder_set_translation_domain): allow None according to C docs. - -2007-07-21 Gian Mario Tagliaretti - - * gtk/gtk-2.12.defs: add more 2.12 API. - -2007-07-21 Gian Mario Tagliaretti - - * examples/pygtk-demo/tooltip.py: Add new tooltip demo. - - * examples/pygtk-demo/builder.py - * examples/pygtk-demo/demo.ui: moved and adapted for pygtk-demo. - -2007-07-17 Gian Mario Tagliaretti - - reviewed by: Johan, Fix bug #4457195 - - * gtk/gtkbuilder.override: new file. - - * gtk/Makefile.am, - * gtk/gtk.override: add gtkbuilder.override. - - * examples/builder/*: add new builder example. - -2007-07-15 Gian Mario Tagliaretti - - * gtk/gtk-2.12.defs: strip gtk_ prefix for new functions. - -2007-07-14 Johan Dahlin - - * gtk/__init__.py: try/except around ltihooks.uninstall(), - as suggested by Brad Schick at the pygtk mailing list - -2007-07-12 Gian Mario Tagliaretti - - reviewed by: Johan, Fix bug #371293 - - * gtk/gtk-base.defs: - (gtk_image_new_from_file) - (gtk_image_new_from_pixbuf) - (gtk_image_new_from_pixmap) - (gtk_image_new_from_image): Add wrappers. - -2007-07-12 Gian Mario Tagliaretti - - reviewed by: Johan, Fix bug #456037 - - * gtk/gtktreeview.override: - (gtk_tree_view_convert_widget_to_bin_window_coords) - (gtk_tree_view_convert_widget_to_tree_coords) - (gtk_tree_view_convert_tree_to_widget_coords) - (gtk_tree_view_convert_tree_to_bin_window_coords) - (gtk_tree_view_convert_bin_window_to_widget_coords) - (gtk_tree_view_convert_bin_window_to_tree_coords): Add wrappers. - -2007-07-11 Gian Mario Tagliaretti - - * configure.in: fix a broken build if gtk+-2.12 is not present, - patch from Sébastien Granjoux. - -2007-07-11 Gustavo J. A. M. Carneiro - - * codegen/reversewrapper.py: Fix premature return of virtual - methods containing GError** parameters. Based on patch by - Sébastien Granjoux. Closes #455629. - -2007-07-11 Gian Mario Tagliaretti - - reviewed by: Johan - - * configure.in: bump version to 2.11.0, bump pango required version - to 1.16.0, bump atk version to 1.12.0. Conditional build for gtk/gdk - 2.12 API. - - * pango-types.defs, - * pango.defs, - * pangocairo.defs: update with API up to 1.16. - - * atk-types.defs, - * atk.defs: update with API up to 1.12. - - * gtk/Makefile.am: conditional build for new API 2.12. - - * gtk/gtk-2.12-types.defs, - * gtk/gtk-2.12.defs, - * gtk/gdk-2.12.defs: new files holding 2.12 API. - - * gtk/gtkunixprint.defs: update with API 2.12. - -2007-07-10 Gustavo J. A. M. Carneiro - - * tests/test_actiongroup.py (ActionTest): Add a gtk.Action subclass test. - -2007-07-08 Gustavo J. A. M. Carneiro - - * codegen/codegen.py: Automatically define a __version__ attribute - in modules when VERSION is defined as preprocessor macro. This - allows modules to get __version__ defined almost automatically; - they only have to add #include "config.h" to the top of the - .override file. - -2007-06-24 Johan Dahlin - - * gtk/gtk.override (_wrap_gtk_tooltips__get_tips_data_list): Do not - access GtkTooltips->tips_data_list, just return an empty list instead - since it's private and it was renamed on trunk (#449318) - -2007-06-17 Yevgen Muntyan - - reviewed by: Gustavo Carneiro - - * codegen/argtypes.py: Bug 448111 – Write const for boxed const - return values. - -2007-06-16 Sebastien Bacher - - * m4/python.m4: use python-config to get python includes - (Closes #448176) - -2007-06-14 Sébastien Granjoux - - reviewed and fixed by: Gustavo J. A. M. Carneiro. - - * codegen/reversewrapper.py: Handle GError** in virtual - methods (bug #446470). - -2007-06-11 Gustavo J. A. M. Carneiro - - * codegen/reversewrapper.py (ReverseWrapper.generate): Special - case when only a single void return value exists; fix the return - value type checking in this case. - -2007-05-23 Gustavo J. A. M. Carneiro - - * codegen/reversewrapper.py (ReverseWrapper.generate): Refactor to - allow add_pyret_parse_item("", ""), which is used for 'void' - return type. - (VoidReturn.write_conversion): Fix bug #440059: Bad check for - direction "out" parameters with return-type "none". - -2007-05-17 Tim Evans - - Reviewed by: Gustavo Carneiro. - - * codegen/reversewrapper.py (DoubleReturn.write_conversion): Fix - copy-paste error, and also support the new API that allows parsing - of multiple return values. Fixes Bug #439014. - -2007-05-07 Richard Hult - - * configure.in: Make --disable-docs actually work, OKed by Johan. - -2007-05-03 Gustavo J. A. M. Carneiro - - * tests/test_actiongroup.py, - * tests/test_gdk.py: Fix unit tests to account for the new memory - management model in pygobject 2.13. - -2007-05-01 Andrew Cowie - - * gtk/gdk-base.defs: Fix return type of GdkRectangle.union - -2007-02-23 Mariano Suarez-Alvarez - - * gtk/gtk-base.defs: Allow None for the string arguments - of gtk_rc_get_style_by_paths. (Fixes bug #411412) - -2007-02-05 Johan Dahlin - - * configure.in: Post release version bump - -=== 2.10.4 === -2007-02-05 Johan Dahlin - - * NEWS: - - 2.10.4 - -2007-01-31 Gian Mario Tagliaretti - - * gtk/gtkcontainer.override: Fix a possible memory leak in - gtk.Container.child_get() (Fixes bug #404076) - -2007-01-31 Johan Dahlin - - * gtk/gtkcontainer.override (_wrap_gtk_container_class_list_child_properties): Undeprecate - -2007-01-20 Gustavo J. A. M. Carneiro - - * gtk/gdk.override (_wrap_gdk_display_close): Force keeping of a - reference to the display GObject even when we close() it. - - * tests/test_gdk.py (GdkTest.testDisplay): Johan's unit test with - minor modifications. - - * gtk/gdk.override (_wrap_gdk_display_close): Override and make it - aware that calling gdk_display_close unrefs the GdkDisplay. - -2007-01-18 Johan Dahlin - - * gtk/gdk-base.defs: allow None - -2007-01-09 Gustavo J. A. M. Carneiro - - * configure.ac: Turn the option --disable-docs into --enable-docs. - * docs/Makefile.am: Treat --enable-docs like --enable-gtk-doc in - gtk+, i.e. do not ever build docs unless requested, but always - install them if they are found already built. - -2006-12-21 Sebastien Bacher - - * codegen/Makefile.am: install createdefs.py, fix dsextras.py, - patch by Michael Bienia (Fixes #385934) - -2006-12-14 Kjartan Maraas - - * autogen.sh: Make it work with automake 1.10. - -2006-12-05 Gustavo J. A. M. Carneiro - - * gtk/gdkevent.override (_wrap_gdk_event_tp_setattr): For the - attribute "string", free the old string and g_strdup the new one; - spotted by John Ehresman. - Fixes bug #382428. - -2006-12-02 Manish Singh - - * codegen/codegen.py: fix code for generating defines in override - files, by using variables that actually exist in the context. - Fixes bug #381389. - -2006-11-25 Gustavo J. A. M. Carneiro - - * gtk/gtktreeview.override (pygtk_tree_foreach_marshal): Use - pygtk_boxed_unref_shared to unref py_iter. We need this because - the application may decided to keep a copy of the iterator passed - in to a gtk_tree_model_foreach callback. - -2006-11-19 Gustavo J. A. M. Carneiro - - * examples/Makefile.am (demo_PYTHON), - * examples/pygtk-demo/demos/statusicon.py: Add a gtk.StatusIcon - example by Nikos Kouremenos. - -2006-11-15 Johan Dahlin - - * gtk/__init__.py: Do not rebind sys.path, restore the old one. - Thanks to Jp Calderone for pointing out. - -2006-10-13 Paolo Borelli - - * gtk/gtktextview.override - (pygtk_text_buffer_register_serialize_format_cb): set return - value to NULL in the error codepath. - -2006-10-13 John Finlay - - * docs/Makefile.am (HTMLFILES): Remove - html/pygtk-reference-copyright.html. Fixes #361906 (Marc-Andre Lureau) - -2006-10-05 Cedric Gustin - - * setup.py: Initialize Templates and TemplateExtensions with - py_ssize_t_clean=True (required by codegen.SourceWriter). - -2006-10-03 Gustavo J. A. M. Carneiro - - * configure.in: Bump version. - -=== 2.10.3 === -2006-10-03 Gustavo J. A. M. Carneiro - - * NEWS: Update. - - * Makefile.am: - * atk.override: - * atkrectangle.override: - * codegen/argtypes.py: - * codegen/codegen.py: - * gtk/Makefile.am: - * gtk/gdk.override: - * gtk/gdkdraw.override: - * gtk/gdkpixbuf.override: - * gtk/gdkrectangle.override: - * gtk/gtk-types.c: (pygtk_style_helper_getitem), - (pygtk_style_helper_setitem), (pygtk_tree_model_row_getitem), - (pygtk_tree_model_row_setitem): - * gtk/gtk.override: - * gtk/gtkcontainer.override: - * gtk/gtktextview.override: - * gtk/gtktreeview.override: - * pango.override: - - Support Python 2.5 + 64-bit architectures (#337368). - -2006-10-03 Gustavo J. A. M. Carneiro - - * gtk/gtktreeview.override (pygtk_tree_sortable_sort_cb): Fix a - refcount problem accidentally introduced by me between 2.10.1 and - 2.10.2 :P - -2006-10-03 Gustavo J. A. M. Carneiro - - * configure.in: Post-release version bump. - -=== 2.10.2 === -2006-10-03 Gustavo J. A. M. Carneiro - - * NEWS: Update. - - * tests/test_treeview.py: Add unit test for bug #347273. - -2006-09-21 Cedric Gustin - - * pygtk_postinstall.py: Adapt the codegendir variable to the user - platform. Copy style.css from pygobject docs to pygtk docs. Run - fixxref on installed html files. Add functions to install - shortcuts in the Start menu to the reference manual (currently - disabled: see bug #353849). - * setup.py: Changed the way the VERSION macro is defined on - win32. Added 2.10 defs files for gdk and gtk when GTK+ 2.10 is - detected. Added gtk.keysyms, gtk._lazyutils, dsextras_gen and - codegen to the list of installed packages. Also install the html - reference documentation and run fixxref on the html files. - -2006-09-16 Gustavo J. A. M. Carneiro - - * gtk/pygtkcellrenderer.c (pygtk_generic_cell_renderer_activate): - Same fix as below. - - * gtk/gtktreeview.override (pygtk_tree_selection_foreach_marshal): - Use pygtk_boxed_unref_shared to fix a side-effect of fixing bug - #347273. - (pygtk_tree_sortable_sort_cb): Add a similar fix. - - * gtk/gtkobject-support.c (pygtk_boxed_unref_shared): Add a new - pygtk private API to unref a boxed type with a shared pointer. - -2006-09-12 John Ehresman - - * gtk/gtk.override (_wrap_gtk_clipboard_wait_for_rich_text): - Declare variable at start of code block - -2006-09-04 Johan Dahlin - - * configure.in: post release version bump. - -=== 2.10.1 === -2006-09-04 Johan Dahlin - - - * gtk/gtkmodule.c (init_gtk): Require pygobject 2.12.0 - - * configure.in: post release version bump. - -=== 2.10.0 === -2006-09-04 Johan Dahlin - - * configure.in: Bump version and require GTK+ 2.10 for 2.10 API - - * README (http): Update - - * NEWS: Update - -2006-08-21 Johan Dahlin - - * docs/Makefile.am: Get rid of build_stamp, include the generated html - documentation in the tarball. - -2006-08-14 John Finlay - - * docs/Makefile.am (CSS_FILES): - * docs/style.css: - * configure.in (PYGOBJECT_PYGDOCS): Copy style.css from pygobject docs - when installing docs. Fixes #351385 (Gian Mario Tagliaretti) - -2006-08-14 Johan Dahlin - - * gtk/__init__.py (_init): issue a warning instead of printing - to stdout, fixes #316877 regression. (Jeremey Katz) - -2006-08-12 John Finlay - - * docs/style.css: Add. - * docs/Makefile.am: Add install of style.css - -2006-08-10 John Finlay - - * configure.in: - * docs/Makefile.am: - * docs/reference/entities.docbook.in: - * docs/reference/pygtk2-ref.xml: - Use builddate.xml for the builddate entity and have builddate.xml be - updated when the docs are built not during configure time. - -2006-08-08 Johan Dahlin - - * configure.in: Post release version bump - -=== 2.9.6 === -2006-08-08 Johan Dahlin - - * README: Add PyGObject dependency - - * NEWS: Update - -2006-08-07 Gustavo J. A. M. Carneiro - - * codegen/argtypes.py: - * codegen/codegen.py: - * codegen/reversewrapper.py: - Introduce new ArgTypeError exceptions, use them everywhere to - raise catch codegen errors. Bare except: clauses are gone now. - -2006-08-07 Johan Dahlin - - * docs/Makefile.am ($(HTML_DATA)): Fix parallel build - (#350225, Ed Catmur) - -2006-08-07 Gustavo J. A. M. Carneiro - - * codegen/argtypes.py: Don't allow overwrite a argtype - registration unless the new kwarg 'overwrite' is True. - Fixes bug #350252. - -2006-08-07 Johan Dahlin - - * tests/test_treeview.py (TreeViewTest._test_default_attributes): Add - a test for #350252 - -2006-08-06 Johan Dahlin - - * docs/fixxref.py: Remove, it moved to PyGObject. - -2006-08-06 John Finlay - - * docs/fixxref.py (link_pat): Allow patterns that cross multiple lines. - -2006-08-06 Johan Dahlin - - * configure.in: Post release version bump - -=== PyGTK 2.9.5 === -2006-08-06 Johan Dahlin - - * NEWS: 2.9.5 - -2006-08-05 Johan Dahlin - - * gtk/Makefile.am (GDK_TYPES_DEFS): Always include 2.10 defs in - EXTRA_DIST, fixes (#350008, Joseph Sacco) - - * gtk/__init__.py (ver): Make it possible to reload the gtk+ module, - (#349026, Alexander Larsson) - - * tests/test_api.py (APITest.testGlade): Add a test - - * gtk/_lazyutils.py (LazyModule.__getattr__): Special case __members__ - to dir on the real module, fixes (#349892, John Finlay) - - * tests/test_api.py (APITest.testKeysyms): - Add a test - -2006-08-05 John Finlay - - * gtk/gtkunixprint.override (pygtk_custom_destroy_notify): Add this - back in. - -2006-08-04 Johan Dahlin - - * configure.in: post release version bump - -=== PyGTK 2.9.4 === -2006-08-04 Johan Dahlin - - * configure.in: - * docs/Makefile.am: - * docs/reference/entities.docbook.in: - * docs/reference/pygtk2-ref.xml: - Clean up the build date/version mess I created. - Now it's created during configure time and properly included in - the docbook files. Also make sure distcheck passes - -2006-08-04 Gustavo J. A. M. Carneiro - - * configure.in: Add hack to disable libtool checking for g++ and - g77 (copied from libglade). - -2006-07-31 John Finlay - - * codegen/defsgen.py: Add new program to generate .defs files using - the ctypes module to extract info from the GTK libraries. - -2006-07-30 John Finlay - - * gtk/gtkunixprint.override: Remove pygtk_custom_destroy_notify. - -2006-07-30 Gustavo J. A. M. Carneiro - - * codegen/codegen.py (SourceWriter.write_class): Simplify code - that generates the call to pygobject_register_class; Correct the - fallback value of bases_str. - -2006-07-28 Gustavo J. A. M. Carneiro - - * gtk/gtk.override (_wrap_gtk_print_context_get_cairo_context): - Someone forgot to rename the override function when gtk+ API - changed... - -2006-07-27 Rafael Ávila de Espíndola - - reviewed by: Johan Dahlin - - * atkrectangle.override: - * gtk/gdk.override: - * gtk/gdkevent.override: - * gtk/gdkgc.override: - * gtk/gdkpixbuf.override: - * gtk/gtk-types.c: - * gtk/gtkcontainer.override: - * gtk/gtkmodule.c: - * gtk/gtktextview.override: - * gtk/libglade.override: - - Do not exports internal symbols, fixes #347825 - -2006-07-27 Gustavo J. A. M. Carneiro - - * gtk/gtk.override (_wrap_gtk_main): Copy paste some code from - pygobject/gobject/pygmainloop written by Mark McLoughlin, to check - for signals inside the gtk main loop. - - * gtk/gtkmodule.c (init_gtk): Remove the timer; no longer needed. - Fixes bug #348937: 100ms timeouts in pygtk. - -2006-07-25 Johan Dahlin - - * gtk/gtkmodule.c (init_gtk): - * pangomodule.c (initpango): Check the required - PyGObject version in runtime too. - -2006-07-24 John Finlay - - * atk.defs (atk_role_get_localized_name, atk_role_get_name): Define as - functions. - - * pango.defs (pango_script_get_sample_language): Define as function. - - * gtk/gtkunixprint.defs (details_acquired) - (gtk_print_capabilities_get_type, status_changed): Add. - - * gtk/gtk-base-types.defs (Editable): Add prerequisite. - - * pangocairo.override (*_get_type): ignore-glob - (pango_cairo_update_context, pango_cairo_create_layout) - (pango_cairo_update_layout, pango_cairo_show_glyph_string) - (pango_cairo_show_layout_line, pango_cairo_show_layout) - (pango_cairo_glyph_string_path, pango_cairo_layout_line_path) - (pango_cairo_layout_path): ignore. - - * pangocairo.defs (pango_cairo_update_context) - (pango_cairo_context_set_font_options) - (pango_cairo_context_get_font_options) - (pango_cairo_context_set_resolution) - (pango_cairo_context_get_resolution, pango_cairo_create_layout) - (pango_cairo_update_layout, pango_cairo_show_glyph_string) - (pango_cairo_show_layout_line, pango_cairo_show_layout) - (pango_cairo_glyph_string_path, pango_cairo_layout_line_path) - (pango_cairo_layout_path): Add. - - * pango.override (*_get_type, *_ref, *_unref, *_free): ignore-glob - (pango_default_break): ignore - - * pango.defs (pango_attr_shape_new_with_data, pango_default_break) - (pango_context_get_font_map, pango_context_set_matrix) - (pango_context_get_matrix, pango_itemize_with_base_dir) - (pango_coverage_new, pango_glyph_item_split, pango_glyph_item_free) - (pango_glyph_item_apply_attrs, pango_glyph_item_letter_space) - (pango_item_get_type, pango_item_new, pango_item_copy) - (pango_item_free, pango_item_split, pango_script_for_unichar) - (pango_script_iter_new, pango_script_iter_get_range) - (pango_script_iter_next, pango_script_iter_free) - (pango_script_get_sample_language, pango_script_includes_script) - (pango_matrix_get_type, pango_matrix_copy, pango_matrix_free) - (pango_matrix_translate, pango_matrix_scale, pango_matrix_rotate) - (pango_matrix_concat, pango_get_mirror_char, pango_unichar_direction) - (pango_find_base_dir): Add. Add virtuals. - (pango_font_metrics_new, pango_find_map, pango_map_get_engine) - (pango_map_get_engines, pango_module_register): Add with ifdef - PANGO_ENABLE_BACKEND - (pango_split_file_list, pango_trim_string, pango_read_line) - (pango_skip_space, pango_scan_word, pango_scan_string) - (pango_scan_int, pango_config_key_get, pango_lookup_aliases) - (pango_parse_style, pango_parse_variant, pango_parse_weight) - (pango_parse_stretch, pango_get_sysconf_subdirectory) - (pango_get_lib_subdirectory, pango_log2vis_get_embedding_levels) - (pango_get_sample_string, pango_is_zero_width): Add with ifdef - USE_PANGO_UTILS - - * pango-types.defs (WrapMode): Add PANGO_WRAP_WORD_CHAR. Reorganize. - -2006-07-23 John Finlay - - * atk.override (AtkObjectFactory__do_create_accessible) - (AtkObjectFactory__proxy_do_create_accessible) - (AtkUtil__do_add_global_event_listener) - (AtkUtil__proxy_do_add_global_event_listener) - (AtkUtil__do_remove_global_event_listener) - (AtkUtil__proxy_do_remove_global_event_listener) - (AtkUtil__do_add_key_event_listener) - (AtkUtil__proxy_do_add_key_event_listener) - (AtkUtil__do_remove_key_event_listener) - (AtkUtil__proxy_do_remove_key_event_listener): Ignore. - - * codegen/reversewrapper.py (StringReturn): Add const-gchar* as a - StringReturn match. - - * codegen/codegen.py (GInterfaceWrapper.write_virtuals): Don't write - interface_init if no proxies. - - * atk.defs: Add get_type defs from atk-enum-types.h. - Add virtuals for Action, Component, Document, EditableText, Hyperlink, - Hypertext, Image, ObjectFactory, ImplementorIface, Object, Selection, - StreamableContent, Table. Text, Util and Value. - - * gtk/Makefile.am (libglade.c, gtkunixprint.c): Add dependencies on - gtk-types.defs and gdk-types.defs - - * codegen/reversewrapper.py (PangoFontDescriptionReturn) - (PangoFontMetricsReturn, PangoLanguageReturn): Add - -2006-07-23 Gustavo J. A. M. Carneiro - - * gtk/Makefile.am: Remove back the install-exec-hook that removes _gtk.la. - -2006-07-23 Johan Dahlin - - * Makefile.am: - * gtk/Makefile.am: - * gtk/__init__.py: - * gtk/_gtk.py: - * gtk/_lazyutils.py: - * gtk/deprecation.py: - * gtk/gtk.override: - * gtk/gtkmodule.c: (init_gtk): - * gtk/libglademodule.c: (initglade): - - Revert dynamic namespaces, it is not possible - to solve it without breaking the ABI. - -2006-07-23 Gustavo J. A. M. Carneiro - - * gtk/_gtk.py: Add _PyGtk_API alias from _gtkimpl, for - compatibility reasons. - - * gtk/Makefile.am (install-exec-hook): Uninstall old _gtk.la, if - installed, else it may conflict with _gtkimpl.la. - -2006-07-22 John Finlay - - * atk.defs (atk_implementor_ref_accessible): Attach as - AtkImplementorIface method - - * atk-types.defs (AtkImplementorIface): Revert to registered name. - - * gtk/gtk-base-types.defs: Annotate interfaces with prerequisites - and objects with interface implementations - - * gtk/gtk-2.10-types.defs: Annotate interfaces with prerequisites - and objects with interface implementations. Reorganize. - - * codegen/reversewrapper.py (VoidReturn.write_conversion) - (DoubleReturn.write_conversion, GBoxedReturn.write_conversion): Use - failure_exception instead of failure_cleanup - (GtkTreePathReturn): Add. - - * gtk/gdk-base.defs (get_display_name, get_n_screens, get_screen) - (get_default_screen, closed): Add GdkDisplay virtual defs - (create_gc, draw_rectangle, draw_arc, draw_polygon, draw_text) - (draw_text_wc, draw_drawable, draw_points, draw_segments) - (draw_lines, draw_glyphs, draw_image, get_depth, get_size) - (set_colormap, get_colormap, get_visual, get_screen, get_image) - (get_clip_region, get_visible_region, get_composite_drawable) - (draw_pixbuf, draw_glyphs_transformed, draw_trapezoids) - (ref_cairo_surface): Add GdkDrawable virtual defs - (get_values, set_values, set_dashes): Add GdkGC virtual defs - (direction_changed, keys_changed): Add GdkKeymap virtual defs - (size_changed): Add GdkScreen virtual def - (gdk_pixbuf_animation_ref, pixbuf_animation_unref): Add - GdkPixbufAnimation method defs - (non_anim_new, is_static_image, get_static_image, get_size) - (get_iter): Add GdkPixbufAnimation method and virtual defs with - GDK_PIXBUF_ENABLE_BACKEND ifdef - (get_delay_time, get_pixbuf, on_currently_loading_frame, advance): Add - GdkPixbufAnimationIter virtual defs with GDK_PIXBUF_ENABLE_BACKEND - ifdef - (pixbuf_error_quark, pixbuf_get_type, ref, unref) - (pixbuf_new_from_file_at_scale, save_to_callbackv) - (save_to_buffer, save_to_bufferv): Add misc GdkPixbuf method and - function defs - (is_scalable, is_disabled, set_disabled, get_license): Add - GdkPixbufFormat methods defs - (set_option): Add GdkPixbuf method def with GDK_PIXBUF_ENABLE_BACKEND - ifdef - (size_prepared, area_prepared, area_updated, closed): Add - GdkPixbufLoader virtual defs - (serialize, deserialize, from_pixbuf, pixbuf_from_pixdata) - (to_csource): Add GdkPixdata method and function defs - - * gtk/gdk-2.10.defs (composited_changed): Add GdkScreen virtual def - - * gtk/gdk.override (gdk_pixbuf_from_pixdata, gdk_pixdata_*): Ignore - - * codegen/reversewrapper.py (GdkRegionPtrReturn): Add. - -2006-07-22 Gustavo J. A. M. Carneiro - - * Makefile.am (SUBDIRS): Make --disable-docs really work. - -2006-07-22 John Finlay - - * gtk/gdk-base.defs (gdk_pixbuf_simple_anim_add_frame) - (pixbuf_simple_anim_new, pixbuf_simple_anim_iter_get_type) - (pixbuf_simple_anim_get_type, gdk_pixbuf_flip): Add - - * gtk/gdk.override: Add #define for GDK_TYPE_PIXBUF_SIMPLE_ANIM_ITER. - - * gtk/gdk-base-types.defs (PixbufSimpleAnim) - (PixbufSimpleAnimIter, PixbufRotation): Add. - -2006-07-20 Johan Dahlin - - * gtk/gdk-base.defs: - Remove the leading gdk_ from a few functions. - -2006-07-20 John Finlay - - * docs/Makefile.am: Make builddate.xml dependent on REFERENCE_DEPS. - Make version.xml dependent on config.h. Add builddate.xml to pdf and - build-stamp dependencies. Clean pdf files. - -2006-07-20 Johan Dahlin - - * configure.ac: - * docs/Makefile.am: - * docs/reference/.cvsignore: - * docs/reference/version.xml.in: - Generate builddate.xml and version.xml at build time instead on - configure time, add proper dependencies. - -2006-07-20 Gustavo J. A. M. Carneiro - - * gtk/gtk-base.defs (lookup_icon, load_icon): Caller owns return. - Fixes leaks. - -2006-07-20 John Finlay - - * gtk/gtk.override (GtkObject__do_set_arg, GtkObject__do_get_arg) - (GtkObject__proxy_do_set_arg, GtkObject__proxy_do_get_arg): Ignore. - #341633 (Johan Dahlin) - - * gtk/gtk-types.c (pygtk_tree_model_row_getitem) - (pygtk_tree_model_row_setitem): Remove negative index readjustment - code. #311852 (Baiju M) - - * codegen/codegen.py (Coverage.printstats): Fix typo. - #341668 (Yevgen Muntyan) - -2006-07-19 John Finlay - - * gtk/gtktreeview.override (_wrap_gtk_tree_store_insert): Fix typo - - * docs/Makefile.am: Use more portable date generator. - -2006-07-19 Johan Dahlin - - * gtk/gtkmodule.c (init_gtkimpl): Don't register constants - * codegen/codegen.py: Make enum/flags lazily created too. - - * gtk/__init__.py: - * gtk/deprecation.py: - Make functions lazily loaded. - Make deprecation lazy too, to avoid refercing anything until it's called. - -2006-07-19 Gustavo J. A. M. Carneiro - - * atk.override (_wrap_atk_editable_text_set_run_attributes): Don't - ignore g_slist_append return value. - -2006-07-19 Rafael Espíndola - - reviewed by: Gustavo Carneiro - - * codegen/codegen.py: Mark generated PyTypeObject structures with - G_GNUC_INTERNAL to reduce the size of the PLT. Fixes #347825. - -2006-07-19 John Finlay - - * docs/fixxref.py: Add utility to fix links to pygobject docs. - - * docs/Makefile.am : Add reference/version.xml and - reference/builddate.xml for auto generated version and build date for - docs - - * docs/common.xsl: - * docs/devhelp.xsl: - * docs/html-style.xsl: - * docs/html.xsl: Remove. - - * configure.in (AC_CONFIG_FILES): Add docs/reference/version.xml - -2006-07-18 Johan Dahlin - - * docs/Makefile.am (HTMLdir): Install book in $datadir/gtk-doc/html - -2006-07-18 John Finlay - - * gtk/gtktreeview.override (pygtk_cell_data_func_marshal) - (pygtk_tree_selection_foreach_marshal, pygtk_tree_sortable_sort_cb) - (pygtk_tree_foreach_marshal, pygtk_tree_model_filter_visible_cb) - (pygtk_filter_modify_func_marshal) - (pygtk_set_search_equal_func_marshal): Don't copy TreeIter when passing - to callback. #347273 (Stefano Maggiolo) - (_wrap_gtk_tree_selection_set_select_function): Optionally provide full - info to callback. #340475 (Wouter Bolsterlee) - -2006-07-17 John Finlay - - * gtk/gtktreeview.override: - (_wrap_gtk_tree_store_set_column_types): Add. - (_wrap_gtk_tree_store_insert): Use gtk_tree_store_insert_with_valuesv. - - * gtk/_lazyutils.py (LazyNamespace.__getattribute__): Allow - 'from gtk import *' to work - -2006-07-17 Johan Dahlin - - * configure.in: - * docs/.cvsignore: - * docs/Makefile.am: - * docs/reference/pygtk2-ref.xml: - - Add non GObject parts of John Finlays reference manual - -2006-07-17 John Finlay - - * codegen/reversewrapper.py (GBoxedReturn.write_conversion): Specify - code arg is None - - * gtk/gtk-2.10.defs: Add additional virtual defs. - - * gtk/gtk-base.defs: Add additional virtual defs. - -2006-07-14 John Finlay - - * Makefile.am (.defs.c): Allow libglade and gtkunixprint code - generation in place. - -2006-07-13 John Finlay - - * gtk/gtk-2.10-types.defs (TargetList): Move from - gtk/gtk-base-types.defs - - * gtk/gtk-base-types.defs (AccelMap): Add. #337011 (Sebastian Pölsterl) - (TipsQuery, TargetList, TreePath, FileInfo, FilePath): Add. - - * gtk/gtk.override (_wrap_gtk_accel_map_foreach) - (_wrap_gtk_accel_map_foreach_unfiltered): Add. - Fixes #337011 (Sebastian Pölsterl) - (GtkTipsQuery, GtkTargetList, GtkTreePath, GtkFileInfo, GtkFilePath): - Ignore types. - - * codegen/codegen.py (SourceWriter.write_registers): Don't write - registers for ignored types. - (SourceWriter.write_type_declarations): Don't write type declarations - for ignored types. - -2006-07-13 Johan Dahlin - - * codegen/codegen.py: - * codegen/defsparser.py: - * configure.in: - * gtk/Makefile.am: - * gtk/__init__.py: - * gtk/_gtk.py: - * gtk/_lazyutils.py: - * gtk/deprecation.py: - * gtk/gtk.override: - * gtk/gtkmodule.c: (init_gtkimpl): - * gtk/libglade.override: - * gtk/libglademodule.c: (init_glade): - * gtk/pygtk.h: - * tests/common.py: - * tests/test_api.py: - Only load types in gtk when they are used, fixes #346946 - -2006-07-13 Gustavo J. A. M. Carneiro - - * tests/test_container.py: New unit test to - set/get_child_property, etc. by Lorenzo Gil Sanchez. - - * tests/Makefile.am (tests): Add test_container.py. - - * gtk/gtkcontainer.override - (_wrap_GtkContainer__proxy_do_set_child_property): Add missing - param. - - * gtk/gtkwidget.override (_wrap_gtk_widget_set_activate_signal) - (_wrap_gtk_widget_get_activate_signal): Add getter and setter for - GtkWidgetClass->activate_signal. Fixes #331445. - - * gtk/gtk.override (_wrap_gtk_action_set_menu_item_type): Add - class method to change GtkActionClass->menu_item_type. - (_wrap_gtk_action_set_tool_item_type): idem for tool_item_type. - Fixes #331355. - - * gtk/gtk-base.defs: Declare the missing - GtkAction.create_menu|tool_item virtuals. - - * examples/gtk/scrollable.py (Layout.do_size_allocate): Save the - allocation (#341509, Muntyan). - - * gtk/gtk.override (_wrap_GtkEditable__do_insert_text): Impl. - (_wrap_GtkEditable__do_get_selection_bounds): Impl. - - * gtk/gtk-base.defs (insert_text): Add direction information to - the position parameter of gtk.Editbale.insert_text virtual. - - * codegen/defsparser.py (IncludeParser.include): Fix including - absolute path names, #345073. - -2006-07-12 Gustavo J. A. M. Carneiro - - * NEWS: I forgot one NEWS item in the release :P - - * configure.in: Post release version bump. - -=== 2.9.3 === -2006-07-12 Gustavo J. A. M. Carneiro - - * NEWS: Update. - - * tests/Makefile.am: Copy a few more gtk module support files for - running tests. - - * tests/common.py: Don't hide import errors. - -2006-07-13 Johan Dahlin - - * gtk/gtk.override: Ignore gtk_recent_chooser_set_show_numbers and - gtk_recent_chooser_get_show_numbers, - see http://article.gmane.org/gmane.comp.gnome.language-bindings/805 - -2006-07-12 John Finlay - - * gtk/gtkunixprint.override (_wrap_gtk_enumerate_printers): Add. - -2006-07-11 John Finlay - - * gtk/gtkunixprint.defs (gtk_printer_accepts_pdf) - (gtk_printer_accepts_ps, gtk_enumerate_printers): Add. - - * gtk/gdk-base.defs (gdk_set_pointer_hooks): Remove dup. - -2006-07-10 John Finlay - - * gtk/gtk-base.defs (gtk_binding_entry_add_signal): Remove dup. - - * gtk/gdk-base-types.defs (GdkColorspace): Remove duplicate. - - * gtk/gdk-base.defs (gdk_color_change): Change to function to resolve - conflict with gdk_colormap_change. - (gdk_colormap_change): Note as deprecated. - (gdk_display_store_clipboard): Remove dup def - -2006-07-08 Gustavo J. A. M. Carneiro - - * gtk/gtk-base.defs (clipboard_get_for_display): Add - "(caller-owns-return nil)"; Fixes #343960. - -2006-07-07 John Finlay - - * gtk/gdk.override: Ignore-glob *_libgtk_only. Fixes #321476. - -2006-07-06 John Finlay - - * pango.override (_wrap_pango_attr_underline_color_new) - (_wrap_pango_attr_strikethrough_color_new) - (_wrap_pango_attr_size_new_absolute) - (_wrap_pango_attr_letter_spacing_new): Add. - - * pango.defs (AttrSizeAbsolute, AttrUnderlineColor) - (AttrStrikethroughColor, AttrLetterSpacing) - (pango_font_description_set_absolute_size) - (pango_font_description_get_size_is_absolute) - (pango_font_get_font_map): Add. - - * gtk/gtk.override (_wrap_gtk_color_selection_palette_to_string): - Allow colors to be a sequence. - - * atk.override (_wrap_atk_state_set_contains_states) - (_wrap_atk_state_set_add_states): Fix reference leaks. - -2006-07-06 Gustavo J. A. M. Carneiro - - * gtk/gtk.override (_wrap_gtk_color_selection_palette_to_string): - Check that argument is a list of gdk.Color. Fixes #346745. - -2006-07-06 John Finlay - - * atk.override (atk_text_free_ranges): Ignore. - (_wrap_atk_value_get_current_value) - (_wrap_atk_value_get_maximum_value) - (_wrap_atk_value_get_current_value) - (_wrap_atk_value_set_current_value): Add. - - * atkmodule.c (initatk): Add call to _pyatk_register_boxed_types() - - * Makefile.am (ATK_OVERRIDES): Add atkrectangle.override - - * atkrectangle.override: Add. - - * atk.override (_wrap_atk_text_get_text_at_offset) - (_wrap_atk_text_get_text_before_offset) - (_wrap_atk_text_get_character_extents) - (_wrap_atk_text_get_run_attributes) - (_wrap_atk_text_get_default_attributes) - (_wrap_atk_text_get_bounded_ranges, _wrap_atk_text_get_selection) - (_wrap_atk_text_get_range_extents): Add, - - * atk.defs (atk_rectangle_new): Add. - -2006-07-05 John Finlay - - * atk.override (_wrap_atk_state_set_contains_states) - (_wrap_atk_state_set_add_states): - (_wrap_atk_table_get_selected_rows) - (_wrap_atk_table_get_selected_columns): - (_wrap_atk_text_get_text_after_offset): Add. - - * atk.defs (atk_relation_type_get_name): Define as function instead - of method. - (atk_state_type_get_name): Define as function instead of method. - (atk_state_set_new): Fix typo. - - * atk.override (_wrap_atk_relation_get_target): Add. - (_wrap_atk_relation_new): Raise ValueError if targets is zero length. - -2006-07-05 Johan Dahlin - - * gtk/Makefile.am: - * gtk/__init__.py: - * gtk/_lazyutils.py: - * tests/Makefile.am: - * tests/test_api.py: - Add infrastructure to handle lazy loading. - Move keysyms to be loaded lazily. - Add API tests to make sure keysyms works. - -2006-07-05 Johan Dahlin - - * gtk/Makefile.am: - * gtk/__init__.py: - * gtk/deprecation.py: - Move deprecation related classes to a separate python file - -2006-06-27 John Finlay - - * atk-types.defs: Update defs for atk-1.8 - * atk.defs: Update defs for atk-1.8 - - * atk.override (_wrap_atk_component_get_size) - (_wrap_atk_component_get_size, _wrap_atk_component_get_extents) - (_wrap_atk_editable_text_set_run_attributes) - (_wrap_atk_editable_text_insert_text) - (_wrap_atk_image_get_image_position) - (_wrap_atk_image_get_image_position): Add - -2006-06-27 Gustavo J. A. M. Carneiro - - * gtk/gdk-2.10.defs, gtk/gdk-base.defs: It seems that all X11 - specific functions are available in gtk+ 2.8 too; moving them from - gdk-2.10.defs to gdk-base.defs. - - * gtk/gdkcairo.override (_wrap_gdk_cairo_rectangle): Missing - PyErr_Clear() when first protype parsing fails. - -2006-06-27 John Finlay - - * gtk/gtk-2.10.defs (GtkPrintOperationPreview, GtkRecentChooser): - Add virtual defs for these interfaces. - -2006-06-25 John Finlay - - * gtk/gtk-2.10.defs (gtk_status_icon_set_from_pixbuf): Allow pixbuf - to be None - (gtk_status_icon_set_tooltip): Allow tooltip_text to be None - (print_run_page_setup_dialog): Allow parent to be None. - - * gtk/gtk.override (_wrap_gtk_recent_manager_add_full): is_private - should be a boolean. - - * gtk/gtk-2.10-types.defs: Add RecentChooser and - PrintOperationPreview implements interface notations - -2006-06-25 Gustavo J. A. M. Carneiro - - * codegen/argtypes.py (ArgMatcher.register_enum, - (ArgMatcher.register_flag): Use IntArg to handle enums and flags - with no typecode. This is to avoid the compiler warning - "dereferencing type-punned pointer will break strict-aliasing - rules" when converting enums or flags with no typecode. - (EnumArg.enum): Typecast to gpointer, not gint*, to avoid gcc type - punning warnings. - (FlagsArg.flag): idem. - - * codegen/codegen.py (SourceWriter.write_enums): Typecast second - argument of PyModule_AddIntConstant to - (char*) to avoid const warning on python < 2.5. - -2006-06-25 John Finlay - - * gtk/gtkwidget.override (_wrap_gtk_widget_class_find_style_property): - Add. - -2006-06-24 John Finlay - - * gtk/gtk.override (_wrap_gtk_print_operation_get_error): - g_clear_error() is called in pyg_error_check() - - * gtk/gtk-2.10.defs (gtk_print_settings_set): Allow value to be NULL. - -2006-06-24 Gustavo J. A. M. Carneiro - - * gtk/gtk.override (_wrap_gtk_print_operation_get_error): - s/g_error_clear/g_clear_error/. - (_wrap_gtk_print_operation_get_error): Return the exception value, - not just error->message, so that the programmer can consult - error.domain and error.code in addition to error.message. - -2006-06-24 John Finlay - - * gtk/gtk.override (_wrap_gtk_print_operation_get_error): Return - the error message if any. - -2006-06-22 John Finlay - - * gtk/gtk-2.10-types.defs (PrintOperationPreview): Identify as an - interface. - - * gtk/gtk-2.10.defs (gtk_label_get_line_wrap_mode) - (gtk_label_set_line_wrap_mode): Add - - * gtk/gtk.override (_wrap_gtk_notebook_set_window_creation_hook): - Fix parse tuple format. - -2006-06-22 Frederic Peters - - * gtk/gtkunixprint.override (_wrap_gtk_print_job_send): update to - latest GTK+ API change. #345623 - -2006-06-20 Elijah Newren - - * gtk/gtk-2.10.defs (get_print_to_file, set_print_to_file): remove - these functions as the corresponding functions in gtk+ have - recently been removed as well. #345447 - -2006-06-15 John Finlay - - * gtk/gtk.override (_wrap_gtk_notebook_set_window_creation_hook): Add. - - * gtk/gdk.override (_wrap_gdk_screen_set_font_options) - (_wrap_gdk_screen_set_font_options): Add. - - * gtk/gtk-base.defs (accel_group_from_accel_closure): Remove duplicate. - - * gtk/gdk.override (gdk_atom_intern_static_string): Ignore - -2006-06-15 Gustavo J. A. M. Carneiro - - * configure.in: Post-release version bump. - -=== 2.9.2 === -2006-06-15 Gustavo J. A. M. Carneiro - - * examples/pygtk-demo/demos/print_editor.py: Update example to - API changes a couple of weeks ago. - - * NEWS: Update. - - * gtk/gtk-2.10.defs (target_list_add_rich_text_targets): Remove - "(of-object "GtkTargetList")", which is not valid for functions. - - * gtk/gtkunixprint.override (pygtk_print_job_complete_func_cb): - PycairoSurface_FromSurface API breakage happened since pycairo - 1.1.6, not 1.1.7. Fixes #344957. - -2006-06-14 John Finlay - - * gtk/gtktextview.override (_wrap_gtk_text_buffer_serialize) - (_wrap_gtk_text_buffer_register_deserialize_format) - (_wrap_gtk_text_buffer_register_serialize_format) - (_wrap_gtk_text_buffer_get_serialize_formats) - (_wrap_gtk_text_buffer_get_serialize_formats): Add. - - * codegen/argtypes.py (arg): Match const-guint8* as UCharArg - - * gtk/gtktextview.override (_wrap_gtk_text_buffer_deserialize) - (_wrap_gtk_text_buffer_deserialize): Add. - -2006-06-14 Gustavo J. A. M. Carneiro - - * codegen/defsparser.py (IncludeParser.include): Fix a small typo - that caused bug #344845. - -2006-06-14 John Finlay - - * gtk/gtktextview.override - (_wrap_gtk_text_buffer_get_copy_target_list) : Add, - - * gtk/gtk.override (_wrap_gtk_drag_dest_find_target) - (_wrap_gtk_drag_dest_get_target_list) - (_wrap_gtk_drag_dest_set_target_list, _wrap_gtk_drag_begin) - (_wrap_gtk_drag_source_get_target_list) - (_wrap_gtk_drag_source_set_target_list) - (_wrap_gtk_target_list_add_text_targets) - (_wrap_gtk_target_list_add_image_targets) - (_wrap_gtk_target_list_add_uri_targets) - (_wrap_gtk_target_list_add_rich_text_targets): - Use pygtk_target_list_from_sequence and pygtk_target_list_to_list. - - * gtk/gtkobject-support.c (pygtk_target_list_from_sequence) - (pygtk_target_list_to_list): Add. - -2006-06-13 John Finlay - - * gtk/gtk-2.10.defs (gtk_tree_view_set_search_entry): Allow entry arg - to default to None. - - * gtk/gtktreeview.override - (_wrap_gtk_tree_view_set_search_position_func): Add. - - * gtk/gtk-2.10.defs (gtk_target_list_add_rich_text_targets): Change - to function. - - * gtk/gtk.override (_wrap_gtk_target_list_add_rich_text_targets): Add. - -2006-06-14 Gustavo J. A. M. Carneiro - - * configure.in: Post-release version bump. - -=== 2.9.1 === -2006-06-14 Gustavo J. A. M. Carneiro - - * codegen/defsparser.py (IncludeParser.include), - * codegen/codegen.py (main): Add a -I option to specify a path to - search for .defs files. - - * gtk/Makefile.am (CREATEDEFS): Use $(top_srcdir) to find - createdefs.py. - (gtk.c): gtk.c depends also on gdk-types.defs. - (EXTRA_DIST): Add gtk-extrafuncs.defs. - - * codegen/Makefile.am (EXTRA_DIST): Add createdefs.py. - -2006-06-13 Gustavo J. A. M. Carneiro - - * gtk/gtkmodule.c (pygtk_add_extra_constants): Don't add - GTK_PAPER_* constants with gtk+ 2.8. - - * gtk/gtkunixprint.override (pygtk_print_job_complete_func_cb): - Make it conditionally compile with both pycairo >= 1.1.7 and - earlier versions. - - * configure.in: Explicitly require pycairo for module pangocairo. - Minimum pycairo version changed back to 1.0.2. - - * NEWS: Updated. - - * gtk/gdkcairo.override (_wrap_gdk_cairo_rectangle): Make - gdk.CairoContext.rectangle() also accept (x, y, width, height) - parameters to avoid violating the Liskov substitution principle, - since it redefines cairo.Context.rectangle() with a different - signature. - -2006-06-13 John Finlay - - * gtk/gtk.override (_wrap_gtk_menu_popup): Improve anti-leak code. - (_wrap_gtk_init_check, _wrap_gtk_init_check): Ignore. - - * gtk/pygtk-private.h: Add. pygdk_atom_vector_from_sequence - - * gtk/gtkobject-support.c (pygdk_atom_vector_from_sequence): Add. - - * gtk/gtk.override (_wrap_gtk_targets_include_rich_text) - (_wrap_gtk_targets_include_uri, _wrap_gtk_targets_include_text) - (_wrap_gtk_targets_include_image): Add. - -2006-06-12 John Finlay - - * gtk/gtkstyle.override (_wrap_gtk_style_lookup_color): Add. - - * gtk/gtk-2.10-types.defs (enum TreeViewGridLines): Add. - - * gtk/gtk-2.10.defs (gtk_tree_view_set_enable_tree_lines) - (gtk_tree_view_get_enable_tree_lines, gtk_tree_view_set_grid_lines) - (gtk_tree_view_get_grid_lines, gtk_tree_view_grid_lines_get_type) - (gtk_print_operation_action_get_type): Add. - - * gtk/gtk.override (_wrap_gtk_status_icon_position_menu) - (_wrap_gtk_status_icon_position_menu): Add. - (_wrap_gtk_menu_popup): Recode to support passing - gtk.status_icon_position_menu as a position function while maintaining - backward compatibility. - -2006-06-11 John Finlay - - * gtk/gtk.override (_wrap_gtk_recent_manager_get_items) - (_wrap_gtk_recent_manager_add_full): Add. - - * gtk/gtktreeview.override (gtk_tree_store_insert_with_values) - (gtk_tree_store_insert_with_valuesv): Ignore - - * gtk/gtk.override (_wrap_gtk_size_group_get_widgets): Fix bug. - (_wrap_gtk_recent_filter_add_custom) - (_wrap_gtk_recent_filter_filter): Add. - - * gtk/gtk-2.10.defs (register_serialize_tagset) - (register_deserialize_tagset): Allow NULL tagset_name arg. - - * gtk/gtk.override (_wrap_gtk_recent_chooser_dialog_new): Note as - new-constructor. - (_wrap_gtk_size_group_get_widgets): Add. - -2006-06-10 John Finlay - - * gtk/gtk-2.10.defs (gtk_recent_chooser_menu_new_for_manager) - (recent_chooser_widget_new_for_manager): Use new object constructor. - -2006-06-11 Gustavo J. A. M. Carneiro - - * configure.in: Check for the X11 GDK target. - - * gtk/gdk.override: Don't ignore gdk_x11_* any more. - - * gtk/gdk-2.10.defs: Add x11 specific functions, scanned from - gdkx.h, corrected (function->method), and made conditionally - compile only on the X11 GDK target. - - * gtk/gdk-base.defs: Removed x11 specific functions added by johan - after 2.8 (re-added in gdk-2.10.defs). - -2006-06-10 John Finlay - - * gtk/gtk-2.10.defs (gtk_recent_chooser_menu_new_for_manager) - (recent_chooser_widget_new_for_manager): : Set - as constructor and allow manager param to default to None. - - * gtk/gtk.override (_wrap_gtk_recent_chooser_dialog_new) - (_wrap_gtk_recent_info_get_application_info) - (_wrap_gtk_recent_info_get_groups) - (_wrap_gtk_recent_info_get_applications) - (_wrap_gtk_recent_chooser_set_sort_func) - (_wrap_gtk_recent_chooser_list_filters): Add. - (gtk_print_error_quark, gtk_recent_chooser_error_quark) - (gtk_recent_chooser_dialog_new_for_manager) - (gtk_recent_chooser_menu_new) - (gtk_recent_chooser_widget_new, gtk_recent_manager_error_quark): Ignore - -2006-06-09 John Finlay - - * gtk/gtk.override (_wrap_gtk_recent_chooser_get_items) - (_wrap_gtk_recent_chooser_get_uris): Add. - - * gtk/gtkiconview.override (_wrap_gtk_icon_view_selected_foreach): - Fix leaks. - - * gtk/gtktextview.override (_wrap_gtk_text_tag_table_foreach): - Fix leaks. - - * gtk/gtk.override (_wrap_gtk_print_settings_foreach) - (_wrap_gtk_print_settings_set_page_ranges) - (_wrap_gtk_print_settings_get_page_ranges): Add. - - * gtk/gtk-2.10.defs (gtk_button_set_image_position) - (gtk_button_get_image_position, gtk_print_context_set_cairo_context) - (gtk_print_operation_set_track_print_status) - (gtk_print_operation_set_show_progress) - (gtk_print_operation_set_allow_async) - (gtk_print_operation_set_custom_tab_label) - (gtk_print_operation_get_error, gtk_print_operation_cancel - (gtk_status_icon_get_geometry): Add. - (gtk_print_operation_set_default_page_setup) - (gtk_print_operation_set_print_settings): Allow default NULL arg. - - * gtk/gtk-2.10-types.defs: Add PrintOperationPreview, RecentFilter, - RecentInfo. Sync enums. - -2006-06-08 Frederic Peters - - * configure.in, gtk/gtkunixprint.override: Updated pycairo dependencies - from 0.5.0 to 1.1.7 since PycairoSurface_FromSurface signature changed. - - * gtk/gtk-2.10-types.defs, gtk/gtk-2.10.defs: Updated to new GTK+ - Printing API changes. - -2006-06-06 John Finlay - - * gtk/gtkunixprintmodule.c (initunixprint): - Add pygtkunixprint_add_constants() call. - - * gtk/gtkunixprint.defs: - * gtk/gtkunixprint.override: Add files for unixprint module. - - * gtk/Makefile.am: Add support for gtk.unixprint module. - - * configure.in: Add support for gtk.unixprint module. - -2006-06-06 Johan Dahlin - - * gtk/gtk-base.defs (set_mnemonic_widget): Allow widget to be null - -2006-06-05 John Finlay - - * gtk/gtk-2.10.defs (paper_size_new): Allow name to default to None. - - * gtk/gtkmodule.c (pygtk_add_extra_constants): Add GTK_PAPER_NAME - constants. - -2006-06-04 John Finlay - - * gtk/gtk.override (gtk_paper_size_free): Ignore - - * gtk/gtk-2.10.defs (gtk_message_dialog_set_image): Add. - - * gtk/gtk.override (_wrap_gtk_link_button_set_uri_hook): Add. - - * gtk/gtk-2.10.defs (input_shape_combine_mask): Allow shape_mask - to be None. - (gtk_link_button_new_with_label): Set as constructor for GtkLinkButton. - Allow label param to default to None. - -2006-06-04 Johan Dahlin - - * pango.override (_wrap_pango_tab_array_get_tabs): Fix two - leaks found by coverity. - -2006-06-04 John Finlay - - * gtk/gtk-2.10.defs (drag_dest_set_track_motion) - (drag_dest_get_track_motion): Change to methods of GtkWidget. - - * gtk/gtk.override (_wrap_gtk_clipboard_wait_for_rich_text) - (_wrap_gtk_clipboard_request_rich_text): Add. - - * codegen/argtypes.py (AtomArg.write_return): Fix leak in GdkAtom - return. - -2006-06-03 John Finlay - - * gtk/gtk-2.10.defs (gtk_assistant_set_page_header_image) - (gtk_assistant_set_page_side_image): Allow - pixbuf param to be None and optional. - (gtk_entry_set_inner_border): Allow border param to be None. - -2006-06-01 John Finlay - - * gtk/gtk.override (_wrap_gtk_assistant_set_forward_page_func): Add. - - * gtk/gdkevent.override (_wrap_gdk_event_tp_getattr): Output - "selection" as a gdk.OWNER_CHANGE member. - -2006-06-01 Gustavo J. A. M. Carneiro - - * gtk/gtk-2.10.defs: gtk_print_context_create_context renamed to - gtk_print_context_create_pango_context; - gtk_print_context_create_layout renamed to - gtk_print_context_create_pango_layout; - gtk_print_context_get_fontmap renamed to - gtk_print_context_get_pango_fontmap; gtk_print_context_get_cairo - renamed to gtk_print_context_get_cairo_context. - - * gtk/gtk.override - (_wrap_GtkCellLayout__proxy_do_set_cell_data_func): - s/Py_DECREF(py_ret)/Py_XDECREF(py_ret)/, thanks Paolo Borelli. - -2006-05-31 John Finlay - - * gtk/gdkdraw.override (_wrap_gdk_draw_layout_line): Add, - - * gtk/gdkcairo.override (_wrap_gdk_cairo_set_source_pixmap) - (_wrap_gdk_cairo_region, _wrap_gdk_cairo_rectangle): Add as methods. - - * gtk/gdk-base.defs (shape_combine_region): shape_region may be None. - - * gtk/gdk.override (gdk_region_destroy): Ignore. - -2006-05-26 John Finlay - - * gtk/gtk-base.defs (set_cursor): Allow IconView.set_cursor method - params 'cell' and 'start_editing' to be optional. - Fixes #343039 (Ross Burton) - -2006-05-20 Gustavo J. A. M. Carneiro - - * gtk/gtk.override (_wrap_GtkCellRenderer__do_get_size): Impl. - Fixes #339431. - -2006-05-20 John Finlay - - * pangocairo.override (_wrap_context_set_font_options): Allow - font_options param to be None. - -2006-05-20 Gustavo J. A. M. Carneiro - - * examples/pygtk-demo/demos/print_editor.py (begin_print): - s/set_nr_of_pages/set_n_pages/ (gtk api change). - -2006-05-18 John Finlay - - * gtk/gtk.override (clipboard_request_contents_cb) - (clipboard_clear_func, clipboard_get_func) - (clipboard_request_targets_cb, clipboard_request_image_cb): Fix - reference leaks (#342114). - -2006-05-17 Gustavo J. A. M. Carneiro - - * gtk/gtk.override (clipboard_request_text_cb): Fix reference - leaks (#342114). - -2006-05-14 Gustavo J. A. M. Carneiro - - * gtk/gtkcontainer.override - (_wrap_GtkContainer__proxy_do_set_child_property) - (_wrap_GtkContainer__proxy_do_get_child_property) - (_wrap_GtkContainer__do_set_child_property) - (_wrap_GtkContainer__do_get_child_property): Impl. Fixes #341641. - - * gtk/gtk.override (_wrap_GtkCellRenderer__proxy_do_get_size): Fix - reference leak on 'self' and 'py_ret'. - (_wrap_gtk_dialog_set_alternative_button_order): idem. - - * codegen/reversewrapper.py: Fix registration of StringReturn type - handler; fixes #341634. - -2006-05-14 Murray Cumming - - * gtk/gtk-2.10.defs: Updated to fix the build, because - - gtk_print_operation_set_nr_of_pages() changed to gtk_print_operation_set_n_pages() - - gtk_print_settings_get_num_copies() changed to gtk_print_settings_get_n_copies() - - gtk_print_settings_set_num_copies() changed to gtk_print_settings_set_n_copies() - - gtk_recent_manager_add_full() no longer has a GError* parameter. - -2006-05-10 Johan Dahlin - - * codegen/codegen.py: Refactor a big chunk into a class with methods. - - * Makefile.am: - * gtk/Makefile.am: Use PYCAIRO_CFLAGS - - * configure.in: Make pycairo a required dependency, make sure - the optional Gtk+ 2.10 dependency check work and only build - pangocairo if pycairo found and libglade if gtk can be built - -2006-05-08 Gustavo J. A. M. Carneiro - - * examples/pygtk-demo/demos/print_editor.py, - * examples/Makefile.am: Add Print Editor demo, originally found in - gtk+ sources and translated to Python. - - * gtk/gtk-2.10.defs: gtk.print_run_page_setup_dialog second - argument can be None/NULL. - -2006-05-07 Gustavo J. A. M. Carneiro - - * gtk/gtk.override (_wrap_add_log_handlers) - (_wrap_remove_log_handlers): Try to use - pyg_add_warning_redirection and pyg_disable_warning_redirections - if available. - - * pangomodule.c (initpango): idem. - - * examples/gtk/testprint.py: Add a python print demonstration, - based on testprint.c in gtk+ sources. It is missing a print - dialog, though... - - * examples/Makefile.am (EXTRA_DIST): add gtk/testprint.py. - - * gtk/gtk.override: Include pycairo. - (_wrap_gtk_print_context_get_cairo): Override to make - gtk.PrintContext return a gtk.gdk.CairoContext object instead of a - cairo.Context one. - - * configure.in: pycairo dependency no longer optional. - - * gtk/gtk-2.10-types.defs (PrintContext): Missing gtk.PrintContext. - - * gtk/gtk-2.10.defs: Make 'parent' parameter of - gtk_print_operation_run optional and None acceptable. - - * gtk/gtk-2.10-types.defs: Declare type gtk.PageSetup. - (PrintSettings): idem for gtk.PrintSettings. - (PaperSize): Add boxed gtk.PaperSize. - - * gtk/gdk.override (_wrap_gdk_bitmap_create_from_data) - (_wrap_gdk_pixmap_create_from_data): Override to fix a compilation - warning and add bounds check on the data parameter. - - * gtk/gdkcairo.override: Add explicit braces to keep gcc happy. - - * gtk/Makefile.am: Make sure the defs are regenerated when - configure runs, due to possible changes in gtk+ 2.10 detection. - (gtk.c): Make gtk.c depend on gdk-types.defs to force it to be - generated early. - (.defs.c): Remove the recursive make invocation, no longer needed. - - * gtk/Makefile.am (defs_DATA): Install gdk.defs, gtk.defs, - gdk-types.defs, and gtk-types.defs. Thanks Olav Vitters - Fixes bug #340920. - -2006-05-06 Johan Dahlin - - * codegen/createdefs.py: - * configure.in: - * gtk/Makefile.am: - * gtk/gdk-2.10.defs: - * gtk/gdk-base-types.defs: - * gtk/gdk-base.defs: - * gtk/gdk-types.defs: - * gtk/gdk.defs: - * gtk/gdk.override: - * gtk/gtk-2.10-types.defs: - * gtk/gtk-2.10.defs: - * gtk/gtk-base-types.defs: - * gtk/gtk-base.defs: - * gtk/gtk-types.defs: - * gtk/gtk.defs: - - Add conditional support for Gtk+ 2.10 add new api. - -2006-05-06 Johan Dahlin - - * codegen/h2def.py (main): Add support for filtering out definies - in existing files - - * gtk/gtk.override: Ignore a bunch of stuff - - * gtk/gtk.defs: Add deprecated, broken and unsupported API here, - to make it easier to merge in the future - - * codegen/override.py (Overrides.__parse_override): - * codegen/codegen.py (main): - Add ignore-type statement in override - - * codegen/h2def.py: Refactor to use OOP, remove duplicated code - -2006-05-01 John Ehresman - - * gtk/gdk-types.defs: - * gtk/gdk.defs: - * gtk/gdk.override - * gtk/gtk.defs: - * gtk/pygtk-private.h: - GdkRegion wrapper - -2006-05-01 John Ehresman - - * gtk/gtktreeview.override: Restore override for - TreeView.get_visible_rect - -2006-05-01 Yevgen Muntyan - - * codegen/reversewrapper.py (ReverseWrapper.generate): Missing () - in Py_BuildValue template string to force a tuple to be created - even when number of retvals is one. Reviewed by Gustavo. Fixes - Bug 340162 "Missing ()". - -2006-04-26 Johan Dahlin - - * gtk/gdk.override (_wrap_gdk_event_handler_set): - * gtk/gdk.defs (event_handler_set): - Wrap gdk_event_handler_set - - * gtk/Makefile.am: - * gtk/gdk.override: - * gtk/gdkcairo.override: - * gtk/gdkcolor.override: - * gtk/gdkdraw.override: - * gtk/gdkevent.override: - * gtk/gdkgc.override: - * gtk/gdkpixbuf.override: - * gtk/gdkrectangle.override: - * gtk/gdkwindow.override: - * gtk/gtktoolbar.override: - Split out a few more files - -2006-04-23 Gustavo J. A. M. Carneiro - - * codegen/codegen.py: - * codegen/definitions.py: Add support for (unblock-threads #t) in - functions and methods, which enables the generation of - pyg_(begin|end)_allow_threads around the C call. - - * codegen/argtypes.py (ObjectArg.write_return): Follow up on - #169204 to add support for const-Object as return type. This - fixes a build problem in pygda. - -2006-04-18 John Ehresman - - * setup.py: Remove support for building / installing gobject, pygtk.py, - and dsextras.py - -2006-04-16 Richard Hult - - * gtk/gtkmodule.c: - * gtk/gtk.override: Move locale.h include from gtkmodule.c here to - fix the build. - -2006-04-13 Johan Dahlin - - * gtk/gtkcontainer.override (pygtk_container_for_common): - Set an exception and jump out (Coverity) - - * gtk/gtk.override (_wrap_gtk_stock_list_ids): Decref py_item - after using it (Coverity) - -2006-04-06 Johan Dahlin - - * gtk/__init__.py (_init): Add log handlers here - (threads_init): Deprecated gtk.threads_*, gtk.gdk.threads_* should - be used instead, fixes #165927 (Steve Chaplin) - - * gtk/gtk.override (_wrap_remove_log_handlers): New function, - makes it possible to remove the handlers pygtk installs. - Fixes #323786 - - * gtk/gtkmodule.c (init_gtk): Refactor, move init_check... - (init_gtk): Move the log handlers to gtk.override - - * gtk/gtk.override (_wrap_gtk_init_check): ..to here - - * gtk/__init__.py: Refactor, call init_check() and print warning - if DISPLAY is not set. Fixes #316877 - -2006-04-05 Johan Dahlin - - * gtk/gtktreeview.override - (_wrap_gtk_tree_sortable_set_default_sort_func): Allow callback - to be set to None, found by Patrick O'Brien - - * tests/test_liststore.py (ListStoreTest.testSetDefaultSortFunc): - Add test - -2006-04-04 Johan Dahlin - - * configure.in: Post release version bump - -=== 2.9.0 === -2006-04-04 Johan Dahlin - - * NEWS: Update - -2006-04-04 John Ehresman - - reviewed by: Johan Dahlin - - * gtk/gtktreeview.override: - Make sure gtk.TreeView.cell_get_size() allows - the usage of the in argument. Fixes #326357 - -2006-04-03 Johan Dahlin - - * codegen/codegen.py: - Fit in 80 characters, do not use \ - - * codegen/argtypes.py: - * codegen/codegen.py: - * codegen/definitions.py: - * codegen/defsconvert.py: - * codegen/defsparser.py: - * codegen/docextract.py: - * codegen/docextract_to_xml.py: - * codegen/docgen.py: - * codegen/h2def.py: - * codegen/mkskel.py: - * codegen/override.py: - * codegen/reversewrapper.py: - * examples/glade/autoconnect.py: - * examples/gobject/editable-interface.py: - * examples/gobject/signal.py: - * examples/gtk/bin.py: - * examples/gtk/filechooser.py: - * examples/gtk/scrollable.py: - * examples/gtk/sizegroup.py: - * examples/gtk/uimanager.py: - * examples/ide/edit.py: - * examples/ide/gtkdb.py: - * examples/ide/gtkprof.py: - * examples/pango/pangocairo-simple.py: - * examples/pango/utf8-demo.py: - * examples/pygtk-demo/demos/changedisplay.py: - * examples/pygtk-demo/demos/dnd.py: - * examples/pygtk-demo/demos/dndpixmap.py: - * examples/pygtk-demo/demos/entry_completion.py: - * examples/pygtk-demo/demos/expander.py: - * examples/pygtk-demo/demos/hypertext.py: - * examples/pygtk-demo/demos/list_store.py: - * examples/pygtk-demo/demos/textview.py: - * examples/pygtk-demo/demos/tree_store.py: - * examples/pygtk-demo/demos/treemodel.py: - * examples/simple/dnd.py: - * examples/simple/dndpixmap.py: - * examples/simple/hello.py: - * examples/simple/scribble.py: - * examples/simple/simple.py: - * examples/simple/tooltip.py: - * gtk/__init__.py: - * gtk/compat.py: - * gtk/keysyms.py: - * ltihooks.py: - * setup.py: - * tests/common.py: - * tests/runtests.py: - * tests/test_actiongroup.py: - * tests/test_conversion.py: - * tests/test_dialog.py: - * tests/test_enum.py: - * tests/test_gdkevent.py: - * tests/test_liststore.py: - * tests/test_radiobutton.py: - * tests/test_style.py: - * tests/testmodule.py: - - Run reindent.py on all python code. - -2006-04-02 Johan Dahlin - - * gtk/gdk.defs (rotate_simple): Add gdk.Pixbuf.rotate_simple, - fixes #314164 (Karel Vervaeke) - - * examples/pygtk-demo/demos/treemodel.py: - Check for null, so it can be used with a model filter, - fixes #311459 (Stephen Kennedy) - - * examples/gtk/widget.py: Remove tabs fixes #325320 - (Dieter Verfaillie) - -2006-04-02 Gustavo J. A. M. Carneiro - - * gtk/gtk-types.c (PyGdkWindow_PropertyGet): Change property size - limit from 9999 to G_MAXLONG. Thanks Wander Boessenkool. - Fixes #327778. - - * pango.override (_wrap_pango_layout_line_index_to_x): First - keyword name should be index, not x_pos, as pointed out by John - Finlay. Fixes #316581. - - * gtk/gtk.defs: Mark gtk_tree_row_reference_free as deprecated. - Fixes #309811. - - * gtk/gtkcontainer.override - (_wrap_gtk_container_class_list_child_properties): Deprecate in - favour of gtk.Container.list_child_properties. - (_wrap_gtk_container_list_child_properties): Add - gtk.Container.list_child_properties as classmethod. - (_wrap_gtk_container_class_install_child_property): Deprecate in - favour of gtk.Container.install_child_property. - (_wrap_gtk_container_install_child_property): Add - gtk.Container.install_child_property as clasmethod. Fixes #308394. - - * gtk/gtktreeview.override: Remove gtk_tree_view_get_visible_rect - duplicate override. - - * gtk/gtk.override: Make the "new-constructor - GTK_TYPE_MESSAGE_DIALOG" declaration conditional on gtk+ >= 2.9, - to match the contents of the constructor. - -2006-04-02 Johan Dahlin - - * gtk/gdk.override (_wrap_gdk_draw_indexed_image): - wrap, Fixes #333431 (Hamish Moffatt) - * tests/test_gdk.py (GdkTest.testDrawIndexedImage): Add test - - * gtk/gtk.defs (spin): Set default value of increment to - 1, fixes #325452 (Sebastian Rittau) - - * pango.override: - * tests/Makefile.am: - * tests/test_pango.py: - - Set default markup accel marker to \x00, add tests, - Fixes #329658 (Johan Svedberg) - -2006-04-02 Ben Caradoc-Davies - - reviewed by: Johan - - * examples/pygtk-demo/demos/pixbufs.py: Remove - discontinuous motion, fixes #327931 - -2006-04-02 Johan Dahlin - - - * gtk/gtkmodule.c (init_gtk): GDK_PARENT_RELATIVE constant - - * gtk/gtk-types.c (pygtk_style_helper_setitem): Add support for - GDK_PARENT_RELATIVE in style pixmaps. - - Fixes #320248 (Nikos Kouremenos) - -2006-04-01 Gustavo J. A. M. Carneiro - - * codegen/override.py (Overrides.__parse_override): Check and - abort if a function is being overridden more than once. - -2006-04-01 Rauli Ruohonen - - * codegen/codegen.py (Wrapper.write_functions): Add missing 'data' - parameter when calling self.write_function. - - * pangocairo.override: Wrap pango_cairo_context_set_font_options - and pango_cairo_context_get_font_options. Fixes #328108. - - Reviewed by Gustavo Carneiro. - -2006-04-01 Gustavo J. A. M. Carneiro - - * codegen/codegen.py (Wrapper.write_virtuals): Use - PyObject_GetAttrString, not PyDict_GetItemString, fixes #327715. - - * gtk/pygtk.h, gtk/gtkmodule.c: Export pygtk_tree_path_to_pyobject - and pygtk_tree_path_from_pyobject as public APIs. Fixes #318021. - - * codegen/argtypes.py: Add suppport for const object args. - Patch by wollny@cbs.mpg.de, plus some additional changes for code - style improvements and a bug fix. Fixes #169204. - - * gtk/gtkmodule.c (_pygtk_log_func): Call g_log_default_handler - when python isn't initialized. Fixes #334188. - - * examples/Makefile.am (EXTRA_DIST): Ship new editable interface example. - - * examples/gobject/editable-interface.py: Add small example of - overriding GtkEditable interface method and chaining to parent. - - * codegen/codegen.py: Bug 334986: "Make it possible to - re-implement interfaces and chain to parent impl." - -2006-04-01 Johan Dahlin - - * codegen/h2def.py (proto_pat): Allow whitespace before - last parenthesis. Fixes #317124 - -2006-04-01 Gustavo J. A. M. Carneiro - - * gtk/gtk.defs (GtkSpinButton.input, GtkEditable.do_insert_text) - (GtkEditable.get_selection_bounds, - GtkMenuItem.toggle_size_request): Add (direction ...) specifiers - to these virtuals. Probably more of these are missing, though. - - * codegen/codegen.py, - * codegen/definitions.py, - * codegen/reversewrapper.py: - Add support for int* and double* (and basic infrastructure to - support other types in the future) parameters for "reverse - wrappers". To use this feature one needs to help the - codegenerator by adding (direction "out") or (direction "inout") to - the parameter definitions as appropriate. Fixes #335964. - -2006-04-01 John Finlay - - reviewed by: Johan - - * gtk/gdk.defs: - * gtk/gtk.defs: - * gtk/gtk.override: - * gtk/gtktextview.override: - * gtk/gtktreeview.override: - * gtk/gtkwidget.override: - Add missing bindings, fixes #316881 - -2006-04-01 Johan Dahlin - - * gtk/gdk.defs: Remove display_open_default_libgtk_only, - it should not be wrapped. - Fixes #321476 - -2006-04-01 Marco Cabizza - - reviewed by: Johan - - * gtk/gdk.defs: - add gdk_screen_get_rgba_colormap and gdk_screen_get_rgba_visual, - Fixes 328996 - -2006-04-01 Johan Dahlin - - * gtk/gtkmodule.c: (init_gtk): - * pangomodule.c: (initpango): - Set default encoding to utf-8 in pango instead of gtk. - Fixes #328031 - -2006-04-01 Johan Dahlin - - * Makefile.am: - * configure.in: - * dsextras.py: - * gobject/Makefile.am: - * gobject/gobjectmodule.c: - * gobject/pygboxed.c: - * gobject/pygenum.c: - * gobject/pygflags.c: - * gobject/pygiochannel.c: - * gobject/pygmaincontext.c: - * gobject/pygmainloop.c: - * gobject/pygobject.c: - * gobject/pygparamspec.c: - * gobject/pygpointer.c: - * gobject/pygsource.c: - * gobject/pygtype.c: - * gtk/Makefile.am: - * pygtk.py: - * tests/Makefile.am: - Remove gobject and depend on pygobject 2.10.0 - -2006-04-01 Johan Dahlin - - * codegen/codegen.py: Mark function, methods and getsets as const. - -2006-04-01 Gustavo J. A. M. Carneiro - - * gtk/gtk.override (_wrap_gtk_message_dialog_new): Add missing - "new-constructor GTK_TYPE_MESSAGE_DIALOG" codegen declaration. - - * codegen/codegen.py: Add support for docstrings in .defs. To use - it, add (docstring "foo bar") to class, function or method - definitions. Fixes bug #322843. - - * pangocairomodule.c (initpangocairo): Fix compiler warning. - - * m4/python.m4: Fix "underquoted definition of AM_CHECK_PYMOD" warning. - - * gtk/gtk.override (_wrap_gtk_message_dialog_new): On gtk+ 2.9, - fix constructor to allow subclassing. Fixes bug #312056. - -2006-03-30 Johan Dahlin - - * configure.in: Post release version bump - -=== PyGTK 2.8.5 === -2006-03-30 Johan Dahlin - - * NEWS: Update. - -2006-02-27 Gustavo J. A. M. Carneiro - - * tests/test_dialog.py (MessageDialogTest.testDialogLeak): Add - test for bug #332771. - - * tests/test_actiongroup.py (ActionGroupTest.timeout_cb): Use - self.assertEqual instead of plain assert. - - * gtk/gtk.override (gtk_dialog_new_with_buttons): Remove one too - many g_object_ref. Fixes Bug 332771: "gtk.Dialog leak". - -2006-02-20 Gustavo J. A. M. Carneiro - - * gtk/gdkcairo.override: Don't raise an exception if pangocairo - import fails, since in this case python itself had already raised - another exception with more information. - -2006-02-14 Johan Dahlin - - * gtk/gtkclist.override (_wrap_gtk_clist_new_with_titles): Fix typos, - found by Padraig Brady - -2006-02-06 Johan Dahlin - - * gtk/__init__.py (_is_pydoc): Do not print the deprecation warning - if we're running under pydoc. - -2006-01-26 Gustavo J. A. M. Carneiro - - * examples/pygtk-demo/demos/pixbufs.py (PixbufsDemo.expose_cb): - Remove the "FIXME: draw_rgb_image_dithalign seems not to be - available" comment. - - * gtk/gdk.override (_wrap_gdk_draw_rgb_image): Add comment - explaining why we always call gdk_draw_rgb_image_dithalign instead - of gdk_draw_rgb_image. - (_wrap_gdk_draw_gray_image): idem. - -2006-01-21 Gustavo J. A. M. Carneiro - - * gtk/gtk.defs (cell_view_new_with_text): Add - caller-owns-return to fix a reference leak. - (cell_view_new_with_markup): idem. - (cell_view_new_with_pixbuf): idem. - (combo_box_new_text): idem. - (combo_box_entry_new_with_model): idem. - (combo_box_entry_new_text): idem. - (expander_new_with_mnemonic): idem. - (file_chooser_button_new_with_backend): idem. - (file_chooser_button_new_with_dialog): idem. - (file_chooser_widget_new_with_backend): idem. - (gtk_font_button_new_with_font): idem. - (icon_set_new): idem. - (gtk_icon_view_new_with_model): idem. - (gtk_menu_tool_button_new_from_stock): idem. - (toggle_tool_button_new_from_stock): idem. - (tool_button_new_from_stock): idem. - - * gtk/gdk.defs (pixbuf_loader_new_with_mime_type): Add - caller-owns-return to fix a reference leak. - -2006-01-20 John Ehresman - - * gtk/gdk.override (_wrap_gdk_window_new): Bump ref count - on x11 so destroy() works as expected - - * tests/test_gdk.py: test for the above - -2006-01-19 Johan Dahlin - - * examples/Makefile.am: - Install examples - - * examples/gtk/widget.py: - Call unrealize too - - * examples/gtk/scrollable.py: - Add example of a scrollable widget - -2006-01-15 Christopher Aillon - - * gobject/gobjectmodule.c (pyg_strv_to_gvalue): - Don't call g_value_init since the other *_to_gvalue - methods expect an already inited GValue - -2006-01-11 Johan Dahlin - - * configure.in: Post release version bump - -=== PyGTK 2.8.4 === -2006-01-11 Johan Dahlin - - * NEWS: Update. - - * Makefile.am: Only install pygtk.pth if we're building gobject. - -2006-01-10 Johan Dahlin - - * gtk/gtk-types.defs (IconView): should implement gtk.CellLayout - -2006-01-09 Gustavo J. A. M. Carneiro - - * Makefile.am, - * configure.in, - * gtk/Makefile.am, - * tests/Makefile.am: Fix pygobject check; Add external pygobject - include dir to include path instead of the internal one if - compiling with pygobject 2.9. - - * Makefile.am: Don't build or install gobject bindings if - pygobject >= 2.9 was found. - - * configure.in: Check for pygobject 2.9; create an AM conditional - based on it. - -=== PyGTK 2.8.3 === -2006-01-04 Cedric Gustin - - * dsextras.py (Template.generate): Pass GLOBAL_MACROS (in - particular HAVE_PYCAIRO) to codegen DefsParser. - * setup.py: If pangocairo is enabled, add pycairo to the list of - packages required to build the GTK+ module. Also set HAVE_PYCAIRO. - -2005-12-24 Gustavo J. A. M. Carneiro - - * gobject/pygflags.c (pyg_flags_add): Tolerate module == NULL, - which may happen when called from pyg_flags_from_gtype if a - wrapper for the GFlags was not registered. - -2005-11-15 Johan Dahlin - - * gobject/pygobject.c (pygobject_new_with_interfaces): We always - need to free interfaces since its a null terminated array. - -2005-11-13 Johan Dahlin - - * gobject/gobjectmodule.c (pyg_type_register): Remove deprecation - warning. - -2005-11-13 Gustavo J. A. M. Carneiro - - * gtk/gtk.defs (gtk_image_new_from_stock) - (gtk_image_new_from_icon_set, image_new_from_animation) - (gtk_image_new_from_icon_name) - (gtk_radio_menu_item_new_from_widget) - (gtk_radio_menu_item_new_with_mnemonic_from_widget) - (gtk_radio_menu_item_new_with_label_from_widget): Add missing - "(caller-owns-return #t)" -- fixes mem leaks. - -2005-11-12 Gustavo J. A. M. Carneiro - - * gtk/gdk.override (_wrap_gdk_pixbuf_animation_iter_advance): - Missing g_object_unref(ret), since caller owns the return value. - -2005-11-11 Johan Dahlin - - * examples/gtk/sizegroup.py: New example. - -2005-11-09 Gustavo J. A. M. Carneiro - - * gobject/pygobject.c (CHECK_GOBJECT): Use %p formatter instead of 0x%x. - - * gobject/pygobject-private.h (pyg_gil_state_ensure) - (pyg_gil_state_release): Sync these macro definitions with the - version in pygobject.h, i.e. don't call pygobject API - replacements, call the Python API directly. - - * tests/Makefile.am (tests): Add test_glade.py. - - * tests/test_glade.py: Add this file which was missing from CVS. - - * gtk/gtk.defs (gtk_widget_render_icon): Add missing - "(caller-owns-return #t)" to plug a leak. - -2005-11-03 Manish Singh - - reviewed by: Johan Dahlin - - * gobject/gobjectmodule.c: (pyg_integer_richcompare): - * gobject/pygenum.c: (pyg_enum_richcompare): - * gobject/pygflags.c: (pyg_flags_richcompare): - * gobject/pygobject-private.h: - Prepare for Python 2.5 richcompare changes, fixes #320455. - -2005-11-02 Johan Dahlin - - * gtk/__init__.py: Remove '' from sys.path if it was added by - PySys_SetArgv in init_gtk. - -2005-10-15 Gustavo J. A. M. Carneiro - - * gtk/gtkobject-support.c (pygtk_custom_destroy_notify): Add - g_return_if_fail to catch user_data == NULL. - - * gtk/gtktreeview.override (pygtk_set_search_equal_func_marshal): - Add some NULL parameter checks. Use PyObject_IsTrue instead of - comparing agains PyTrue. - -2005-10-14 Johan Dahlin - - * tests/Makefile.am (tests): - * tests/test_gdk.py: Add test - - * gtk/gdk.defs (pixmap_create_from_data) - (bitmap_create_from_data): use guchar* instead of gchar, - fixes #318874 (Bob Gibbs) - -2005-10-09 Johan Dahlin - - * configure.in: post release version bump - -=== PyGTK 2.8.2 === -2005-10-04 Johan Dahlin - - * NEWS: Update - -2005-10-09 Johan Dahlin - - * gobject/pygiochannel.c: (pyg_iowatch_marshal): - Use GIL state instead of block/unblock. Fixes crasher found - by Ole Andre Valda Ravnås. - -2005-10-04 Johan Dahlin - - * configure.in: post release version bump - -=== PyGTK 2.8.1 === -2005-10-04 Johan Dahlin - - * NEWS: Update - -2005-10-03 Johan Dahlin - - * gobject/pygobject.c: (PyGProps_length): - * gtk/gdk.defs: - * gtk/gdk.override: - * gtk/gtk.defs: - * gtk/gtk.override: - Fix gcc 4.0 warnings. - -2005-10-02 Gustavo J. A. M. Carneiro - - * tests/test_properties.py (PropertyObject.__gproperties__) - (PropertyObject.do_get_property, PropertyObject.do_set_property) - (TestProperties.testUint64): Add guint64 property test case, by - Johan Dahlin. - - * gobject/pygtype.c (pyg_value_from_pyobject): Accept conversion - from PyInt (not just PyLong) to guint64. - (_wrap_g_type_wrapper__get_children): Fix sign/unsigned warning. - (_wrap_g_type_wrapper__get_interfaces): idem. - (pyg_value_from_pyobject): idem. - -2005-10-01 Gustavo J. A. M. Carneiro - - * tests/test_subtype.py (TestSubType.testGObjectNewError): Add new - test for the bug below. - - * gobject/gobjectmodule.c (pyg_object_new): don't unref/sink obj - if it is NULL. - -2005-09-29 Johan Dahlin - - * gobject/gobjectmodule.c: (pyg_type_name), (pyg_type_from_name), - (pyg_type_parent), (pyg_type_is_a), (pyg_type_children), - (pyg_type_interfaces): Undeprecate for now. - -2005-09-28 Gustavo J. A. M. Carneiro - - * tests/Makefile.am (tests): Add test_textview.py. - - * tests/test_textview.py: Test gtk.TextView.get_default_attributes(). - - * gtk/gtktextview.override - (_wrap_gtk_text_view_get_default_attributes): Override to - workaround gtk bug #317455. - - * pangomodule.c (initpango): Fix values of pango.SCALE_X_LARGE and - pango.SCALE_XX_LARGE. - -2005-09-25 Gustavo J. A. M. Carneiro - - * tests/Makefile.am (EXTRA_DIST): Add leak.glade. - - * tests/test_glade.py: Test case for the leak below. - - * gtk/libglade.override (connect_many): Fix a reference leak in 'tuple'. - -2005-09-22 Johan Dahlin - - * gobject/gobjectmodule.c: (pyg_type_from_name): - * gobject/pygobject.c: (pygobject_connect), - (pygobject_connect_after), (pygobject_connect_object), - (pygobject_connect_object_after), (pygobject_emit), - (pygobject_stop_emission): - Include the object and the name of the signal in TypeErrors - -2005-09-20 Johan Dahlin - - * gtk/gtk.defs (Entry.set_completion): Add null-ok - -2005-09-16 John Ehresman - - * gtk/gdk.override (_wrap_gdk_event_tp_setattr): Allow subwindow - to be set for enter & leave notify events. - -2005-09-16 John Ehresman - - * gobjectmodule.c (initgobject): Add gobject.Warning Warning subclass - and redirect all g_log messages for the "GLib", "Glib-GObject", and - "GThread" domains to the python warning system - - * pangomodule.c (initpango): Add pango.Warning Warning subclass - and redirect all g_log messages for the "Pango" domain to the - python warning system - - * gtkmodule.c (initgtk): Move gtk Warning subclass from the gdk - module to the gtk module and added redirections for g_log messages - for the "Gdk" and "GdkPixbuf" domains to the python warning system - - * gtk/__init__.py: Set gdk.Warning = gtk.Warning for backward - compatibility - -2005-09-13 Johan Dahlin - - * gtk/gdk.defs: - * gtk/gtk.defs: - * gtk/gtk.override: - * gtk/gtktextview.override: - * gtk/gtktreeview.override: - * gtk/gtkwidget.override: - - Revert Johns latest commit. - -2005-09-13 Gustavo J. A. M. Carneiro - - * gobject/gobjectmodule.c (add_properties): Append extra - information to the exception value strings to help contextualize - any errors that occur while registering properties. - -2005-09-06 John Finlay - - * gtk/gdk.defs (set_urgency_hint): Add. - - * gtk/gtktreeview.override (_wrap_gtk_tree_view_get_visible_range): - Add. - - * gtk/gtk.defs (set_drag_dest_item): Allow path to be None. - (get_visible_range): Add. - -2005-09-05 John Finlay - - * gtk/gtk.defs (set_cursor): Allow cell to be None - - * gtk/gtkwidget.override (_wrap_gtk_drag_source_set_icon_name1): Add. - - * gtk/gtk.defs (gtk_drag_source_set_icon_name): Add as a widget method - and deprecate function gtk.drag_source_set_icon_name. - - * gtk/gdk.defs (set_icon_name): Add. - - * gtk/gtktextview.override (_wrap_gtk_text_view_get_iter_at_position): - Add. - - * gtk/gtk.override (_wrap_gtk_clipboard_request_image): Add. - - * gtk/gtk.defs (gtk_alternative_dialog_button_order) - (gtk_clipboard_request_image, gtk_clipboard_wait_for_image) - (gtk_clipboard_set_image, gtk_clipboard_wait_is_image_available) - (drag_source_add_iamge_targets, drag_source_add_uri_targets): - Add defs. - -2005-09-02 Johan Dahlin - - * gobject/pygparamspec.c (pyg_param_spec_getattr): Sort all attributes - alphabetically, like python does. Set default value to None - (pyg_param_spec_getattr): Add default_values fallback, for backwards - compatibility. - -2005-09-02 Gustavo J. A. M. Carneiro - - * gobject/gobjectmodule.c (_wrap_pyg_type_register): Don't crash - when registering non-types. - - * tests/test_subtype.py: Test registering non-types raises - TypeError. - - Fixes #315100: "gobject.type_register crashes if parameter is not - a type." - -2005-09-02 Johan Dahlin - - * gobject/gobjectmodule.c: (pyg_signal_list_names): - Also include interfaces, fixes #315038 - -2005-09-02 Johan Dahlin - - * configure.in: post release version bump - - * Changelog.pre-2-8: Move old changelog + docs/reference/pygtk-pango-constants.xml | 9 +++++++++ + 1 files changed, 9 insertions(+), 0 deletions(-) diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/ChangeLog.pre-2-16 /tmp/vg4GBciBVb/pygtk-2.15.1/ChangeLog.pre-2-16 --- pygtk-2.14.1/ChangeLog.pre-2-16 1970-01-01 01:00:00.000000000 +0100 +++ pygtk-2.15.1/ChangeLog.pre-2-16 2009-05-24 23:08:41.000000000 +0100 @@ -0,0 +1,3546 @@ +=== ChangeLog discontinued === + +2009-04-06 Brian Cameron + + Bug 397544 – Numeric is no longer maintained + + * gtk/gdkpixbuf.override: Fix numpy import. + +2009-04-06 Josselin Mouette + + Bug 397544 – Numeric is no longer maintained + + * gtk/gdk.override: + * configure.ac: + * setup.py: + * README: Update pygtk to use numpy instead of Numeric. + +2009-04-06 Gian Mario Tagliaretti + + Bug 447388 – pixbuf.get_pixels_array() doesn't correctly flag the array + as non-contiguous + + * gtk/gdkpixbuf.override: Revert this commit since it doesn't work + with numpy and we are going to ship 2.15.0 with numpy support. + Reopening the bug asking Tim Evens if he can fix the patch. + +2009-03-30 Tobias Mueller + + * pango.override: + * atkrectangle.override: + * ltihooks.py: + * gtk/libglade.override: + * gtk/gdkcolor.override: + * gtk/gdk.override: + * gtk/deprecation.py: + * gtk/__init__.py: + * gtk/_lazyutils.py: + * gtk/gdkdraw.override: + * gtk/gtk.override: + * gtk/gtkcontainer.override: + * gtk/gtkwidget.override: + * gtk/gtkobject-support.c: + * gtk/gtkiconview.override: + * gtk/gtk-types.c: + * gtk/gtkbuilder.override: + * gtk/gdkwindow.override: + * gtk/gtktreeview.override: + * gtk/pygtktreemodel.c: + * gtk/gtkunixprint.override: + * gtk/gtkstyle.override: + * gtk/gdkevent.override: + * gtk/pygtktreemodel.h: + * gtk/gtkctree.override: + * gtk/libglademodule.c: + * gtk/gtkwindow.override: + * gtk/keysyms.py: + * gtk/gdkgc.override: + * gtk/gtkunixprintmodule.c: + * gtk/gdkpixbuf.override: + * gtk/gdkcairo.override: + * gtk/gtkclist.override: + * gtk/gtktextview.override: + * gtk/pygtkcellrenderer.c: + * gtk/gdkrectangle.override: + * gtk/compat.py: + * gtk/pygtkcellrenderer.h: + * gtk/gtkmodule.c: + * pangomodule.c: + * atk.override: + * COPYING: + * pangocairomodule.c: + * atkmodule.c: + Update the address of the FSF by replacing old bits with new ones. + Fixes bug 577154. + +2009-03-25 Gian Mario Tagliaretti + + * gtk/gtkbuilder.override: Wrap gtk_builder_add_objects_from_string + and gtk_builder_add_objects_from_file, add a convenience function + pylist_to_strv which gets a list of strings and returns an array. + +2009-03-20 Gian Mario Tagliaretti + + * gtk/gdk-2.16.defs: + * gtk/gtk-2.16.defs: + * gtk/gtk-2.16-types.defs: + * configure.ac: + * gtk/Makefile.am: Add GTK+ 2.16 API + +2009-03-07 Gian Mario Tagliaretti + + * gtk/gtkiconview.override: + wrap gtk.IconView.convert_widget_to_bin_window_coords() + +2009-03-07 Gian Mario Tagliaretti + + * gtk/gdk-base.defs: gtk.gdk.selection_owner_set_for_display() should + accept None for GdkWindow. + +2009-03-07 Gian Mario Tagliaretti + + * gtk/gdk-2.14.defs: add gtk.gdk.Window.redirect_to_drawable() + +2009-03-04 Gian Mario Tagliaretti + + * gtk/gdk-2.14.defs: gdk.AppLaunchContext.set_icon_name should accept + None for icon_name. + +2009-03-04 Gian Mario Tagliaretti + + * gtk/gdk-2.14.defs: gdk.AppLaunchContext.set_icon should accept + None for icon. + +2009-03-01 Gian Mario Tagliaretti + + * gtk/gtk-2.14.defs: gtk.Tooltip.set_icon_from_icon_name should accept + None for icon_name. + +2009-02-28 Gian Mario Tagliaretti + + * gtk/gtk-2.14-types.defs: add GtkNumberUpLayout enum + +2009-02-28 Gian Mario Tagliaretti + + * gtk/gtk-2.14.defs: add gtk.PrintSettings.[get|set]_number_up_layout + which were forgotten in the last release. + +2009-02-27 Gian Mario Tagliaretti + + * gtk/gtk-2.14.defs: gtk.show_uri should accept None for screen. + +2009-02-27 Gian Mario Tagliaretti + + * gtk/gtk-2.14.defs: gtk.MountOperation set the default parent window + in constructor to None. + +2009-02-26 Gian Mario Tagliaretti + + * gtk/gtk-2.14.defs: deprecate gtk.FontSelectionDialog.get_apply_button() + +2009-02-22 Gian Mario Tagliaretti + + Bug 311008 – pygtk-demo fixes + + * examples/pygtk-demo/pygtk-demo.py: Apply a patch from Andi Albrecht. + + * examples/pygtk-demo/demos/pixbufs.py: Remove deprecation Warnings. + +2009-02-22 Gian Mario Tagliaretti + + Bug 309180 – gtk.MessageDialog exposes private attributes + + * gtk/gtk.override: add deprecation warnings using private attributes. + +2009-02-22 Gian Mario Tagliaretti + + Bug 447388 – pixbuf.get_pixels_array() doesn't correctly flag the array + as non-contiguous + + * gtk/gdkpixbuf.override: Fix the rowstride for pixbuf with padded rows. + Patch from Tim Evans + +2009-02-20 James Henstridge + + * ltihooks.py: relicense file from GPL to LGPL 2.1 for benefit of + pygst. Not sure why I used a GPL header to start with. + +2009-02-15 Gian Mario Tagliaretti + + * gtk/gtk-base.defs: Fix a small typo. + +2009-02-15 Gian Mario Tagliaretti + + * gtk/gtk-base.defs: Add deprecation warnings to the old gtk.Tooltips + +2009-02-01 Gustavo J. A. M. Carneiro + + * gtk/gtktextview.override + (_wrap_gtk_text_buffer_register_deserialize_format): Return the + deserialized string as a new memory buffer. Closes #567747. + (_wrap_gtk_text_buffer_serialize): We must free the original + deserialized string buffer (caller owns return). + +2009-01-31 Gian Mario Tagliaretti + + * NEWS: update to reflect 2.14 branch + +2009-01-30 Gian Mario Tagliaretti + + Bug 563717 – GNOME Goal: Clean up GLib and GTK+ includes + + * gtk/gtk.override: + * gtk/gtkunixprint.override: + * gtk/pygtktreemodel.h: + * gtk/gtkunixprintmodule.c: + * gtk/pygtkcellrenderer.h: Clean up GLib and GTK+ includes, + patch from Przemysław Grzegorczyk. + +2009-01-28 Gian Mario Tagliaretti + + Bug 566493 – gtk_accel_groups_activate is not available + + * gtk.override: clean up ignore section which contains lots of methods + that don't exist while closing the bug by removing + (gtk_accel_groups_activate) from ignore. + +=== PyGTK 2.14.0 === +2009-01-28 Gian Mario Tagliaretti + + Bug 556130 – bogus override of python includes in configure.ac + + * configure.ac: Don't override PYTHON_INCLUDES, it's already set + by AM_CHECK_PYTHON_HEADERS patch by Loïc Minier. + +2009-01-27 Gian Mario Tagliaretti + + * configure.ac: version bump to 2.15.0. + +2008-12-02 Paul Pogonyshev + + Bug 562991 – memory leak in gdk.draw_indexed_image + + * gtk/gdkdraw.override (_wrap_gdk_draw_indexed_image): Free + `colors' array. + +2008-12-01 Gian Mario Tagliaretti + + * gtk/Makefile.am: + * gtk/gtkunixprint-2.12.defs: + * gtk/gtkunixprint-2.14.defs: + * gtk/gtkunixprint-base-types.defs: + * gtk/gtkunixprint-base.defs: + * gtk/gtkunixprint.defs: split gtkunixprint defs in order to support + multiple gtk versions. + +2008-09-12 Gian Mario Tagliaretti + + * configure.ac: remove pygobject version check for gtk+ 2.14 + +2008-09-11 Paul Pogonyshev + + * configure.ac: PyGObject 2.15.5 is required to compile pygtk + 2.14. + +2008-09-11 Michiel de Hoon + + Bug 524327 – Interactive PyGTK + + * gtk/gtk.override (_main_quit, _loop, _wrap_set_interactive): New + functions. + + * gtk/__init__.py: Make PyGTK interactive. + +2008-09-11 Paul Pogonyshev + + Bug 481715 – Need way to assign to a GtkTextIter + + * gtk/gtktextview.override (_wrap_gtk_text_iter_assign): New + function (based on patch by Owen Taylor). + + * tests/test_textview.py (TextIterTest): New test. + +2008-09-10 Paul Pogonyshev + + Bug 550442 – gdk.c:19188: error: ‘GDK_TYPE_APP_LAUNCH_CONTEXT’ + undeclared (first use in this function) + + * gtk/gdk.override: Include itself. + +2008-09-09 Paul Pogonyshev + + Bug 551505 – set_parent_window(None) should work + + * gtk/gtk-base.defs (gtk.Widget.set_parent_window): Accept None + too. + +2008-09-09 Paul Pogonyshev + + Bug 539475 – gtk.gdk.threads_(enter|leave) promote dead-lock-prone + synchronization + + * gtk/__init__.py (gdk.lock): New context manager. + +2008-09-08 Paul Pogonyshev + + Bug 550754 – need to import GIO types from PyGObject package + + * configure.ac: Determine if `gio-types.defs' is installed as part + of PyGObject. + + * gtk/Makefile.am: Use it to register GIO types if installed. + + * gtk/gdk.override: Make gio.AppLaunchContext import conditional. + Add conditional import of gio.Icon. + + * gtk/gtk.override: Make gio.MountOperation import conditional. + Add conditional imports of gio.File and gio.Icon. + +2008-09-02 Gian Mario Tagliaretti + + * gtk/gtk-2.14.defs: comment out for a while gtk_selection_data_get_data + waiting to fix a problem in codegen. + +2008-09-01 Gian Mario Tagliaretti + + * configure.ac: require GTK+ 2.13.8 for pygtk 2.14 + + * gtk/gtk-2.14.defs: update with latest API changes in GTK+ + +2008-09-01 Gian Mario Tagliaretti + + * configure.ac: require pygobject 2.15.4 for pygtk 2.14 + +2008-09-01 Gian Mario Tagliaretti + + Bug 309554 – gtk.Widget.list_accel_closures not wrapped + + * gtk/gtkwidget.override: + * tests/Makefile.am: + * tests/test_accel_closures.py: Wrap gtk_widget_list_accel_closures + patch from Gustavo Carneiro. + +2008-08-31 Gian Mario Tagliaretti + + * gtk/pygtktreemodel.c: Remove compiler warnings. + +2008-08-28 Paul Pogonyshev + + Bug 541476 – Update pango examples + + * examples/pango/utf8-demo.py: Fix interpreter line. Replace all + escapes with corresponding characters. Use gtk.main_quit() + instead of deprecated gtk.mainquit(). + + * examples/pango/extentdemo.py: Fix interpreter line. + +2008-08-28 Paul Pogonyshev + + Bug 529623 – TypeError not raised when setting gtk.TreeView + adjustment property to None + + * gtk/gtk-base.defs (gtk.ScrolledWindow.set_hadjustment): Allow + the argument to be None. + (gtk.ScrolledWindow.set_vadjustment): Likewise. + +2008-08-28 Paul Pogonyshev + + Bug 526189 – add __str__ and/or __repr__ to several types + + * gtk/gdk.override (_wrap_gdk_cursor_tp_repr): New function. + + * gtk/gdkcolor.override (pygdk_color_to_string_smart) + (_wrap_gdk_color_tp_repr, _wrap_gdk_color_tp_str): New functions. + + * gtk/gdkevent.override (_wrap_gdk_event_tp_repr): New function. + + * gtk/gdkrectangle.override (_wrap_gdk_rectangle_tp_repr): New + function. + + * tests/test_color.py (Tests.test_repr, Tests.test_str): New tests. + (Tests._test_color_list): New helper method. + + * tests/test_rectangle.py (Tests.test_repr): New test. + (Tests._test_rectangle_list): New helper method. + +2008-08-28 Paul Pogonyshev + + Bug 534658 – Avoid warning when compiling against Python 2.5 or + older + + * gtk/gtk.override (pygtk_main_watch_prepare): Avoid GCC warning. + +2008-08-26 Gian Mario Tagliaretti + + * gtk/gtk-2.14.defs: Include latest 2.14 API added in GTK+ itself. + +2008-08-25 Paul Pogonyshev + + Bug 548602 – C-isms in pango.FontDescription + + * pango.defs (pango.FontDescription.copy_static) + (pango.FontDescription.set_family_static) + (pango.FontDescription.merge_static): Deprecate. + +2008-08-24 Gian Mario Tagliaretti + + * configure.ac: post release version bump. + +=== PyGTK 2.13.0 === +2008-08-24 Gian Mario Tagliaretti + + * NEWS: updated. + + * README: updated. + +2008-08-24 Gian Mario Tagliaretti + + * tests/test_treeview.py: Comment out test_default_attributes until + we get a response on bugs #546005 and #498010. + +2008-08-24 Paul Pogonyshev + + * gtk/gtk-base.defs (gtk.Toolbar.set_icon_size) + (gtk.Toolbar.unset_icon_size): Undeprecate based on the same move + in GTK+ itself (see bug #314172). + +2008-08-24 Paul Pogonyshev + + Bug 548180 – install compatibility symlink for pygtk-codegen-2.0 + + * pygtk-codegen-2.0.in: New file. + + * configure.ac: + * Makefile.am: Hook it up. + +2008-08-21 Gian Mario Tagliaretti + + * NEWS: Updated. + +2008-08-21 Gian Mario Tagliaretti + + * docs/Makefile.am: Fix a problem with distcheck and avoid including + .svn dir in the resulting tarball. + +2008-08-18 Gian Mario Tagliaretti + + Bug 548312 – gtk_font_selection_get_family_entry and + gtk_font_selection_get_face_entry are gone + + * gtk/gtk-2.14.defs: remove gtk_font_selection_get_family_entry and + gtk_font_selection_get_face_entry since they are gone in GTK+ itself. + Patch by Björn Lindqvist. + +2008-08-18 Gian Mario Tagliaretti + + Bug 548349 – gtk_widget_get_snapshot(NULL) is allowed + + * gtk/gtk-2.14.defs: (gtk.Widget.get_snapshot) Accept None and + default to None. Reported by Björn Lindqvist. + +2008-08-09 Paul Pogonyshev + + * gtk/gtk-base.defs (gtk.CellViewset_background_color): Accept + None (bug #546733). + +2008-08-03 Gian Mario Tagliaretti + + * gtk/gtk-2.14.defs: rename gtk_window_get_default to + gtk_window_get_default_widget see #65818. + + * configure.ac: GTK+ 2.13.6 is required to compile pygtk. + +2008-08-02 Paul Pogonyshev + + Bug 527212 – types with well-defined equality semantics are not + properly comparable + + * gtk/gdk.override (_wrap_pygdk_region_tp_richcompare): New + function. + + * gtk/gdkcolor.override (_wrap_gdk_color_tp_richcompare): New + function. + + * gtk/gdkrectangle.override (_wrap_gdk_rectangle_tp_richcompare): + New function. + + * tests/test_conversion.py (testColorCreation): Move to thematic + test file. + + * tests/Makefile.am: + * tests/test_color.py: + * tests/test_rectangle.py: Two new test files. + +2008-07-29 Gian Mario Tagliaretti + + * configure.ac: pygobject 2.15.3 is required to compile pygtk 2.14. + +2008-07-26 Paul Pogonyshev + + * gtk/gtkbuilder.override (PyGCustomSignalNotify): Add + 'missing_handlers' (Python list) and 'exception_pending' (boolean) + fields. + (connect_many, _wrap_gtk_builder_connect_signals): Warn user on + missing handlers and set/modify new fields as appropriate (bug + #543768). + +2008-07-15 Johan Dahlin + + * configure.ac: rename from configure.in + +2008-07-26 Gian Mario Tagliaretti + + Bug 544777 – Add GTK+ 2.14 API in PyGTK + + * gtk/gdk.override: + * gtk/gtk.override: + * gtk/gdk-2.14.defs: + * gtk/gtk-2.14.defs: + * gtk/gtk-2.14-types.defs: + * gtk/gdk-base-types.defs: + * gtk/Makefile.am: Add GTK+ 2.14 API + + * configure.in: Bump version to 2.13.0. + +2008-07-19 Paul Pogonyshev + + * docs/Makefile.am (EXTRA_DIST): Don't include full directories: + that drags in the '.svn's in them (bug #530142). + +2008-07-15 Johan Dahlin + + * gtk/libglade.override: + modulename should be gtk.glade, not just glade. + Spotted by pychecker. + +2008-07-14 Paul Pogonyshev + + * gtk/gtk-base.defs (gtk.CellRenderer.do_start_editing): Mark + return value as optional (bug #542583). + + bug 542821: + + * codegen: Remove directory, we will use PyGObject's codegen from + now on. + + * configure.in: Remove local codegen mentions. + (CODEGENDIR): New AC_SUBST: determine where installed PyGObject's + codegen is. + + * Makefile.am: + * gtk/Makefile.am: Remove local codegen mentions and use + 'CODEGENDIR' instead. + + * MANIFEST.in: + * pygtk.spec.in: + * setup.py: Remove all mentions of codegen. + + * pygobject-2.0.pc.in: Remove file (unused). + + * pygtk-2.0.pc.in: Change 'codegendir' to refer to PyGObject's + codegen. + +2008-07-08 Murray Cumming + + * codegen/h2def.py: clean_func(): Strip GSEAL out, to avoid + us thinking that there are many functions called GSEAL. + +2008-06-26 Paul Pogonyshev + + * gtk/gtk.override (_wrap_gtk_plug_new): Fix to work also with + integer 'socket_id' argument (bug #539365). + + * tests/Makefile.am: + * tests/test_plug.py: New test file. + + * gtk/gtk-2.12.defs (gtk.Builder.add_from_string): Explain why + 'length' is preserved in definition, but not mentioned in docs. + +2008-06-24 Paul Pogonyshev + + * gtk/gtktreeview.override (_wrap_gtk_tree_model_tp_getitem): Fix + logic in negative index branch to avoid refcount corruption. + (_wrap_gtk_tree_model_tp_setitem): Likewise (bug #537459). + + * tests/test_liststore.py (ListStoreTest.testNegativeIndexGet) + (ListStoreTest.testNegativeIndexSet): Two new tests for the bug. + +2008-06-23 Gian Mario Tagliaretti + + Bug 539743 – Missing method gtk.IconView.get_tooltip_context + + * gtk/gtk.override: wrap gtk.IconView.get_tooltip_context + + * examples/pygtk-demo/demos/tooltip.py: use the above method. + +2008-06-22 Paul Pogonyshev + + * gtk/gtk.override (_wrap_gtk_action_set_menu_item_type) + (_wrap_gtk_action_set_tool_item_type): Check that argument is a + subclass of gtk.MenuItem or gtk.ToolItem correspondingly (bug + #533644). + + * tests/test_actiongroup.py (ActionTest.testSetItemClasses): New + test for the added type check. + +2008-06-22 Gian Mario Tagliaretti + + Bug 530145 – Missing method gtk.TreeView.get_tooltip_context + + * gtk/gtk.override: wrap gtk.TreeView.get_tooltip_context + + * examples/pygtk-demo/demos/tooltip.py: use the above method. + +2008-06-21 Paul Pogonyshev + + * gtk/gtk.override (_wrap_gtk_button_new): Fix 'use_underline' + being ignored if neither 'text' nor 'stock' is set (bug #524187). + + * tests/Makefile.am: + * tests/test_button.py: New test file. + +2008-06-10 Gian Mario Tagliaretti + + * gtk/gtk.override: wrap gtk.show_about_dialog() + fixes (bug #167603) patch from Christopher Aillon. + +2008-06-09 Gian Mario Tagliaretti + + * tests/Makefile.am: + * tests/test_filechooserdialog.py: New test + + * gtk/gtk.override: Add a gtk.FileChooserDialog get_action method to + workaround an issue with the same mothos of gtk.Widget being called. + fixes (bug #534042). + +2008-06-06 Johan Dahlin + + * gtk/gtk-base.defs: Deprecate gtk.FileSelection + +2008-06-06 Gian Mario Tagliaretti + + * examples/Makefile.am: Ship tooltip.py example in pygtk-demo. + +2008-06-06 Gian Mario Tagliaretti + + * gtk/gtk-1.12.defs: Allow None in gtk.recent_action_new_for_manager + params. + +2008-06-06 Gian Mario Tagliaretti + + * gtk/gtk-1.12.defs: Allow None in gtk.RecentAction constructor params, + fixes (bug #536882). + +2008-06-01 Björn Lindqvist + + * docs/Makefile.am: Move CSS_DATA variable inside the if + ENABLE_DOCS block. Makes make work if --enable-docs=no is + specified and pygobject docs are not available. (bug #536077) + +2008-05-20 Owen Taylor + + * gtk/gtk.override: Allocate the right amount of memory + for PySignalWatchSource, fixing memory corruption. + (bug #534083) + +2008-05-18 Gian Mario Tagliaretti + + * examples/Makefile.am: + * examples/pygtk-demo/demos/textscroll.py: add new example + by Muntyan, fixes (bug #522047). + +2008-05-18 Gian Mario Tagliaretti + + * gtk/gdk-base.defs: gtk.gdk.DragContext.set_icon_widget allow mask + parameter to be NULL, fixes (bug #497781). + +2008-05-08 Gian Mario Tagliaretti + + * gtk/gtk-2.12.defs: wrap gtk_widget_set_has_tooltip, + fixes (bug #524987). + +2008-05-02 Gian Mario Tagliaretti + + * gtk/gdk-2.12.defs: wrap gdk_notify_startup_complete_with_id, + fixes (bug #454985). + +2008-05-02 Gian Mario Tagliaretti + + * gtk/gtk-2.12.defs: wrap set_tip_area of gtk.Tooltip, + fixes (bug #485171). + +2008-05-02 Gian Mario Tagliaretti + + * gtk/gtk-base-types.defs: Wrap region field for expose event, + fixes (bug #495933). + +2008-05-02 Gian Mario Tagliaretti + + * gtk/gtk-base-types.defs: wrap gtk.Border fields, + fixes (bug #484030). + +2008-05-02 Gian Mario Tagliaretti + + * gtk/gtk-base-types.defs: wrap the requisition field of gtk.Widget, + fixes (bug #369311). + +2008-05-02 Gian Mario Tagliaretti + + * gtk/gdkevent.override: wrap is_modifier for key press/release, + fixes (bug #367970). + +2008-05-02 Gian Mario Tagliaretti + + * gtk/gdkcairo.override: cairo_set_source_pixmap should accept any + drawable not just pixmaps, fixes (bug #491256). + +2008-05-01 Gian Mario Tagliaretti + + * gtk/gdk.override: Wrap gdk_region_get_rectangles, + (bug #517099). + +2008-04-27 Paul Pogonyshev + + * gtk/gdkcolor.override (_wrap_gdk_color_new): Add constructor + variant similar to what gtk.gdk.color_parse() done. Raise with + useful message in case of wrong arguments (bug #527718). + + * tests/test_conversion.py (Tests.testColorCreation): Test the new + constructor with string argument. + +2008-04-15 Johan Dahlin + + patch by: Johan Euphrosine + + * configure.in: + Unbreak pango/cairo dependency chains (bug #528217) + +2008-03-24 Paul Pogonyshev + + * gtk/gdkevent.override (_wrap_gdk_event_tp_setattr): Fix several + bugs wrt 'y_root' caused by copy-paste (bug #519631). + +2008-02-14 Johan Dahlin + + * examples/Makefile.am: + * examples/gtk/application.py: + Add an application example, which includes hoovering statusbar + updates using a ui manager. + +2008-02-06 Yevgen Muntyan + + * gtk/gdk.override: + * gtk/gdk-base.defs: Create instance of GdkScreen using + gdk_screen_get_default() to avoid segfault. Fix #444974. + +2008-02-01 Paul Pogonyshev + + * gtk/gdkpixbuf.override (_wrap_gdk_pixbuf_save): Detach from + Python interpreter while saving, which can take a long time. + +2008-01-31 Nathaniel Smith + + * examples/gtk/scrollable.py (Layout.do_realize, Layout.do_map): + Use conceptually correct set_flags() calls. + + * examples/gtk/widget.py (PyGtkWidget.do_realize): Likewise. + +2007-01-29 Olivier Crete + + * codegen/h2def.py (DefsWriter.__init__): Fix copy-paste typos. + +2008-01-29 Paul Pogonyshev + + * gtk/gtk-base.defs (insert_action_group): Add default value of -1 + to `pos' argument. + +2008-01-06 Johan Dahlin + + * gtk/gtk-2.12.defs (GtkBuilder.add_from_string): Set the default + length to -1. + +2008-01-03 Johan Dahlin + + * configure.in: Post release version bump + +=== PyGTK 2.12.1 === +2008-01-03 Johan Dahlin + + * NEWS: Update + + * configure.in: + * gtk/gtk.override (pygtk_main_watch_prepare): + Port PyGObject patch from #481569 over to PyGTK, this avoids + unnecessary wakeups every 100ms. + +2007-12-16 Gian Mario Tagliaretti + + * examples/pygtk-demo/demos/changedisplay.py: Fix change display demo, + patch by Yevgen Muntyan. fixes #354896. + +2007-12-16 Paul Pogonyshev + + * gtk/gtk-base.defs (get_cell_area): Accept null `column' (fixes + #358091). + +2007-12-16 Guillaume Cottenceau + + * gtk/gdk-base.defs (flip): Add `caller-owns-return'. + +2007-12-15 Gian Mario Tagliaretti + + * examples/pango/extentdemo.py: add new example (by Adam Olsen, + and Behdad Esfahbod), fixes #400810. + +2007-12-13 Gian Mario Tagliaretti + + * gtk/gdk-base.defs: + (pixbuf_new_from_file) + (pixbuf_new_from_file_at_size): release the GIL, fixes #415611 + patch by Jakub Stachowski + +2007-12-12 Ed Catmur + + * Makefile.am (EXTRA_DIST): Also distribute m4 files. + +2007-12-12 Sebastien Bacher + + * examples/glade/README: Fix wrong command name. + +2007-12-12 Richard Hult + + * examples/pygtk-demo/demos/hypertext.py + (HypertextDemo.key_press_event): Use `gtk.keysyms', not `gtk.gdk' + where applicable. + +2007-12-10 Gustavo J. A. M. Carneiro + + * gtk/gtk-base.defs (render_icon): Bug 502871: + gtk.Style.render_icon leaks a reference to the returned pixbuf. + +2007-11-29 Dan Winship + + * codegen/defsgen.py (GType): GType is a gulong, not a guint. + Fixes crash on x86_64. #500508 + +2007-11-25 Matthew Barnes + + * gtk/Makefile.am: Install gtk-extrafuncs.defs. Fixes #380020. + +2007-11-16 Yevgen Muntyan + + * gtk/gtk-base.defs: Add several `null-ok' for accel-related + functions. + +2007-11-13 Yevgen Muntyan + + * gtk/gtkcontainer.override: (_wrap_GtkContainer__proxy_do_forall): + do not leak allocated user data. Fixes #480306, patch by Mark Doffman. + +2007-11-12 Yevgen Muntyan + + * autogen.sh: use absolute path of srcdir; and use it in ACLOCAL_FLAGS. + +2007-11-03 Julien Moutinho + + * gtk/gtk.override (_wrap_gtk_clipboard_set_with_data): Fix typo + in the code. + +2007-10-20 Gian Mario Tagliaretti + + * configure.in: raise pygobject dependency to 2.14.0, fixes #478718 + reported by Daniel Gryniewicz. + +2007-10-18 Gian Mario Tagliaretti + + * README: mention how to build docs, patch from Björn Lindqvist, + fixes #479379. + +2007-10-18 Gian Mario Tagliaretti + + * gtk/gtk-2.12.defs: + (gtk_widget_set_tooltip_window) Allow None in parameter. + +2007-10-16 Gian Mario Tagliaretti + + * gtk/gtk-2.12.defs: + (gtk_widget_set_tooltip_markup) + (gtk_widget_set_tooltip_text) + (gtk_icon_view_set_tooltip_cell) + (gtk_tool_item_set_tooltip_text) + (gtk_tool_item_set_tooltip_markup) + (gtk_tree_view_set_tooltip_cell) Allow None in parameters. + +2007-09-21 Jeremy Katz + + * gtk/gtktreeview.override + (gtk_tree_view_convert_widget_to_bin_window_coords) + (gtk_tree_view_convert_widget_to_tree_coords) + (gtk_tree_view_convert_tree_to_widget_coords) + (gtk_tree_view_convert_tree_to_bin_window_coords) + (gtk_tree_view_convert_bin_window_to_widget_coords) + (gtk_tree_view_convert_bin_window_to_tree_coords): Fix wrapper (#479012) + +2007-09-16 Gustavo J. A. M. Carneiro + + * configure.in: Post-release bump. + +=== 2.12.0 === +2007-09-16 Gustavo J. A. M. Carneiro + + * configure.in: Version 2.12.0. + + * NEWS: Update. + +2007-09-06 John Finlay + + * docs/Makefile.am (install-data-hook): Add pygobject docs dir to + index dirs for fixxref.py + +2007-09-04 John Finlay + + * codegen/defsgen.py (main): Create a GObject to initialize param pool + Fixes #473576 (patch by Mark Doffman). + +2007-09-02 Gustavo J. A. M. Carneiro + + * pango.override: + * tests/test_pango.py: + Bug 472908 – Make pango.Context non-instantiable. + +2007-09-01 John Finlay + + * codegen/argtypes.py (StringArg.write_param) + * codegen/codegen.py (Wrapper.write_function_wrapper): Allow StringArg + to have default empty string ("") + +2007-08-30 Gustavo J. A. M. Carneiro + + * gtk/gdk-2.12.defs: Put the X11 defs inside (ifdef GDK_TARGET_X11 + ...). Fixes Bug 471804 – X11 specific calls included in the gtk + module, breaking other backends. + +2007-08-29 Johan Dahlin + + * pango.override: Make the bindings a bit more pythonic, implement + tp_str, tp_hash and tp_compare for a few objects. + + * tests/test_pango.py: Add tests. + +2007-08-27 Gustavo J. A. M. Carneiro + + * configure.in: Post-release version bump. + +=== 2.11.0 === +2007-08-27 Johan Dahlin + + * README: + + * NEWS: Update + +2007-08-27 Gustavo J. A. M. Carneiro + + * configure.in (gtk_version): Add -DHAVE_GTK_2_12 to + PYGTK_CODEGEN_DEFINES when compiling with gtk+ 2.12. + + * gtk/gtk-base.defs (scroll_child): Idem. for + ScrolledWindow.scroll_child. + + * gtk/gtk-2.10.defs (reorder_tab): Idem for reorder_tab. + + * gtk/gtk-base.defs: Adjust GtkNotebook virtual + change_current_page return type to gboolean if compiling against + gtk+ >= 2.12. + + * docs/Makefile.am (EXTRA_DIST): Add icons and cursors to dist. + + * configure.in: Fix CFLAGS to allow compilation on Solaris. + +2007-08-25 John Finlay + + * Makefile.am (doc-dist): Copy icons and cursors when making doc-dist. + +2007-08-23 Gustavo J. A. M. Carneiro + + * gtk/Makefile.am: Fix makefile rules to regenerate the defs after + each configure. + +2007-08-21 John Finlay + + * docs/cursors: Add missing cursor images + * docs/icons: Add missing stock item icons + * docs/Makefile.am (install-data-local): Install the stock item icons + and cursor images in subdirectories of the reference docs. + +2007-08-20 Johan Dahlin + + * tests/test_bin.py: New file. + + * gtk/gtk.override (_wrap_gtk_bin__set_child): New function. + Closes #398155. + +2007-08-14 Paul Pogonyshev + + reviewed by: Gustavo Carneiro + + * gtk/gtk-base.defs (GtkTextLayout.set_buffer): Allow None as + `buffer'. + (GtkTextView.set_buffer): Likewise. Closes #466375. + +2007-08-15 Gustavo J. A. M. Carneiro + + * gtk/gdkevent.override: + Bug 466990 – GdkEventClient binding is 64-bit unclean. + +2007-08-11 Paul Pogonyshev + + reviewed by: Johan Dahlin + + * gtk/gtk-base.defs (GtkContainer.set_focus_child): Allow None as + `widget'. + (GtkContainer.do_set_focus_child): Likewise. + (GtkWindow.do_set_focus): Likewise for `focus'. Closes #462368. + + * tests/test_container.py (FocusContainer, FocusWindow): New + auxiliary classes. + (ContainerTest.testFocusSignalHandlers): New test. + +2007-08-09 Tim Evans + + reviewed by: Gustavo Carneiro + + * gtk/gtk.override (_wrap_GtkCellRenderer__do_get_size): Fix + PyArg_ParseTupleAndKeywords() call. Allow `cell_area' to be None. + Closes #450770. + +2007-08-09 Yevgen Muntyan + + reviewed by: Gustavo Carneiro + + * gtk/gtk-base.defs (GtkWidget.style_set): Allow None for + `previous_style' argument. Closes #425759. + +2007-08-09 Paul Pogonyshev + + reviewed by: Gustavo Carneiro + + * gtk/gtktreeview.override (pygtk_tree_sortable_sort_cb): Don't + leak `py_model'. Closes #361439. + +2007-08-05 Gian Mario Tagliaretti + + * gtk/gtk-2.12.defs: + (gtk_tooltip_set_markup) + (gtk_tooltip_set_text) + (gtk_tooltip_set_icon_from_stock) + (gtk_tooltip_set_icon) Allow None in parameters. + +2007-07-30 Gian Mario Tagliaretti + + * gtk/gtk-2.12.defs: + (gtk_widget_modify_cursor) Allow None in parameters. + +2007-07-30 Paul Pogonyshev + + reviewed by: Johan, Fix bug #388754 + + * examples/gtk/customtreemodel.py: Add usage example. + + * gtk/gtk-extrafuncs.defs (get_user_data, create_tree_iter): New + methods of `gtk.GenericTreeModel'. + + * gtk/pygtktreemodel.c (pygtk_generic_tree_model_get_user_data) + (pygtk_generic_tree_model_create_tree_iter): New functions. + +2007-07-28 Gian Mario Tagliaretti + + reviewed by: gjc, Fix bug #461245 + + * gtk/gtk.override: + (gtk_icon_theme_list_contexts) + (gtk_icon_theme_choose_icon) Add wrappers. + +2007-07-27 Gian Mario Tagliaretti + + * gtk/gtk.override: + (gtk_cell_layout_get_cells) Add wrapper. + + * gtk/gtk-2.12.defs: + (gtk_entry_set_cursor_hadjustment) Allow None. + +2007-07-27 Paul Pogonyshev + + reviewed by: Johan, Fix bug #389777 + + * tests/test_container.py (MyAlignment): New auxiliary widget class. + (ContainerTest.testSuperclassForAll): New test case. + + * gtk/gtkcontainer.override (_wrap_GtkContainer__do_forall_callback) + (_wrap_GtkContainer__do_forall): New functions. + +2007-07-26 Gian Mario Tagliaretti + + reviewed by: gjc, Fix bug #460200 + + * gtk/gtk.override: + (gtk_scale_button_new) + (gtk_scale_button_set_icons): Add wrappers. + + * tests/test_scalebutton.py: Test the above. + + * gtk/gtk-2.12.defs: + (gtk_buildable_add_child) + (gtk_builder_set_translation_domain): allow None according to C docs. + +2007-07-21 Gian Mario Tagliaretti + + * gtk/gtk-2.12.defs: add more 2.12 API. + +2007-07-21 Gian Mario Tagliaretti + + * examples/pygtk-demo/tooltip.py: Add new tooltip demo. + + * examples/pygtk-demo/builder.py + * examples/pygtk-demo/demo.ui: moved and adapted for pygtk-demo. + +2007-07-17 Gian Mario Tagliaretti + + reviewed by: Johan, Fix bug #4457195 + + * gtk/gtkbuilder.override: new file. + + * gtk/Makefile.am, + * gtk/gtk.override: add gtkbuilder.override. + + * examples/builder/*: add new builder example. + +2007-07-15 Gian Mario Tagliaretti + + * gtk/gtk-2.12.defs: strip gtk_ prefix for new functions. + +2007-07-14 Johan Dahlin + + * gtk/__init__.py: try/except around ltihooks.uninstall(), + as suggested by Brad Schick at the pygtk mailing list + +2007-07-12 Gian Mario Tagliaretti + + reviewed by: Johan, Fix bug #371293 + + * gtk/gtk-base.defs: + (gtk_image_new_from_file) + (gtk_image_new_from_pixbuf) + (gtk_image_new_from_pixmap) + (gtk_image_new_from_image): Add wrappers. + +2007-07-12 Gian Mario Tagliaretti + + reviewed by: Johan, Fix bug #456037 + + * gtk/gtktreeview.override: + (gtk_tree_view_convert_widget_to_bin_window_coords) + (gtk_tree_view_convert_widget_to_tree_coords) + (gtk_tree_view_convert_tree_to_widget_coords) + (gtk_tree_view_convert_tree_to_bin_window_coords) + (gtk_tree_view_convert_bin_window_to_widget_coords) + (gtk_tree_view_convert_bin_window_to_tree_coords): Add wrappers. + +2007-07-11 Gian Mario Tagliaretti + + * configure.in: fix a broken build if gtk+-2.12 is not present, + patch from Sébastien Granjoux. + +2007-07-11 Gustavo J. A. M. Carneiro + + * codegen/reversewrapper.py: Fix premature return of virtual + methods containing GError** parameters. Based on patch by + Sébastien Granjoux. Closes #455629. + +2007-07-11 Gian Mario Tagliaretti + + reviewed by: Johan + + * configure.in: bump version to 2.11.0, bump pango required version + to 1.16.0, bump atk version to 1.12.0. Conditional build for gtk/gdk + 2.12 API. + + * pango-types.defs, + * pango.defs, + * pangocairo.defs: update with API up to 1.16. + + * atk-types.defs, + * atk.defs: update with API up to 1.12. + + * gtk/Makefile.am: conditional build for new API 2.12. + + * gtk/gtk-2.12-types.defs, + * gtk/gtk-2.12.defs, + * gtk/gdk-2.12.defs: new files holding 2.12 API. + + * gtk/gtkunixprint.defs: update with API 2.12. + +2007-07-10 Gustavo J. A. M. Carneiro + + * tests/test_actiongroup.py (ActionTest): Add a gtk.Action subclass test. + +2007-07-08 Gustavo J. A. M. Carneiro + + * codegen/codegen.py: Automatically define a __version__ attribute + in modules when VERSION is defined as preprocessor macro. This + allows modules to get __version__ defined almost automatically; + they only have to add #include "config.h" to the top of the + .override file. + +2007-06-24 Johan Dahlin + + * gtk/gtk.override (_wrap_gtk_tooltips__get_tips_data_list): Do not + access GtkTooltips->tips_data_list, just return an empty list instead + since it's private and it was renamed on trunk (#449318) + +2007-06-17 Yevgen Muntyan + + reviewed by: Gustavo Carneiro + + * codegen/argtypes.py: Bug 448111 – Write const for boxed const + return values. + +2007-06-16 Sebastien Bacher + + * m4/python.m4: use python-config to get python includes + (Closes #448176) + +2007-06-14 Sébastien Granjoux + + reviewed and fixed by: Gustavo J. A. M. Carneiro. + + * codegen/reversewrapper.py: Handle GError** in virtual + methods (bug #446470). + +2007-06-11 Gustavo J. A. M. Carneiro + + * codegen/reversewrapper.py (ReverseWrapper.generate): Special + case when only a single void return value exists; fix the return + value type checking in this case. + +2007-05-23 Gustavo J. A. M. Carneiro + + * codegen/reversewrapper.py (ReverseWrapper.generate): Refactor to + allow add_pyret_parse_item("", ""), which is used for 'void' + return type. + (VoidReturn.write_conversion): Fix bug #440059: Bad check for + direction "out" parameters with return-type "none". + +2007-05-17 Tim Evans + + Reviewed by: Gustavo Carneiro. + + * codegen/reversewrapper.py (DoubleReturn.write_conversion): Fix + copy-paste error, and also support the new API that allows parsing + of multiple return values. Fixes Bug #439014. + +2007-05-07 Richard Hult + + * configure.in: Make --disable-docs actually work, OKed by Johan. + +2007-05-03 Gustavo J. A. M. Carneiro + + * tests/test_actiongroup.py, + * tests/test_gdk.py: Fix unit tests to account for the new memory + management model in pygobject 2.13. + +2007-05-01 Andrew Cowie + + * gtk/gdk-base.defs: Fix return type of GdkRectangle.union + +2007-02-23 Mariano Suarez-Alvarez + + * gtk/gtk-base.defs: Allow None for the string arguments + of gtk_rc_get_style_by_paths. (Fixes bug #411412) + +2007-02-05 Johan Dahlin + + * configure.in: Post release version bump + +=== 2.10.4 === +2007-02-05 Johan Dahlin + + * NEWS: + + 2.10.4 + +2007-01-31 Gian Mario Tagliaretti + + * gtk/gtkcontainer.override: Fix a possible memory leak in + gtk.Container.child_get() (Fixes bug #404076) + +2007-01-31 Johan Dahlin + + * gtk/gtkcontainer.override (_wrap_gtk_container_class_list_child_properties): Undeprecate + +2007-01-20 Gustavo J. A. M. Carneiro + + * gtk/gdk.override (_wrap_gdk_display_close): Force keeping of a + reference to the display GObject even when we close() it. + + * tests/test_gdk.py (GdkTest.testDisplay): Johan's unit test with + minor modifications. + + * gtk/gdk.override (_wrap_gdk_display_close): Override and make it + aware that calling gdk_display_close unrefs the GdkDisplay. + +2007-01-18 Johan Dahlin + + * gtk/gdk-base.defs: allow None + +2007-01-09 Gustavo J. A. M. Carneiro + + * configure.ac: Turn the option --disable-docs into --enable-docs. + * docs/Makefile.am: Treat --enable-docs like --enable-gtk-doc in + gtk+, i.e. do not ever build docs unless requested, but always + install them if they are found already built. + +2006-12-21 Sebastien Bacher + + * codegen/Makefile.am: install createdefs.py, fix dsextras.py, + patch by Michael Bienia (Fixes #385934) + +2006-12-14 Kjartan Maraas + + * autogen.sh: Make it work with automake 1.10. + +2006-12-05 Gustavo J. A. M. Carneiro + + * gtk/gdkevent.override (_wrap_gdk_event_tp_setattr): For the + attribute "string", free the old string and g_strdup the new one; + spotted by John Ehresman. + Fixes bug #382428. + +2006-12-02 Manish Singh + + * codegen/codegen.py: fix code for generating defines in override + files, by using variables that actually exist in the context. + Fixes bug #381389. + +2006-11-25 Gustavo J. A. M. Carneiro + + * gtk/gtktreeview.override (pygtk_tree_foreach_marshal): Use + pygtk_boxed_unref_shared to unref py_iter. We need this because + the application may decided to keep a copy of the iterator passed + in to a gtk_tree_model_foreach callback. + +2006-11-19 Gustavo J. A. M. Carneiro + + * examples/Makefile.am (demo_PYTHON), + * examples/pygtk-demo/demos/statusicon.py: Add a gtk.StatusIcon + example by Nikos Kouremenos. + +2006-11-15 Johan Dahlin + + * gtk/__init__.py: Do not rebind sys.path, restore the old one. + Thanks to Jp Calderone for pointing out. + +2006-10-13 Paolo Borelli + + * gtk/gtktextview.override + (pygtk_text_buffer_register_serialize_format_cb): set return + value to NULL in the error codepath. + +2006-10-13 John Finlay + + * docs/Makefile.am (HTMLFILES): Remove + html/pygtk-reference-copyright.html. Fixes #361906 (Marc-Andre Lureau) + +2006-10-05 Cedric Gustin + + * setup.py: Initialize Templates and TemplateExtensions with + py_ssize_t_clean=True (required by codegen.SourceWriter). + +2006-10-03 Gustavo J. A. M. Carneiro + + * configure.in: Bump version. + +=== 2.10.3 === +2006-10-03 Gustavo J. A. M. Carneiro + + * NEWS: Update. + + * Makefile.am: + * atk.override: + * atkrectangle.override: + * codegen/argtypes.py: + * codegen/codegen.py: + * gtk/Makefile.am: + * gtk/gdk.override: + * gtk/gdkdraw.override: + * gtk/gdkpixbuf.override: + * gtk/gdkrectangle.override: + * gtk/gtk-types.c: (pygtk_style_helper_getitem), + (pygtk_style_helper_setitem), (pygtk_tree_model_row_getitem), + (pygtk_tree_model_row_setitem): + * gtk/gtk.override: + * gtk/gtkcontainer.override: + * gtk/gtktextview.override: + * gtk/gtktreeview.override: + * pango.override: + + Support Python 2.5 + 64-bit architectures (#337368). + +2006-10-03 Gustavo J. A. M. Carneiro + + * gtk/gtktreeview.override (pygtk_tree_sortable_sort_cb): Fix a + refcount problem accidentally introduced by me between 2.10.1 and + 2.10.2 :P + +2006-10-03 Gustavo J. A. M. Carneiro + + * configure.in: Post-release version bump. + +=== 2.10.2 === +2006-10-03 Gustavo J. A. M. Carneiro + + * NEWS: Update. + + * tests/test_treeview.py: Add unit test for bug #347273. + +2006-09-21 Cedric Gustin + + * pygtk_postinstall.py: Adapt the codegendir variable to the user + platform. Copy style.css from pygobject docs to pygtk docs. Run + fixxref on installed html files. Add functions to install + shortcuts in the Start menu to the reference manual (currently + disabled: see bug #353849). + * setup.py: Changed the way the VERSION macro is defined on + win32. Added 2.10 defs files for gdk and gtk when GTK+ 2.10 is + detected. Added gtk.keysyms, gtk._lazyutils, dsextras_gen and + codegen to the list of installed packages. Also install the html + reference documentation and run fixxref on the html files. + +2006-09-16 Gustavo J. A. M. Carneiro + + * gtk/pygtkcellrenderer.c (pygtk_generic_cell_renderer_activate): + Same fix as below. + + * gtk/gtktreeview.override (pygtk_tree_selection_foreach_marshal): + Use pygtk_boxed_unref_shared to fix a side-effect of fixing bug + #347273. + (pygtk_tree_sortable_sort_cb): Add a similar fix. + + * gtk/gtkobject-support.c (pygtk_boxed_unref_shared): Add a new + pygtk private API to unref a boxed type with a shared pointer. + +2006-09-12 John Ehresman + + * gtk/gtk.override (_wrap_gtk_clipboard_wait_for_rich_text): + Declare variable at start of code block + +2006-09-04 Johan Dahlin + + * configure.in: post release version bump. + +=== 2.10.1 === +2006-09-04 Johan Dahlin + + + * gtk/gtkmodule.c (init_gtk): Require pygobject 2.12.0 + + * configure.in: post release version bump. + +=== 2.10.0 === +2006-09-04 Johan Dahlin + + * configure.in: Bump version and require GTK+ 2.10 for 2.10 API + + * README (http): Update + + * NEWS: Update + +2006-08-21 Johan Dahlin + + * docs/Makefile.am: Get rid of build_stamp, include the generated html + documentation in the tarball. + +2006-08-14 John Finlay + + * docs/Makefile.am (CSS_FILES): + * docs/style.css: + * configure.in (PYGOBJECT_PYGDOCS): Copy style.css from pygobject docs + when installing docs. Fixes #351385 (Gian Mario Tagliaretti) + +2006-08-14 Johan Dahlin + + * gtk/__init__.py (_init): issue a warning instead of printing + to stdout, fixes #316877 regression. (Jeremey Katz) + +2006-08-12 John Finlay + + * docs/style.css: Add. + * docs/Makefile.am: Add install of style.css + +2006-08-10 John Finlay + + * configure.in: + * docs/Makefile.am: + * docs/reference/entities.docbook.in: + * docs/reference/pygtk2-ref.xml: + Use builddate.xml for the builddate entity and have builddate.xml be + updated when the docs are built not during configure time. + +2006-08-08 Johan Dahlin + + * configure.in: Post release version bump + +=== 2.9.6 === +2006-08-08 Johan Dahlin + + * README: Add PyGObject dependency + + * NEWS: Update + +2006-08-07 Gustavo J. A. M. Carneiro + + * codegen/argtypes.py: + * codegen/codegen.py: + * codegen/reversewrapper.py: + Introduce new ArgTypeError exceptions, use them everywhere to + raise catch codegen errors. Bare except: clauses are gone now. + +2006-08-07 Johan Dahlin + + * docs/Makefile.am ($(HTML_DATA)): Fix parallel build + (#350225, Ed Catmur) + +2006-08-07 Gustavo J. A. M. Carneiro + + * codegen/argtypes.py: Don't allow overwrite a argtype + registration unless the new kwarg 'overwrite' is True. + Fixes bug #350252. + +2006-08-07 Johan Dahlin + + * tests/test_treeview.py (TreeViewTest._test_default_attributes): Add + a test for #350252 + +2006-08-06 Johan Dahlin + + * docs/fixxref.py: Remove, it moved to PyGObject. + +2006-08-06 John Finlay + + * docs/fixxref.py (link_pat): Allow patterns that cross multiple lines. + +2006-08-06 Johan Dahlin + + * configure.in: Post release version bump + +=== PyGTK 2.9.5 === +2006-08-06 Johan Dahlin + + * NEWS: 2.9.5 + +2006-08-05 Johan Dahlin + + * gtk/Makefile.am (GDK_TYPES_DEFS): Always include 2.10 defs in + EXTRA_DIST, fixes (#350008, Joseph Sacco) + + * gtk/__init__.py (ver): Make it possible to reload the gtk+ module, + (#349026, Alexander Larsson) + + * tests/test_api.py (APITest.testGlade): Add a test + + * gtk/_lazyutils.py (LazyModule.__getattr__): Special case __members__ + to dir on the real module, fixes (#349892, John Finlay) + + * tests/test_api.py (APITest.testKeysyms): + Add a test + +2006-08-05 John Finlay + + * gtk/gtkunixprint.override (pygtk_custom_destroy_notify): Add this + back in. + +2006-08-04 Johan Dahlin + + * configure.in: post release version bump + +=== PyGTK 2.9.4 === +2006-08-04 Johan Dahlin + + * configure.in: + * docs/Makefile.am: + * docs/reference/entities.docbook.in: + * docs/reference/pygtk2-ref.xml: + Clean up the build date/version mess I created. + Now it's created during configure time and properly included in + the docbook files. Also make sure distcheck passes + +2006-08-04 Gustavo J. A. M. Carneiro + + * configure.in: Add hack to disable libtool checking for g++ and + g77 (copied from libglade). + +2006-07-31 John Finlay + + * codegen/defsgen.py: Add new program to generate .defs files using + the ctypes module to extract info from the GTK libraries. + +2006-07-30 John Finlay + + * gtk/gtkunixprint.override: Remove pygtk_custom_destroy_notify. + +2006-07-30 Gustavo J. A. M. Carneiro + + * codegen/codegen.py (SourceWriter.write_class): Simplify code + that generates the call to pygobject_register_class; Correct the + fallback value of bases_str. + +2006-07-28 Gustavo J. A. M. Carneiro + + * gtk/gtk.override (_wrap_gtk_print_context_get_cairo_context): + Someone forgot to rename the override function when gtk+ API + changed... + +2006-07-27 Rafael Ávila de Espíndola + + reviewed by: Johan Dahlin + + * atkrectangle.override: + * gtk/gdk.override: + * gtk/gdkevent.override: + * gtk/gdkgc.override: + * gtk/gdkpixbuf.override: + * gtk/gtk-types.c: + * gtk/gtkcontainer.override: + * gtk/gtkmodule.c: + * gtk/gtktextview.override: + * gtk/libglade.override: + + Do not exports internal symbols, fixes #347825 + +2006-07-27 Gustavo J. A. M. Carneiro + + * gtk/gtk.override (_wrap_gtk_main): Copy paste some code from + pygobject/gobject/pygmainloop written by Mark McLoughlin, to check + for signals inside the gtk main loop. + + * gtk/gtkmodule.c (init_gtk): Remove the timer; no longer needed. + Fixes bug #348937: 100ms timeouts in pygtk. + +2006-07-25 Johan Dahlin + + * gtk/gtkmodule.c (init_gtk): + * pangomodule.c (initpango): Check the required + PyGObject version in runtime too. + +2006-07-24 John Finlay + + * atk.defs (atk_role_get_localized_name, atk_role_get_name): Define as + functions. + + * pango.defs (pango_script_get_sample_language): Define as function. + + * gtk/gtkunixprint.defs (details_acquired) + (gtk_print_capabilities_get_type, status_changed): Add. + + * gtk/gtk-base-types.defs (Editable): Add prerequisite. + + * pangocairo.override (*_get_type): ignore-glob + (pango_cairo_update_context, pango_cairo_create_layout) + (pango_cairo_update_layout, pango_cairo_show_glyph_string) + (pango_cairo_show_layout_line, pango_cairo_show_layout) + (pango_cairo_glyph_string_path, pango_cairo_layout_line_path) + (pango_cairo_layout_path): ignore. + + * pangocairo.defs (pango_cairo_update_context) + (pango_cairo_context_set_font_options) + (pango_cairo_context_get_font_options) + (pango_cairo_context_set_resolution) + (pango_cairo_context_get_resolution, pango_cairo_create_layout) + (pango_cairo_update_layout, pango_cairo_show_glyph_string) + (pango_cairo_show_layout_line, pango_cairo_show_layout) + (pango_cairo_glyph_string_path, pango_cairo_layout_line_path) + (pango_cairo_layout_path): Add. + + * pango.override (*_get_type, *_ref, *_unref, *_free): ignore-glob + (pango_default_break): ignore + + * pango.defs (pango_attr_shape_new_with_data, pango_default_break) + (pango_context_get_font_map, pango_context_set_matrix) + (pango_context_get_matrix, pango_itemize_with_base_dir) + (pango_coverage_new, pango_glyph_item_split, pango_glyph_item_free) + (pango_glyph_item_apply_attrs, pango_glyph_item_letter_space) + (pango_item_get_type, pango_item_new, pango_item_copy) + (pango_item_free, pango_item_split, pango_script_for_unichar) + (pango_script_iter_new, pango_script_iter_get_range) + (pango_script_iter_next, pango_script_iter_free) + (pango_script_get_sample_language, pango_script_includes_script) + (pango_matrix_get_type, pango_matrix_copy, pango_matrix_free) + (pango_matrix_translate, pango_matrix_scale, pango_matrix_rotate) + (pango_matrix_concat, pango_get_mirror_char, pango_unichar_direction) + (pango_find_base_dir): Add. Add virtuals. + (pango_font_metrics_new, pango_find_map, pango_map_get_engine) + (pango_map_get_engines, pango_module_register): Add with ifdef + PANGO_ENABLE_BACKEND + (pango_split_file_list, pango_trim_string, pango_read_line) + (pango_skip_space, pango_scan_word, pango_scan_string) + (pango_scan_int, pango_config_key_get, pango_lookup_aliases) + (pango_parse_style, pango_parse_variant, pango_parse_weight) + (pango_parse_stretch, pango_get_sysconf_subdirectory) + (pango_get_lib_subdirectory, pango_log2vis_get_embedding_levels) + (pango_get_sample_string, pango_is_zero_width): Add with ifdef + USE_PANGO_UTILS + + * pango-types.defs (WrapMode): Add PANGO_WRAP_WORD_CHAR. Reorganize. + +2006-07-23 John Finlay + + * atk.override (AtkObjectFactory__do_create_accessible) + (AtkObjectFactory__proxy_do_create_accessible) + (AtkUtil__do_add_global_event_listener) + (AtkUtil__proxy_do_add_global_event_listener) + (AtkUtil__do_remove_global_event_listener) + (AtkUtil__proxy_do_remove_global_event_listener) + (AtkUtil__do_add_key_event_listener) + (AtkUtil__proxy_do_add_key_event_listener) + (AtkUtil__do_remove_key_event_listener) + (AtkUtil__proxy_do_remove_key_event_listener): Ignore. + + * codegen/reversewrapper.py (StringReturn): Add const-gchar* as a + StringReturn match. + + * codegen/codegen.py (GInterfaceWrapper.write_virtuals): Don't write + interface_init if no proxies. + + * atk.defs: Add get_type defs from atk-enum-types.h. + Add virtuals for Action, Component, Document, EditableText, Hyperlink, + Hypertext, Image, ObjectFactory, ImplementorIface, Object, Selection, + StreamableContent, Table. Text, Util and Value. + + * gtk/Makefile.am (libglade.c, gtkunixprint.c): Add dependencies on + gtk-types.defs and gdk-types.defs + + * codegen/reversewrapper.py (PangoFontDescriptionReturn) + (PangoFontMetricsReturn, PangoLanguageReturn): Add + +2006-07-23 Gustavo J. A. M. Carneiro + + * gtk/Makefile.am: Remove back the install-exec-hook that removes _gtk.la. + +2006-07-23 Johan Dahlin + + * Makefile.am: + * gtk/Makefile.am: + * gtk/__init__.py: + * gtk/_gtk.py: + * gtk/_lazyutils.py: + * gtk/deprecation.py: + * gtk/gtk.override: + * gtk/gtkmodule.c: (init_gtk): + * gtk/libglademodule.c: (initglade): + + Revert dynamic namespaces, it is not possible + to solve it without breaking the ABI. + +2006-07-23 Gustavo J. A. M. Carneiro + + * gtk/_gtk.py: Add _PyGtk_API alias from _gtkimpl, for + compatibility reasons. + + * gtk/Makefile.am (install-exec-hook): Uninstall old _gtk.la, if + installed, else it may conflict with _gtkimpl.la. + +2006-07-22 John Finlay + + * atk.defs (atk_implementor_ref_accessible): Attach as + AtkImplementorIface method + + * atk-types.defs (AtkImplementorIface): Revert to registered name. + + * gtk/gtk-base-types.defs: Annotate interfaces with prerequisites + and objects with interface implementations + + * gtk/gtk-2.10-types.defs: Annotate interfaces with prerequisites + and objects with interface implementations. Reorganize. + + * codegen/reversewrapper.py (VoidReturn.write_conversion) + (DoubleReturn.write_conversion, GBoxedReturn.write_conversion): Use + failure_exception instead of failure_cleanup + (GtkTreePathReturn): Add. + + * gtk/gdk-base.defs (get_display_name, get_n_screens, get_screen) + (get_default_screen, closed): Add GdkDisplay virtual defs + (create_gc, draw_rectangle, draw_arc, draw_polygon, draw_text) + (draw_text_wc, draw_drawable, draw_points, draw_segments) + (draw_lines, draw_glyphs, draw_image, get_depth, get_size) + (set_colormap, get_colormap, get_visual, get_screen, get_image) + (get_clip_region, get_visible_region, get_composite_drawable) + (draw_pixbuf, draw_glyphs_transformed, draw_trapezoids) + (ref_cairo_surface): Add GdkDrawable virtual defs + (get_values, set_values, set_dashes): Add GdkGC virtual defs + (direction_changed, keys_changed): Add GdkKeymap virtual defs + (size_changed): Add GdkScreen virtual def + (gdk_pixbuf_animation_ref, pixbuf_animation_unref): Add + GdkPixbufAnimation method defs + (non_anim_new, is_static_image, get_static_image, get_size) + (get_iter): Add GdkPixbufAnimation method and virtual defs with + GDK_PIXBUF_ENABLE_BACKEND ifdef + (get_delay_time, get_pixbuf, on_currently_loading_frame, advance): Add + GdkPixbufAnimationIter virtual defs with GDK_PIXBUF_ENABLE_BACKEND + ifdef + (pixbuf_error_quark, pixbuf_get_type, ref, unref) + (pixbuf_new_from_file_at_scale, save_to_callbackv) + (save_to_buffer, save_to_bufferv): Add misc GdkPixbuf method and + function defs + (is_scalable, is_disabled, set_disabled, get_license): Add + GdkPixbufFormat methods defs + (set_option): Add GdkPixbuf method def with GDK_PIXBUF_ENABLE_BACKEND + ifdef + (size_prepared, area_prepared, area_updated, closed): Add + GdkPixbufLoader virtual defs + (serialize, deserialize, from_pixbuf, pixbuf_from_pixdata) + (to_csource): Add GdkPixdata method and function defs + + * gtk/gdk-2.10.defs (composited_changed): Add GdkScreen virtual def + + * gtk/gdk.override (gdk_pixbuf_from_pixdata, gdk_pixdata_*): Ignore + + * codegen/reversewrapper.py (GdkRegionPtrReturn): Add. + +2006-07-22 Gustavo J. A. M. Carneiro + + * Makefile.am (SUBDIRS): Make --disable-docs really work. + +2006-07-22 John Finlay + + * gtk/gdk-base.defs (gdk_pixbuf_simple_anim_add_frame) + (pixbuf_simple_anim_new, pixbuf_simple_anim_iter_get_type) + (pixbuf_simple_anim_get_type, gdk_pixbuf_flip): Add + + * gtk/gdk.override: Add #define for GDK_TYPE_PIXBUF_SIMPLE_ANIM_ITER. + + * gtk/gdk-base-types.defs (PixbufSimpleAnim) + (PixbufSimpleAnimIter, PixbufRotation): Add. + +2006-07-20 Johan Dahlin + + * gtk/gdk-base.defs: + Remove the leading gdk_ from a few functions. + +2006-07-20 John Finlay + + * docs/Makefile.am: Make builddate.xml dependent on REFERENCE_DEPS. + Make version.xml dependent on config.h. Add builddate.xml to pdf and + build-stamp dependencies. Clean pdf files. + +2006-07-20 Johan Dahlin + + * configure.ac: + * docs/Makefile.am: + * docs/reference/.cvsignore: + * docs/reference/version.xml.in: + Generate builddate.xml and version.xml at build time instead on + configure time, add proper dependencies. + +2006-07-20 Gustavo J. A. M. Carneiro + + * gtk/gtk-base.defs (lookup_icon, load_icon): Caller owns return. + Fixes leaks. + +2006-07-20 John Finlay + + * gtk/gtk.override (GtkObject__do_set_arg, GtkObject__do_get_arg) + (GtkObject__proxy_do_set_arg, GtkObject__proxy_do_get_arg): Ignore. + #341633 (Johan Dahlin) + + * gtk/gtk-types.c (pygtk_tree_model_row_getitem) + (pygtk_tree_model_row_setitem): Remove negative index readjustment + code. #311852 (Baiju M) + + * codegen/codegen.py (Coverage.printstats): Fix typo. + #341668 (Yevgen Muntyan) + +2006-07-19 John Finlay + + * gtk/gtktreeview.override (_wrap_gtk_tree_store_insert): Fix typo + + * docs/Makefile.am: Use more portable date generator. + +2006-07-19 Johan Dahlin + + * gtk/gtkmodule.c (init_gtkimpl): Don't register constants + * codegen/codegen.py: Make enum/flags lazily created too. + + * gtk/__init__.py: + * gtk/deprecation.py: + Make functions lazily loaded. + Make deprecation lazy too, to avoid refercing anything until it's called. + +2006-07-19 Gustavo J. A. M. Carneiro + + * atk.override (_wrap_atk_editable_text_set_run_attributes): Don't + ignore g_slist_append return value. + +2006-07-19 Rafael Espíndola + + reviewed by: Gustavo Carneiro + + * codegen/codegen.py: Mark generated PyTypeObject structures with + G_GNUC_INTERNAL to reduce the size of the PLT. Fixes #347825. + +2006-07-19 John Finlay + + * docs/fixxref.py: Add utility to fix links to pygobject docs. + + * docs/Makefile.am : Add reference/version.xml and + reference/builddate.xml for auto generated version and build date for + docs + + * docs/common.xsl: + * docs/devhelp.xsl: + * docs/html-style.xsl: + * docs/html.xsl: Remove. + + * configure.in (AC_CONFIG_FILES): Add docs/reference/version.xml + +2006-07-18 Johan Dahlin + + * docs/Makefile.am (HTMLdir): Install book in $datadir/gtk-doc/html + +2006-07-18 John Finlay + + * gtk/gtktreeview.override (pygtk_cell_data_func_marshal) + (pygtk_tree_selection_foreach_marshal, pygtk_tree_sortable_sort_cb) + (pygtk_tree_foreach_marshal, pygtk_tree_model_filter_visible_cb) + (pygtk_filter_modify_func_marshal) + (pygtk_set_search_equal_func_marshal): Don't copy TreeIter when passing + to callback. #347273 (Stefano Maggiolo) + (_wrap_gtk_tree_selection_set_select_function): Optionally provide full + info to callback. #340475 (Wouter Bolsterlee) + +2006-07-17 John Finlay + + * gtk/gtktreeview.override: + (_wrap_gtk_tree_store_set_column_types): Add. + (_wrap_gtk_tree_store_insert): Use gtk_tree_store_insert_with_valuesv. + + * gtk/_lazyutils.py (LazyNamespace.__getattribute__): Allow + 'from gtk import *' to work + +2006-07-17 Johan Dahlin + + * configure.in: + * docs/.cvsignore: + * docs/Makefile.am: + * docs/reference/pygtk2-ref.xml: + + Add non GObject parts of John Finlays reference manual + +2006-07-17 John Finlay + + * codegen/reversewrapper.py (GBoxedReturn.write_conversion): Specify + code arg is None + + * gtk/gtk-2.10.defs: Add additional virtual defs. + + * gtk/gtk-base.defs: Add additional virtual defs. + +2006-07-14 John Finlay + + * Makefile.am (.defs.c): Allow libglade and gtkunixprint code + generation in place. + +2006-07-13 John Finlay + + * gtk/gtk-2.10-types.defs (TargetList): Move from + gtk/gtk-base-types.defs + + * gtk/gtk-base-types.defs (AccelMap): Add. #337011 (Sebastian Pölsterl) + (TipsQuery, TargetList, TreePath, FileInfo, FilePath): Add. + + * gtk/gtk.override (_wrap_gtk_accel_map_foreach) + (_wrap_gtk_accel_map_foreach_unfiltered): Add. + Fixes #337011 (Sebastian Pölsterl) + (GtkTipsQuery, GtkTargetList, GtkTreePath, GtkFileInfo, GtkFilePath): + Ignore types. + + * codegen/codegen.py (SourceWriter.write_registers): Don't write + registers for ignored types. + (SourceWriter.write_type_declarations): Don't write type declarations + for ignored types. + +2006-07-13 Johan Dahlin + + * codegen/codegen.py: + * codegen/defsparser.py: + * configure.in: + * gtk/Makefile.am: + * gtk/__init__.py: + * gtk/_gtk.py: + * gtk/_lazyutils.py: + * gtk/deprecation.py: + * gtk/gtk.override: + * gtk/gtkmodule.c: (init_gtkimpl): + * gtk/libglade.override: + * gtk/libglademodule.c: (init_glade): + * gtk/pygtk.h: + * tests/common.py: + * tests/test_api.py: + Only load types in gtk when they are used, fixes #346946 + +2006-07-13 Gustavo J. A. M. Carneiro + + * tests/test_container.py: New unit test to + set/get_child_property, etc. by Lorenzo Gil Sanchez. + + * tests/Makefile.am (tests): Add test_container.py. + + * gtk/gtkcontainer.override + (_wrap_GtkContainer__proxy_do_set_child_property): Add missing + param. + + * gtk/gtkwidget.override (_wrap_gtk_widget_set_activate_signal) + (_wrap_gtk_widget_get_activate_signal): Add getter and setter for + GtkWidgetClass->activate_signal. Fixes #331445. + + * gtk/gtk.override (_wrap_gtk_action_set_menu_item_type): Add + class method to change GtkActionClass->menu_item_type. + (_wrap_gtk_action_set_tool_item_type): idem for tool_item_type. + Fixes #331355. + + * gtk/gtk-base.defs: Declare the missing + GtkAction.create_menu|tool_item virtuals. + + * examples/gtk/scrollable.py (Layout.do_size_allocate): Save the + allocation (#341509, Muntyan). + + * gtk/gtk.override (_wrap_GtkEditable__do_insert_text): Impl. + (_wrap_GtkEditable__do_get_selection_bounds): Impl. + + * gtk/gtk-base.defs (insert_text): Add direction information to + the position parameter of gtk.Editbale.insert_text virtual. + + * codegen/defsparser.py (IncludeParser.include): Fix including + absolute path names, #345073. + +2006-07-12 Gustavo J. A. M. Carneiro + + * NEWS: I forgot one NEWS item in the release :P + + * configure.in: Post release version bump. + +=== 2.9.3 === +2006-07-12 Gustavo J. A. M. Carneiro + + * NEWS: Update. + + * tests/Makefile.am: Copy a few more gtk module support files for + running tests. + + * tests/common.py: Don't hide import errors. + +2006-07-13 Johan Dahlin + + * gtk/gtk.override: Ignore gtk_recent_chooser_set_show_numbers and + gtk_recent_chooser_get_show_numbers, + see http://article.gmane.org/gmane.comp.gnome.language-bindings/805 + +2006-07-12 John Finlay + + * gtk/gtkunixprint.override (_wrap_gtk_enumerate_printers): Add. + +2006-07-11 John Finlay + + * gtk/gtkunixprint.defs (gtk_printer_accepts_pdf) + (gtk_printer_accepts_ps, gtk_enumerate_printers): Add. + + * gtk/gdk-base.defs (gdk_set_pointer_hooks): Remove dup. + +2006-07-10 John Finlay + + * gtk/gtk-base.defs (gtk_binding_entry_add_signal): Remove dup. + + * gtk/gdk-base-types.defs (GdkColorspace): Remove duplicate. + + * gtk/gdk-base.defs (gdk_color_change): Change to function to resolve + conflict with gdk_colormap_change. + (gdk_colormap_change): Note as deprecated. + (gdk_display_store_clipboard): Remove dup def + +2006-07-08 Gustavo J. A. M. Carneiro + + * gtk/gtk-base.defs (clipboard_get_for_display): Add + "(caller-owns-return nil)"; Fixes #343960. + +2006-07-07 John Finlay + + * gtk/gdk.override: Ignore-glob *_libgtk_only. Fixes #321476. + +2006-07-06 John Finlay + + * pango.override (_wrap_pango_attr_underline_color_new) + (_wrap_pango_attr_strikethrough_color_new) + (_wrap_pango_attr_size_new_absolute) + (_wrap_pango_attr_letter_spacing_new): Add. + + * pango.defs (AttrSizeAbsolute, AttrUnderlineColor) + (AttrStrikethroughColor, AttrLetterSpacing) + (pango_font_description_set_absolute_size) + (pango_font_description_get_size_is_absolute) + (pango_font_get_font_map): Add. + + * gtk/gtk.override (_wrap_gtk_color_selection_palette_to_string): + Allow colors to be a sequence. + + * atk.override (_wrap_atk_state_set_contains_states) + (_wrap_atk_state_set_add_states): Fix reference leaks. + +2006-07-06 Gustavo J. A. M. Carneiro + + * gtk/gtk.override (_wrap_gtk_color_selection_palette_to_string): + Check that argument is a list of gdk.Color. Fixes #346745. + +2006-07-06 John Finlay + + * atk.override (atk_text_free_ranges): Ignore. + (_wrap_atk_value_get_current_value) + (_wrap_atk_value_get_maximum_value) + (_wrap_atk_value_get_current_value) + (_wrap_atk_value_set_current_value): Add. + + * atkmodule.c (initatk): Add call to _pyatk_register_boxed_types() + + * Makefile.am (ATK_OVERRIDES): Add atkrectangle.override + + * atkrectangle.override: Add. + + * atk.override (_wrap_atk_text_get_text_at_offset) + (_wrap_atk_text_get_text_before_offset) + (_wrap_atk_text_get_character_extents) + (_wrap_atk_text_get_run_attributes) + (_wrap_atk_text_get_default_attributes) + (_wrap_atk_text_get_bounded_ranges, _wrap_atk_text_get_selection) + (_wrap_atk_text_get_range_extents): Add, + + * atk.defs (atk_rectangle_new): Add. + +2006-07-05 John Finlay + + * atk.override (_wrap_atk_state_set_contains_states) + (_wrap_atk_state_set_add_states): + (_wrap_atk_table_get_selected_rows) + (_wrap_atk_table_get_selected_columns): + (_wrap_atk_text_get_text_after_offset): Add. + + * atk.defs (atk_relation_type_get_name): Define as function instead + of method. + (atk_state_type_get_name): Define as function instead of method. + (atk_state_set_new): Fix typo. + + * atk.override (_wrap_atk_relation_get_target): Add. + (_wrap_atk_relation_new): Raise ValueError if targets is zero length. + +2006-07-05 Johan Dahlin + + * gtk/Makefile.am: + * gtk/__init__.py: + * gtk/_lazyutils.py: + * tests/Makefile.am: + * tests/test_api.py: + Add infrastructure to handle lazy loading. + Move keysyms to be loaded lazily. + Add API tests to make sure keysyms works. + +2006-07-05 Johan Dahlin + + * gtk/Makefile.am: + * gtk/__init__.py: + * gtk/deprecation.py: + Move deprecation related classes to a separate python file + +2006-06-27 John Finlay + + * atk-types.defs: Update defs for atk-1.8 + * atk.defs: Update defs for atk-1.8 + + * atk.override (_wrap_atk_component_get_size) + (_wrap_atk_component_get_size, _wrap_atk_component_get_extents) + (_wrap_atk_editable_text_set_run_attributes) + (_wrap_atk_editable_text_insert_text) + (_wrap_atk_image_get_image_position) + (_wrap_atk_image_get_image_position): Add + +2006-06-27 Gustavo J. A. M. Carneiro + + * gtk/gdk-2.10.defs, gtk/gdk-base.defs: It seems that all X11 + specific functions are available in gtk+ 2.8 too; moving them from + gdk-2.10.defs to gdk-base.defs. + + * gtk/gdkcairo.override (_wrap_gdk_cairo_rectangle): Missing + PyErr_Clear() when first protype parsing fails. + +2006-06-27 John Finlay + + * gtk/gtk-2.10.defs (GtkPrintOperationPreview, GtkRecentChooser): + Add virtual defs for these interfaces. + +2006-06-25 John Finlay + + * gtk/gtk-2.10.defs (gtk_status_icon_set_from_pixbuf): Allow pixbuf + to be None + (gtk_status_icon_set_tooltip): Allow tooltip_text to be None + (print_run_page_setup_dialog): Allow parent to be None. + + * gtk/gtk.override (_wrap_gtk_recent_manager_add_full): is_private + should be a boolean. + + * gtk/gtk-2.10-types.defs: Add RecentChooser and + PrintOperationPreview implements interface notations + +2006-06-25 Gustavo J. A. M. Carneiro + + * codegen/argtypes.py (ArgMatcher.register_enum, + (ArgMatcher.register_flag): Use IntArg to handle enums and flags + with no typecode. This is to avoid the compiler warning + "dereferencing type-punned pointer will break strict-aliasing + rules" when converting enums or flags with no typecode. + (EnumArg.enum): Typecast to gpointer, not gint*, to avoid gcc type + punning warnings. + (FlagsArg.flag): idem. + + * codegen/codegen.py (SourceWriter.write_enums): Typecast second + argument of PyModule_AddIntConstant to + (char*) to avoid const warning on python < 2.5. + +2006-06-25 John Finlay + + * gtk/gtkwidget.override (_wrap_gtk_widget_class_find_style_property): + Add. + +2006-06-24 John Finlay + + * gtk/gtk.override (_wrap_gtk_print_operation_get_error): + g_clear_error() is called in pyg_error_check() + + * gtk/gtk-2.10.defs (gtk_print_settings_set): Allow value to be NULL. + +2006-06-24 Gustavo J. A. M. Carneiro + + * gtk/gtk.override (_wrap_gtk_print_operation_get_error): + s/g_error_clear/g_clear_error/. + (_wrap_gtk_print_operation_get_error): Return the exception value, + not just error->message, so that the programmer can consult + error.domain and error.code in addition to error.message. + +2006-06-24 John Finlay + + * gtk/gtk.override (_wrap_gtk_print_operation_get_error): Return + the error message if any. + +2006-06-22 John Finlay + + * gtk/gtk-2.10-types.defs (PrintOperationPreview): Identify as an + interface. + + * gtk/gtk-2.10.defs (gtk_label_get_line_wrap_mode) + (gtk_label_set_line_wrap_mode): Add + + * gtk/gtk.override (_wrap_gtk_notebook_set_window_creation_hook): + Fix parse tuple format. + +2006-06-22 Frederic Peters + + * gtk/gtkunixprint.override (_wrap_gtk_print_job_send): update to + latest GTK+ API change. #345623 + +2006-06-20 Elijah Newren + + * gtk/gtk-2.10.defs (get_print_to_file, set_print_to_file): remove + these functions as the corresponding functions in gtk+ have + recently been removed as well. #345447 + +2006-06-15 John Finlay + + * gtk/gtk.override (_wrap_gtk_notebook_set_window_creation_hook): Add. + + * gtk/gdk.override (_wrap_gdk_screen_set_font_options) + (_wrap_gdk_screen_set_font_options): Add. + + * gtk/gtk-base.defs (accel_group_from_accel_closure): Remove duplicate. + + * gtk/gdk.override (gdk_atom_intern_static_string): Ignore + +2006-06-15 Gustavo J. A. M. Carneiro + + * configure.in: Post-release version bump. + +=== 2.9.2 === +2006-06-15 Gustavo J. A. M. Carneiro + + * examples/pygtk-demo/demos/print_editor.py: Update example to + API changes a couple of weeks ago. + + * NEWS: Update. + + * gtk/gtk-2.10.defs (target_list_add_rich_text_targets): Remove + "(of-object "GtkTargetList")", which is not valid for functions. + + * gtk/gtkunixprint.override (pygtk_print_job_complete_func_cb): + PycairoSurface_FromSurface API breakage happened since pycairo + 1.1.6, not 1.1.7. Fixes #344957. + +2006-06-14 John Finlay + + * gtk/gtktextview.override (_wrap_gtk_text_buffer_serialize) + (_wrap_gtk_text_buffer_register_deserialize_format) + (_wrap_gtk_text_buffer_register_serialize_format) + (_wrap_gtk_text_buffer_get_serialize_formats) + (_wrap_gtk_text_buffer_get_serialize_formats): Add. + + * codegen/argtypes.py (arg): Match const-guint8* as UCharArg + + * gtk/gtktextview.override (_wrap_gtk_text_buffer_deserialize) + (_wrap_gtk_text_buffer_deserialize): Add. + +2006-06-14 Gustavo J. A. M. Carneiro + + * codegen/defsparser.py (IncludeParser.include): Fix a small typo + that caused bug #344845. + +2006-06-14 John Finlay + + * gtk/gtktextview.override + (_wrap_gtk_text_buffer_get_copy_target_list) : Add, + + * gtk/gtk.override (_wrap_gtk_drag_dest_find_target) + (_wrap_gtk_drag_dest_get_target_list) + (_wrap_gtk_drag_dest_set_target_list, _wrap_gtk_drag_begin) + (_wrap_gtk_drag_source_get_target_list) + (_wrap_gtk_drag_source_set_target_list) + (_wrap_gtk_target_list_add_text_targets) + (_wrap_gtk_target_list_add_image_targets) + (_wrap_gtk_target_list_add_uri_targets) + (_wrap_gtk_target_list_add_rich_text_targets): + Use pygtk_target_list_from_sequence and pygtk_target_list_to_list. + + * gtk/gtkobject-support.c (pygtk_target_list_from_sequence) + (pygtk_target_list_to_list): Add. + +2006-06-13 John Finlay + + * gtk/gtk-2.10.defs (gtk_tree_view_set_search_entry): Allow entry arg + to default to None. + + * gtk/gtktreeview.override + (_wrap_gtk_tree_view_set_search_position_func): Add. + + * gtk/gtk-2.10.defs (gtk_target_list_add_rich_text_targets): Change + to function. + + * gtk/gtk.override (_wrap_gtk_target_list_add_rich_text_targets): Add. + +2006-06-14 Gustavo J. A. M. Carneiro + + * configure.in: Post-release version bump. + +=== 2.9.1 === +2006-06-14 Gustavo J. A. M. Carneiro + + * codegen/defsparser.py (IncludeParser.include), + * codegen/codegen.py (main): Add a -I option to specify a path to + search for .defs files. + + * gtk/Makefile.am (CREATEDEFS): Use $(top_srcdir) to find + createdefs.py. + (gtk.c): gtk.c depends also on gdk-types.defs. + (EXTRA_DIST): Add gtk-extrafuncs.defs. + + * codegen/Makefile.am (EXTRA_DIST): Add createdefs.py. + +2006-06-13 Gustavo J. A. M. Carneiro + + * gtk/gtkmodule.c (pygtk_add_extra_constants): Don't add + GTK_PAPER_* constants with gtk+ 2.8. + + * gtk/gtkunixprint.override (pygtk_print_job_complete_func_cb): + Make it conditionally compile with both pycairo >= 1.1.7 and + earlier versions. + + * configure.in: Explicitly require pycairo for module pangocairo. + Minimum pycairo version changed back to 1.0.2. + + * NEWS: Updated. + + * gtk/gdkcairo.override (_wrap_gdk_cairo_rectangle): Make + gdk.CairoContext.rectangle() also accept (x, y, width, height) + parameters to avoid violating the Liskov substitution principle, + since it redefines cairo.Context.rectangle() with a different + signature. + +2006-06-13 John Finlay + + * gtk/gtk.override (_wrap_gtk_menu_popup): Improve anti-leak code. + (_wrap_gtk_init_check, _wrap_gtk_init_check): Ignore. + + * gtk/pygtk-private.h: Add. pygdk_atom_vector_from_sequence + + * gtk/gtkobject-support.c (pygdk_atom_vector_from_sequence): Add. + + * gtk/gtk.override (_wrap_gtk_targets_include_rich_text) + (_wrap_gtk_targets_include_uri, _wrap_gtk_targets_include_text) + (_wrap_gtk_targets_include_image): Add. + +2006-06-12 John Finlay + + * gtk/gtkstyle.override (_wrap_gtk_style_lookup_color): Add. + + * gtk/gtk-2.10-types.defs (enum TreeViewGridLines): Add. + + * gtk/gtk-2.10.defs (gtk_tree_view_set_enable_tree_lines) + (gtk_tree_view_get_enable_tree_lines, gtk_tree_view_set_grid_lines) + (gtk_tree_view_get_grid_lines, gtk_tree_view_grid_lines_get_type) + (gtk_print_operation_action_get_type): Add. + + * gtk/gtk.override (_wrap_gtk_status_icon_position_menu) + (_wrap_gtk_status_icon_position_menu): Add. + (_wrap_gtk_menu_popup): Recode to support passing + gtk.status_icon_position_menu as a position function while maintaining + backward compatibility. + +2006-06-11 John Finlay + + * gtk/gtk.override (_wrap_gtk_recent_manager_get_items) + (_wrap_gtk_recent_manager_add_full): Add. + + * gtk/gtktreeview.override (gtk_tree_store_insert_with_values) + (gtk_tree_store_insert_with_valuesv): Ignore + + * gtk/gtk.override (_wrap_gtk_size_group_get_widgets): Fix bug. + (_wrap_gtk_recent_filter_add_custom) + (_wrap_gtk_recent_filter_filter): Add. + + * gtk/gtk-2.10.defs (register_serialize_tagset) + (register_deserialize_tagset): Allow NULL tagset_name arg. + + * gtk/gtk.override (_wrap_gtk_recent_chooser_dialog_new): Note as + new-constructor. + (_wrap_gtk_size_group_get_widgets): Add. + +2006-06-10 John Finlay + + * gtk/gtk-2.10.defs (gtk_recent_chooser_menu_new_for_manager) + (recent_chooser_widget_new_for_manager): Use new object constructor. + +2006-06-11 Gustavo J. A. M. Carneiro + + * configure.in: Check for the X11 GDK target. + + * gtk/gdk.override: Don't ignore gdk_x11_* any more. + + * gtk/gdk-2.10.defs: Add x11 specific functions, scanned from + gdkx.h, corrected (function->method), and made conditionally + compile only on the X11 GDK target. + + * gtk/gdk-base.defs: Removed x11 specific functions added by johan + after 2.8 (re-added in gdk-2.10.defs). + +2006-06-10 John Finlay + + * gtk/gtk-2.10.defs (gtk_recent_chooser_menu_new_for_manager) + (recent_chooser_widget_new_for_manager): : Set + as constructor and allow manager param to default to None. + + * gtk/gtk.override (_wrap_gtk_recent_chooser_dialog_new) + (_wrap_gtk_recent_info_get_application_info) + (_wrap_gtk_recent_info_get_groups) + (_wrap_gtk_recent_info_get_applications) + (_wrap_gtk_recent_chooser_set_sort_func) + (_wrap_gtk_recent_chooser_list_filters): Add. + (gtk_print_error_quark, gtk_recent_chooser_error_quark) + (gtk_recent_chooser_dialog_new_for_manager) + (gtk_recent_chooser_menu_new) + (gtk_recent_chooser_widget_new, gtk_recent_manager_error_quark): Ignore + +2006-06-09 John Finlay + + * gtk/gtk.override (_wrap_gtk_recent_chooser_get_items) + (_wrap_gtk_recent_chooser_get_uris): Add. + + * gtk/gtkiconview.override (_wrap_gtk_icon_view_selected_foreach): + Fix leaks. + + * gtk/gtktextview.override (_wrap_gtk_text_tag_table_foreach): + Fix leaks. + + * gtk/gtk.override (_wrap_gtk_print_settings_foreach) + (_wrap_gtk_print_settings_set_page_ranges) + (_wrap_gtk_print_settings_get_page_ranges): Add. + + * gtk/gtk-2.10.defs (gtk_button_set_image_position) + (gtk_button_get_image_position, gtk_print_context_set_cairo_context) + (gtk_print_operation_set_track_print_status) + (gtk_print_operation_set_show_progress) + (gtk_print_operation_set_allow_async) + (gtk_print_operation_set_custom_tab_label) + (gtk_print_operation_get_error, gtk_print_operation_cancel + (gtk_status_icon_get_geometry): Add. + (gtk_print_operation_set_default_page_setup) + (gtk_print_operation_set_print_settings): Allow default NULL arg. + + * gtk/gtk-2.10-types.defs: Add PrintOperationPreview, RecentFilter, + RecentInfo. Sync enums. + +2006-06-08 Frederic Peters + + * configure.in, gtk/gtkunixprint.override: Updated pycairo dependencies + from 0.5.0 to 1.1.7 since PycairoSurface_FromSurface signature changed. + + * gtk/gtk-2.10-types.defs, gtk/gtk-2.10.defs: Updated to new GTK+ + Printing API changes. + +2006-06-06 John Finlay + + * gtk/gtkunixprintmodule.c (initunixprint): + Add pygtkunixprint_add_constants() call. + + * gtk/gtkunixprint.defs: + * gtk/gtkunixprint.override: Add files for unixprint module. + + * gtk/Makefile.am: Add support for gtk.unixprint module. + + * configure.in: Add support for gtk.unixprint module. + +2006-06-06 Johan Dahlin + + * gtk/gtk-base.defs (set_mnemonic_widget): Allow widget to be null + +2006-06-05 John Finlay + + * gtk/gtk-2.10.defs (paper_size_new): Allow name to default to None. + + * gtk/gtkmodule.c (pygtk_add_extra_constants): Add GTK_PAPER_NAME + constants. + +2006-06-04 John Finlay + + * gtk/gtk.override (gtk_paper_size_free): Ignore + + * gtk/gtk-2.10.defs (gtk_message_dialog_set_image): Add. + + * gtk/gtk.override (_wrap_gtk_link_button_set_uri_hook): Add. + + * gtk/gtk-2.10.defs (input_shape_combine_mask): Allow shape_mask + to be None. + (gtk_link_button_new_with_label): Set as constructor for GtkLinkButton. + Allow label param to default to None. + +2006-06-04 Johan Dahlin + + * pango.override (_wrap_pango_tab_array_get_tabs): Fix two + leaks found by coverity. + +2006-06-04 John Finlay + + * gtk/gtk-2.10.defs (drag_dest_set_track_motion) + (drag_dest_get_track_motion): Change to methods of GtkWidget. + + * gtk/gtk.override (_wrap_gtk_clipboard_wait_for_rich_text) + (_wrap_gtk_clipboard_request_rich_text): Add. + + * codegen/argtypes.py (AtomArg.write_return): Fix leak in GdkAtom + return. + +2006-06-03 John Finlay + + * gtk/gtk-2.10.defs (gtk_assistant_set_page_header_image) + (gtk_assistant_set_page_side_image): Allow + pixbuf param to be None and optional. + (gtk_entry_set_inner_border): Allow border param to be None. + +2006-06-01 John Finlay + + * gtk/gtk.override (_wrap_gtk_assistant_set_forward_page_func): Add. + + * gtk/gdkevent.override (_wrap_gdk_event_tp_getattr): Output + "selection" as a gdk.OWNER_CHANGE member. + +2006-06-01 Gustavo J. A. M. Carneiro + + * gtk/gtk-2.10.defs: gtk_print_context_create_context renamed to + gtk_print_context_create_pango_context; + gtk_print_context_create_layout renamed to + gtk_print_context_create_pango_layout; + gtk_print_context_get_fontmap renamed to + gtk_print_context_get_pango_fontmap; gtk_print_context_get_cairo + renamed to gtk_print_context_get_cairo_context. + + * gtk/gtk.override + (_wrap_GtkCellLayout__proxy_do_set_cell_data_func): + s/Py_DECREF(py_ret)/Py_XDECREF(py_ret)/, thanks Paolo Borelli. + +2006-05-31 John Finlay + + * gtk/gdkdraw.override (_wrap_gdk_draw_layout_line): Add, + + * gtk/gdkcairo.override (_wrap_gdk_cairo_set_source_pixmap) + (_wrap_gdk_cairo_region, _wrap_gdk_cairo_rectangle): Add as methods. + + * gtk/gdk-base.defs (shape_combine_region): shape_region may be None. + + * gtk/gdk.override (gdk_region_destroy): Ignore. + +2006-05-26 John Finlay + + * gtk/gtk-base.defs (set_cursor): Allow IconView.set_cursor method + params 'cell' and 'start_editing' to be optional. + Fixes #343039 (Ross Burton) + +2006-05-20 Gustavo J. A. M. Carneiro + + * gtk/gtk.override (_wrap_GtkCellRenderer__do_get_size): Impl. + Fixes #339431. + +2006-05-20 John Finlay + + * pangocairo.override (_wrap_context_set_font_options): Allow + font_options param to be None. + +2006-05-20 Gustavo J. A. M. Carneiro + + * examples/pygtk-demo/demos/print_editor.py (begin_print): + s/set_nr_of_pages/set_n_pages/ (gtk api change). + +2006-05-18 John Finlay + + * gtk/gtk.override (clipboard_request_contents_cb) + (clipboard_clear_func, clipboard_get_func) + (clipboard_request_targets_cb, clipboard_request_image_cb): Fix + reference leaks (#342114). + +2006-05-17 Gustavo J. A. M. Carneiro + + * gtk/gtk.override (clipboard_request_text_cb): Fix reference + leaks (#342114). + +2006-05-14 Gustavo J. A. M. Carneiro + + * gtk/gtkcontainer.override + (_wrap_GtkContainer__proxy_do_set_child_property) + (_wrap_GtkContainer__proxy_do_get_child_property) + (_wrap_GtkContainer__do_set_child_property) + (_wrap_GtkContainer__do_get_child_property): Impl. Fixes #341641. + + * gtk/gtk.override (_wrap_GtkCellRenderer__proxy_do_get_size): Fix + reference leak on 'self' and 'py_ret'. + (_wrap_gtk_dialog_set_alternative_button_order): idem. + + * codegen/reversewrapper.py: Fix registration of StringReturn type + handler; fixes #341634. + +2006-05-14 Murray Cumming + + * gtk/gtk-2.10.defs: Updated to fix the build, because + - gtk_print_operation_set_nr_of_pages() changed to gtk_print_operation_set_n_pages() + - gtk_print_settings_get_num_copies() changed to gtk_print_settings_get_n_copies() + - gtk_print_settings_set_num_copies() changed to gtk_print_settings_set_n_copies() + - gtk_recent_manager_add_full() no longer has a GError* parameter. + +2006-05-10 Johan Dahlin + + * codegen/codegen.py: Refactor a big chunk into a class with methods. + + * Makefile.am: + * gtk/Makefile.am: Use PYCAIRO_CFLAGS + + * configure.in: Make pycairo a required dependency, make sure + the optional Gtk+ 2.10 dependency check work and only build + pangocairo if pycairo found and libglade if gtk can be built + +2006-05-08 Gustavo J. A. M. Carneiro + + * examples/pygtk-demo/demos/print_editor.py, + * examples/Makefile.am: Add Print Editor demo, originally found in + gtk+ sources and translated to Python. + + * gtk/gtk-2.10.defs: gtk.print_run_page_setup_dialog second + argument can be None/NULL. + +2006-05-07 Gustavo J. A. M. Carneiro + + * gtk/gtk.override (_wrap_add_log_handlers) + (_wrap_remove_log_handlers): Try to use + pyg_add_warning_redirection and pyg_disable_warning_redirections + if available. + + * pangomodule.c (initpango): idem. + + * examples/gtk/testprint.py: Add a python print demonstration, + based on testprint.c in gtk+ sources. It is missing a print + dialog, though... + + * examples/Makefile.am (EXTRA_DIST): add gtk/testprint.py. + + * gtk/gtk.override: Include pycairo. + (_wrap_gtk_print_context_get_cairo): Override to make + gtk.PrintContext return a gtk.gdk.CairoContext object instead of a + cairo.Context one. + + * configure.in: pycairo dependency no longer optional. + + * gtk/gtk-2.10-types.defs (PrintContext): Missing gtk.PrintContext. + + * gtk/gtk-2.10.defs: Make 'parent' parameter of + gtk_print_operation_run optional and None acceptable. + + * gtk/gtk-2.10-types.defs: Declare type gtk.PageSetup. + (PrintSettings): idem for gtk.PrintSettings. + (PaperSize): Add boxed gtk.PaperSize. + + * gtk/gdk.override (_wrap_gdk_bitmap_create_from_data) + (_wrap_gdk_pixmap_create_from_data): Override to fix a compilation + warning and add bounds check on the data parameter. + + * gtk/gdkcairo.override: Add explicit braces to keep gcc happy. + + * gtk/Makefile.am: Make sure the defs are regenerated when + configure runs, due to possible changes in gtk+ 2.10 detection. + (gtk.c): Make gtk.c depend on gdk-types.defs to force it to be + generated early. + (.defs.c): Remove the recursive make invocation, no longer needed. + + * gtk/Makefile.am (defs_DATA): Install gdk.defs, gtk.defs, + gdk-types.defs, and gtk-types.defs. Thanks Olav Vitters + Fixes bug #340920. + +2006-05-06 Johan Dahlin + + * codegen/createdefs.py: + * configure.in: + * gtk/Makefile.am: + * gtk/gdk-2.10.defs: + * gtk/gdk-base-types.defs: + * gtk/gdk-base.defs: + * gtk/gdk-types.defs: + * gtk/gdk.defs: + * gtk/gdk.override: + * gtk/gtk-2.10-types.defs: + * gtk/gtk-2.10.defs: + * gtk/gtk-base-types.defs: + * gtk/gtk-base.defs: + * gtk/gtk-types.defs: + * gtk/gtk.defs: + + Add conditional support for Gtk+ 2.10 add new api. + +2006-05-06 Johan Dahlin + + * codegen/h2def.py (main): Add support for filtering out definies + in existing files + + * gtk/gtk.override: Ignore a bunch of stuff + + * gtk/gtk.defs: Add deprecated, broken and unsupported API here, + to make it easier to merge in the future + + * codegen/override.py (Overrides.__parse_override): + * codegen/codegen.py (main): + Add ignore-type statement in override + + * codegen/h2def.py: Refactor to use OOP, remove duplicated code + +2006-05-01 John Ehresman + + * gtk/gdk-types.defs: + * gtk/gdk.defs: + * gtk/gdk.override + * gtk/gtk.defs: + * gtk/pygtk-private.h: + GdkRegion wrapper + +2006-05-01 John Ehresman + + * gtk/gtktreeview.override: Restore override for + TreeView.get_visible_rect + +2006-05-01 Yevgen Muntyan + + * codegen/reversewrapper.py (ReverseWrapper.generate): Missing () + in Py_BuildValue template string to force a tuple to be created + even when number of retvals is one. Reviewed by Gustavo. Fixes + Bug 340162 "Missing ()". + +2006-04-26 Johan Dahlin + + * gtk/gdk.override (_wrap_gdk_event_handler_set): + * gtk/gdk.defs (event_handler_set): + Wrap gdk_event_handler_set + + * gtk/Makefile.am: + * gtk/gdk.override: + * gtk/gdkcairo.override: + * gtk/gdkcolor.override: + * gtk/gdkdraw.override: + * gtk/gdkevent.override: + * gtk/gdkgc.override: + * gtk/gdkpixbuf.override: + * gtk/gdkrectangle.override: + * gtk/gdkwindow.override: + * gtk/gtktoolbar.override: + Split out a few more files + +2006-04-23 Gustavo J. A. M. Carneiro + + * codegen/codegen.py: + * codegen/definitions.py: Add support for (unblock-threads #t) in + functions and methods, which enables the generation of + pyg_(begin|end)_allow_threads around the C call. + + * codegen/argtypes.py (ObjectArg.write_return): Follow up on + #169204 to add support for const-Object as return type. This + fixes a build problem in pygda. + +2006-04-18 John Ehresman + + * setup.py: Remove support for building / installing gobject, pygtk.py, + and dsextras.py + +2006-04-16 Richard Hult + + * gtk/gtkmodule.c: + * gtk/gtk.override: Move locale.h include from gtkmodule.c here to + fix the build. + +2006-04-13 Johan Dahlin + + * gtk/gtkcontainer.override (pygtk_container_for_common): + Set an exception and jump out (Coverity) + + * gtk/gtk.override (_wrap_gtk_stock_list_ids): Decref py_item + after using it (Coverity) + +2006-04-06 Johan Dahlin + + * gtk/__init__.py (_init): Add log handlers here + (threads_init): Deprecated gtk.threads_*, gtk.gdk.threads_* should + be used instead, fixes #165927 (Steve Chaplin) + + * gtk/gtk.override (_wrap_remove_log_handlers): New function, + makes it possible to remove the handlers pygtk installs. + Fixes #323786 + + * gtk/gtkmodule.c (init_gtk): Refactor, move init_check... + (init_gtk): Move the log handlers to gtk.override + + * gtk/gtk.override (_wrap_gtk_init_check): ..to here + + * gtk/__init__.py: Refactor, call init_check() and print warning + if DISPLAY is not set. Fixes #316877 + +2006-04-05 Johan Dahlin + + * gtk/gtktreeview.override + (_wrap_gtk_tree_sortable_set_default_sort_func): Allow callback + to be set to None, found by Patrick O'Brien + + * tests/test_liststore.py (ListStoreTest.testSetDefaultSortFunc): + Add test + +2006-04-04 Johan Dahlin + + * configure.in: Post release version bump + +=== 2.9.0 === +2006-04-04 Johan Dahlin + + * NEWS: Update + +2006-04-04 John Ehresman + + reviewed by: Johan Dahlin + + * gtk/gtktreeview.override: + Make sure gtk.TreeView.cell_get_size() allows + the usage of the in argument. Fixes #326357 + +2006-04-03 Johan Dahlin + + * codegen/codegen.py: + Fit in 80 characters, do not use \ + + * codegen/argtypes.py: + * codegen/codegen.py: + * codegen/definitions.py: + * codegen/defsconvert.py: + * codegen/defsparser.py: + * codegen/docextract.py: + * codegen/docextract_to_xml.py: + * codegen/docgen.py: + * codegen/h2def.py: + * codegen/mkskel.py: + * codegen/override.py: + * codegen/reversewrapper.py: + * examples/glade/autoconnect.py: + * examples/gobject/editable-interface.py: + * examples/gobject/signal.py: + * examples/gtk/bin.py: + * examples/gtk/filechooser.py: + * examples/gtk/scrollable.py: + * examples/gtk/sizegroup.py: + * examples/gtk/uimanager.py: + * examples/ide/edit.py: + * examples/ide/gtkdb.py: + * examples/ide/gtkprof.py: + * examples/pango/pangocairo-simple.py: + * examples/pango/utf8-demo.py: + * examples/pygtk-demo/demos/changedisplay.py: + * examples/pygtk-demo/demos/dnd.py: + * examples/pygtk-demo/demos/dndpixmap.py: + * examples/pygtk-demo/demos/entry_completion.py: + * examples/pygtk-demo/demos/expander.py: + * examples/pygtk-demo/demos/hypertext.py: + * examples/pygtk-demo/demos/list_store.py: + * examples/pygtk-demo/demos/textview.py: + * examples/pygtk-demo/demos/tree_store.py: + * examples/pygtk-demo/demos/treemodel.py: + * examples/simple/dnd.py: + * examples/simple/dndpixmap.py: + * examples/simple/hello.py: + * examples/simple/scribble.py: + * examples/simple/simple.py: + * examples/simple/tooltip.py: + * gtk/__init__.py: + * gtk/compat.py: + * gtk/keysyms.py: + * ltihooks.py: + * setup.py: + * tests/common.py: + * tests/runtests.py: + * tests/test_actiongroup.py: + * tests/test_conversion.py: + * tests/test_dialog.py: + * tests/test_enum.py: + * tests/test_gdkevent.py: + * tests/test_liststore.py: + * tests/test_radiobutton.py: + * tests/test_style.py: + * tests/testmodule.py: + + Run reindent.py on all python code. + +2006-04-02 Johan Dahlin + + * gtk/gdk.defs (rotate_simple): Add gdk.Pixbuf.rotate_simple, + fixes #314164 (Karel Vervaeke) + + * examples/pygtk-demo/demos/treemodel.py: + Check for null, so it can be used with a model filter, + fixes #311459 (Stephen Kennedy) + + * examples/gtk/widget.py: Remove tabs fixes #325320 + (Dieter Verfaillie) + +2006-04-02 Gustavo J. A. M. Carneiro + + * gtk/gtk-types.c (PyGdkWindow_PropertyGet): Change property size + limit from 9999 to G_MAXLONG. Thanks Wander Boessenkool. + Fixes #327778. + + * pango.override (_wrap_pango_layout_line_index_to_x): First + keyword name should be index, not x_pos, as pointed out by John + Finlay. Fixes #316581. + + * gtk/gtk.defs: Mark gtk_tree_row_reference_free as deprecated. + Fixes #309811. + + * gtk/gtkcontainer.override + (_wrap_gtk_container_class_list_child_properties): Deprecate in + favour of gtk.Container.list_child_properties. + (_wrap_gtk_container_list_child_properties): Add + gtk.Container.list_child_properties as classmethod. + (_wrap_gtk_container_class_install_child_property): Deprecate in + favour of gtk.Container.install_child_property. + (_wrap_gtk_container_install_child_property): Add + gtk.Container.install_child_property as clasmethod. Fixes #308394. + + * gtk/gtktreeview.override: Remove gtk_tree_view_get_visible_rect + duplicate override. + + * gtk/gtk.override: Make the "new-constructor + GTK_TYPE_MESSAGE_DIALOG" declaration conditional on gtk+ >= 2.9, + to match the contents of the constructor. + +2006-04-02 Johan Dahlin + + * gtk/gdk.override (_wrap_gdk_draw_indexed_image): + wrap, Fixes #333431 (Hamish Moffatt) + * tests/test_gdk.py (GdkTest.testDrawIndexedImage): Add test + + * gtk/gtk.defs (spin): Set default value of increment to + 1, fixes #325452 (Sebastian Rittau) + + * pango.override: + * tests/Makefile.am: + * tests/test_pango.py: + + Set default markup accel marker to \x00, add tests, + Fixes #329658 (Johan Svedberg) + +2006-04-02 Ben Caradoc-Davies + + reviewed by: Johan + + * examples/pygtk-demo/demos/pixbufs.py: Remove + discontinuous motion, fixes #327931 + +2006-04-02 Johan Dahlin + + + * gtk/gtkmodule.c (init_gtk): GDK_PARENT_RELATIVE constant + + * gtk/gtk-types.c (pygtk_style_helper_setitem): Add support for + GDK_PARENT_RELATIVE in style pixmaps. + + Fixes #320248 (Nikos Kouremenos) + +2006-04-01 Gustavo J. A. M. Carneiro + + * codegen/override.py (Overrides.__parse_override): Check and + abort if a function is being overridden more than once. + +2006-04-01 Rauli Ruohonen + + * codegen/codegen.py (Wrapper.write_functions): Add missing 'data' + parameter when calling self.write_function. + + * pangocairo.override: Wrap pango_cairo_context_set_font_options + and pango_cairo_context_get_font_options. Fixes #328108. + + Reviewed by Gustavo Carneiro. + +2006-04-01 Gustavo J. A. M. Carneiro + + * codegen/codegen.py (Wrapper.write_virtuals): Use + PyObject_GetAttrString, not PyDict_GetItemString, fixes #327715. + + * gtk/pygtk.h, gtk/gtkmodule.c: Export pygtk_tree_path_to_pyobject + and pygtk_tree_path_from_pyobject as public APIs. Fixes #318021. + + * codegen/argtypes.py: Add suppport for const object args. + Patch by wollny@cbs.mpg.de, plus some additional changes for code + style improvements and a bug fix. Fixes #169204. + + * gtk/gtkmodule.c (_pygtk_log_func): Call g_log_default_handler + when python isn't initialized. Fixes #334188. + + * examples/Makefile.am (EXTRA_DIST): Ship new editable interface example. + + * examples/gobject/editable-interface.py: Add small example of + overriding GtkEditable interface method and chaining to parent. + + * codegen/codegen.py: Bug 334986: "Make it possible to + re-implement interfaces and chain to parent impl." + +2006-04-01 Johan Dahlin + + * codegen/h2def.py (proto_pat): Allow whitespace before + last parenthesis. Fixes #317124 + +2006-04-01 Gustavo J. A. M. Carneiro + + * gtk/gtk.defs (GtkSpinButton.input, GtkEditable.do_insert_text) + (GtkEditable.get_selection_bounds, + GtkMenuItem.toggle_size_request): Add (direction ...) specifiers + to these virtuals. Probably more of these are missing, though. + + * codegen/codegen.py, + * codegen/definitions.py, + * codegen/reversewrapper.py: + Add support for int* and double* (and basic infrastructure to + support other types in the future) parameters for "reverse + wrappers". To use this feature one needs to help the + codegenerator by adding (direction "out") or (direction "inout") to + the parameter definitions as appropriate. Fixes #335964. + +2006-04-01 John Finlay + + reviewed by: Johan + + * gtk/gdk.defs: + * gtk/gtk.defs: + * gtk/gtk.override: + * gtk/gtktextview.override: + * gtk/gtktreeview.override: + * gtk/gtkwidget.override: + Add missing bindings, fixes #316881 + +2006-04-01 Johan Dahlin + + * gtk/gdk.defs: Remove display_open_default_libgtk_only, + it should not be wrapped. + Fixes #321476 + +2006-04-01 Marco Cabizza + + reviewed by: Johan + + * gtk/gdk.defs: + add gdk_screen_get_rgba_colormap and gdk_screen_get_rgba_visual, + Fixes 328996 + +2006-04-01 Johan Dahlin + + * gtk/gtkmodule.c: (init_gtk): + * pangomodule.c: (initpango): + Set default encoding to utf-8 in pango instead of gtk. + Fixes #328031 + +2006-04-01 Johan Dahlin + + * Makefile.am: + * configure.in: + * dsextras.py: + * gobject/Makefile.am: + * gobject/gobjectmodule.c: + * gobject/pygboxed.c: + * gobject/pygenum.c: + * gobject/pygflags.c: + * gobject/pygiochannel.c: + * gobject/pygmaincontext.c: + * gobject/pygmainloop.c: + * gobject/pygobject.c: + * gobject/pygparamspec.c: + * gobject/pygpointer.c: + * gobject/pygsource.c: + * gobject/pygtype.c: + * gtk/Makefile.am: + * pygtk.py: + * tests/Makefile.am: + Remove gobject and depend on pygobject 2.10.0 + +2006-04-01 Johan Dahlin + + * codegen/codegen.py: Mark function, methods and getsets as const. + +2006-04-01 Gustavo J. A. M. Carneiro + + * gtk/gtk.override (_wrap_gtk_message_dialog_new): Add missing + "new-constructor GTK_TYPE_MESSAGE_DIALOG" codegen declaration. + + * codegen/codegen.py: Add support for docstrings in .defs. To use + it, add (docstring "foo bar") to class, function or method + definitions. Fixes bug #322843. + + * pangocairomodule.c (initpangocairo): Fix compiler warning. + + * m4/python.m4: Fix "underquoted definition of AM_CHECK_PYMOD" warning. + + * gtk/gtk.override (_wrap_gtk_message_dialog_new): On gtk+ 2.9, + fix constructor to allow subclassing. Fixes bug #312056. + +2006-03-30 Johan Dahlin + + * configure.in: Post release version bump + +=== PyGTK 2.8.5 === +2006-03-30 Johan Dahlin + + * NEWS: Update. + +2006-02-27 Gustavo J. A. M. Carneiro + + * tests/test_dialog.py (MessageDialogTest.testDialogLeak): Add + test for bug #332771. + + * tests/test_actiongroup.py (ActionGroupTest.timeout_cb): Use + self.assertEqual instead of plain assert. + + * gtk/gtk.override (gtk_dialog_new_with_buttons): Remove one too + many g_object_ref. Fixes Bug 332771: "gtk.Dialog leak". + +2006-02-20 Gustavo J. A. M. Carneiro + + * gtk/gdkcairo.override: Don't raise an exception if pangocairo + import fails, since in this case python itself had already raised + another exception with more information. + +2006-02-14 Johan Dahlin + + * gtk/gtkclist.override (_wrap_gtk_clist_new_with_titles): Fix typos, + found by Padraig Brady + +2006-02-06 Johan Dahlin + + * gtk/__init__.py (_is_pydoc): Do not print the deprecation warning + if we're running under pydoc. + +2006-01-26 Gustavo J. A. M. Carneiro + + * examples/pygtk-demo/demos/pixbufs.py (PixbufsDemo.expose_cb): + Remove the "FIXME: draw_rgb_image_dithalign seems not to be + available" comment. + + * gtk/gdk.override (_wrap_gdk_draw_rgb_image): Add comment + explaining why we always call gdk_draw_rgb_image_dithalign instead + of gdk_draw_rgb_image. + (_wrap_gdk_draw_gray_image): idem. + +2006-01-21 Gustavo J. A. M. Carneiro + + * gtk/gtk.defs (cell_view_new_with_text): Add + caller-owns-return to fix a reference leak. + (cell_view_new_with_markup): idem. + (cell_view_new_with_pixbuf): idem. + (combo_box_new_text): idem. + (combo_box_entry_new_with_model): idem. + (combo_box_entry_new_text): idem. + (expander_new_with_mnemonic): idem. + (file_chooser_button_new_with_backend): idem. + (file_chooser_button_new_with_dialog): idem. + (file_chooser_widget_new_with_backend): idem. + (gtk_font_button_new_with_font): idem. + (icon_set_new): idem. + (gtk_icon_view_new_with_model): idem. + (gtk_menu_tool_button_new_from_stock): idem. + (toggle_tool_button_new_from_stock): idem. + (tool_button_new_from_stock): idem. + + * gtk/gdk.defs (pixbuf_loader_new_with_mime_type): Add + caller-owns-return to fix a reference leak. + +2006-01-20 John Ehresman + + * gtk/gdk.override (_wrap_gdk_window_new): Bump ref count + on x11 so destroy() works as expected + + * tests/test_gdk.py: test for the above + +2006-01-19 Johan Dahlin + + * examples/Makefile.am: + Install examples + + * examples/gtk/widget.py: + Call unrealize too + + * examples/gtk/scrollable.py: + Add example of a scrollable widget + +2006-01-15 Christopher Aillon + + * gobject/gobjectmodule.c (pyg_strv_to_gvalue): + Don't call g_value_init since the other *_to_gvalue + methods expect an already inited GValue + +2006-01-11 Johan Dahlin + + * configure.in: Post release version bump + +=== PyGTK 2.8.4 === +2006-01-11 Johan Dahlin + + * NEWS: Update. + + * Makefile.am: Only install pygtk.pth if we're building gobject. + +2006-01-10 Johan Dahlin + + * gtk/gtk-types.defs (IconView): should implement gtk.CellLayout + +2006-01-09 Gustavo J. A. M. Carneiro + + * Makefile.am, + * configure.in, + * gtk/Makefile.am, + * tests/Makefile.am: Fix pygobject check; Add external pygobject + include dir to include path instead of the internal one if + compiling with pygobject 2.9. + + * Makefile.am: Don't build or install gobject bindings if + pygobject >= 2.9 was found. + + * configure.in: Check for pygobject 2.9; create an AM conditional + based on it. + +=== PyGTK 2.8.3 === +2006-01-04 Cedric Gustin + + * dsextras.py (Template.generate): Pass GLOBAL_MACROS (in + particular HAVE_PYCAIRO) to codegen DefsParser. + * setup.py: If pangocairo is enabled, add pycairo to the list of + packages required to build the GTK+ module. Also set HAVE_PYCAIRO. + +2005-12-24 Gustavo J. A. M. Carneiro + + * gobject/pygflags.c (pyg_flags_add): Tolerate module == NULL, + which may happen when called from pyg_flags_from_gtype if a + wrapper for the GFlags was not registered. + +2005-11-15 Johan Dahlin + + * gobject/pygobject.c (pygobject_new_with_interfaces): We always + need to free interfaces since its a null terminated array. + +2005-11-13 Johan Dahlin + + * gobject/gobjectmodule.c (pyg_type_register): Remove deprecation + warning. + +2005-11-13 Gustavo J. A. M. Carneiro + + * gtk/gtk.defs (gtk_image_new_from_stock) + (gtk_image_new_from_icon_set, image_new_from_animation) + (gtk_image_new_from_icon_name) + (gtk_radio_menu_item_new_from_widget) + (gtk_radio_menu_item_new_with_mnemonic_from_widget) + (gtk_radio_menu_item_new_with_label_from_widget): Add missing + "(caller-owns-return #t)" -- fixes mem leaks. + +2005-11-12 Gustavo J. A. M. Carneiro + + * gtk/gdk.override (_wrap_gdk_pixbuf_animation_iter_advance): + Missing g_object_unref(ret), since caller owns the return value. + +2005-11-11 Johan Dahlin + + * examples/gtk/sizegroup.py: New example. + +2005-11-09 Gustavo J. A. M. Carneiro + + * gobject/pygobject.c (CHECK_GOBJECT): Use %p formatter instead of 0x%x. + + * gobject/pygobject-private.h (pyg_gil_state_ensure) + (pyg_gil_state_release): Sync these macro definitions with the + version in pygobject.h, i.e. don't call pygobject API + replacements, call the Python API directly. + + * tests/Makefile.am (tests): Add test_glade.py. + + * tests/test_glade.py: Add this file which was missing from CVS. + + * gtk/gtk.defs (gtk_widget_render_icon): Add missing + "(caller-owns-return #t)" to plug a leak. + +2005-11-03 Manish Singh + + reviewed by: Johan Dahlin + + * gobject/gobjectmodule.c: (pyg_integer_richcompare): + * gobject/pygenum.c: (pyg_enum_richcompare): + * gobject/pygflags.c: (pyg_flags_richcompare): + * gobject/pygobject-private.h: + Prepare for Python 2.5 richcompare changes, fixes #320455. + +2005-11-02 Johan Dahlin + + * gtk/__init__.py: Remove '' from sys.path if it was added by + PySys_SetArgv in init_gtk. + +2005-10-15 Gustavo J. A. M. Carneiro + + * gtk/gtkobject-support.c (pygtk_custom_destroy_notify): Add + g_return_if_fail to catch user_data == NULL. + + * gtk/gtktreeview.override (pygtk_set_search_equal_func_marshal): + Add some NULL parameter checks. Use PyObject_IsTrue instead of + comparing agains PyTrue. + +2005-10-14 Johan Dahlin + + * tests/Makefile.am (tests): + * tests/test_gdk.py: Add test + + * gtk/gdk.defs (pixmap_create_from_data) + (bitmap_create_from_data): use guchar* instead of gchar, + fixes #318874 (Bob Gibbs) + +2005-10-09 Johan Dahlin + + * configure.in: post release version bump + +=== PyGTK 2.8.2 === +2005-10-04 Johan Dahlin + + * NEWS: Update + +2005-10-09 Johan Dahlin + + * gobject/pygiochannel.c: (pyg_iowatch_marshal): + Use GIL state instead of block/unblock. Fixes crasher found + by Ole Andre Valda Ravnås. + +2005-10-04 Johan Dahlin + + * configure.in: post release version bump + +=== PyGTK 2.8.1 === +2005-10-04 Johan Dahlin + + * NEWS: Update + +2005-10-03 Johan Dahlin + + * gobject/pygobject.c: (PyGProps_length): + * gtk/gdk.defs: + * gtk/gdk.override: + * gtk/gtk.defs: + * gtk/gtk.override: + Fix gcc 4.0 warnings. + +2005-10-02 Gustavo J. A. M. Carneiro + + * tests/test_properties.py (PropertyObject.__gproperties__) + (PropertyObject.do_get_property, PropertyObject.do_set_property) + (TestProperties.testUint64): Add guint64 property test case, by + Johan Dahlin. + + * gobject/pygtype.c (pyg_value_from_pyobject): Accept conversion + from PyInt (not just PyLong) to guint64. + (_wrap_g_type_wrapper__get_children): Fix sign/unsigned warning. + (_wrap_g_type_wrapper__get_interfaces): idem. + (pyg_value_from_pyobject): idem. + +2005-10-01 Gustavo J. A. M. Carneiro + + * tests/test_subtype.py (TestSubType.testGObjectNewError): Add new + test for the bug below. + + * gobject/gobjectmodule.c (pyg_object_new): don't unref/sink obj + if it is NULL. + +2005-09-29 Johan Dahlin + + * gobject/gobjectmodule.c: (pyg_type_name), (pyg_type_from_name), + (pyg_type_parent), (pyg_type_is_a), (pyg_type_children), + (pyg_type_interfaces): Undeprecate for now. + +2005-09-28 Gustavo J. A. M. Carneiro + + * tests/Makefile.am (tests): Add test_textview.py. + + * tests/test_textview.py: Test gtk.TextView.get_default_attributes(). + + * gtk/gtktextview.override + (_wrap_gtk_text_view_get_default_attributes): Override to + workaround gtk bug #317455. + + * pangomodule.c (initpango): Fix values of pango.SCALE_X_LARGE and + pango.SCALE_XX_LARGE. + +2005-09-25 Gustavo J. A. M. Carneiro + + * tests/Makefile.am (EXTRA_DIST): Add leak.glade. + + * tests/test_glade.py: Test case for the leak below. + + * gtk/libglade.override (connect_many): Fix a reference leak in 'tuple'. + +2005-09-22 Johan Dahlin + + * gobject/gobjectmodule.c: (pyg_type_from_name): + * gobject/pygobject.c: (pygobject_connect), + (pygobject_connect_after), (pygobject_connect_object), + (pygobject_connect_object_after), (pygobject_emit), + (pygobject_stop_emission): + Include the object and the name of the signal in TypeErrors + +2005-09-20 Johan Dahlin + + * gtk/gtk.defs (Entry.set_completion): Add null-ok + +2005-09-16 John Ehresman + + * gtk/gdk.override (_wrap_gdk_event_tp_setattr): Allow subwindow + to be set for enter & leave notify events. + +2005-09-16 John Ehresman + + * gobjectmodule.c (initgobject): Add gobject.Warning Warning subclass + and redirect all g_log messages for the "GLib", "Glib-GObject", and + "GThread" domains to the python warning system + + * pangomodule.c (initpango): Add pango.Warning Warning subclass + and redirect all g_log messages for the "Pango" domain to the + python warning system + + * gtkmodule.c (initgtk): Move gtk Warning subclass from the gdk + module to the gtk module and added redirections for g_log messages + for the "Gdk" and "GdkPixbuf" domains to the python warning system + + * gtk/__init__.py: Set gdk.Warning = gtk.Warning for backward + compatibility + +2005-09-13 Johan Dahlin + + * gtk/gdk.defs: + * gtk/gtk.defs: + * gtk/gtk.override: + * gtk/gtktextview.override: + * gtk/gtktreeview.override: + * gtk/gtkwidget.override: + + Revert Johns latest commit. + +2005-09-13 Gustavo J. A. M. Carneiro + + * gobject/gobjectmodule.c (add_properties): Append extra + information to the exception value strings to help contextualize + any errors that occur while registering properties. + +2005-09-06 John Finlay + + * gtk/gdk.defs (set_urgency_hint): Add. + + * gtk/gtktreeview.override (_wrap_gtk_tree_view_get_visible_range): + Add. + + * gtk/gtk.defs (set_drag_dest_item): Allow path to be None. + (get_visible_range): Add. + +2005-09-05 John Finlay + + * gtk/gtk.defs (set_cursor): Allow cell to be None + + * gtk/gtkwidget.override (_wrap_gtk_drag_source_set_icon_name1): Add. + + * gtk/gtk.defs (gtk_drag_source_set_icon_name): Add as a widget method + and deprecate function gtk.drag_source_set_icon_name. + + * gtk/gdk.defs (set_icon_name): Add. + + * gtk/gtktextview.override (_wrap_gtk_text_view_get_iter_at_position): + Add. + + * gtk/gtk.override (_wrap_gtk_clipboard_request_image): Add. + + * gtk/gtk.defs (gtk_alternative_dialog_button_order) + (gtk_clipboard_request_image, gtk_clipboard_wait_for_image) + (gtk_clipboard_set_image, gtk_clipboard_wait_is_image_available) + (drag_source_add_iamge_targets, drag_source_add_uri_targets): + Add defs. + +2005-09-02 Johan Dahlin + + * gobject/pygparamspec.c (pyg_param_spec_getattr): Sort all attributes + alphabetically, like python does. Set default value to None + (pyg_param_spec_getattr): Add default_values fallback, for backwards + compatibility. + +2005-09-02 Gustavo J. A. M. Carneiro + + * gobject/gobjectmodule.c (_wrap_pyg_type_register): Don't crash + when registering non-types. + + * tests/test_subtype.py: Test registering non-types raises + TypeError. + + Fixes #315100: "gobject.type_register crashes if parameter is not + a type." + +2005-09-02 Johan Dahlin + + * gobject/gobjectmodule.c: (pyg_signal_list_names): + Also include interfaces, fixes #315038 + +2005-09-02 Johan Dahlin + + * configure.in: post release version bump + + * Changelog.pre-2-8: Move old changelog diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/compile /tmp/vg4GBciBVb/pygtk-2.15.1/compile --- pygtk-2.14.1/compile 2009-03-05 22:31:39.000000000 +0000 +++ pygtk-2.15.1/compile 1970-01-01 01:00:00.000000000 +0100 @@ -1,142 +0,0 @@ -#! /bin/sh -# Wrapper for compilers which do not understand `-c -o'. - -scriptversion=2005-05-14.22 - -# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. -# Written by Tom Tromey . -# -# This program 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 2, or (at your option) -# any later version. -# -# This program 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 this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# This file is maintained in Automake, please report -# bugs to or send patches to -# . - -case $1 in - '') - echo "$0: No command. Try \`$0 --help' for more information." 1>&2 - exit 1; - ;; - -h | --h*) - cat <<\EOF -Usage: compile [--help] [--version] PROGRAM [ARGS] - -Wrapper for compilers which do not understand `-c -o'. -Remove `-o dest.o' from ARGS, run PROGRAM with the remaining -arguments, and rename the output as expected. - -If you are trying to build a whole package this is not the -right script to run: please start by reading the file `INSTALL'. - -Report bugs to . -EOF - exit $? - ;; - -v | --v*) - echo "compile $scriptversion" - exit $? - ;; -esac - -ofile= -cfile= -eat= - -for arg -do - if test -n "$eat"; then - eat= - else - case $1 in - -o) - # configure might choose to run compile as `compile cc -o foo foo.c'. - # So we strip `-o arg' only if arg is an object. - eat=1 - case $2 in - *.o | *.obj) - ofile=$2 - ;; - *) - set x "$@" -o "$2" - shift - ;; - esac - ;; - *.c) - cfile=$1 - set x "$@" "$1" - shift - ;; - *) - set x "$@" "$1" - shift - ;; - esac - fi - shift -done - -if test -z "$ofile" || test -z "$cfile"; then - # If no `-o' option was seen then we might have been invoked from a - # pattern rule where we don't need one. That is ok -- this is a - # normal compilation that the losing compiler can handle. If no - # `.c' file was seen then we are probably linking. That is also - # ok. - exec "$@" -fi - -# Name of file we expect compiler to create. -cofile=`echo "$cfile" | sed -e 's|^.*/||' -e 's/\.c$/.o/'` - -# Create the lock directory. -# Note: use `[/.-]' here to ensure that we don't use the same name -# that we are using for the .o file. Also, base the name on the expected -# object file name, since that is what matters with a parallel build. -lockdir=`echo "$cofile" | sed -e 's|[/.-]|_|g'`.d -while true; do - if mkdir "$lockdir" >/dev/null 2>&1; then - break - fi - sleep 1 -done -# FIXME: race condition here if user kills between mkdir and trap. -trap "rmdir '$lockdir'; exit 1" 1 2 15 - -# Run the compile. -"$@" -ret=$? - -if test -f "$cofile"; then - mv "$cofile" "$ofile" -elif test -f "${cofile}bj"; then - mv "${cofile}bj" "$ofile" -fi - -rmdir "$lockdir" -exit $ret - -# Local Variables: -# mode: shell-script -# sh-indentation: 2 -# eval: (add-hook 'write-file-hooks 'time-stamp) -# time-stamp-start: "scriptversion=" -# time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-end: "$" -# End: diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/config.h.in /tmp/vg4GBciBVb/pygtk-2.15.1/config.h.in --- pygtk-2.14.1/config.h.in 2009-03-05 23:09:25.000000000 +0000 +++ pygtk-2.15.1/config.h.in 2009-05-24 23:17:15.000000000 +0100 @@ -15,6 +15,9 @@ /* If Gtk 2.14 was found */ #undef HAVE_GTK_2_14 +/* If Gtk 2.16 was found */ +#undef HAVE_GTK_2_16 + /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/configure /tmp/vg4GBciBVb/pygtk-2.15.1/configure --- pygtk-2.14.1/configure 2009-03-05 23:09:17.000000000 +0000 +++ pygtk-2.15.1/configure 2009-05-24 23:17:08.000000000 +0100 @@ -1,11 +1,11 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.61 for pygtk 2.14.1. +# Generated by GNU Autoconf 2.63 for pygtk 2.15.1. # # Report bugs to . # # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, -# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. +# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## --------------------- ## @@ -17,7 +17,7 @@ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST @@ -39,17 +39,45 @@ as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - echo "#! /bin/sh" >conf$$.sh - echo "exit 0" >>conf$$.sh - chmod +x conf$$.sh - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then - PATH_SEPARATOR=';' +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' else - PATH_SEPARATOR=: + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' fi - rm -f conf$$.sh + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } fi # Support unset when possible. @@ -65,8 +93,6 @@ # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) -as_nl=' -' IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. @@ -89,7 +115,7 @@ as_myself=$0 fi if test ! -f "$as_myself"; then - echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 { (exit 1); exit 1; } fi @@ -102,17 +128,10 @@ PS4='+ ' # NLS nuisances. -for as_var in \ - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ - LC_TELEPHONE LC_TIME -do - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then - eval $as_var=C; export $as_var - else - ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var - fi -done +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1 && @@ -134,7 +153,7 @@ $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || -echo X/"$0" | +$as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q @@ -160,7 +179,7 @@ as_have_required=no fi - if test $as_have_required = yes && (eval ": + if test $as_have_required = yes && (eval ": (as_func_return () { (exit \$1) } @@ -242,7 +261,7 @@ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST @@ -263,7 +282,7 @@ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST @@ -343,10 +362,10 @@ if test "x$CONFIG_SHELL" != x; then for as_var in BASH_ENV ENV - do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var - done - export CONFIG_SHELL - exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var + done + export CONFIG_SHELL + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} fi @@ -415,9 +434,10 @@ test \$exitcode = 0") || { echo No shell found that supports shell functions. - echo Please tell autoconf@gnu.org about your system, - echo including any error possibly output before this - echo message + echo Please tell bug-autoconf@gnu.org about your system, + echo including any error possibly output before this message. + echo This can help us improve future autoconf versions. + echo Configuration will now proceed without shell functions. } @@ -453,7 +473,7 @@ s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || - { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 { (exit 1); exit 1; }; } # Don't try to exec as it changes $[0], causing all sort of problems @@ -481,7 +501,6 @@ *) ECHO_N='-n';; esac - if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr @@ -494,19 +513,22 @@ rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir - mkdir conf$$.dir + mkdir conf$$.dir 2>/dev/null fi -echo >conf$$.file -if ln -s conf$$.file conf$$ 2>/dev/null; then - as_ln_s='ln -s' - # ... but there are two gotchas: - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -p'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -p' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else as_ln_s='cp -p' -elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln + fi else as_ln_s='cp -p' fi @@ -531,10 +553,10 @@ as_test_x=' eval sh -c '\'' if test -d "$1"; then - test -d "$1/."; + test -d "$1/."; else case $1 in - -*)set "./$1";; + -*)set "./$1";; esac; case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in ???[sx]*):;;*)false;;esac;fi @@ -723,8 +745,8 @@ # Identity of this package. PACKAGE_NAME='pygtk' PACKAGE_TARNAME='pygtk' -PACKAGE_VERSION='2.14.1' -PACKAGE_STRING='pygtk 2.14.1' +PACKAGE_VERSION='2.15.1' +PACKAGE_STRING='pygtk 2.15.1' PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=pygtk' ac_unique_file="gtk/gtkmodule.c" @@ -764,191 +786,215 @@ # include #endif" -ac_subst_vars='SHELL -PATH_SEPARATOR -PACKAGE_NAME -PACKAGE_TARNAME -PACKAGE_VERSION -PACKAGE_STRING -PACKAGE_BUGREPORT -exec_prefix -prefix -program_transform_name -bindir -sbindir -libexecdir -datarootdir -datadir -sysconfdir -sharedstatedir -localstatedir -includedir -oldincludedir -docdir -infodir -htmldir -dvidir -pdfdir -psdir -libdir -localedir -mandir -DEFS -ECHO_C -ECHO_N -ECHO_T -LIBS +ac_subst_vars='LTLIBOBJS +LIBOBJS +BUILD_GTKUNIXPRINT_FALSE +BUILD_GTKUNIXPRINT_TRUE +GTKUNIXPRINT_LIBS +GTKUNIXPRINT_CFLAGS +BUILD_LIBGLADE_FALSE +BUILD_LIBGLADE_TRUE +LIBGLADE_LIBS +LIBGLADE_CFLAGS +HAVE_GTK_2_16 +HAVE_GTK_2_16_FALSE +HAVE_GTK_2_16_TRUE +GTK216_LIBS +GTK216_CFLAGS +HAVE_GTK_2_14 +HAVE_GTK_2_14_FALSE +HAVE_GTK_2_14_TRUE +GTK214_LIBS +GTK214_CFLAGS +HAVE_GTK_2_12 +HAVE_GTK_2_12_FALSE +HAVE_GTK_2_12_TRUE +GTK212_LIBS +GTK212_CFLAGS +HAVE_GTK_2_10 +HAVE_GTK_2_10_FALSE +HAVE_GTK_2_10_TRUE +GTK210_LIBS +GTK210_CFLAGS +BUILD_GTK_FALSE +BUILD_GTK_TRUE +GTK_LIBS +GTK_CFLAGS +BUILD_PANGOCAIRO_FALSE +BUILD_PANGOCAIRO_TRUE +PANGOCAIRO_LIBS +PANGOCAIRO_CFLAGS +PYCAIRO_LIBS +PYCAIRO_CFLAGS +PYGTK_CODEGEN_DEFINES +CODEGENDIR +BUILD_PANGO_FALSE +BUILD_PANGO_TRUE +PANGO_LIBS +PANGO_CFLAGS +BUILD_ATK_FALSE +BUILD_ATK_TRUE +ATK_LIBS +ATK_CFLAGS +PYGOBJECT_PYGDOCS +PYGOBJECT_FIXXREF +HAVE_GIO_TYPES_DEFS_FALSE +HAVE_GIO_TYPES_DEFS_TRUE +PYGOBJECT_DEFSDIR +PYGOBJECT_DATADIR +PYGOBJECT_INCLUDEDIR +PYGOBJECT_LIBS +PYGOBJECT_CFLAGS +GLIB_MKENUMS +GOBJECT_QUERY +GLIB_GENMARSHAL +GLIB_LIBS +GLIB_CFLAGS +PKG_CONFIG +THREADING_CFLAGS +ENABLE_DOCS_FALSE +ENABLE_DOCS_TRUE +XSLTPROC +PYTHON_INCLUDES +pkgpyexecdir +pyexecdir +pkgpythondir +pythondir +PYTHON_PLATFORM +PYTHON_EXEC_PREFIX +PYTHON_PREFIX +PYTHON_VERSION +PYTHON +CPP +OTOOL64 +OTOOL +LIPO +NMEDIT +DSYMUTIL +lt_ECHO +RANLIB +AR +LN_S +NM +ac_ct_DUMPBIN +DUMPBIN +LD +FGREP +EGREP +GREP +SED +LIBTOOL +OBJDUMP +DLLTOOL +AS +OS_WIN32_FALSE +OS_WIN32_TRUE +PLATFORM_WIN32_FALSE +PLATFORM_WIN32_TRUE +host_os +host_vendor +host_cpu +host +build_os +build_vendor +build_cpu +build +am__fastdepCC_FALSE +am__fastdepCC_TRUE +CCDEPMODE +AMDEPBACKSLASH +AMDEP_FALSE +AMDEP_TRUE +am__quote +am__include +DEPDIR +OBJEXT +EXEEXT +ac_ct_CC +CPPFLAGS +LDFLAGS +CFLAGS +CC +am__untar +am__tar +AMTAR +am__leading_dot +SET_MAKE +AWK +mkdir_p +MKDIR_P +INSTALL_STRIP_PROGRAM +STRIP +install_sh +MAKEINFO +AUTOHEADER +AUTOMAKE +AUTOCONF +ACLOCAL +VERSION +PACKAGE +CYGPATH_W +am__isrc +INSTALL_DATA +INSTALL_SCRIPT +INSTALL_PROGRAM +PYGTK_MICRO_VERSION +PYGTK_MINOR_VERSION +PYGTK_MAJOR_VERSION +ACLOCAL_AMFLAGS +target_alias +host_alias build_alias -host_alias -target_alias -ACLOCAL_AMFLAGS -PYGTK_MAJOR_VERSION -PYGTK_MINOR_VERSION -PYGTK_MICRO_VERSION -INSTALL_PROGRAM -INSTALL_SCRIPT -INSTALL_DATA -CYGPATH_W -PACKAGE -VERSION -ACLOCAL -AUTOCONF -AUTOMAKE -AUTOHEADER -MAKEINFO -install_sh -STRIP -INSTALL_STRIP_PROGRAM -mkdir_p -AWK -SET_MAKE -am__leading_dot -AMTAR -am__tar -am__untar -CC -CFLAGS -LDFLAGS -CPPFLAGS -ac_ct_CC -EXEEXT -OBJEXT -DEPDIR -am__include -am__quote -AMDEP_TRUE -AMDEP_FALSE -AMDEPBACKSLASH -CCDEPMODE -am__fastdepCC_TRUE -am__fastdepCC_FALSE -build -build_cpu -build_vendor -build_os -host -host_cpu -host_vendor -host_os -PLATFORM_WIN32_TRUE -PLATFORM_WIN32_FALSE -OS_WIN32_TRUE -OS_WIN32_FALSE -AS -DLLTOOL -OBJDUMP -LIBTOOL -SED -GREP -EGREP -FGREP -LD -DUMPBIN -ac_ct_DUMPBIN -NM -LN_S -AR -RANLIB -lt_ECHO -DSYMUTIL -NMEDIT -LIPO -OTOOL -OTOOL64 -CPP -PYTHON -PYTHON_VERSION -PYTHON_PREFIX -PYTHON_EXEC_PREFIX -PYTHON_PLATFORM -pythondir -pkgpythondir -pyexecdir -pkgpyexecdir -PYTHON_INCLUDES -XSLTPROC -ENABLE_DOCS_TRUE -ENABLE_DOCS_FALSE -THREADING_CFLAGS -PKG_CONFIG -GLIB_CFLAGS -GLIB_LIBS -GLIB_GENMARSHAL -GOBJECT_QUERY -GLIB_MKENUMS -PYGOBJECT_CFLAGS -PYGOBJECT_LIBS -PYGOBJECT_INCLUDEDIR -PYGOBJECT_DATADIR -PYGOBJECT_FIXXREF -PYGOBJECT_PYGDOCS -ATK_CFLAGS -ATK_LIBS -BUILD_ATK_TRUE -BUILD_ATK_FALSE -PANGO_CFLAGS -PANGO_LIBS -BUILD_PANGO_TRUE -BUILD_PANGO_FALSE -CODEGENDIR -PYGTK_CODEGEN_DEFINES -PYCAIRO_CFLAGS -PYCAIRO_LIBS -PANGOCAIRO_CFLAGS -PANGOCAIRO_LIBS -BUILD_PANGOCAIRO_TRUE -BUILD_PANGOCAIRO_FALSE -GTK_CFLAGS -GTK_LIBS -BUILD_GTK_TRUE -BUILD_GTK_FALSE -GTK210_CFLAGS -GTK210_LIBS -HAVE_GTK_2_10_TRUE -HAVE_GTK_2_10_FALSE -HAVE_GTK_2_10 -GTK212_CFLAGS -GTK212_LIBS -HAVE_GTK_2_12_TRUE -HAVE_GTK_2_12_FALSE -HAVE_GTK_2_12 -GTK214_CFLAGS -GTK214_LIBS -HAVE_GTK_2_14_TRUE -HAVE_GTK_2_14_FALSE -HAVE_GTK_2_14 -LIBGLADE_CFLAGS -LIBGLADE_LIBS -BUILD_LIBGLADE_TRUE -BUILD_LIBGLADE_FALSE -GTKUNIXPRINT_CFLAGS -GTKUNIXPRINT_LIBS -BUILD_GTKUNIXPRINT_TRUE -BUILD_GTKUNIXPRINT_FALSE -LIBOBJS -LTLIBOBJS' -ac_subst_files='' - ac_precious_vars='build_alias +LIBS +ECHO_T +ECHO_N +ECHO_C +DEFS +mandir +localedir +libdir +psdir +pdfdir +dvidir +htmldir +infodir +docdir +oldincludedir +includedir +localstatedir +sharedstatedir +sysconfdir +datadir +datarootdir +libexecdir +sbindir +bindir +program_transform_name +prefix +exec_prefix +PACKAGE_BUGREPORT +PACKAGE_STRING +PACKAGE_VERSION +PACKAGE_TARNAME +PACKAGE_NAME +PATH_SEPARATOR +SHELL' +ac_subst_files='' +ac_user_opts=' +enable_option_checking +enable_dependency_tracking +enable_static +enable_shared +with_pic +enable_fast_install +with_gnu_ld +enable_libtool_lock +enable_thread +enable_docs +enable_glibtest +enable_numpy +' + ac_precious_vars='build_alias host_alias target_alias CC @@ -976,6 +1022,8 @@ GTK212_LIBS GTK214_CFLAGS GTK214_LIBS +GTK216_CFLAGS +GTK216_LIBS LIBGLADE_CFLAGS LIBGLADE_LIBS GTKUNIXPRINT_CFLAGS @@ -985,6 +1033,8 @@ # Initialize some variables set by options. ac_init_help= ac_init_version=false +ac_unrecognized_opts= +ac_unrecognized_sep= # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null @@ -1083,13 +1133,21 @@ datarootdir=$ac_optarg ;; -disable-* | --disable-*) - ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. - expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && - { echo "$as_me: error: invalid feature name: $ac_feature" >&2 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 { (exit 1); exit 1; }; } - ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` - eval enable_$ac_feature=no ;; + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"enable_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval enable_$ac_useropt=no ;; -docdir | --docdir | --docdi | --doc | --do) ac_prev=docdir ;; @@ -1102,13 +1160,21 @@ dvidir=$ac_optarg ;; -enable-* | --enable-*) - ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. - expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && - { echo "$as_me: error: invalid feature name: $ac_feature" >&2 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 { (exit 1); exit 1; }; } - ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` - eval enable_$ac_feature=\$ac_optarg ;; + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"enable_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval enable_$ac_useropt=\$ac_optarg ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ @@ -1299,22 +1365,38 @@ ac_init_version=: ;; -with-* | --with-*) - ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. - expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && - { echo "$as_me: error: invalid package name: $ac_package" >&2 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 { (exit 1); exit 1; }; } - ac_package=`echo $ac_package | sed 's/[-.]/_/g'` - eval with_$ac_package=\$ac_optarg ;; + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"with_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval with_$ac_useropt=\$ac_optarg ;; -without-* | --without-*) - ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. - expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && - { echo "$as_me: error: invalid package name: $ac_package" >&2 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 { (exit 1); exit 1; }; } - ac_package=`echo $ac_package | sed 's/[-.]/_/g'` - eval with_$ac_package=no ;; + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"with_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval with_$ac_useropt=no ;; --x) # Obsolete; use --with-x. @@ -1334,7 +1416,7 @@ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; - -*) { echo "$as_me: error: unrecognized option: $ac_option + -*) { $as_echo "$as_me: error: unrecognized option: $ac_option Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } ;; @@ -1343,16 +1425,16 @@ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && - { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 + { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 { (exit 1); exit 1; }; } eval $ac_envvar=\$ac_optarg export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. - echo "$as_me: WARNING: you should use --build, --host, --target" >&2 + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && - echo "$as_me: WARNING: invalid host type: $ac_option" >&2 + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} ;; @@ -1361,22 +1443,38 @@ if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` - { echo "$as_me: error: missing argument to $ac_option" >&2 + { $as_echo "$as_me: error: missing argument to $ac_option" >&2 { (exit 1); exit 1; }; } fi -# Be sure to have absolute directory names. +if test -n "$ac_unrecognized_opts"; then + case $enable_option_checking in + no) ;; + fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 + { (exit 1); exit 1; }; } ;; + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; + esac +fi + +# Check all directory arguments for consistency. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ libdir localedir mandir do eval ac_val=\$$ac_var + # Remove trailing slashes. + case $ac_val in + */ ) + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` + eval $ac_var=\$ac_val;; + esac + # Be sure to have absolute directory names. case $ac_val in [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac - { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 + { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; } done @@ -1391,7 +1489,7 @@ if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe - echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. + $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used." >&2 elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes @@ -1407,10 +1505,10 @@ ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || - { echo "$as_me: error: Working directory cannot be determined" >&2 + { $as_echo "$as_me: error: working directory cannot be determined" >&2 { (exit 1); exit 1; }; } test "X$ac_ls_di" = "X$ac_pwd_ls_di" || - { echo "$as_me: error: pwd does not report name of working directory" >&2 + { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 { (exit 1); exit 1; }; } @@ -1418,12 +1516,12 @@ if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then the parent directory. - ac_confdir=`$as_dirname -- "$0" || -$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$0" : 'X\(//\)[^/]' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || -echo X"$0" | + ac_confdir=`$as_dirname -- "$as_myself" || +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_myself" : 'X\(//\)[^/]' \| \ + X"$as_myself" : 'X\(//\)$' \| \ + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_myself" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -1450,12 +1548,12 @@ fi if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 + { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 { (exit 1); exit 1; }; } fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( - cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 + cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 { (exit 1); exit 1; }; } pwd)` # When building in place, set srcdir=. @@ -1482,7 +1580,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures pygtk 2.14.1 to adapt to many kinds of systems. +\`configure' configures pygtk 2.15.1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1504,9 +1602,9 @@ Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX - [$ac_default_prefix] + [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX - [PREFIX] + [PREFIX] By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify @@ -1516,25 +1614,25 @@ For better control, use the options below. Fine tuning of the installation directories: - --bindir=DIR user executables [EPREFIX/bin] - --sbindir=DIR system admin executables [EPREFIX/sbin] - --libexecdir=DIR program executables [EPREFIX/libexec] - --sysconfdir=DIR read-only single-machine data [PREFIX/etc] - --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] - --localstatedir=DIR modifiable single-machine data [PREFIX/var] - --libdir=DIR object code libraries [EPREFIX/lib] - --includedir=DIR C header files [PREFIX/include] - --oldincludedir=DIR C header files for non-gcc [/usr/include] - --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] - --datadir=DIR read-only architecture-independent data [DATAROOTDIR] - --infodir=DIR info documentation [DATAROOTDIR/info] - --localedir=DIR locale-dependent data [DATAROOTDIR/locale] - --mandir=DIR man documentation [DATAROOTDIR/man] - --docdir=DIR documentation root [DATAROOTDIR/doc/pygtk] - --htmldir=DIR html documentation [DOCDIR] - --dvidir=DIR dvi documentation [DOCDIR] - --pdfdir=DIR pdf documentation [DOCDIR] - --psdir=DIR ps documentation [DOCDIR] + --bindir=DIR user executables [EPREFIX/bin] + --sbindir=DIR system admin executables [EPREFIX/sbin] + --libexecdir=DIR program executables [EPREFIX/libexec] + --sysconfdir=DIR read-only single-machine data [PREFIX/etc] + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] + --localstatedir=DIR modifiable single-machine data [PREFIX/var] + --libdir=DIR object code libraries [EPREFIX/lib] + --includedir=DIR C header files [PREFIX/include] + --oldincludedir=DIR C header files for non-gcc [/usr/include] + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] + --datadir=DIR read-only architecture-independent data [DATAROOTDIR] + --infodir=DIR info documentation [DATAROOTDIR/info] + --localedir=DIR locale-dependent data [DATAROOTDIR/locale] + --mandir=DIR man documentation [DATAROOTDIR/man] + --docdir=DIR documentation root [DATAROOTDIR/doc/pygtk] + --htmldir=DIR html documentation [DOCDIR] + --dvidir=DIR dvi documentation [DOCDIR] + --pdfdir=DIR pdf documentation [DOCDIR] + --psdir=DIR ps documentation [DOCDIR] _ACEOF cat <<\_ACEOF @@ -1552,11 +1650,12 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of pygtk 2.14.1:";; + short | recursive ) echo "Configuration of pygtk 2.15.1:";; esac cat <<\_ACEOF Optional Features: + --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --disable-dependency-tracking speeds up one-time build @@ -1616,6 +1715,9 @@ GTK214_CFLAGS C compiler flags for GTK214, overriding pkg-config GTK214_LIBS linker flags for GTK214, overriding pkg-config + GTK216_CFLAGS + C compiler flags for GTK216, overriding pkg-config + GTK216_LIBS linker flags for GTK216, overriding pkg-config LIBGLADE_CFLAGS C compiler flags for LIBGLADE, overriding pkg-config LIBGLADE_LIBS @@ -1636,15 +1738,17 @@ if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue - test -d "$ac_dir" || continue + test -d "$ac_dir" || + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || + continue ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; @@ -1680,7 +1784,7 @@ echo && $SHELL "$ac_srcdir/configure" --help=recursive else - echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi || ac_status=$? cd "$ac_pwd" || { ac_status=$?; break; } done @@ -1689,11 +1793,11 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -pygtk configure 2.14.1 -generated by GNU Autoconf 2.61 +pygtk configure 2.15.1 +generated by GNU Autoconf 2.63 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, -2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. +2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF @@ -1703,8 +1807,8 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by pygtk $as_me 2.14.1, which was -generated by GNU Autoconf 2.61. Invocation command line was +It was created by pygtk $as_me 2.15.1, which was +generated by GNU Autoconf 2.63. Invocation command line was $ $0 $@ @@ -1740,7 +1844,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - echo "PATH: $as_dir" + $as_echo "PATH: $as_dir" done IFS=$as_save_IFS @@ -1775,7 +1879,7 @@ | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) - ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; @@ -1827,11 +1931,12 @@ case $ac_val in #( *${as_nl}*) case $ac_var in #( - *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 -echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; + *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) $as_unset $ac_var ;; esac ;; esac @@ -1861,9 +1966,9 @@ do eval ac_val=\$$ac_var case $ac_val in - *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac - echo "$ac_var='\''$ac_val'\''" + $as_echo "$ac_var='\''$ac_val'\''" done | sort echo @@ -1878,9 +1983,9 @@ do eval ac_val=\$$ac_var case $ac_val in - *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac - echo "$ac_var='\''$ac_val'\''" + $as_echo "$ac_var='\''$ac_val'\''" done | sort echo fi @@ -1896,8 +2001,8 @@ echo fi test "$ac_signal" != 0 && - echo "$as_me: caught signal $ac_signal" - echo "$as_me: exit $exit_status" + $as_echo "$as_me: caught signal $ac_signal" + $as_echo "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && @@ -1939,21 +2044,24 @@ # Let the site file select an alternate cache file if it wants to. -# Prefer explicitly selected file to automatically selected ones. +# Prefer an explicitly selected file to automatically selected ones. +ac_site_file1=NONE +ac_site_file2=NONE if test -n "$CONFIG_SITE"; then - set x "$CONFIG_SITE" + ac_site_file1=$CONFIG_SITE elif test "x$prefix" != xNONE; then - set x "$prefix/share/config.site" "$prefix/etc/config.site" + ac_site_file1=$prefix/share/config.site + ac_site_file2=$prefix/etc/config.site else - set x "$ac_default_prefix/share/config.site" \ - "$ac_default_prefix/etc/config.site" + ac_site_file1=$ac_default_prefix/share/config.site + ac_site_file2=$ac_default_prefix/etc/config.site fi -shift -for ac_site_file +for ac_site_file in "$ac_site_file1" "$ac_site_file2" do + test "x$ac_site_file" = xNONE && continue if test -r "$ac_site_file"; then - { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 -echo "$as_me: loading site script $ac_site_file" >&6;} + { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 +$as_echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" fi @@ -1963,16 +2071,16 @@ # Some versions of bash will fail to source /dev/null (special # files actually), so we avoid doing that. if test -f "$cache_file"; then - { echo "$as_me:$LINENO: loading cache $cache_file" >&5 -echo "$as_me: loading cache $cache_file" >&6;} + { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 +$as_echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else - { echo "$as_me:$LINENO: creating cache $cache_file" >&5 -echo "$as_me: creating cache $cache_file" >&6;} + { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 +$as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi @@ -1986,29 +2094,38 @@ eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) - { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 -echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} + { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) - { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 -echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} + { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then - { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 -echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} - { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 -echo "$as_me: former value: $ac_old_val" >&2;} - { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 -echo "$as_me: current value: $ac_new_val" >&2;} - ac_cache_corrupted=: + # differences in whitespace do not lead to failure. + ac_old_val_w=`echo x $ac_old_val` + ac_new_val_w=`echo x $ac_new_val` + if test "$ac_old_val_w" != "$ac_new_val_w"; then + { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} + ac_cache_corrupted=: + else + { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} + eval $ac_var=\$ac_old_val + fi + { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} + { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in - *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in @@ -2018,10 +2135,12 @@ fi done if $ac_cache_corrupted; then - { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 -echo "$as_me: error: changes in the environment can compromise the build" >&2;} - { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 -echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} + { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} + { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 +$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} { (exit 1); exit 1; }; } fi @@ -2068,10 +2187,10 @@ cat >>confdefs.h <<\_ACEOF -#define PYGTK_MINOR_VERSION 14 +#define PYGTK_MINOR_VERSION 15 _ACEOF -PYGTK_MINOR_VERSION=14 +PYGTK_MINOR_VERSION=15 cat >>confdefs.h <<\_ACEOF @@ -2085,7 +2204,8 @@ ac_config_headers="$ac_config_headers config.h" -am__api_version="1.9" +am__api_version='1.10' + ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do if test -f "$ac_dir/install-sh"; then @@ -2103,8 +2223,8 @@ fi done if test -z "$ac_aux_dir"; then - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 -echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} + { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 +$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} { (exit 1); exit 1; }; } fi @@ -2130,11 +2250,12 @@ # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. -{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } +# Reject install programs that cannot install multiple files. +{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 +$as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then if test "${ac_cv_path_install+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH @@ -2163,17 +2284,29 @@ # program-specific install script used by HP pwplus--don't use. : else - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" - break 3 + rm -rf conftest.one conftest.two conftest.dir + echo one > conftest.one + echo two > conftest.two + mkdir conftest.dir + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && + test -s conftest.one && test -s conftest.two && + test -s conftest.dir/conftest.one && + test -s conftest.dir/conftest.two + then + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" + break 3 + fi fi fi done done ;; esac + done IFS=$as_save_IFS +rm -rf conftest.one conftest.two conftest.dir fi if test "${ac_cv_path_install+set}" = set; then @@ -2186,8 +2319,8 @@ INSTALL=$ac_install_sh fi fi -{ echo "$as_me:$LINENO: result: $INSTALL" >&5 -echo "${ECHO_T}$INSTALL" >&6; } +{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 +$as_echo "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. @@ -2197,8 +2330,8 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' -{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5 -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5 +$as_echo_n "checking whether build environment is sane... " >&6; } # Just in case sleep 1 echo timestamp > conftest.file @@ -2221,9 +2354,9 @@ # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". - { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken + { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&5 -echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken +$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&2;} { (exit 1); exit 1; }; } fi @@ -2234,26 +2367,23 @@ # Ok. : else - { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! + { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! Check your system clock" >&5 -echo "$as_me: error: newly created file is older than distributed files! +$as_echo "$as_me: error: newly created file is older than distributed files! Check your system clock" >&2;} { (exit 1); exit 1; }; } fi -{ echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6; } +{ $as_echo "$as_me:$LINENO: result: yes" >&5 +$as_echo "yes" >&6; } test "$program_prefix" != NONE && program_transform_name="s&^&$program_prefix&;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s&\$&$program_suffix&;$program_transform_name" -# Double any \ or $. echo might interpret backslashes. +# Double any \ or $. # By default was `s,x,x', remove it if useless. -cat <<\_ACEOF >conftest.sed -s/[\\$]/&&/g;s/;s,x,x,$// -_ACEOF -program_transform_name=`echo $program_transform_name | sed -f conftest.sed` -rm -f conftest.sed +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` @@ -2264,51 +2394,66 @@ am_missing_run="$MISSING --run " else am_missing_run= - { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 -echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} + { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 +$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} fi -if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then - # We used to keeping the `.' as first argument, in order to - # allow $(mkdir_p) to be used without argument. As in - # $(mkdir_p) $(somedir) - # where $(somedir) is conditionally defined. However this is wrong - # for two reasons: - # 1. if the package is installed by a user who cannot write `.' - # make install will fail, - # 2. the above comment should most certainly read - # $(mkdir_p) $(DESTDIR)$(somedir) - # so it does not work when $(somedir) is undefined and - # $(DESTDIR) is not. - # To support the latter case, we have to write - # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), - # so the `.' trick is pointless. - mkdir_p='mkdir -p --' -else - # On NextStep and OpenStep, the `mkdir' command does not - # recognize any option. It will interpret all options as - # directories to create, and then abort because `.' already - # exists. - for d in ./-p ./--version; - do - test -d $d && rmdir $d - done - # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. - if test -f "$ac_aux_dir/mkinstalldirs"; then - mkdir_p='$(mkinstalldirs)' +{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 +$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } +if test -z "$MKDIR_P"; then + if test "${ac_cv_path_mkdir+set}" = set; then + $as_echo_n "(cached) " >&6 +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in mkdir gmkdir; do + for ac_exec_ext in '' $ac_executable_extensions; do + { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue + case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( + 'mkdir (GNU coreutils) '* | \ + 'mkdir (coreutils) '* | \ + 'mkdir (fileutils) '4.1*) + ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext + break 3;; + esac + done + done +done +IFS=$as_save_IFS + +fi + + if test "${ac_cv_path_mkdir+set}" = set; then + MKDIR_P="$ac_cv_path_mkdir -p" else - mkdir_p='$(install_sh) -d' + # As a last resort, use the slow shell script. Don't cache a + # value for MKDIR_P within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the value is a relative name. + test -d ./--version && rmdir ./--version + MKDIR_P="$ac_install_sh -d" fi fi +{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 +$as_echo "$MKDIR_P" >&6; } + +mkdir_p="$MKDIR_P" +case $mkdir_p in + [\\/$]* | ?:[\\/]*) ;; + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; +esac for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_AWK+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. @@ -2321,7 +2466,7 @@ for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_AWK="$ac_prog" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -2332,22 +2477,23 @@ fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then - { echo "$as_me:$LINENO: result: $AWK" >&5 -echo "${ECHO_T}$AWK" >&6; } + { $as_echo "$as_me:$LINENO: result: $AWK" >&5 +$as_echo "$AWK" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } fi test -n "$AWK" && break done -{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } -set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` +{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } +set x ${MAKE-make} +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else cat >conftest.make <<\_ACEOF SHELL = /bin/sh @@ -2364,12 +2510,12 @@ rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then - { echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6; } + { $as_echo "$as_me:$LINENO: result: yes" >&5 +$as_echo "yes" >&6; } SET_MAKE= else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi @@ -2382,12 +2528,16 @@ fi rmdir .tst 2>/dev/null -# test to see if srcdir already configured -if test "`cd $srcdir && pwd`" != "`pwd`" && - test -f $srcdir/config.status; then - { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 -echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} +if test "`cd $srcdir && pwd`" != "`pwd`"; then + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output + # is not polluted with repeated "-I." + am__isrc=' -I$(srcdir)' + # test to see if srcdir already configured + if test -f $srcdir/config.status; then + { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 +$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} { (exit 1); exit 1; }; } + fi fi # test whether we have cygpath @@ -2402,7 +2552,7 @@ # Define the identity of the package. PACKAGE='pygtk' - VERSION='2.14.1' + VERSION='2.15.1' cat >>confdefs.h <<_ACEOF @@ -2430,7 +2580,7 @@ MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} -install_sh=${install_sh-"$am_aux_dir/install-sh"} +install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right @@ -2440,10 +2590,10 @@ if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_STRIP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. @@ -2456,7 +2606,7 @@ for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -2467,11 +2617,11 @@ fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then - { echo "$as_me:$LINENO: result: $STRIP" >&5 -echo "${ECHO_T}$STRIP" >&6; } + { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 +$as_echo "$STRIP" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } fi @@ -2480,10 +2630,10 @@ ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. @@ -2496,7 +2646,7 @@ for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_STRIP="strip" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -2507,11 +2657,11 @@ fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then - { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 -echo "${ECHO_T}$ac_ct_STRIP" >&6; } + { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 +$as_echo "$ac_ct_STRIP" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then @@ -2519,12 +2669,8 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&5 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&2;} +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP @@ -2534,7 +2680,7 @@ fi fi -INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" # We need awk for the "check" target. The system "awk" is bad on # some platforms. @@ -2560,8 +2706,8 @@ .PHONY: am__doit END # If we don't find an include directive, just comment out the code. -{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 -echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 +$as_echo_n "checking for style of include used by $am_make... " >&6; } am__include="#" am__quote= _am_result=none @@ -2588,8 +2734,8 @@ fi -{ echo "$as_me:$LINENO: result: $_am_result" >&5 -echo "${ECHO_T}$_am_result" >&6; } +{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5 +$as_echo "$_am_result" >&6; } rm -f confinc confmf # Check whether --enable-dependency-tracking was given. @@ -2601,9 +2747,7 @@ am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' fi - - -if test "x$enable_dependency_tracking" != xno; then + if test "x$enable_dependency_tracking" != xno; then AMDEP_TRUE= AMDEP_FALSE='#' else @@ -2612,7 +2756,6 @@ fi - ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -2621,10 +2764,10 @@ if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. @@ -2637,7 +2780,7 @@ for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}gcc" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -2648,11 +2791,11 @@ fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { echo "$as_me:$LINENO: result: $CC" >&5 -echo "${ECHO_T}$CC" >&6; } + { $as_echo "$as_me:$LINENO: result: $CC" >&5 +$as_echo "$CC" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } fi @@ -2661,10 +2804,10 @@ ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. @@ -2677,7 +2820,7 @@ for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="gcc" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -2688,11 +2831,11 @@ fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 -echo "${ECHO_T}$ac_ct_CC" >&6; } + { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } fi if test "x$ac_ct_CC" = x; then @@ -2700,12 +2843,8 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&5 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&2;} +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC @@ -2718,10 +2857,10 @@ if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. @@ -2734,7 +2873,7 @@ for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}cc" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -2745,11 +2884,11 @@ fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { echo "$as_me:$LINENO: result: $CC" >&5 -echo "${ECHO_T}$CC" >&6; } + { $as_echo "$as_me:$LINENO: result: $CC" >&5 +$as_echo "$CC" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } fi @@ -2758,10 +2897,10 @@ if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. @@ -2779,7 +2918,7 @@ continue fi ac_cv_prog_CC="cc" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -2802,11 +2941,11 @@ fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { echo "$as_me:$LINENO: result: $CC" >&5 -echo "${ECHO_T}$CC" >&6; } + { $as_echo "$as_me:$LINENO: result: $CC" >&5 +$as_echo "$CC" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } fi @@ -2817,10 +2956,10 @@ do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. @@ -2833,7 +2972,7 @@ for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -2844,11 +2983,11 @@ fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { echo "$as_me:$LINENO: result: $CC" >&5 -echo "${ECHO_T}$CC" >&6; } + { $as_echo "$as_me:$LINENO: result: $CC" >&5 +$as_echo "$CC" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } fi @@ -2861,10 +3000,10 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. @@ -2877,7 +3016,7 @@ for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="$ac_prog" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -2888,11 +3027,11 @@ fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 -echo "${ECHO_T}$ac_ct_CC" >&6; } + { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } fi @@ -2904,12 +3043,8 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&5 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&2;} +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC @@ -2919,44 +3054,50 @@ fi -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH +test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&5 -echo "$as_me: error: no acceptable C compiler found in \$PATH +$as_echo "$as_me: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } + { (exit 1); exit 1; }; }; } # Provide some information about the compiler. -echo "$as_me:$LINENO: checking for C compiler version" >&5 -ac_compiler=`set X $ac_compile; echo $2` +$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 +set X $ac_compile +ac_compiler=$2 { (ac_try="$ac_compiler --version >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 (eval "$ac_compiler --version >&5") 2>&5 ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (ac_try="$ac_compiler -v >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 (eval "$ac_compiler -v >&5") 2>&5 ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (ac_try="$ac_compiler -V >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 (eval "$ac_compiler -V >&5") 2>&5 ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } cat >conftest.$ac_ext <<_ACEOF @@ -2975,27 +3116,22 @@ } _ACEOF ac_clean_files_save=$ac_clean_files -ac_clean_files="$ac_clean_files a.out a.exe b.out" +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. -{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } -ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` -# -# List of possible output files, starting from the most likely. -# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) -# only as a last resort. b.out is created by i960 compilers. -ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' -# -# The IRIX 6 linker writes into existing files which may not be -# executable, retaining their permissions. Remove them first so a -# subsequent execution test works. +{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 +$as_echo_n "checking for C compiler default output file name... " >&6; } +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` + +# The possible output files: +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" + ac_rmfiles= for ac_file in $ac_files do case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; * ) ac_rmfiles="$ac_rmfiles $ac_file";; esac done @@ -3006,10 +3142,11 @@ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 (eval "$ac_link_default") 2>&5 ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' @@ -3020,7 +3157,7 @@ do test -f "$ac_file" || continue case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; [ab].out ) # We found the default executable, but exeext='' is most @@ -3047,25 +3184,27 @@ ac_file='' fi -{ echo "$as_me:$LINENO: result: $ac_file" >&5 -echo "${ECHO_T}$ac_file" >&6; } +{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5 +$as_echo "$ac_file" >&6; } if test -z "$ac_file"; then - echo "$as_me: failed program was:" >&5 + $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -{ { echo "$as_me:$LINENO: error: C compiler cannot create executables +{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables See \`config.log' for more details." >&5 -echo "$as_me: error: C compiler cannot create executables +$as_echo "$as_me: error: C compiler cannot create executables See \`config.log' for more details." >&2;} - { (exit 77); exit 77; }; } + { (exit 77); exit 77; }; }; } fi ac_exeext=$ac_cv_exeext # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. -{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 +$as_echo_n "checking whether the C compiler works... " >&6; } # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 # If not cross compiling, check that we can run a simple program. if test "$cross_compiling" != yes; then @@ -3074,49 +3213,53 @@ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 (eval "$ac_try") 2>&5 ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else - { { echo "$as_me:$LINENO: error: cannot run C compiled programs. + { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&5 -echo "$as_me: error: cannot run C compiled programs. +$as_echo "$as_me: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } + { (exit 1); exit 1; }; }; } fi fi fi -{ echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6; } +{ $as_echo "$as_me:$LINENO: result: yes" >&5 +$as_echo "yes" >&6; } -rm -f a.out a.exe conftest$ac_cv_exeext b.out +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. -{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } -{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 -echo "${ECHO_T}$cross_compiling" >&6; } +{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 +$as_echo_n "checking whether we are cross compiling... " >&6; } +{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 +$as_echo "$cross_compiling" >&6; } -{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 +$as_echo_n "checking for suffix of executables... " >&6; } if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>&5 ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will @@ -3125,31 +3268,33 @@ for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` break;; * ) break;; esac done else - { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link + { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&5 -echo "$as_me: error: cannot compute suffix of executables: cannot compile and link +$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } + { (exit 1); exit 1; }; }; } fi rm -f conftest$ac_cv_exeext -{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 -echo "${ECHO_T}$ac_cv_exeext" >&6; } +{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 +$as_echo "$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT -{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 +$as_echo_n "checking for suffix of object files... " >&6; } if test "${ac_cv_objext+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ @@ -3172,40 +3317,43 @@ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>&5 ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then for ac_file in conftest.o conftest.obj conftest.*; do test -f "$ac_file" || continue; case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else - echo "$as_me: failed program was:" >&5 + $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile +{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&5 -echo "$as_me: error: cannot compute suffix of object files: cannot compile +$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } + { (exit 1); exit 1; }; }; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi -{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 -echo "${ECHO_T}$ac_cv_objext" >&6; } +{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 +$as_echo "$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT -{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } if test "${ac_cv_c_compiler_gnu+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ @@ -3231,20 +3379,21 @@ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_compiler_gnu=yes else - echo "$as_me: failed program was:" >&5 + $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_compiler_gnu=no @@ -3254,15 +3403,19 @@ ac_cv_c_compiler_gnu=$ac_compiler_gnu fi -{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } -GCC=`test $ac_compiler_gnu = yes && echo yes` +{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 +$as_echo "$ac_cv_c_compiler_gnu" >&6; } +if test $ac_compiler_gnu = yes; then + GCC=yes +else + GCC= +fi ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS -{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 +$as_echo_n "checking whether $CC accepts -g... " >&6; } if test "${ac_cv_prog_cc_g+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes @@ -3289,20 +3442,21 @@ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cc_g=yes else - echo "$as_me: failed program was:" >&5 + $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 CFLAGS="" @@ -3327,20 +3481,21 @@ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : else - echo "$as_me: failed program was:" >&5 + $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_c_werror_flag=$ac_save_c_werror_flag @@ -3366,20 +3521,21 @@ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cc_g=yes else - echo "$as_me: failed program was:" >&5 + $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 @@ -3394,8 +3550,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi -{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } +{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 +$as_echo "$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then @@ -3411,10 +3567,10 @@ CFLAGS= fi fi -{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 -echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } if test "${ac_cv_prog_cc_c89+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC @@ -3485,20 +3641,21 @@ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cc_c89=$ac_arg else - echo "$as_me: failed program was:" >&5 + $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 @@ -3514,15 +3671,15 @@ # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) - { echo "$as_me:$LINENO: result: none needed" >&5 -echo "${ECHO_T}none needed" >&6; } ;; + { $as_echo "$as_me:$LINENO: result: none needed" >&5 +$as_echo "none needed" >&6; } ;; xno) - { echo "$as_me:$LINENO: result: unsupported" >&5 -echo "${ECHO_T}unsupported" >&6; } ;; + { $as_echo "$as_me:$LINENO: result: unsupported" >&5 +$as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" - { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 -echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; + { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; esac @@ -3534,10 +3691,10 @@ depcc="$CC" am_compiler_list= -{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 +$as_echo_n "checking dependency style of $depcc... " >&6; } if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up @@ -3599,6 +3756,7 @@ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then @@ -3624,13 +3782,11 @@ fi fi -{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } +{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type - - -if + if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then am__fastdepCC_TRUE= @@ -3645,11 +3801,11 @@ for ac_func in bind_textdomain_codeset do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -{ echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } +as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 +$as_echo_n "checking for $ac_func... " >&6; } if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ @@ -3702,35 +3858,42 @@ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then eval "$as_ac_var=yes" else - echo "$as_me: failed program was:" >&5 + $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi +rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi -ac_res=`eval echo '${'$as_ac_var'}'` - { echo "$as_me:$LINENO: result: $ac_res" >&5 -echo "${ECHO_T}$ac_res" >&6; } -if test `eval echo '${'$as_ac_var'}'` = yes; then +ac_res=`eval 'as_val=${'$as_ac_var'} + $as_echo "$as_val"'` + { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +as_val=`eval 'as_val=${'$as_ac_var'} + $as_echo "$as_val"'` + if test "x$as_val" = x""yes; then cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi @@ -3741,34 +3904,34 @@ # Make sure we can run config.sub. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || - { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 -echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} + { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 +$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} { (exit 1); exit 1; }; } -{ echo "$as_me:$LINENO: checking build system type" >&5 -echo $ECHO_N "checking build system type... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking build system type" >&5 +$as_echo_n "checking build system type... " >&6; } if test "${ac_cv_build+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else ac_build_alias=$build_alias test "x$ac_build_alias" = x && ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` test "x$ac_build_alias" = x && - { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 -echo "$as_me: error: cannot guess build type; you must specify one" >&2;} + { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 +$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} { (exit 1); exit 1; }; } ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || - { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 -echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} + { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 +$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} { (exit 1); exit 1; }; } fi -{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5 -echo "${ECHO_T}$ac_cv_build" >&6; } +{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 +$as_echo "$ac_cv_build" >&6; } case $ac_cv_build in *-*-*) ;; -*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 -echo "$as_me: error: invalid value of canonical build" >&2;} +*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 +$as_echo "$as_me: error: invalid value of canonical build" >&2;} { (exit 1); exit 1; }; };; esac build=$ac_cv_build @@ -3785,27 +3948,27 @@ case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac -{ echo "$as_me:$LINENO: checking host system type" >&5 -echo $ECHO_N "checking host system type... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking host system type" >&5 +$as_echo_n "checking host system type... " >&6; } if test "${ac_cv_host+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else if test "x$host_alias" = x; then ac_cv_host=$ac_cv_build else ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || - { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 -echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} + { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 +$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} { (exit 1); exit 1; }; } fi fi -{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5 -echo "${ECHO_T}$ac_cv_host" >&6; } +{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 +$as_echo "$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; -*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 -echo "$as_me: error: invalid value of canonical host" >&2;} +*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 +$as_echo "$as_me: error: invalid value of canonical host" >&2;} { (exit 1); exit 1; }; };; esac host=$ac_cv_host @@ -3822,8 +3985,8 @@ case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac -{ echo "$as_me:$LINENO: checking for some Win32 platform" >&5 -echo $ECHO_N "checking for some Win32 platform... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for some Win32 platform" >&5 +$as_echo_n "checking for some Win32 platform... " >&6; } case "$host" in *-*-mingw*|*-*-cygwin*) platform_win32=yes @@ -3832,11 +3995,9 @@ platform_win32=no ;; esac -{ echo "$as_me:$LINENO: result: $platform_win32" >&5 -echo "${ECHO_T}$platform_win32" >&6; } - - -if test "$platform_win32" = "yes"; then +{ $as_echo "$as_me:$LINENO: result: $platform_win32" >&5 +$as_echo "$platform_win32" >&6; } + if test "$platform_win32" = "yes"; then PLATFORM_WIN32_TRUE= PLATFORM_WIN32_FALSE='#' else @@ -3845,8 +4006,8 @@ fi -{ echo "$as_me:$LINENO: checking for native Win32" >&5 -echo $ECHO_N "checking for native Win32... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for native Win32" >&5 +$as_echo_n "checking for native Win32... " >&6; } case "$host" in *-*-mingw*) os_win32=yes @@ -3855,11 +4016,9 @@ os_win32=no ;; esac -{ echo "$as_me:$LINENO: result: $os_win32" >&5 -echo "${ECHO_T}$os_win32" >&6; } - - -if test "$os_win32" = "yes"; then +{ $as_echo "$as_me:$LINENO: result: $os_win32" >&5 +$as_echo "$os_win32" >&6; } + if test "$os_win32" = "yes"; then OS_WIN32_TRUE= OS_WIN32_FALSE='#' else @@ -3905,14 +4064,14 @@ enable_win32_dll=yes case $host in -*-*-cygwin* | *-*-mingw* | *-*-pw32*) +*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*) if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. set dummy ${ac_tool_prefix}as; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_AS+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else if test -n "$AS"; then ac_cv_prog_AS="$AS" # Let the user override the test. @@ -3925,7 +4084,7 @@ for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_AS="${ac_tool_prefix}as" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -3936,11 +4095,11 @@ fi AS=$ac_cv_prog_AS if test -n "$AS"; then - { echo "$as_me:$LINENO: result: $AS" >&5 -echo "${ECHO_T}$AS" >&6; } + { $as_echo "$as_me:$LINENO: result: $AS" >&5 +$as_echo "$AS" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } fi @@ -3949,10 +4108,10 @@ ac_ct_AS=$AS # Extract the first word of "as", so it can be a program name with args. set dummy as; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_AS+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_AS"; then ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. @@ -3965,7 +4124,7 @@ for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_AS="as" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -3976,11 +4135,11 @@ fi ac_ct_AS=$ac_cv_prog_ac_ct_AS if test -n "$ac_ct_AS"; then - { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5 -echo "${ECHO_T}$ac_ct_AS" >&6; } + { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5 +$as_echo "$ac_ct_AS" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } fi if test "x$ac_ct_AS" = x; then @@ -3988,12 +4147,8 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&5 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&2;} +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac AS=$ac_ct_AS @@ -4005,10 +4160,10 @@ if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. set dummy ${ac_tool_prefix}dlltool; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_DLLTOOL+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else if test -n "$DLLTOOL"; then ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. @@ -4021,7 +4176,7 @@ for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -4032,11 +4187,11 @@ fi DLLTOOL=$ac_cv_prog_DLLTOOL if test -n "$DLLTOOL"; then - { echo "$as_me:$LINENO: result: $DLLTOOL" >&5 -echo "${ECHO_T}$DLLTOOL" >&6; } + { $as_echo "$as_me:$LINENO: result: $DLLTOOL" >&5 +$as_echo "$DLLTOOL" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } fi @@ -4045,10 +4200,10 @@ ac_ct_DLLTOOL=$DLLTOOL # Extract the first word of "dlltool", so it can be a program name with args. set dummy dlltool; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DLLTOOL"; then ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. @@ -4061,7 +4216,7 @@ for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_DLLTOOL="dlltool" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -4072,11 +4227,11 @@ fi ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL if test -n "$ac_ct_DLLTOOL"; then - { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5 -echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; } + { $as_echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5 +$as_echo "$ac_ct_DLLTOOL" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } fi if test "x$ac_ct_DLLTOOL" = x; then @@ -4084,12 +4239,8 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&5 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&2;} +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac DLLTOOL=$ac_ct_DLLTOOL @@ -4101,10 +4252,10 @@ if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. set dummy ${ac_tool_prefix}objdump; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_OBJDUMP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else if test -n "$OBJDUMP"; then ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. @@ -4117,7 +4268,7 @@ for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -4128,11 +4279,11 @@ fi OBJDUMP=$ac_cv_prog_OBJDUMP if test -n "$OBJDUMP"; then - { echo "$as_me:$LINENO: result: $OBJDUMP" >&5 -echo "${ECHO_T}$OBJDUMP" >&6; } + { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5 +$as_echo "$OBJDUMP" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } fi @@ -4141,10 +4292,10 @@ ac_ct_OBJDUMP=$OBJDUMP # Extract the first word of "objdump", so it can be a program name with args. set dummy objdump; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OBJDUMP"; then ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. @@ -4157,7 +4308,7 @@ for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_OBJDUMP="objdump" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -4168,11 +4319,11 @@ fi ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP if test -n "$ac_ct_OBJDUMP"; then - { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 -echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; } + { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 +$as_echo "$ac_ct_OBJDUMP" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } fi if test "x$ac_ct_OBJDUMP" = x; then @@ -4180,12 +4331,8 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&5 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&2;} +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OBJDUMP=$ac_ct_OBJDUMP @@ -4219,14 +4366,14 @@ case `pwd` in *\ * | *\ *) - { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 -echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; + { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 +$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; esac -macro_version='2.2.4' -macro_revision='1.2976' +macro_version='2.2.6' +macro_revision='1.3012' @@ -4242,48 +4389,43 @@ ltmain="$ac_aux_dir/ltmain.sh" -{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 -echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 +$as_echo_n "checking for a sed that does not truncate output... " >&6; } if test "${ac_cv_path_SED+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ for ac_i in 1 2 3 4 5 6 7; do ac_script="$ac_script$as_nl$ac_script" done - echo "$ac_script" | sed 99q >conftest.sed + echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed $as_unset ac_script || ac_script= - # Extract the first word of "sed gsed" to use in msg output -if test -z "$SED"; then -set dummy sed gsed; ac_prog_name=$2 -if test "${ac_cv_path_SED+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else + if test -z "$SED"; then ac_path_SED_found=false -# Loop through the user's path and test for each of PROGNAME-LIST -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in sed gsed; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue - # Check for GNU ac_path_SED and select it if it is found. + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" + { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue +# Check for GNU ac_path_SED and select it if it is found. # Check for GNU $ac_path_SED case `"$ac_path_SED" --version 2>&1` in *GNU*) ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; *) ac_count=0 - echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" + $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" - echo '' >> "conftest.nl" + $as_echo '' >> "conftest.nl" "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ac_count=`expr $ac_count + 1` @@ -4298,31 +4440,23 @@ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac - - $ac_path_SED_found && break 3 + $ac_path_SED_found && break 3 + done done done - -done IFS=$as_save_IFS - - -fi - -SED="$ac_cv_path_SED" -if test -z "$SED"; then - { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5 -echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;} + if test -z "$ac_cv_path_SED"; then + { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5 +$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;} { (exit 1); exit 1; }; } -fi - + fi else ac_cv_path_SED=$SED fi fi -{ echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5 -echo "${ECHO_T}$ac_cv_path_SED" >&6; } +{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5 +$as_echo "$ac_cv_path_SED" >&6; } SED="$ac_cv_path_SED" rm -f conftest.sed @@ -4339,42 +4473,37 @@ -{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 -echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 +$as_echo_n "checking for grep that handles long lines and -e... " >&6; } if test "${ac_cv_path_GREP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - # Extract the first word of "grep ggrep" to use in msg output -if test -z "$GREP"; then -set dummy grep ggrep; ac_prog_name=$2 -if test "${ac_cv_path_GREP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else + if test -z "$GREP"; then ac_path_GREP_found=false -# Loop through the user's path and test for each of PROGNAME-LIST -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in grep ggrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue - # Check for GNU ac_path_GREP and select it if it is found. + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue +# Check for GNU ac_path_GREP and select it if it is found. # Check for GNU $ac_path_GREP case `"$ac_path_GREP" --version 2>&1` in *GNU*) ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; *) ac_count=0 - echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" + $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" - echo 'GREP' >> "conftest.nl" + $as_echo 'GREP' >> "conftest.nl" "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ac_count=`expr $ac_count + 1` @@ -4389,74 +4518,60 @@ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac - - $ac_path_GREP_found && break 3 + $ac_path_GREP_found && break 3 + done done done - -done IFS=$as_save_IFS - - -fi - -GREP="$ac_cv_path_GREP" -if test -z "$GREP"; then - { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 -echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} + if test -z "$ac_cv_path_GREP"; then + { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 +$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} { (exit 1); exit 1; }; } -fi - + fi else ac_cv_path_GREP=$GREP fi - fi -{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 -echo "${ECHO_T}$ac_cv_path_GREP" >&6; } +{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 +$as_echo "$ac_cv_path_GREP" >&6; } GREP="$ac_cv_path_GREP" -{ echo "$as_me:$LINENO: checking for egrep" >&5 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for egrep" >&5 +$as_echo_n "checking for egrep... " >&6; } if test "${ac_cv_path_EGREP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 then ac_cv_path_EGREP="$GREP -E" else - # Extract the first word of "egrep" to use in msg output -if test -z "$EGREP"; then -set dummy egrep; ac_prog_name=$2 -if test "${ac_cv_path_EGREP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else + if test -z "$EGREP"; then ac_path_EGREP_found=false -# Loop through the user's path and test for each of PROGNAME-LIST -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in egrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue - # Check for GNU ac_path_EGREP and select it if it is found. + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue +# Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU $ac_path_EGREP case `"$ac_path_EGREP" --version 2>&1` in *GNU*) ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; *) ac_count=0 - echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" + $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" - echo 'EGREP' >> "conftest.nl" + $as_echo 'EGREP' >> "conftest.nl" "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ac_count=`expr $ac_count + 1` @@ -4471,75 +4586,61 @@ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac - - $ac_path_EGREP_found && break 3 + $ac_path_EGREP_found && break 3 + done done done - -done IFS=$as_save_IFS - - -fi - -EGREP="$ac_cv_path_EGREP" -if test -z "$EGREP"; then - { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 -echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} + if test -z "$ac_cv_path_EGREP"; then + { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 +$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} { (exit 1); exit 1; }; } -fi - + fi else ac_cv_path_EGREP=$EGREP fi - fi fi -{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 -echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } +{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 +$as_echo "$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_EGREP" -{ echo "$as_me:$LINENO: checking for fgrep" >&5 -echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5 +$as_echo_n "checking for fgrep... " >&6; } if test "${ac_cv_path_FGREP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 then ac_cv_path_FGREP="$GREP -F" else - # Extract the first word of "fgrep" to use in msg output -if test -z "$FGREP"; then -set dummy fgrep; ac_prog_name=$2 -if test "${ac_cv_path_FGREP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else + if test -z "$FGREP"; then ac_path_FGREP_found=false -# Loop through the user's path and test for each of PROGNAME-LIST -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in fgrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue - # Check for GNU ac_path_FGREP and select it if it is found. + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" + { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue +# Check for GNU ac_path_FGREP and select it if it is found. # Check for GNU $ac_path_FGREP case `"$ac_path_FGREP" --version 2>&1` in *GNU*) ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; *) ac_count=0 - echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" + $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" - echo 'FGREP' >> "conftest.nl" + $as_echo 'FGREP' >> "conftest.nl" "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ac_count=`expr $ac_count + 1` @@ -4554,33 +4655,24 @@ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac - - $ac_path_FGREP_found && break 3 + $ac_path_FGREP_found && break 3 + done done done - -done IFS=$as_save_IFS - - -fi - -FGREP="$ac_cv_path_FGREP" -if test -z "$FGREP"; then - { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 -echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} + if test -z "$ac_cv_path_FGREP"; then + { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 +$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} { (exit 1); exit 1; }; } -fi - + fi else ac_cv_path_FGREP=$FGREP fi - fi fi -{ echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5 -echo "${ECHO_T}$ac_cv_path_FGREP" >&6; } +{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5 +$as_echo "$ac_cv_path_FGREP" >&6; } FGREP="$ac_cv_path_FGREP" @@ -4614,8 +4706,8 @@ ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. - { echo "$as_me:$LINENO: checking for ld used by $CC" >&5 -echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; } + { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5 +$as_echo_n "checking for ld used by $CC... " >&6; } case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw @@ -4644,14 +4736,14 @@ ;; esac elif test "$with_gnu_ld" = yes; then - { echo "$as_me:$LINENO: checking for GNU ld" >&5 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; } + { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5 +$as_echo_n "checking for GNU ld... " >&6; } else - { echo "$as_me:$LINENO: checking for non-GNU ld" >&5 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; } + { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5 +$as_echo_n "checking for non-GNU ld... " >&6; } fi if test "${lt_cv_path_LD+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else if test -z "$LD"; then lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR @@ -4681,19 +4773,19 @@ LD="$lt_cv_path_LD" if test -n "$LD"; then - { echo "$as_me:$LINENO: result: $LD" >&5 -echo "${ECHO_T}$LD" >&6; } + { $as_echo "$as_me:$LINENO: result: $LD" >&5 +$as_echo "$LD" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } fi -test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 -echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} +test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 +$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} { (exit 1); exit 1; }; } -{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } if test "${lt_cv_prog_gnu_ld+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else # I'd rather use --version here, but apparently some GNU lds only accept -v. case `$LD -v 2>&1 &5 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; } +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 +$as_echo "$lt_cv_prog_gnu_ld" >&6; } with_gnu_ld=$lt_cv_prog_gnu_ld @@ -4717,10 +4809,10 @@ -{ echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5 -echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5 +$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } if test "${lt_cv_path_NM+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else if test -n "$NM"; then # Let the user override the test. @@ -4766,8 +4858,8 @@ : ${lt_cv_path_NM=no} fi fi -{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 -echo "${ECHO_T}$lt_cv_path_NM" >&6; } +{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 +$as_echo "$lt_cv_path_NM" >&6; } if test "$lt_cv_path_NM" != "no"; then NM="$lt_cv_path_NM" else @@ -4777,10 +4869,10 @@ do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_DUMPBIN+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else if test -n "$DUMPBIN"; then ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. @@ -4793,7 +4885,7 @@ for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -4804,11 +4896,11 @@ fi DUMPBIN=$ac_cv_prog_DUMPBIN if test -n "$DUMPBIN"; then - { echo "$as_me:$LINENO: result: $DUMPBIN" >&5 -echo "${ECHO_T}$DUMPBIN" >&6; } + { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5 +$as_echo "$DUMPBIN" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } fi @@ -4821,10 +4913,10 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DUMPBIN"; then ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. @@ -4837,7 +4929,7 @@ for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -4848,11 +4940,11 @@ fi ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN if test -n "$ac_ct_DUMPBIN"; then - { echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5 -echo "${ECHO_T}$ac_ct_DUMPBIN" >&6; } + { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5 +$as_echo "$ac_ct_DUMPBIN" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } fi @@ -4864,12 +4956,8 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&5 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&2;} +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac DUMPBIN=$ac_ct_DUMPBIN @@ -4888,45 +4976,45 @@ -{ echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5 -echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5 +$as_echo_n "checking the name lister ($NM) interface... " >&6; } if test "${lt_cv_nm_interface+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else lt_cv_nm_interface="BSD nm" echo "int some_variable = 0;" > conftest.$ac_ext - (eval echo "\"\$as_me:4898: $ac_compile\"" >&5) + (eval echo "\"\$as_me:4986: $ac_compile\"" >&5) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&5 - (eval echo "\"\$as_me:4901: $NM \\\"conftest.$ac_objext\\\"\"" >&5) + (eval echo "\"\$as_me:4989: $NM \\\"conftest.$ac_objext\\\"\"" >&5) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&5 - (eval echo "\"\$as_me:4904: output\"" >&5) + (eval echo "\"\$as_me:4992: output\"" >&5) cat conftest.out >&5 if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" fi rm -f conftest* fi -{ echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5 -echo "${ECHO_T}$lt_cv_nm_interface" >&6; } +{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5 +$as_echo "$lt_cv_nm_interface" >&6; } -{ echo "$as_me:$LINENO: checking whether ln -s works" >&5 -echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 +$as_echo_n "checking whether ln -s works... " >&6; } LN_S=$as_ln_s if test "$LN_S" = "ln -s"; then - { echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6; } + { $as_echo "$as_me:$LINENO: result: yes" >&5 +$as_echo "yes" >&6; } else - { echo "$as_me:$LINENO: result: no, using $LN_S" >&5 -echo "${ECHO_T}no, using $LN_S" >&6; } + { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 +$as_echo "no, using $LN_S" >&6; } fi # find the maximum length of command line arguments -{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 -echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 +$as_echo_n "checking the maximum length of command line arguments... " >&6; } if test "${lt_cv_sys_max_cmd_len+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else i=0 teststring="ABCD" @@ -4947,7 +5035,7 @@ lt_cv_sys_max_cmd_len=-1; ;; - cygwin* | mingw*) + cygwin* | mingw* | cegcc*) # On Win9x/ME, this test blows up -- it succeeds, but takes # about 5 minutes as the teststring grows exponentially. # Worse, since 9x/ME are not pre-emptively multitasking, @@ -5043,11 +5131,11 @@ fi if test -n $lt_cv_sys_max_cmd_len ; then - { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 -echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; } + { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 +$as_echo "$lt_cv_sys_max_cmd_len" >&6; } else - { echo "$as_me:$LINENO: result: none" >&5 -echo "${ECHO_T}none" >&6; } + { $as_echo "$as_me:$LINENO: result: none" >&5 +$as_echo "none" >&6; } fi max_cmd_len=$lt_cv_sys_max_cmd_len @@ -5060,8 +5148,8 @@ : ${MV="mv -f"} : ${RM="rm -f"} -{ echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5 -echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5 +$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } # Try some XSI features xsi_shell=no ( _lt_dummy="a/b/c" @@ -5070,18 +5158,18 @@ && eval 'test $(( 1 + 1 )) -eq 2 \ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ && xsi_shell=yes -{ echo "$as_me:$LINENO: result: $xsi_shell" >&5 -echo "${ECHO_T}$xsi_shell" >&6; } +{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5 +$as_echo "$xsi_shell" >&6; } -{ echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5 -echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5 +$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } lt_shell_append=no ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ >/dev/null 2>&1 \ && lt_shell_append=yes -{ echo "$as_me:$LINENO: result: $lt_shell_append" >&5 -echo "${ECHO_T}$lt_shell_append" >&6; } +{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5 +$as_echo "$lt_shell_append" >&6; } if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then @@ -5115,15 +5203,15 @@ -{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 -echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 +$as_echo_n "checking for $LD option to reload object files... " >&6; } if test "${lt_cv_ld_reload_flag+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else lt_cv_ld_reload_flag='-r' fi -{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 -echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; } +{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 +$as_echo "$lt_cv_ld_reload_flag" >&6; } reload_flag=$lt_cv_ld_reload_flag case $reload_flag in "" | " "*) ;; @@ -5148,11 +5236,109 @@ +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. +set dummy ${ac_tool_prefix}objdump; ac_word=$2 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_OBJDUMP+set}" = set; then + $as_echo_n "(cached) " >&6 +else + if test -n "$OBJDUMP"; then + ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +OBJDUMP=$ac_cv_prog_OBJDUMP +if test -n "$OBJDUMP"; then + { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5 +$as_echo "$OBJDUMP" >&6; } +else + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_OBJDUMP"; then + ac_ct_OBJDUMP=$OBJDUMP + # Extract the first word of "objdump", so it can be a program name with args. +set dummy objdump; ac_word=$2 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_OBJDUMP"; then + ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_OBJDUMP="objdump" + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP +if test -n "$ac_ct_OBJDUMP"; then + { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 +$as_echo "$ac_ct_OBJDUMP" >&6; } +else + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_OBJDUMP" = x; then + OBJDUMP="false" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + OBJDUMP=$ac_ct_OBJDUMP + fi +else + OBJDUMP="$ac_cv_prog_OBJDUMP" +fi + +test -z "$OBJDUMP" && OBJDUMP=objdump + + + + + -{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5 -echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5 +$as_echo_n "checking how to recognize dependent libraries... " >&6; } if test "${lt_cv_deplibs_check_method+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= @@ -5202,6 +5388,12 @@ fi ;; +cegcc) + # use the weaker test based on 'objdump'. See mingw*. + lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' + lt_cv_file_magic_cmd='$OBJDUMP -f' + ;; + darwin* | rhapsody*) lt_cv_deplibs_check_method=pass_all ;; @@ -5339,8 +5531,8 @@ esac fi -{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 -echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; } +{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 +$as_echo "$lt_cv_deplibs_check_method" >&6; } file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method test -z "$deplibs_check_method" && deplibs_check_method=unknown @@ -5359,10 +5551,10 @@ if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. set dummy ${ac_tool_prefix}ar; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_AR+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else if test -n "$AR"; then ac_cv_prog_AR="$AR" # Let the user override the test. @@ -5375,7 +5567,7 @@ for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_AR="${ac_tool_prefix}ar" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -5386,11 +5578,11 @@ fi AR=$ac_cv_prog_AR if test -n "$AR"; then - { echo "$as_me:$LINENO: result: $AR" >&5 -echo "${ECHO_T}$AR" >&6; } + { $as_echo "$as_me:$LINENO: result: $AR" >&5 +$as_echo "$AR" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } fi @@ -5399,10 +5591,10 @@ ac_ct_AR=$AR # Extract the first word of "ar", so it can be a program name with args. set dummy ar; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_AR+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_AR"; then ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. @@ -5415,7 +5607,7 @@ for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_AR="ar" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -5426,11 +5618,11 @@ fi ac_ct_AR=$ac_cv_prog_ac_ct_AR if test -n "$ac_ct_AR"; then - { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 -echo "${ECHO_T}$ac_ct_AR" >&6; } + { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 +$as_echo "$ac_ct_AR" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } fi if test "x$ac_ct_AR" = x; then @@ -5438,12 +5630,8 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&5 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&2;} +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac AR=$ac_ct_AR @@ -5468,10 +5656,10 @@ if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_STRIP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. @@ -5484,7 +5672,7 @@ for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -5495,11 +5683,11 @@ fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then - { echo "$as_me:$LINENO: result: $STRIP" >&5 -echo "${ECHO_T}$STRIP" >&6; } + { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 +$as_echo "$STRIP" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } fi @@ -5508,10 +5696,10 @@ ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. @@ -5524,7 +5712,7 @@ for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_STRIP="strip" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -5535,11 +5723,11 @@ fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then - { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 -echo "${ECHO_T}$ac_ct_STRIP" >&6; } + { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 +$as_echo "$ac_ct_STRIP" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then @@ -5547,12 +5735,8 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&5 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&2;} +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP @@ -5571,10 +5755,10 @@ if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_RANLIB+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. @@ -5587,7 +5771,7 @@ for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -5598,11 +5782,11 @@ fi RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then - { echo "$as_me:$LINENO: result: $RANLIB" >&5 -echo "${ECHO_T}$RANLIB" >&6; } + { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 +$as_echo "$RANLIB" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } fi @@ -5611,10 +5795,10 @@ ac_ct_RANLIB=$RANLIB # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_RANLIB"; then ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. @@ -5627,7 +5811,7 @@ for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_RANLIB="ranlib" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -5638,11 +5822,11 @@ fi ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB if test -n "$ac_ct_RANLIB"; then - { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 -echo "${ECHO_T}$ac_ct_RANLIB" >&6; } + { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 +$as_echo "$ac_ct_RANLIB" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } fi if test "x$ac_ct_RANLIB" = x; then @@ -5650,12 +5834,8 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&5 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&2;} +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac RANLIB=$ac_ct_RANLIB @@ -5732,10 +5912,10 @@ # Check for command to grab the raw symbol name followed by C symbol from nm. -{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 -echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 +$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else # These are sane defaults that work on at least a few old systems. @@ -5752,7 +5932,7 @@ aix*) symcode='[BCDT]' ;; -cygwin* | mingw* | pw32*) +cygwin* | mingw* | pw32* | cegcc*) symcode='[ABCDGISTW]' ;; hpux*) @@ -5853,14 +6033,14 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # Now try to grab the symbols. nlist=conftest.nm if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then @@ -5917,7 +6097,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s conftest${ac_exeext}; then pipe_works=yes fi @@ -5952,11 +6132,11 @@ lt_cv_sys_global_symbol_to_cdecl= fi if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then - { echo "$as_me:$LINENO: result: failed" >&5 -echo "${ECHO_T}failed" >&6; } + { $as_echo "$as_me:$LINENO: result: failed" >&5 +$as_echo "failed" >&6; } else - { echo "$as_me:$LINENO: result: ok" >&5 -echo "${ECHO_T}ok" >&6; } + { $as_echo "$as_me:$LINENO: result: ok" >&5 +$as_echo "ok" >&6; } fi @@ -5996,7 +6176,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then case `/usr/bin/file conftest.$ac_objext` in *ELF-32*) @@ -6011,11 +6191,11 @@ ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 6014 "configure"' > conftest.$ac_ext + echo '#line 6194 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then if test "$lt_cv_prog_gnu_ld" = yes; then case `/usr/bin/file conftest.$ac_objext` in @@ -6053,7 +6233,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then case `/usr/bin/file conftest.o` in *32-bit*) @@ -6103,10 +6283,10 @@ # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -belf" - { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; } + { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 +$as_echo_n "checking whether the C compiler needs -belf... " >&6; } if test "${lt_cv_cc_needs_belf+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -6135,26 +6315,30 @@ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then lt_cv_cc_needs_belf=yes else - echo "$as_me: failed program was:" >&5 + $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 lt_cv_cc_needs_belf=no fi +rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext ac_ext=c @@ -6164,8 +6348,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi -{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; } +{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 +$as_echo "$lt_cv_cc_needs_belf" >&6; } if test x"$lt_cv_cc_needs_belf" != x"yes"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf CFLAGS="$SAVE_CFLAGS" @@ -6177,7 +6361,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then case `/usr/bin/file conftest.o` in *64-bit*) @@ -6204,10 +6388,10 @@ if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_DSYMUTIL+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else if test -n "$DSYMUTIL"; then ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. @@ -6220,7 +6404,7 @@ for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -6231,11 +6415,11 @@ fi DSYMUTIL=$ac_cv_prog_DSYMUTIL if test -n "$DSYMUTIL"; then - { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5 -echo "${ECHO_T}$DSYMUTIL" >&6; } + { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5 +$as_echo "$DSYMUTIL" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } fi @@ -6244,10 +6428,10 @@ ac_ct_DSYMUTIL=$DSYMUTIL # Extract the first word of "dsymutil", so it can be a program name with args. set dummy dsymutil; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DSYMUTIL"; then ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. @@ -6260,7 +6444,7 @@ for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -6271,11 +6455,11 @@ fi ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL if test -n "$ac_ct_DSYMUTIL"; then - { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5 -echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; } + { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5 +$as_echo "$ac_ct_DSYMUTIL" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } fi if test "x$ac_ct_DSYMUTIL" = x; then @@ -6283,12 +6467,8 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&5 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&2;} +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac DSYMUTIL=$ac_ct_DSYMUTIL @@ -6300,10 +6480,10 @@ if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. set dummy ${ac_tool_prefix}nmedit; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_NMEDIT+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else if test -n "$NMEDIT"; then ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. @@ -6316,7 +6496,7 @@ for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -6327,11 +6507,11 @@ fi NMEDIT=$ac_cv_prog_NMEDIT if test -n "$NMEDIT"; then - { echo "$as_me:$LINENO: result: $NMEDIT" >&5 -echo "${ECHO_T}$NMEDIT" >&6; } + { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5 +$as_echo "$NMEDIT" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } fi @@ -6340,10 +6520,10 @@ ac_ct_NMEDIT=$NMEDIT # Extract the first word of "nmedit", so it can be a program name with args. set dummy nmedit; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_NMEDIT"; then ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. @@ -6356,7 +6536,7 @@ for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_NMEDIT="nmedit" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -6367,11 +6547,11 @@ fi ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT if test -n "$ac_ct_NMEDIT"; then - { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5 -echo "${ECHO_T}$ac_ct_NMEDIT" >&6; } + { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5 +$as_echo "$ac_ct_NMEDIT" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } fi if test "x$ac_ct_NMEDIT" = x; then @@ -6379,12 +6559,8 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&5 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&2;} +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac NMEDIT=$ac_ct_NMEDIT @@ -6396,10 +6572,10 @@ if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. set dummy ${ac_tool_prefix}lipo; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_LIPO+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else if test -n "$LIPO"; then ac_cv_prog_LIPO="$LIPO" # Let the user override the test. @@ -6412,7 +6588,7 @@ for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_LIPO="${ac_tool_prefix}lipo" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -6423,11 +6599,11 @@ fi LIPO=$ac_cv_prog_LIPO if test -n "$LIPO"; then - { echo "$as_me:$LINENO: result: $LIPO" >&5 -echo "${ECHO_T}$LIPO" >&6; } + { $as_echo "$as_me:$LINENO: result: $LIPO" >&5 +$as_echo "$LIPO" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } fi @@ -6436,10 +6612,10 @@ ac_ct_LIPO=$LIPO # Extract the first word of "lipo", so it can be a program name with args. set dummy lipo; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_LIPO"; then ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. @@ -6452,7 +6628,7 @@ for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_LIPO="lipo" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -6463,11 +6639,11 @@ fi ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO if test -n "$ac_ct_LIPO"; then - { echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5 -echo "${ECHO_T}$ac_ct_LIPO" >&6; } + { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5 +$as_echo "$ac_ct_LIPO" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } fi if test "x$ac_ct_LIPO" = x; then @@ -6475,12 +6651,8 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&5 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&2;} +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac LIPO=$ac_ct_LIPO @@ -6492,10 +6664,10 @@ if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. set dummy ${ac_tool_prefix}otool; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_OTOOL+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else if test -n "$OTOOL"; then ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. @@ -6508,7 +6680,7 @@ for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_OTOOL="${ac_tool_prefix}otool" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -6519,11 +6691,11 @@ fi OTOOL=$ac_cv_prog_OTOOL if test -n "$OTOOL"; then - { echo "$as_me:$LINENO: result: $OTOOL" >&5 -echo "${ECHO_T}$OTOOL" >&6; } + { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5 +$as_echo "$OTOOL" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } fi @@ -6532,10 +6704,10 @@ ac_ct_OTOOL=$OTOOL # Extract the first word of "otool", so it can be a program name with args. set dummy otool; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OTOOL"; then ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. @@ -6548,7 +6720,7 @@ for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_OTOOL="otool" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -6559,11 +6731,11 @@ fi ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL if test -n "$ac_ct_OTOOL"; then - { echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5 -echo "${ECHO_T}$ac_ct_OTOOL" >&6; } + { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5 +$as_echo "$ac_ct_OTOOL" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } fi if test "x$ac_ct_OTOOL" = x; then @@ -6571,12 +6743,8 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&5 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&2;} +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OTOOL=$ac_ct_OTOOL @@ -6588,10 +6756,10 @@ if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. set dummy ${ac_tool_prefix}otool64; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_OTOOL64+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else if test -n "$OTOOL64"; then ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. @@ -6604,7 +6772,7 @@ for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -6615,11 +6783,11 @@ fi OTOOL64=$ac_cv_prog_OTOOL64 if test -n "$OTOOL64"; then - { echo "$as_me:$LINENO: result: $OTOOL64" >&5 -echo "${ECHO_T}$OTOOL64" >&6; } + { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5 +$as_echo "$OTOOL64" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } fi @@ -6628,10 +6796,10 @@ ac_ct_OTOOL64=$OTOOL64 # Extract the first word of "otool64", so it can be a program name with args. set dummy otool64; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OTOOL64"; then ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. @@ -6644,7 +6812,7 @@ for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_OTOOL64="otool64" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -6655,11 +6823,11 @@ fi ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 if test -n "$ac_ct_OTOOL64"; then - { echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5 -echo "${ECHO_T}$ac_ct_OTOOL64" >&6; } + { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5 +$as_echo "$ac_ct_OTOOL64" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } fi if test "x$ac_ct_OTOOL64" = x; then @@ -6667,12 +6835,8 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&5 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&2;} +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OTOOL64=$ac_ct_OTOOL64 @@ -6707,10 +6871,10 @@ - { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5 -echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; } + { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5 +$as_echo_n "checking for -single_module linker flag... " >&6; } if test "${lt_cv_apple_cc_single_mod+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else lt_cv_apple_cc_single_mod=no if test -z "${LT_MULTI_MODULE}"; then @@ -6734,12 +6898,12 @@ rm -f conftest.* fi fi -{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5 -echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; } - { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5 -echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5 +$as_echo "$lt_cv_apple_cc_single_mod" >&6; } + { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5 +$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } if test "${lt_cv_ld_exported_symbols_list+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else lt_cv_ld_exported_symbols_list=no save_LDFLAGS=$LDFLAGS @@ -6766,33 +6930,37 @@ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then lt_cv_ld_exported_symbols_list=yes else - echo "$as_me: failed program was:" >&5 + $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 lt_cv_ld_exported_symbols_list=no fi +rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LDFLAGS="$save_LDFLAGS" fi -{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5 -echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; } +{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5 +$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } case $host_os in rhapsody* | darwin1.[012]) _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; @@ -6833,15 +7001,15 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 +$as_echo_n "checking how to run the C preprocessor... " >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if test "${ac_cv_prog_CPP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" @@ -6873,20 +7041,21 @@ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : else - echo "$as_me: failed program was:" >&5 + $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. @@ -6910,13 +7079,14 @@ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err @@ -6924,7 +7094,7 @@ # Broken: success on invalid input. continue else - echo "$as_me: failed program was:" >&5 + $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. @@ -6949,8 +7119,8 @@ else ac_cv_prog_CPP=$CPP fi -{ echo "$as_me:$LINENO: result: $CPP" >&5 -echo "${ECHO_T}$CPP" >&6; } +{ $as_echo "$as_me:$LINENO: result: $CPP" >&5 +$as_echo "$CPP" >&6; } ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do @@ -6978,20 +7148,21 @@ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : else - echo "$as_me: failed program was:" >&5 + $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. @@ -7015,13 +7186,14 @@ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err @@ -7029,7 +7201,7 @@ # Broken: success on invalid input. continue else - echo "$as_me: failed program was:" >&5 + $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. @@ -7045,11 +7217,13 @@ if $ac_preproc_ok; then : else - { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check + { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&5 -echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check +$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } + { (exit 1); exit 1; }; }; } fi ac_ext=c @@ -7059,10 +7233,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 +$as_echo_n "checking for ANSI C header files... " >&6; } if test "${ac_cv_header_stdc+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ @@ -7089,20 +7263,21 @@ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_header_stdc=yes else - echo "$as_me: failed program was:" >&5 + $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_stdc=no @@ -7194,37 +7369,40 @@ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>&5 ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 (eval "$ac_try") 2>&5 ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else - echo "$as_me: program exited with status $ac_status" >&5 -echo "$as_me: failed program was:" >&5 + $as_echo "$as_me: program exited with status $ac_status" >&5 +$as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_header_stdc=no fi +rm -rf conftest.dSYM rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi fi -{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 -echo "${ECHO_T}$ac_cv_header_stdc" >&6; } +{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 +$as_echo "$ac_cv_header_stdc" >&6; } if test $ac_cv_header_stdc = yes; then cat >>confdefs.h <<\_ACEOF @@ -7246,11 +7424,11 @@ for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h do -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -{ echo "$as_me:$LINENO: checking for $ac_header" >&5 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } +as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 +$as_echo_n "checking for $ac_header... " >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ @@ -7268,20 +7446,21 @@ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then eval "$as_ac_Header=yes" else - echo "$as_me: failed program was:" >&5 + $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_Header=no" @@ -7289,12 +7468,15 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -ac_res=`eval echo '${'$as_ac_Header'}'` - { echo "$as_me:$LINENO: result: $ac_res" >&5 -echo "${ECHO_T}$ac_res" >&6; } -if test `eval echo '${'$as_ac_Header'}'` = yes; then +ac_res=`eval 'as_val=${'$as_ac_Header'} + $as_echo "$as_val"'` + { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +as_val=`eval 'as_val=${'$as_ac_Header'} + $as_echo "$as_val"'` + if test "x$as_val" = x""yes; then cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi @@ -7305,11 +7487,11 @@ for ac_header in dlfcn.h do -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -{ echo "$as_me:$LINENO: checking for $ac_header" >&5 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } +as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 +$as_echo_n "checking for $ac_header... " >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ @@ -7327,20 +7509,21 @@ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then eval "$as_ac_Header=yes" else - echo "$as_me: failed program was:" >&5 + $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_Header=no" @@ -7348,12 +7531,15 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -ac_res=`eval echo '${'$as_ac_Header'}'` - { echo "$as_me:$LINENO: result: $ac_res" >&5 -echo "${ECHO_T}$ac_res" >&6; } -if test `eval echo '${'$as_ac_Header'}'` = yes; then +ac_res=`eval 'as_val=${'$as_ac_Header'} + $as_echo "$as_val"'` + { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +as_val=`eval 'as_val=${'$as_ac_Header'} + $as_echo "$as_val"'` + if test "x$as_val" = x""yes; then cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi @@ -7501,10 +7687,10 @@ setopt NO_GLOB_SUBST fi -{ echo "$as_me:$LINENO: checking for objdir" >&5 -echo $ECHO_N "checking for objdir... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for objdir" >&5 +$as_echo_n "checking for objdir... " >&6; } if test "${lt_cv_objdir+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else rm -f .libs 2>/dev/null mkdir .libs 2>/dev/null @@ -7516,8 +7702,8 @@ fi rmdir .libs 2>/dev/null fi -{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 -echo "${ECHO_T}$lt_cv_objdir" >&6; } +{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 +$as_echo "$lt_cv_objdir" >&6; } objdir=$lt_cv_objdir @@ -7609,10 +7795,10 @@ case $deplibs_check_method in file_magic*) if test "$file_magic_cmd" = '$MAGIC_CMD'; then - { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; } + { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 +$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } if test "${lt_cv_path_MAGIC_CMD+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else case $MAGIC_CMD in [\\/*] | ?:[\\/]*) @@ -7662,11 +7848,11 @@ MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then - { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 -echo "${ECHO_T}$MAGIC_CMD" >&6; } + { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 +$as_echo "$MAGIC_CMD" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } fi @@ -7675,10 +7861,10 @@ if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then - { echo "$as_me:$LINENO: checking for file" >&5 -echo $ECHO_N "checking for file... $ECHO_C" >&6; } + { $as_echo "$as_me:$LINENO: checking for file" >&5 +$as_echo_n "checking for file... " >&6; } if test "${lt_cv_path_MAGIC_CMD+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else case $MAGIC_CMD in [\\/*] | ?:[\\/]*) @@ -7728,11 +7914,11 @@ MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then - { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 -echo "${ECHO_T}$MAGIC_CMD" >&6; } + { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 +$as_echo "$MAGIC_CMD" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } fi @@ -7808,10 +7994,10 @@ if test "$GCC" = yes; then lt_prog_compiler_no_builtin_flag=' -fno-builtin' - { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; } + { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 +$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_rtti_exceptions=no ac_outfile=conftest.$ac_objext @@ -7826,11 +8012,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:7829: $lt_compile\"" >&5) + (eval echo "\"\$as_me:8015: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:7833: \$? = $ac_status" >&5 + echo "$as_me:8019: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -7843,8 +8029,8 @@ $RM conftest* fi -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 -echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; } +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 +$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" @@ -7863,8 +8049,8 @@ lt_prog_compiler_pic= lt_prog_compiler_static= -{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 +$as_echo_n "checking for $compiler option to produce PIC... " >&6; } if test "$GCC" = yes; then lt_prog_compiler_wl='-Wl,' @@ -7898,7 +8084,7 @@ # PIC is the default for these OSes. ;; - mingw* | cygwin* | pw32* | os2*) + mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style @@ -7913,10 +8099,11 @@ ;; hpux*) - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but - # not for PA HP-UX. + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag + # sets the default TLS model and affects inlining. case $host_cpu in - hppa*64*|ia64*) + hppa*64*) # +Z the default ;; *) @@ -7966,7 +8153,7 @@ fi ;; - mingw* | cygwin* | pw32* | os2*) + mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_prog_compiler_pic='-DDLL_EXPORT' @@ -7996,11 +8183,25 @@ linux* | k*bsd*-gnu) case $cc_basename in - icc* | ecc* | ifort*) + # old Intel for x86_64 which still supported -KPIC. + ecc*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-static' ;; + # icc used to be incompatible with GCC. + # ICC 10 doesn't accept -KPIC any more. + icc* | ifort*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fPIC' + lt_prog_compiler_static='-static' + ;; + # Lahey Fortran 8.1. + lf95*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='--shared' + lt_prog_compiler_static='--static' + ;; pgcc* | pgf77* | pgf90* | pgf95*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) @@ -8120,8 +8321,8 @@ lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" ;; esac -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 -echo "${ECHO_T}$lt_prog_compiler_pic" >&6; } +{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 +$as_echo "$lt_prog_compiler_pic" >&6; } @@ -8132,10 +8333,10 @@ # Check to make sure the PIC flag actually works. # if test -n "$lt_prog_compiler_pic"; then - { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; } + { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } if test "${lt_cv_prog_compiler_pic_works+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_pic_works=no ac_outfile=conftest.$ac_objext @@ -8150,11 +8351,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:8153: $lt_compile\"" >&5) + (eval echo "\"\$as_me:8354: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:8157: \$? = $ac_status" >&5 + echo "$as_me:8358: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -8167,8 +8368,8 @@ $RM conftest* fi -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5 -echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; } +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5 +$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } if test x"$lt_cv_prog_compiler_pic_works" = xyes; then case $lt_prog_compiler_pic in @@ -8191,10 +8392,10 @@ # Check to make sure the static flag actually works. # wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" -{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 -echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 +$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } if test "${lt_cv_prog_compiler_static_works+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_static_works=no save_LDFLAGS="$LDFLAGS" @@ -8219,8 +8420,8 @@ LDFLAGS="$save_LDFLAGS" fi -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5 -echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; } +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5 +$as_echo "$lt_cv_prog_compiler_static_works" >&6; } if test x"$lt_cv_prog_compiler_static_works" = xyes; then : @@ -8234,10 +8435,10 @@ - { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } + { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } if test "${lt_cv_prog_compiler_c_o+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_c_o=no $RM -r conftest 2>/dev/null @@ -8255,11 +8456,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:8258: $lt_compile\"" >&5) + (eval echo "\"\$as_me:8459: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:8262: \$? = $ac_status" >&5 + echo "$as_me:8463: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -8281,18 +8482,18 @@ $RM conftest* fi -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; } +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 +$as_echo "$lt_cv_prog_compiler_c_o" >&6; } - { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } + { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } if test "${lt_cv_prog_compiler_c_o+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_c_o=no $RM -r conftest 2>/dev/null @@ -8310,11 +8511,11 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:8313: $lt_compile\"" >&5) + (eval echo "\"\$as_me:8514: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:8317: \$? = $ac_status" >&5 + echo "$as_me:8518: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -8336,8 +8537,8 @@ $RM conftest* fi -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; } +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 +$as_echo "$lt_cv_prog_compiler_c_o" >&6; } @@ -8345,19 +8546,19 @@ hard_links="nottested" if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user - { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } + { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 +$as_echo_n "checking if we can lock with hard links... " >&6; } hard_links=yes $RM conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no - { echo "$as_me:$LINENO: result: $hard_links" >&5 -echo "${ECHO_T}$hard_links" >&6; } + { $as_echo "$as_me:$LINENO: result: $hard_links" >&5 +$as_echo "$hard_links" >&6; } if test "$hard_links" = no; then - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} need_locks=warn fi else @@ -8369,8 +8570,8 @@ - { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } + { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } runpath_var= allow_undefined_flag= @@ -8414,7 +8615,7 @@ extract_expsyms_cmds= case $host_os in - cygwin* | mingw* | pw32*) + cygwin* | mingw* | pw32* | cegcc*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. @@ -8501,7 +8702,7 @@ fi ;; - cygwin* | mingw* | pw32*) + cygwin* | mingw* | pw32* | cegcc*) # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, # as there is no search path for DLLs. hardcode_libdir_flag_spec='-L$libdir' @@ -8567,6 +8768,9 @@ tmp_addflag=' -i_dynamic -nofor_main' ;; ifc* | ifort*) # Intel Fortran compiler tmp_addflag=' -nofor_main' ;; + lf95*) # Lahey Fortran 8.1 + whole_archive_flag_spec= + tmp_sharedflag='--shared' ;; xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) tmp_sharedflag='-qmkshrobj' tmp_addflag= ;; @@ -8799,6 +9003,7 @@ fi fi + export_dynamic_flag_spec='${wl}-bexpall' # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. always_export_symbols=yes @@ -8829,18 +9034,21 @@ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then lt_aix_libpath_sed=' /Import File Strings/,/^$/ { @@ -8855,12 +9063,13 @@ aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi else - echo "$as_me: failed program was:" >&5 + $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi +rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi @@ -8896,18 +9105,21 @@ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then lt_aix_libpath_sed=' /Import File Strings/,/^$/ { @@ -8922,12 +9134,13 @@ aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi else - echo "$as_me: failed program was:" >&5 + $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi +rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi @@ -8965,7 +9178,7 @@ export_dynamic_flag_spec=-rdynamic ;; - cygwin* | mingw* | pw32*) + cygwin* | mingw* | pw32* | cegcc*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is @@ -8996,7 +9209,11 @@ whole_archive_flag_spec='' link_all_deplibs=yes allow_undefined_flag="$_lt_dar_allow_undefined" - if test "$GCC" = "yes"; then + case $cc_basename in + ifort*) _lt_dar_can_shared=yes ;; + *) _lt_dar_can_shared=$GCC ;; + esac + if test "$_lt_dar_can_shared" = "yes"; then output_verbose_link_cmd=echo archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" @@ -9088,7 +9305,7 @@ archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) - archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' @@ -9146,27 +9363,31 @@ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' else - echo "$as_me: failed program was:" >&5 + $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi +rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LDFLAGS="$save_LDFLAGS" @@ -9424,8 +9645,8 @@ fi fi -{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5 -echo "${ECHO_T}$ld_shlibs" >&6; } +{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5 +$as_echo "$ld_shlibs" >&6; } test "$ld_shlibs" = no && can_build_shared=no with_gnu_ld=$with_gnu_ld @@ -9461,15 +9682,15 @@ # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. - { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } + { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } $RM conftest* echo "$lt_simple_compile_test_code" > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } 2>conftest.err; then soname=conftest lib=conftest @@ -9487,7 +9708,7 @@ if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } then archive_cmds_need_lc=no @@ -9499,8 +9720,8 @@ cat conftest.err 1>&5 fi $RM conftest* - { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 -echo "${ECHO_T}$archive_cmds_need_lc" >&6; } + { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 +$as_echo "$archive_cmds_need_lc" >&6; } ;; esac fi @@ -9663,8 +9884,8 @@ - { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } + { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 +$as_echo_n "checking dynamic linker characteristics... " >&6; } if test "$GCC" = yes; then case $host_os in @@ -9826,14 +10047,14 @@ # libtool to hard-code these into programs ;; -cygwin* | mingw* | pw32*) +cygwin* | mingw* | pw32* | cegcc*) version_type=windows shrext_cmds=".dll" need_version=no need_lib_prefix=no case $GCC,$host_os in - yes,cygwin* | yes,mingw* | yes,pw32*) + yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ @@ -9856,7 +10077,7 @@ soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" ;; - mingw*) + mingw* | cegcc*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` @@ -10106,29 +10327,33 @@ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then shlibpath_overrides_runpath=yes fi else - echo "$as_me: failed program was:" >&5 + $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi +rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LDFLAGS=$save_LDFLAGS @@ -10337,7 +10562,7 @@ version_type=linux need_lib_prefix=no need_version=no - library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes @@ -10354,8 +10579,8 @@ dynamic_linker=no ;; esac -{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5 -echo "${ECHO_T}$dynamic_linker" >&6; } +{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5 +$as_echo "$dynamic_linker" >&6; } test "$dynamic_linker" = no && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" @@ -10456,8 +10681,8 @@ - { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } + { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 +$as_echo_n "checking how to hardcode library paths into programs... " >&6; } hardcode_action= if test -n "$hardcode_libdir_flag_spec" || test -n "$runpath_var" || @@ -10481,8 +10706,8 @@ # directories. hardcode_action=unsupported fi -{ echo "$as_me:$LINENO: result: $hardcode_action" >&5 -echo "${ECHO_T}$hardcode_action" >&6; } +{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5 +$as_echo "$hardcode_action" >&6; } if test "$hardcode_action" = relink || test "$inherit_rpath" = yes; then @@ -10514,7 +10739,7 @@ lt_cv_dlopen_self=yes ;; - mingw* | pw32*) + mingw* | pw32* | cegcc*) lt_cv_dlopen="LoadLibrary" lt_cv_dlopen_libs= ;; @@ -10526,10 +10751,10 @@ darwin*) # if libdl is installed we need to link against it - { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } + { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 +$as_echo_n "checking for dlopen in -ldl... " >&6; } if test "${ac_cv_lib_dl_dlopen+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" @@ -10561,33 +10786,37 @@ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then ac_cv_lib_dl_dlopen=yes else - echo "$as_me: failed program was:" >&5 + $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dl_dlopen=no fi +rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } -if test $ac_cv_lib_dl_dlopen = yes; then +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 +$as_echo "$ac_cv_lib_dl_dlopen" >&6; } +if test "x$ac_cv_lib_dl_dlopen" = x""yes; then lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" else @@ -10600,10 +10829,10 @@ ;; *) - { echo "$as_me:$LINENO: checking for shl_load" >&5 -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; } + { $as_echo "$as_me:$LINENO: checking for shl_load" >&5 +$as_echo_n "checking for shl_load... " >&6; } if test "${ac_cv_func_shl_load+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ @@ -10656,38 +10885,42 @@ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then ac_cv_func_shl_load=yes else - echo "$as_me: failed program was:" >&5 + $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_shl_load=no fi +rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi -{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 -echo "${ECHO_T}$ac_cv_func_shl_load" >&6; } -if test $ac_cv_func_shl_load = yes; then +{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 +$as_echo "$ac_cv_func_shl_load" >&6; } +if test "x$ac_cv_func_shl_load" = x""yes; then lt_cv_dlopen="shl_load" else - { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; } + { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 +$as_echo_n "checking for shl_load in -ldld... " >&6; } if test "${ac_cv_lib_dld_shl_load+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" @@ -10719,39 +10952,43 @@ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then ac_cv_lib_dld_shl_load=yes else - echo "$as_me: failed program was:" >&5 + $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dld_shl_load=no fi +rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; } -if test $ac_cv_lib_dld_shl_load = yes; then +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 +$as_echo "$ac_cv_lib_dld_shl_load" >&6; } +if test "x$ac_cv_lib_dld_shl_load" = x""yes; then lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" else - { echo "$as_me:$LINENO: checking for dlopen" >&5 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; } + { $as_echo "$as_me:$LINENO: checking for dlopen" >&5 +$as_echo_n "checking for dlopen... " >&6; } if test "${ac_cv_func_dlopen+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ @@ -10804,38 +11041,42 @@ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then ac_cv_func_dlopen=yes else - echo "$as_me: failed program was:" >&5 + $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_dlopen=no fi +rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi -{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6; } -if test $ac_cv_func_dlopen = yes; then +{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 +$as_echo "$ac_cv_func_dlopen" >&6; } +if test "x$ac_cv_func_dlopen" = x""yes; then lt_cv_dlopen="dlopen" else - { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } + { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 +$as_echo_n "checking for dlopen in -ldl... " >&6; } if test "${ac_cv_lib_dl_dlopen+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" @@ -10867,39 +11108,43 @@ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then ac_cv_lib_dl_dlopen=yes else - echo "$as_me: failed program was:" >&5 + $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dl_dlopen=no fi +rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } -if test $ac_cv_lib_dl_dlopen = yes; then +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 +$as_echo "$ac_cv_lib_dl_dlopen" >&6; } +if test "x$ac_cv_lib_dl_dlopen" = x""yes; then lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" else - { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; } + { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 +$as_echo_n "checking for dlopen in -lsvld... " >&6; } if test "${ac_cv_lib_svld_dlopen+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lsvld $LIBS" @@ -10931,39 +11176,43 @@ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then ac_cv_lib_svld_dlopen=yes else - echo "$as_me: failed program was:" >&5 + $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_svld_dlopen=no fi +rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; } -if test $ac_cv_lib_svld_dlopen = yes; then +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 +$as_echo "$ac_cv_lib_svld_dlopen" >&6; } +if test "x$ac_cv_lib_svld_dlopen" = x""yes; then lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" else - { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; } + { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 +$as_echo_n "checking for dld_link in -ldld... " >&6; } if test "${ac_cv_lib_dld_dld_link+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" @@ -10995,33 +11244,37 @@ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then ac_cv_lib_dld_dld_link=yes else - echo "$as_me: failed program was:" >&5 + $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dld_dld_link=no fi +rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; } -if test $ac_cv_lib_dld_dld_link = yes; then +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 +$as_echo "$ac_cv_lib_dld_dld_link" >&6; } +if test "x$ac_cv_lib_dld_dld_link" = x""yes; then lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" fi @@ -11060,10 +11313,10 @@ save_LIBS="$LIBS" LIBS="$lt_cv_dlopen_libs $LIBS" - { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; } + { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 +$as_echo_n "checking whether a program can dlopen itself... " >&6; } if test "${lt_cv_dlopen_self+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : lt_cv_dlopen_self=cross @@ -11071,7 +11324,7 @@ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11074 "configure" +#line 11327 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11112,10 +11365,6 @@ # endif #endif -#ifdef __cplusplus -extern "C" void exit (int); -#endif - void fnord() { int i=42;} int main () { @@ -11131,13 +11380,13 @@ else puts (dlerror ()); - exit (status); + return status; } _LT_EOF if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) >&5 2>/dev/null lt_status=$? @@ -11155,15 +11404,15 @@ fi -{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 -echo "${ECHO_T}$lt_cv_dlopen_self" >&6; } +{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 +$as_echo "$lt_cv_dlopen_self" >&6; } if test "x$lt_cv_dlopen_self" = xyes; then wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" - { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; } + { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 +$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } if test "${lt_cv_dlopen_self_static+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : lt_cv_dlopen_self_static=cross @@ -11171,7 +11420,7 @@ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11174 "configure" +#line 11423 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11212,10 +11461,6 @@ # endif #endif -#ifdef __cplusplus -extern "C" void exit (int); -#endif - void fnord() { int i=42;} int main () { @@ -11231,13 +11476,13 @@ else puts (dlerror ()); - exit (status); + return status; } _LT_EOF if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) >&5 2>/dev/null lt_status=$? @@ -11255,8 +11500,8 @@ fi -{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; } +{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 +$as_echo "$lt_cv_dlopen_self_static" >&6; } fi CPPFLAGS="$save_CPPFLAGS" @@ -11294,13 +11539,13 @@ striplib= old_striplib= -{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 +$as_echo_n "checking whether stripping libraries is possible... " >&6; } if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" test -z "$striplib" && striplib="$STRIP --strip-unneeded" - { echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6; } + { $as_echo "$as_me:$LINENO: result: yes" >&5 +$as_echo "yes" >&6; } else # FIXME - insert some real tests, host_os isn't really good enough case $host_os in @@ -11308,16 +11553,16 @@ if test -n "$STRIP" ; then striplib="$STRIP -x" old_striplib="$STRIP -S" - { echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6; } + { $as_echo "$as_me:$LINENO: result: yes" >&5 +$as_echo "yes" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } fi ;; *) - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } ;; esac fi @@ -11334,13 +11579,13 @@ # Report which library types will actually be built - { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; } - { echo "$as_me:$LINENO: result: $can_build_shared" >&5 -echo "${ECHO_T}$can_build_shared" >&6; } + { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 +$as_echo_n "checking if libtool supports shared libraries... " >&6; } + { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5 +$as_echo "$can_build_shared" >&6; } - { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; } + { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 +$as_echo_n "checking whether to build shared libraries... " >&6; } test "$can_build_shared" = "no" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and @@ -11360,15 +11605,15 @@ fi ;; esac - { echo "$as_me:$LINENO: result: $enable_shared" >&5 -echo "${ECHO_T}$enable_shared" >&6; } + { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5 +$as_echo "$enable_shared" >&6; } - { echo "$as_me:$LINENO: checking whether to build static libraries" >&5 -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; } + { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5 +$as_echo_n "checking whether to build static libraries... " >&6; } # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes - { echo "$as_me:$LINENO: result: $enable_static" >&5 -echo "${ECHO_T}$enable_static" >&6; } + { $as_echo "$as_me:$LINENO: result: $enable_static" >&5 +$as_echo "$enable_static" >&6; } @@ -11402,6 +11647,1300 @@ # Only expand once: +: ${CONFIG_LT=./config.lt} +{ $as_echo "$as_me:$LINENO: creating $CONFIG_LT" >&5 +$as_echo "$as_me: creating $CONFIG_LT" >&6;} +cat >"$CONFIG_LT" <<_LTEOF +#! $SHELL +# Generated by $as_me. +# Run this file to recreate a libtool stub with the current configuration. + +lt_cl_silent=false +SHELL=\${CONFIG_SHELL-$SHELL} +_LTEOF + +cat >>"$CONFIG_LT" <<\_LTEOF +## --------------------- ## +## M4sh Initialization. ## +## --------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in + *posix*) set -o posix ;; +esac + +fi + + + + +# PATH needs CR +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } +fi + +# Support unset when possible. +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then + as_unset=unset +else + as_unset=false +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +case $0 in + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break +done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + { (exit 1); exit 1; } +fi + +# Work around bugs in pre-3.0 UWIN ksh. +for as_var in ENV MAIL MAILPATH +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# Required to use basename. +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + + +# Name of the executable. +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# CDPATH. +$as_unset CDPATH + + + + as_lineno_1=$LINENO + as_lineno_2=$LINENO + test "x$as_lineno_1" != "x$as_lineno_2" && + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { + + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO + # uniformly replaced by the line number. The first 'sed' inserts a + # line-number line after each line using $LINENO; the second 'sed' + # does the real work. The second script uses 'N' to pair each + # line-number line with the line containing $LINENO, and appends + # trailing '-' during substitution so that $LINENO is not a special + # case at line end. + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the + # scripts with optimization help from Paolo Bonzini. Blame Lee + # E. McMahon (1931-1989) for sed's syntax. :-) + sed -n ' + p + /[$]LINENO/= + ' <$as_myself | + sed ' + s/[$]LINENO.*/&-/ + t lineno + b + :lineno + N + :loop + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ + t loop + s/-\n.*// + ' >$as_me.lineno && + chmod +x "$as_me.lineno" || + { { $as_echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 +$as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} + { (exit 1); exit 1; }; } + + # Don't try to exec as it changes $[0], causing all sort of problems + # (the dirname of $[0] is not the place where we might find the + # original and so on. Autoconf is especially sensitive to this). + . "./$as_me.lineno" + # Exit status is that of the last command. + exit +} + + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in +-n*) + case `echo 'x\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + *) ECHO_C='\c';; + esac;; +*) + ECHO_N='-n';; +esac +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null +fi +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -p'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -p' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -p' + fi +else + as_ln_s='cp -p' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + +if mkdir -p . 2>/dev/null; then + as_mkdir_p=: +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + +if test -x / >/dev/null 2>&1; then + as_test_x='test -x' +else + if ls -dL / >/dev/null 2>&1; then + as_ls_L_option=L + else + as_ls_L_option= + fi + as_test_x=' + eval sh -c '\'' + if test -d "$1"; then + test -d "$1/."; + else + case $1 in + -*)set "./$1";; + esac; + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in + ???[sx]*):;;*)false;;esac;fi + '\'' sh + ' +fi +as_executable_p=$as_test_x + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + + +exec 6>&1 +exec 5>>config.log +{ + echo + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX +## Running $as_me. ## +_ASBOX +} >&5 + +lt_cl_help="\ +\`$as_me' creates a local libtool stub from the current configuration, +for use in further configure time tests before the real libtool is +generated. + +Usage: $0 [OPTIONS] + + -h, --help print this help, then exit + -V, --version print version number, then exit + -q, --quiet do not print progress messages + -d, --debug don't remove temporary files + +Report bugs to ." + +lt_cl_version="\ +pygtk config.lt 2.15.1 +configured by $0, generated by GNU Autoconf 2.63. + +Copyright (C) 2008 Free Software Foundation, Inc. +This config.lt script is free software; the Free Software Foundation +gives unlimited permision to copy, distribute and modify it." + +while test $# != 0 +do + case $1 in + --version | --v* | -V ) + echo "$lt_cl_version"; exit 0 ;; + --help | --h* | -h ) + echo "$lt_cl_help"; exit 0 ;; + --debug | --d* | -d ) + debug=: ;; + --quiet | --q* | --silent | --s* | -q ) + lt_cl_silent=: ;; + + -*) { { $as_echo "$as_me:$LINENO: error: unrecognized option: $1 +Try \`$0 --help' for more information." >&5 +$as_echo "$as_me: error: unrecognized option: $1 +Try \`$0 --help' for more information." >&2;} + { (exit 1); exit 1; }; } ;; + + *) { { $as_echo "$as_me:$LINENO: error: unrecognized argument: $1 +Try \`$0 --help' for more information." >&5 +$as_echo "$as_me: error: unrecognized argument: $1 +Try \`$0 --help' for more information." >&2;} + { (exit 1); exit 1; }; } ;; + esac + shift +done + +if $lt_cl_silent; then + exec 6>/dev/null +fi +_LTEOF + +cat >>"$CONFIG_LT" <<_LTEOF + + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +sed_quote_subst='$sed_quote_subst' +double_quote_subst='$double_quote_subst' +delay_variable_subst='$delay_variable_subst' +enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' +AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`' +DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`' +OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`' +macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' +macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' +enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' +pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' +enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' +host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' +host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`' +host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`' +build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`' +build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`' +build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`' +SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`' +Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`' +GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`' +EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`' +FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`' +LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`' +NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`' +LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`' +max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`' +ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`' +exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`' +lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`' +lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`' +lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`' +reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`' +reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`' +deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`' +file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`' +AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`' +AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`' +STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`' +RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`' +old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' +old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' +old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' +CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`' +CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`' +compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`' +GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' +objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`' +SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`' +ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`' +MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`' +lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`' +lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`' +lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`' +lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`' +lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`' +need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`' +DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`' +NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`' +LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`' +OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`' +OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`' +libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`' +shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`' +extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' +archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`' +enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`' +export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' +whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' +compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`' +old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`' +old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' +archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' +archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' +module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`' +module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' +with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`' +allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' +no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' +hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' +hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`' +hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`' +hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`' +hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`' +hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`' +hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' +hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`' +inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`' +link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`' +fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`' +always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`' +export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`' +exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`' +include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`' +prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`' +file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`' +variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`' +need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' +need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`' +version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`' +runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`' +shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' +shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`' +libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`' +library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`' +soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`' +postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' +postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' +finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`' +finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`' +hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`' +sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`' +sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`' +hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`' +enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`' +enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`' +enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`' +old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`' +striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`' + +LTCC='$LTCC' +LTCFLAGS='$LTCFLAGS' +compiler='$compiler_DEFAULT' + +# Quote evaled strings. +for var in SED \ +GREP \ +EGREP \ +FGREP \ +LD \ +NM \ +LN_S \ +lt_SP2NL \ +lt_NL2SP \ +reload_flag \ +deplibs_check_method \ +file_magic_cmd \ +AR \ +AR_FLAGS \ +STRIP \ +RANLIB \ +CC \ +CFLAGS \ +compiler \ +lt_cv_sys_global_symbol_pipe \ +lt_cv_sys_global_symbol_to_cdecl \ +lt_cv_sys_global_symbol_to_c_name_address \ +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ +SHELL \ +ECHO \ +lt_prog_compiler_no_builtin_flag \ +lt_prog_compiler_wl \ +lt_prog_compiler_pic \ +lt_prog_compiler_static \ +lt_cv_prog_compiler_c_o \ +need_locks \ +DSYMUTIL \ +NMEDIT \ +LIPO \ +OTOOL \ +OTOOL64 \ +shrext_cmds \ +export_dynamic_flag_spec \ +whole_archive_flag_spec \ +compiler_needs_object \ +with_gnu_ld \ +allow_undefined_flag \ +no_undefined_flag \ +hardcode_libdir_flag_spec \ +hardcode_libdir_flag_spec_ld \ +hardcode_libdir_separator \ +fix_srcfile_path \ +exclude_expsyms \ +include_expsyms \ +file_list_spec \ +variables_saved_for_relink \ +libname_spec \ +library_names_spec \ +soname_spec \ +finish_eval \ +old_striplib \ +striplib; do + case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in + *[\\\\\\\`\\"\\\$]*) + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" + ;; + *) + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" + ;; + esac +done + +# Double-quote double-evaled strings. +for var in reload_cmds \ +old_postinstall_cmds \ +old_postuninstall_cmds \ +old_archive_cmds \ +extract_expsyms_cmds \ +old_archive_from_new_cmds \ +old_archive_from_expsyms_cmds \ +archive_cmds \ +archive_expsym_cmds \ +module_cmds \ +module_expsym_cmds \ +export_symbols_cmds \ +prelink_cmds \ +postinstall_cmds \ +postuninstall_cmds \ +finish_cmds \ +sys_lib_search_path_spec \ +sys_lib_dlsearch_path_spec; do + case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in + *[\\\\\\\`\\"\\\$]*) + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" + ;; + *) + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" + ;; + esac +done + +# Fix-up fallback echo if it was mangled by the above quoting rules. +case \$lt_ECHO in +*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\` + ;; +esac + +ac_aux_dir='$ac_aux_dir' +xsi_shell='$xsi_shell' +lt_shell_append='$lt_shell_append' + +# See if we are running on zsh, and set the options which allow our +# commands through without removal of \ escapes INIT. +if test -n "\${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST +fi + + + PACKAGE='$PACKAGE' + VERSION='$VERSION' + TIMESTAMP='$TIMESTAMP' + RM='$RM' + ofile='$ofile' + + + +_LTEOF + +cat >>"$CONFIG_LT" <<\_LTEOF +{ $as_echo "$as_me:$LINENO: creating $ofile" >&5 +$as_echo "$as_me: creating $ofile" >&6;} + + + # See if we are running on zsh, and set the options which allow our + # commands through without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + + cfgfile="${ofile}T" + trap "$RM \"$cfgfile\"; exit 1" 1 2 15 + $RM "$cfgfile" + + cat <<_LT_EOF >> "$cfgfile" +#! $SHELL + +# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. +# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: +# NOTE: Changes made to this file will be lost: look at ltmain.sh. +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, +# 2006, 2007, 2008 Free Software Foundation, Inc. +# Written by Gordon Matzigkeit, 1996 +# +# This file is part of GNU Libtool. +# +# GNU Libtool 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 2 of +# the License, or (at your option) any later version. +# +# As a special exception to the GNU General Public License, +# if you distribute this file as part of a program or library that +# is built using GNU Libtool, you may include this file under the +# same distribution terms that you use for the rest of that program. +# +# GNU Libtool 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 GNU Libtool; see the file COPYING. If not, a copy +# can be downloaded from http://www.gnu.org/licenses/gpl.html, or +# obtained by writing to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + +# The names of the tagged configurations supported by this script. +available_tags="" + +# ### BEGIN LIBTOOL CONFIG + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Assembler program. +AS=$AS + +# DLL creation program. +DLLTOOL=$DLLTOOL + +# Object dumper program. +OBJDUMP=$OBJDUMP + +# Which release of libtool.m4 was used? +macro_version=$macro_version +macro_revision=$macro_revision + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# What type of objects to build. +pic_mode=$pic_mode + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host +host_os=$host_os + +# The build system. +build_alias=$build_alias +build=$build +build_os=$build_os + +# A sed program that does not truncate output. +SED=$lt_SED + +# Sed that helps us avoid accidentally triggering echo(1) options like -n. +Xsed="\$SED -e 1s/^X//" + +# A grep program that handles long lines. +GREP=$lt_GREP + +# An ERE matcher. +EGREP=$lt_EGREP + +# A literal string matcher. +FGREP=$lt_FGREP + +# A BSD- or MS-compatible name lister. +NM=$lt_NM + +# Whether we need soft or hard links. +LN_S=$lt_LN_S + +# What is the maximum length of a command? +max_cmd_len=$max_cmd_len + +# Object file suffix (normally "o"). +objext=$ac_objext + +# Executable file suffix (normally ""). +exeext=$exeext + +# whether the shell understands "unset". +lt_unset=$lt_unset + +# turn spaces into newlines. +SP2NL=$lt_lt_SP2NL + +# turn newlines into spaces. +NL2SP=$lt_lt_NL2SP + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == "file_magic". +file_magic_cmd=$lt_file_magic_cmd + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A symbol stripping program. +STRIP=$lt_STRIP + +# Commands used to install an old-style archive. +RANLIB=$lt_RANLIB +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# A C compiler. +LTCC=$lt_CC + +# LTCC compiler flags. +LTCFLAGS=$lt_CFLAGS + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration. +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair. +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# Transform the output of nm in a C name address pair when lib prefix is needed. +global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# An echo program that does not interpret backslashes. +ECHO=$lt_ECHO + +# Used to examine libraries when file_magic_cmd begins with "file". +MAGIC_CMD=$MAGIC_CMD + +# Must we lock files when doing compilation? +need_locks=$lt_need_locks + +# Tool to manipulate archived DWARF debug symbol files on Mac OS X. +DSYMUTIL=$lt_DSYMUTIL + +# Tool to change global to local symbols on Mac OS X. +NMEDIT=$lt_NMEDIT + +# Tool to manipulate fat objects and archives on Mac OS X. +LIPO=$lt_LIPO + +# ldd/readelf like tool for Mach-O binaries on Mac OS X. +OTOOL=$lt_OTOOL + +# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. +OTOOL64=$lt_OTOOL64 + +# Old archive suffix (normally "a"). +libext=$libext + +# Shared library suffix (normally ".so"). +shrext_cmds=$lt_shrext_cmds + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at link time. +variables_saved_for_relink=$lt_variables_saved_for_relink + +# Do we need the "lib" prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Library versioning type. +version_type=$version_type + +# Shared library runtime path variable. +runpath_var=$runpath_var + +# Shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Command to use after installation of a shared archive. +postinstall_cmds=$lt_postinstall_cmds + +# Command to use after uninstallation of a shared archive. +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# As "finish_cmds", except a single script fragment to be evaled but +# not shown. +finish_eval=$lt_finish_eval + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Compile-time system search path for libraries. +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries. +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + + +# The linker used to build libraries. +LD=$lt_LD + +# Commands used to build an old-style archive. +old_archive_cmds=$lt_old_archive_cmds + +# A language specific compiler. +CC=$lt_compiler + +# Is the compiler the GNU compiler? +with_gcc=$GCC + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc + +# Whether or not to disallow shared libs when runtime libs are static. +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec + +# Whether the compiler copes with passing no objects directly. +compiler_needs_object=$lt_compiler_needs_object + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds + +# Commands used to build a shared archive. +archive_cmds=$lt_archive_cmds +archive_expsym_cmds=$lt_archive_expsym_cmds + +# Commands used to build a loadable module if different from building +# a shared archive. +module_cmds=$lt_module_cmds +module_expsym_cmds=$lt_module_expsym_cmds + +# Whether we are building with GNU ld or not. +with_gnu_ld=$lt_with_gnu_ld + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag + +# Flag that enforces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec + +# If ld is used when linking, flag to hardcode \$libdir into a binary +# during linking. This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld + +# Whether we need a single "-rpath" flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator + +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes +# DIR into the resulting binary. +hardcode_direct=$hardcode_direct + +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes +# DIR into the resulting binary and the resulting library dependency is +# "absolute",i.e impossible to change by setting \${shlibpath_var} if the +# library is relocated. +hardcode_direct_absolute=$hardcode_direct_absolute + +# Set to "yes" if using the -LDIR flag during linking hardcodes DIR +# into the resulting binary. +hardcode_minus_L=$hardcode_minus_L + +# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR +# into the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var + +# Set to "yes" if building a shared library automatically hardcodes DIR +# into the library and all subsequent libraries and executables linked +# against it. +hardcode_automatic=$hardcode_automatic + +# Set to yes if linker adds runtime paths of dependent libraries +# to runtime path list. +inherit_rpath=$inherit_rpath + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path=$lt_fix_srcfile_path + +# Set to "yes" if exported symbols are required. +always_export_symbols=$always_export_symbols + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms + +# Commands necessary for linking programs (against libraries) with templates. +prelink_cmds=$lt_prelink_cmds + +# Specify filename containing input files. +file_list_spec=$lt_file_list_spec + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action + +# ### END LIBTOOL CONFIG + +_LT_EOF + + case $host_os in + aix3*) + cat <<\_LT_EOF >> "$cfgfile" +# AIX sometimes has problems with the GCC collect2 program. For some +# reason, if we set the COLLECT_NAMES environment variable, the problems +# vanish in a puff of smoke. +if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES +fi +_LT_EOF + ;; + esac + + +ltmain="$ac_aux_dir/ltmain.sh" + + + # We use sed instead of cat because bash on DJGPP gets confused if + # if finds mixed CR/LF and LF-only lines. Since sed operates in + # text mode, it properly converts lines to CR/LF. This bash problem + # is reportedly fixed, but why not run on old versions too? + sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ + || (rm -f "$cfgfile"; exit 1) + + case $xsi_shell in + yes) + cat << \_LT_EOF >> "$cfgfile" + +# func_dirname file append nondir_replacement +# Compute the dirname of FILE. If nonempty, add APPEND to the result, +# otherwise set result to NONDIR_REPLACEMENT. +func_dirname () +{ + case ${1} in + */*) func_dirname_result="${1%/*}${2}" ;; + * ) func_dirname_result="${3}" ;; + esac +} + +# func_basename file +func_basename () +{ + func_basename_result="${1##*/}" +} + +# func_dirname_and_basename file append nondir_replacement +# perform func_basename and func_dirname in a single function +# call: +# dirname: Compute the dirname of FILE. If nonempty, +# add APPEND to the result, otherwise set result +# to NONDIR_REPLACEMENT. +# value returned in "$func_dirname_result" +# basename: Compute filename of FILE. +# value retuned in "$func_basename_result" +# Implementation must be kept synchronized with func_dirname +# and func_basename. For efficiency, we do not delegate to +# those functions but instead duplicate the functionality here. +func_dirname_and_basename () +{ + case ${1} in + */*) func_dirname_result="${1%/*}${2}" ;; + * ) func_dirname_result="${3}" ;; + esac + func_basename_result="${1##*/}" +} + +# func_stripname prefix suffix name +# strip PREFIX and SUFFIX off of NAME. +# PREFIX and SUFFIX must not contain globbing or regex special +# characters, hashes, percent signs, but SUFFIX may contain a leading +# dot (in which case that matches only a dot). +func_stripname () +{ + # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are + # positional parameters, so assign one to ordinary parameter first. + func_stripname_result=${3} + func_stripname_result=${func_stripname_result#"${1}"} + func_stripname_result=${func_stripname_result%"${2}"} +} + +# func_opt_split +func_opt_split () +{ + func_opt_split_opt=${1%%=*} + func_opt_split_arg=${1#*=} +} + +# func_lo2o object +func_lo2o () +{ + case ${1} in + *.lo) func_lo2o_result=${1%.lo}.${objext} ;; + *) func_lo2o_result=${1} ;; + esac +} + +# func_xform libobj-or-source +func_xform () +{ + func_xform_result=${1%.*}.lo +} + +# func_arith arithmetic-term... +func_arith () +{ + func_arith_result=$(( $* )) +} + +# func_len string +# STRING may not start with a hyphen. +func_len () +{ + func_len_result=${#1} +} + +_LT_EOF + ;; + *) # Bourne compatible functions. + cat << \_LT_EOF >> "$cfgfile" + +# func_dirname file append nondir_replacement +# Compute the dirname of FILE. If nonempty, add APPEND to the result, +# otherwise set result to NONDIR_REPLACEMENT. +func_dirname () +{ + # Extract subdirectory from the argument. + func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` + if test "X$func_dirname_result" = "X${1}"; then + func_dirname_result="${3}" + else + func_dirname_result="$func_dirname_result${2}" + fi +} + +# func_basename file +func_basename () +{ + func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` +} + + +# func_stripname prefix suffix name +# strip PREFIX and SUFFIX off of NAME. +# PREFIX and SUFFIX must not contain globbing or regex special +# characters, hashes, percent signs, but SUFFIX may contain a leading +# dot (in which case that matches only a dot). +# func_strip_suffix prefix name +func_stripname () +{ + case ${2} in + .*) func_stripname_result=`$ECHO "X${3}" \ + | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; + *) func_stripname_result=`$ECHO "X${3}" \ + | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; + esac +} + +# sed scripts: +my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' +my_sed_long_arg='1s/^-[^=]*=//' + +# func_opt_split +func_opt_split () +{ + func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` + func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` +} + +# func_lo2o object +func_lo2o () +{ + func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` +} + +# func_xform libobj-or-source +func_xform () +{ + func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` +} + +# func_arith arithmetic-term... +func_arith () +{ + func_arith_result=`expr "$@"` +} + +# func_len string +# STRING may not start with a hyphen. +func_len () +{ + func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` +} + +_LT_EOF +esac + +case $lt_shell_append in + yes) + cat << \_LT_EOF >> "$cfgfile" + +# func_append var value +# Append VALUE to the end of shell variable VAR. +func_append () +{ + eval "$1+=\$2" +} +_LT_EOF + ;; + *) + cat << \_LT_EOF >> "$cfgfile" + +# func_append var value +# Append VALUE to the end of shell variable VAR. +func_append () +{ + eval "$1=\$$1\$2" +} + +_LT_EOF + ;; + esac + + + sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ + || (rm -f "$cfgfile"; exit 1) + + mv -f "$cfgfile" "$ofile" || + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") + chmod +x "$ofile" + + +{ (exit 0); exit 0; } +_LTEOF +chmod +x "$CONFIG_LT" + +# configure is writing to config.log, but config.lt does its own redirection, +# appending to config.log, which fails on DOS, as config.log is still kept +# open by configure. Here we exec the FD to /dev/null, effectively closing +# config.log, so it can be properly (re)opened and appended to by config.lt. +if test "$no_create" != yes; then + lt_cl_success=: + test "$silent" = yes && + lt_config_lt_args="$lt_config_lt_args --quiet" + exec 5>/dev/null + $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false + exec 5>>config.log + $lt_cl_success || { (exit 1); exit 1; } +fi + @@ -11409,8 +12948,8 @@ if test -n "$PYTHON"; then # If the user set $PYTHON, use it and don't search something else. - { echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.3.5" >&5 -echo $ECHO_N "checking whether $PYTHON version >= 2.3.5... $ECHO_C" >&6; } + { $as_echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.3.5" >&5 +$as_echo_n "checking whether $PYTHON version >= 2.3.5... " >&6; } prog="import sys, string # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. @@ -11423,11 +12962,11 @@ ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then - { echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6; } + { $as_echo "$as_me:$LINENO: result: yes" >&5 +$as_echo "yes" >&6; } else - { { echo "$as_me:$LINENO: error: too old" >&5 -echo "$as_me: error: too old" >&2;} + { { $as_echo "$as_me:$LINENO: error: too old" >&5 +$as_echo "$as_me: error: too old" >&2;} { (exit 1); exit 1; }; } fi @@ -11435,10 +12974,10 @@ else # Otherwise, try each interpreter until we find one that satisfies # VERSION. - { echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.3.5" >&5 -echo $ECHO_N "checking for a Python interpreter with version >= 2.3.5... $ECHO_C" >&6; } + { $as_echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.3.5" >&5 +$as_echo_n "checking for a Python interpreter with version >= 2.3.5... " >&6; } if test "${am_cv_pathless_PYTHON+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else for am_cv_pathless_PYTHON in python python2 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 none; do @@ -11460,18 +12999,18 @@ done fi -{ echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5 -echo "${ECHO_T}$am_cv_pathless_PYTHON" >&6; } +{ $as_echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5 +$as_echo "$am_cv_pathless_PYTHON" >&6; } # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON. if test "$am_cv_pathless_PYTHON" = none; then PYTHON=: else # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args. set dummy $am_cv_pathless_PYTHON; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_PYTHON+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else case $PYTHON in [\\/]* | ?:[\\/]*) @@ -11486,7 +13025,7 @@ for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -11498,11 +13037,11 @@ fi PYTHON=$ac_cv_path_PYTHON if test -n "$PYTHON"; then - { echo "$as_me:$LINENO: result: $PYTHON" >&5 -echo "${ECHO_T}$PYTHON" >&6; } + { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5 +$as_echo "$PYTHON" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } fi @@ -11512,21 +13051,21 @@ if test "$PYTHON" = :; then - { { echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5 -echo "$as_me: error: no suitable Python interpreter found" >&2;} + { { $as_echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5 +$as_echo "$as_me: error: no suitable Python interpreter found" >&2;} { (exit 1); exit 1; }; } else - { echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5 -echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6; } + { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5 +$as_echo_n "checking for $am_display_PYTHON version... " >&6; } if test "${am_cv_python_version+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"` fi -{ echo "$as_me:$LINENO: result: $am_cv_python_version" >&5 -echo "${ECHO_T}$am_cv_python_version" >&6; } +{ $as_echo "$as_me:$LINENO: result: $am_cv_python_version" >&5 +$as_echo "$am_cv_python_version" >&6; } PYTHON_VERSION=$am_cv_python_version @@ -11537,30 +13076,36 @@ - { echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5 -echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6; } + { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5 +$as_echo_n "checking for $am_display_PYTHON platform... " >&6; } if test "${am_cv_python_platform+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"` fi -{ echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5 -echo "${ECHO_T}$am_cv_python_platform" >&6; } +{ $as_echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5 +$as_echo "$am_cv_python_platform" >&6; } PYTHON_PLATFORM=$am_cv_python_platform - { echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5 -echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6; } + { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5 +$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; } if test "${am_cv_python_pythondir+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else - am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null || + if test "x$prefix" = xNONE + then + py_prefix_arg= + else + py_prefix_arg=",prefix='$prefix'" + fi + am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0$py_prefix_arg)" -n -q install $py_prefix_arg 2>/dev/null || echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"` fi -{ echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5 -echo "${ECHO_T}$am_cv_python_pythondir" >&6; } +{ $as_echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5 +$as_echo "$am_cv_python_pythondir" >&6; } pythondir=$am_cv_python_pythondir @@ -11568,16 +13113,22 @@ pkgpythondir=\${pythondir}/$PACKAGE - { echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5 -echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6; } + { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5 +$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; } if test "${am_cv_python_pyexecdir+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else - am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null || - echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"` + if test "x$exec_prefix" = xNONE + then + py_exec_prefix_arg=$py_prefix_arg + else + py_exec_prefix_arg=",prefix='$exec_prefix'" + fi + am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0$py_exec_prefix_arg)" -n -q install $py_exec_prefix_arg 2>/dev/null || + echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"` fi -{ echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5 -echo "${ECHO_T}$am_cv_python_pyexecdir" >&6; } +{ $as_echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5 +$as_echo "$am_cv_python_pyexecdir" >&6; } pyexecdir=$am_cv_python_pyexecdir @@ -11591,8 +13142,8 @@ -{ echo "$as_me:$LINENO: checking for headers required to compile python extensions" >&5 -echo $ECHO_N "checking for headers required to compile python extensions... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for headers required to compile python extensions" >&5 +$as_echo_n "checking for headers required to compile python extensions... " >&6; } py_prefix=`$PYTHON -c "import sys; print sys.prefix"` py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"` if test -x "$PYTHON-config"; then @@ -11619,28 +13170,29 @@ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then - { echo "$as_me:$LINENO: result: found" >&5 -echo "${ECHO_T}found" >&6; } + { $as_echo "$as_me:$LINENO: result: found" >&5 +$as_echo "found" >&6; } else - echo "$as_me: failed program was:" >&5 + $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 - { echo "$as_me:$LINENO: result: not found" >&5 -echo "${ECHO_T}not found" >&6; } -{ { echo "$as_me:$LINENO: error: could not find Python headers" >&5 -echo "$as_me: error: could not find Python headers" >&2;} + { $as_echo "$as_me:$LINENO: result: not found" >&5 +$as_echo "not found" >&6; } +{ { $as_echo "$as_me:$LINENO: error: could not find Python headers" >&5 +$as_echo "$as_me: error: could not find Python headers" >&2;} { (exit 1); exit 1; }; } fi @@ -11648,8 +13200,8 @@ CPPFLAGS="$save_CPPFLAGS" -{ echo "$as_me:$LINENO: checking for PySignal_SetWakeupFd in Python.h" >&5 -echo $ECHO_N "checking for PySignal_SetWakeupFd in Python.h... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for PySignal_SetWakeupFd in Python.h" >&5 +$as_echo_n "checking for PySignal_SetWakeupFd in Python.h... " >&6; } py_prefix=`$PYTHON -c "import sys; print sys.prefix"` old_CPPFLAGS=$CPPFLAGS CPPFLAGS="-Wall -Werror $PYTHON_INCLUDES" @@ -11674,28 +13226,29 @@ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then setwakeupfd_ok=yes else - echo "$as_me: failed program was:" >&5 + $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 setwakeupfd_ok=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -{ echo "$as_me:$LINENO: result: $setwakeupfd_ok" >&5 -echo "${ECHO_T}$setwakeupfd_ok" >&6; } +{ $as_echo "$as_me:$LINENO: result: $setwakeupfd_ok" >&5 +$as_echo "$setwakeupfd_ok" >&6; } if test "x$setwakeupfd_ok" != xno; then cat >>confdefs.h <<\_ACEOF @@ -11715,10 +13268,10 @@ py_mod_var=`echo thread'_' | sed 'y%./+-%__p_%'` -{ echo "$as_me:$LINENO: checking for python module thread" >&5 -echo $ECHO_N "checking for python module thread... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for python module thread" >&5 +$as_echo_n "checking for python module thread... " >&6; } if { as_var=py_cv_mod_$py_mod_var; eval "test \"\${$as_var+set}\" = set"; }; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else prog=" @@ -11741,11 +13294,11 @@ py_val=`eval "echo \`echo '$py_cv_mod_'$py_mod_var\`"` if test "x$py_val" != xno; then - { echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6; } + { $as_echo "$as_me:$LINENO: result: yes" >&5 +$as_echo "yes" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } enable_thread=no fi @@ -11760,10 +13313,10 @@ if test "${enable_docs}" != no; then # Extract the first word of "xsltproc", so it can be a program name with args. set dummy xsltproc; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_XSLTPROC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else case $XSLTPROC in [\\/]* | ?:[\\/]*) @@ -11778,7 +13331,7 @@ for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -11790,11 +13343,11 @@ fi XSLTPROC=$ac_cv_path_XSLTPROC if test -n "$XSLTPROC"; then - { echo "$as_me:$LINENO: result: $XSLTPROC" >&5 -echo "${ECHO_T}$XSLTPROC" >&6; } + { $as_echo "$as_me:$LINENO: result: $XSLTPROC" >&5 +$as_echo "$XSLTPROC" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } fi @@ -11803,9 +13356,7 @@ fi fi - - -if test x$enable_docs != xno; then + if test x$enable_docs != xno; then ENABLE_DOCS_TRUE= ENABLE_DOCS_FALSE='#' else @@ -11814,18 +13365,18 @@ fi -{ echo "$as_me:$LINENO: checking whether to enable threading in pygtk" >&5 -echo $ECHO_N "checking whether to enable threading in pygtk... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking whether to enable threading in pygtk" >&5 +$as_echo_n "checking whether to enable threading in pygtk... " >&6; } if test "x$enable_thread" != xno; then extra_mods=gthread THREADING_CFLAGS= - { echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6; } + { $as_echo "$as_me:$LINENO: result: yes" >&5 +$as_echo "yes" >&6; } else extra_mods= THREADING_CFLAGS="-DDISABLE_THREADING" - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } fi CPPFLAGS="${CPPFLAGS} $THREADING_CFLAGS" @@ -11868,10 +13419,10 @@ if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_PKG_CONFIG+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in [\\/]* | ?:[\\/]*) @@ -11886,7 +13437,7 @@ for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -11898,11 +13449,11 @@ fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then - { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 -echo "${ECHO_T}$PKG_CONFIG" >&6; } + { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } fi @@ -11911,10 +13462,10 @@ ac_pt_PKG_CONFIG=$PKG_CONFIG # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + $as_echo_n "(cached) " >&6 else case $ac_pt_PKG_CONFIG in [\\/]* | ?:[\\/]*) @@ -11929,7 +13480,7 @@ for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -11941,11 +13492,11 @@ fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then - { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 -echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; } + { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 +$as_echo "$ac_pt_PKG_CONFIG" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } fi if test "x$ac_pt_PKG_CONFIG" = x; then @@ -11953,12 +13504,8 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&5 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&2;} +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac PKG_CONFIG=$ac_pt_PKG_CONFIG @@ -11970,14 +13517,14 @@ fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.16 - { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 -echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; } + { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 +$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then - { echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6; } + { $as_echo "$as_me:$LINENO: result: yes" >&5 +$as_echo "yes" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } PKG_CONFIG="" fi @@ -11991,8 +13538,8 @@ fi min_glib_version=2.8.0 - { echo "$as_me:$LINENO: checking for GLIB - version >= $min_glib_version" >&5 -echo $ECHO_N "checking for GLIB - version >= $min_glib_version... $ECHO_C" >&6; } + { $as_echo "$as_me:$LINENO: checking for GLIB - version >= $min_glib_version" >&5 +$as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; } if test x$PKG_CONFIG != xno ; then ## don't try to run the test against uninstalled libtool libs @@ -12046,8 +13593,9 @@ { int major, minor, micro; char *tmp_version; + int ignored; - system ("touch conf.glibtest"); + ignored = system ("touch conf.glibtest"); /* HP/UX 9 (%@#!) writes to sscanf strings */ tmp_version = g_strdup("$min_glib_version"); @@ -12115,29 +13663,32 @@ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>&5 ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 (eval "$ac_try") 2>&5 ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else - echo "$as_me: program exited with status $ac_status" >&5 -echo "$as_me: failed program was:" >&5 + $as_echo "$as_me: program exited with status $ac_status" >&5 +$as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) no_glib=yes fi +rm -rf conftest.dSYM rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi @@ -12147,12 +13698,12 @@ fi fi if test "x$no_glib" = x ; then - { echo "$as_me:$LINENO: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5 -echo "${ECHO_T}yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; } + { $as_echo "$as_me:$LINENO: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5 +$as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; } : else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } if test "$PKG_CONFIG" = "no" ; then echo "*** A new enough version of pkg-config was not found." echo "*** See http://www.freedesktop.org/software/pkgconfig/" @@ -12189,18 +13740,21 @@ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then echo "*** The test program compiled, but did not run. This usually means" echo "*** that the run-time linker is not finding GLIB or finding the wrong" echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your" @@ -12211,13 +13765,14 @@ echo "*** If you have an old version installed, it is best to remove it, although" echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" else - echo "$as_me: failed program was:" >&5 + $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 echo "*** The test program failed to compile or link. See the file config.log for the" echo "*** exact error that occured. This usually means GLIB is incorrectly installed." fi +rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext CFLAGS="$ac_save_CFLAGS" @@ -12229,8 +13784,8 @@ GLIB_GENMARSHAL="" GOBJECT_QUERY="" GLIB_MKENUMS="" - { { echo "$as_me:$LINENO: error: gobject is required to build pygtk?" >&5 -echo "$as_me: error: gobject is required to build pygtk?" >&2;} + { { $as_echo "$as_me:$LINENO: error: gobject is required to build pygtk?" >&5 +$as_echo "$as_me: error: gobject is required to build pygtk?" >&2;} { (exit 1); exit 1; }; } fi @@ -12246,20 +13801,20 @@ pkg_failed=no -{ echo "$as_me:$LINENO: checking for PYGOBJECT" >&5 -echo $ECHO_N "checking for PYGOBJECT... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for PYGOBJECT" >&5 +$as_echo_n "checking for PYGOBJECT... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$PYGOBJECT_CFLAGS"; then pkg_cv_PYGOBJECT_CFLAGS="$PYGOBJECT_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pygobject-2.0 >= 2.14.0\"") >&5 - ($PKG_CONFIG --exists --print-errors "pygobject-2.0 >= 2.14.0") 2>&5 + { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pygobject-2.0 >= 2.16.1\"") >&5 + ($PKG_CONFIG --exists --print-errors "pygobject-2.0 >= 2.16.1") 2>&5 ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then - pkg_cv_PYGOBJECT_CFLAGS=`$PKG_CONFIG --cflags "pygobject-2.0 >= 2.14.0" 2>/dev/null` + pkg_cv_PYGOBJECT_CFLAGS=`$PKG_CONFIG --cflags "pygobject-2.0 >= 2.16.1" 2>/dev/null` else pkg_failed=yes fi @@ -12272,12 +13827,12 @@ pkg_cv_PYGOBJECT_LIBS="$PYGOBJECT_LIBS" else if test -n "$PKG_CONFIG" && \ - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pygobject-2.0 >= 2.14.0\"") >&5 - ($PKG_CONFIG --exists --print-errors "pygobject-2.0 >= 2.14.0") 2>&5 + { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pygobject-2.0 >= 2.16.1\"") >&5 + ($PKG_CONFIG --exists --print-errors "pygobject-2.0 >= 2.16.1") 2>&5 ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then - pkg_cv_PYGOBJECT_LIBS=`$PKG_CONFIG --libs "pygobject-2.0 >= 2.14.0" 2>/dev/null` + pkg_cv_PYGOBJECT_LIBS=`$PKG_CONFIG --libs "pygobject-2.0 >= 2.16.1" 2>/dev/null` else pkg_failed=yes fi @@ -12296,14 +13851,14 @@ _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - PYGOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pygobject-2.0 >= 2.14.0"` + PYGOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pygobject-2.0 >= 2.16.1"` else - PYGOBJECT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pygobject-2.0 >= 2.14.0"` + PYGOBJECT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pygobject-2.0 >= 2.16.1"` fi # Put the nasty error message in config.log where it belongs echo "$PYGOBJECT_PKG_ERRORS" >&5 - { { echo "$as_me:$LINENO: error: Package requirements (pygobject-2.0 >= 2.14.0) were not met: + { { $as_echo "$as_me:$LINENO: error: Package requirements (pygobject-2.0 >= 2.16.1) were not met: $PYGOBJECT_PKG_ERRORS @@ -12314,7 +13869,7 @@ and PYGOBJECT_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&5 -echo "$as_me: error: Package requirements (pygobject-2.0 >= 2.14.0) were not met: +$as_echo "$as_me: error: Package requirements (pygobject-2.0 >= 2.16.1) were not met: $PYGOBJECT_PKG_ERRORS @@ -12327,7 +13882,9 @@ " >&2;} { (exit 1); exit 1; }; } elif test $pkg_failed = untried; then - { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it + { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. @@ -12337,7 +13894,7 @@ To get pkg-config, see . See \`config.log' for more details." >&5 -echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it +$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. @@ -12347,12 +13904,12 @@ To get pkg-config, see . See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } + { (exit 1); exit 1; }; }; } else PYGOBJECT_CFLAGS=$pkg_cv_PYGOBJECT_CFLAGS PYGOBJECT_LIBS=$pkg_cv_PYGOBJECT_LIBS - { echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6; } + { $as_echo "$as_me:$LINENO: result: yes" >&5 +$as_echo "yes" >&6; } : fi @@ -12362,6 +13919,37 @@ PYGOBJECT_DATADIR=`$PKG_CONFIG --variable=datadir pygobject-2.0` + + +PYGOBJECT_DEFSDIR=`$PKG_CONFIG --variable defsdir pygobject-2.0` + +{ $as_echo "$as_me:$LINENO: checking for gio-types.defs" >&5 +$as_echo_n "checking for gio-types.defs... " >&6; } +if test -n "$PYGOBJECT_DEFSDIR" && test -e "$PYGOBJECT_DEFSDIR/gio-types.defs"; then + if true; then + HAVE_GIO_TYPES_DEFS_TRUE= + HAVE_GIO_TYPES_DEFS_FALSE='#' +else + HAVE_GIO_TYPES_DEFS_TRUE='#' + HAVE_GIO_TYPES_DEFS_FALSE= +fi + + { $as_echo "$as_me:$LINENO: result: $PYGOBJECT_DEFSDIR/gio-types.defs" >&5 +$as_echo "$PYGOBJECT_DEFSDIR/gio-types.defs" >&6; } +else + if false; then + HAVE_GIO_TYPES_DEFS_TRUE= + HAVE_GIO_TYPES_DEFS_FALSE='#' +else + HAVE_GIO_TYPES_DEFS_TRUE='#' + HAVE_GIO_TYPES_DEFS_FALSE= +fi + + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } +fi + + PYGOBJECT_FIXXREF="$PYTHON `$PKG_CONFIG --variable=fixxref pygobject-2.0`" @@ -12370,18 +13958,18 @@ pkg_failed=no -{ echo "$as_me:$LINENO: checking for ATK" >&5 -echo $ECHO_N "checking for ATK... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for ATK" >&5 +$as_echo_n "checking for ATK... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$ATK_CFLAGS"; then pkg_cv_ATK_CFLAGS="$ATK_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"atk >= 1.12.0\"") >&5 + { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"atk >= 1.12.0\"") >&5 ($PKG_CONFIG --exists --print-errors "atk >= 1.12.0") 2>&5 ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_ATK_CFLAGS=`$PKG_CONFIG --cflags "atk >= 1.12.0" 2>/dev/null` else @@ -12396,10 +13984,10 @@ pkg_cv_ATK_LIBS="$ATK_LIBS" else if test -n "$PKG_CONFIG" && \ - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"atk >= 1.12.0\"") >&5 + { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"atk >= 1.12.0\"") >&5 ($PKG_CONFIG --exists --print-errors "atk >= 1.12.0") 2>&5 ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_ATK_LIBS=`$PKG_CONFIG --libs "atk >= 1.12.0" 2>/dev/null` else @@ -12427,23 +14015,21 @@ # Put the nasty error message in config.log where it belongs echo "$ATK_PKG_ERRORS" >&5 - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } have_atk=false elif test $pkg_failed = untried; then have_atk=false else ATK_CFLAGS=$pkg_cv_ATK_CFLAGS ATK_LIBS=$pkg_cv_ATK_LIBS - { echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6; } + { $as_echo "$as_me:$LINENO: result: yes" >&5 +$as_echo "yes" >&6; } have_atk=true fi - - -if $have_atk; then + if $have_atk; then BUILD_ATK_TRUE= BUILD_ATK_FALSE='#' else @@ -12457,18 +14043,18 @@ pkg_failed=no -{ echo "$as_me:$LINENO: checking for PANGO" >&5 -echo $ECHO_N "checking for PANGO... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for PANGO" >&5 +$as_echo_n "checking for PANGO... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$PANGO_CFLAGS"; then pkg_cv_PANGO_CFLAGS="$PANGO_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pango >= 1.16.0\"") >&5 + { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pango >= 1.16.0\"") >&5 ($PKG_CONFIG --exists --print-errors "pango >= 1.16.0") 2>&5 ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_PANGO_CFLAGS=`$PKG_CONFIG --cflags "pango >= 1.16.0" 2>/dev/null` else @@ -12483,10 +14069,10 @@ pkg_cv_PANGO_LIBS="$PANGO_LIBS" else if test -n "$PKG_CONFIG" && \ - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pango >= 1.16.0\"") >&5 + { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pango >= 1.16.0\"") >&5 ($PKG_CONFIG --exists --print-errors "pango >= 1.16.0") 2>&5 ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_PANGO_LIBS=`$PKG_CONFIG --libs "pango >= 1.16.0" 2>/dev/null` else @@ -12514,23 +14100,21 @@ # Put the nasty error message in config.log where it belongs echo "$PANGO_PKG_ERRORS" >&5 - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } have_pango=false elif test $pkg_failed = untried; then have_pango=false else PANGO_CFLAGS=$pkg_cv_PANGO_CFLAGS PANGO_LIBS=$pkg_cv_PANGO_LIBS - { echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6; } + { $as_echo "$as_me:$LINENO: result: yes" >&5 +$as_echo "yes" >&6; } have_pango=true fi - - -if $have_pango; then + if $have_pango; then BUILD_PANGO_TRUE= BUILD_PANGO_FALSE='#' else @@ -12544,17 +14128,17 @@ -{ echo "$as_me:$LINENO: checking for codegen" >&5 -echo $ECHO_N "checking for codegen... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for codegen" >&5 +$as_echo_n "checking for codegen... " >&6; } CODEGENDIR=`$PKG_CONFIG --variable codegendir pygobject-2.0` if test -z $CODEGENDIR; then - { { echo "$as_me:$LINENO: error: unable to find PyGObject codegen" >&5 -echo "$as_me: error: unable to find PyGObject codegen" >&2;} + { { $as_echo "$as_me:$LINENO: error: unable to find PyGObject codegen" >&5 +$as_echo "$as_me: error: unable to find PyGObject codegen" >&2;} { (exit 1); exit 1; }; } else - { echo "$as_me:$LINENO: result: $CODEGENDIR" >&5 -echo "${ECHO_T}$CODEGENDIR" >&6; } + { $as_echo "$as_me:$LINENO: result: $CODEGENDIR" >&5 +$as_echo "$CODEGENDIR" >&6; } fi PYGTK_CODEGEN_DEFINES="" @@ -12563,18 +14147,18 @@ gtk_version="" pkg_failed=no -{ echo "$as_me:$LINENO: checking for PYCAIRO" >&5 -echo $ECHO_N "checking for PYCAIRO... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for PYCAIRO" >&5 +$as_echo_n "checking for PYCAIRO... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$PYCAIRO_CFLAGS"; then pkg_cv_PYCAIRO_CFLAGS="$PYCAIRO_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pycairo >= 1.0.2\"") >&5 + { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pycairo >= 1.0.2\"") >&5 ($PKG_CONFIG --exists --print-errors "pycairo >= 1.0.2") 2>&5 ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_PYCAIRO_CFLAGS=`$PKG_CONFIG --cflags "pycairo >= 1.0.2" 2>/dev/null` else @@ -12589,10 +14173,10 @@ pkg_cv_PYCAIRO_LIBS="$PYCAIRO_LIBS" else if test -n "$PKG_CONFIG" && \ - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pycairo >= 1.0.2\"") >&5 + { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pycairo >= 1.0.2\"") >&5 ($PKG_CONFIG --exists --print-errors "pycairo >= 1.0.2") 2>&5 ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_PYCAIRO_LIBS=`$PKG_CONFIG --libs "pycairo >= 1.0.2" 2>/dev/null` else @@ -12620,16 +14204,16 @@ # Put the nasty error message in config.log where it belongs echo "$PYCAIRO_PKG_ERRORS" >&5 - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } have_pycairo=false elif test $pkg_failed = untried; then have_pycairo=false else PYCAIRO_CFLAGS=$pkg_cv_PYCAIRO_CFLAGS PYCAIRO_LIBS=$pkg_cv_PYCAIRO_LIBS - { echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6; } + { $as_echo "$as_me:$LINENO: result: yes" >&5 +$as_echo "yes" >&6; } have_pycairo=true fi @@ -12660,20 +14244,20 @@ pkg_failed=no -{ echo "$as_me:$LINENO: checking for PANGOCAIRO" >&5 -echo $ECHO_N "checking for PANGOCAIRO... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for PANGOCAIRO" >&5 +$as_echo_n "checking for PANGOCAIRO... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$PANGOCAIRO_CFLAGS"; then pkg_cv_PANGOCAIRO_CFLAGS="$PANGOCAIRO_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangocairo >= 1.16.0, + { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangocairo >= 1.16.0, pycairo >= 1.0.2\"") >&5 ($PKG_CONFIG --exists --print-errors "pangocairo >= 1.16.0, pycairo >= 1.0.2") 2>&5 ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_PANGOCAIRO_CFLAGS=`$PKG_CONFIG --cflags "pangocairo >= 1.16.0, pycairo >= 1.0.2" 2>/dev/null` @@ -12689,12 +14273,12 @@ pkg_cv_PANGOCAIRO_LIBS="$PANGOCAIRO_LIBS" else if test -n "$PKG_CONFIG" && \ - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangocairo >= 1.16.0, + { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangocairo >= 1.16.0, pycairo >= 1.0.2\"") >&5 ($PKG_CONFIG --exists --print-errors "pangocairo >= 1.16.0, pycairo >= 1.0.2") 2>&5 ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_PANGOCAIRO_LIBS=`$PKG_CONFIG --libs "pangocairo >= 1.16.0, pycairo >= 1.0.2" 2>/dev/null` @@ -12725,28 +14309,26 @@ # Put the nasty error message in config.log where it belongs echo "$PANGOCAIRO_PKG_ERRORS" >&5 - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } have_pangocairo=false elif test $pkg_failed = untried; then have_pangocairo=false else PANGOCAIRO_CFLAGS=$pkg_cv_PANGOCAIRO_CFLAGS PANGOCAIRO_LIBS=$pkg_cv_PANGOCAIRO_LIBS - { echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6; } + { $as_echo "$as_me:$LINENO: result: yes" >&5 +$as_echo "yes" >&6; } have_pangocairo=true fi if test ! $have_pangocairo then - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } fi - - -if $have_pangocairo; then + if $have_pangocairo; then BUILD_PANGOCAIRO_TRUE= BUILD_PANGOCAIRO_FALSE='#' else @@ -12761,18 +14343,18 @@ pkg_failed=no -{ echo "$as_me:$LINENO: checking for GTK" >&5 -echo $ECHO_N "checking for GTK... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for GTK" >&5 +$as_echo_n "checking for GTK... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$GTK_CFLAGS"; then pkg_cv_GTK_CFLAGS="$GTK_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.8.0\"") >&5 + { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.8.0\"") >&5 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.8.0") 2>&5 ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8.0" 2>/dev/null` else @@ -12787,10 +14369,10 @@ pkg_cv_GTK_LIBS="$GTK_LIBS" else if test -n "$PKG_CONFIG" && \ - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.8.0\"") >&5 + { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.8.0\"") >&5 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.8.0") 2>&5 ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8.0" 2>/dev/null` else @@ -12818,28 +14400,26 @@ # Put the nasty error message in config.log where it belongs echo "$GTK_PKG_ERRORS" >&5 - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } HAVE_GTK="no" elif test $pkg_failed = untried; then HAVE_GTK="no" else GTK_CFLAGS=$pkg_cv_GTK_CFLAGS GTK_LIBS=$pkg_cv_GTK_LIBS - { echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6; } + { $as_echo "$as_me:$LINENO: result: yes" >&5 +$as_echo "yes" >&6; } HAVE_GTK="yes" fi if test "x$HAVE_GTK" = "xyes"; then have_gtk=true else have_gtk=false - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } fi - - -if $have_gtk; then + if $have_gtk; then BUILD_GTK_TRUE= BUILD_GTK_FALSE='#' else @@ -12855,18 +14435,18 @@ pkg_failed=no -{ echo "$as_me:$LINENO: checking for GTK210" >&5 -echo $ECHO_N "checking for GTK210... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for GTK210" >&5 +$as_echo_n "checking for GTK210... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$GTK210_CFLAGS"; then pkg_cv_GTK210_CFLAGS="$GTK210_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.10.0\"") >&5 + { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.10.0\"") >&5 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.10.0") 2>&5 ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GTK210_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.10.0" 2>/dev/null` else @@ -12881,10 +14461,10 @@ pkg_cv_GTK210_LIBS="$GTK210_LIBS" else if test -n "$PKG_CONFIG" && \ - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.10.0\"") >&5 + { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.10.0\"") >&5 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.10.0") 2>&5 ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GTK210_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.10.0" 2>/dev/null` else @@ -12912,31 +14492,29 @@ # Put the nasty error message in config.log where it belongs echo "$GTK210_PKG_ERRORS" >&5 - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } HAVE_GTK_210="no" elif test $pkg_failed = untried; then HAVE_GTK_210="no" else GTK210_CFLAGS=$pkg_cv_GTK210_CFLAGS GTK210_LIBS=$pkg_cv_GTK210_LIBS - { echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6; } + { $as_echo "$as_me:$LINENO: result: yes" >&5 +$as_echo "yes" >&6; } HAVE_GTK_210="yes" fi if test "x$HAVE_GTK_210" = "xyes"; then gtk_version="2.10" have_gtk_210=true else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } gtk_version="2.8" have_gtk_210=false fi - - -if $have_gtk_210; then + if $have_gtk_210; then HAVE_GTK_2_10_TRUE= HAVE_GTK_2_10_FALSE='#' else @@ -12953,18 +14531,18 @@ pkg_failed=no -{ echo "$as_me:$LINENO: checking for GTK212" >&5 -echo $ECHO_N "checking for GTK212... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for GTK212" >&5 +$as_echo_n "checking for GTK212... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$GTK212_CFLAGS"; then pkg_cv_GTK212_CFLAGS="$GTK212_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.11.6\"") >&5 + { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.11.6\"") >&5 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.11.6") 2>&5 ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GTK212_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.11.6" 2>/dev/null` else @@ -12979,10 +14557,10 @@ pkg_cv_GTK212_LIBS="$GTK212_LIBS" else if test -n "$PKG_CONFIG" && \ - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.11.6\"") >&5 + { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.11.6\"") >&5 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.11.6") 2>&5 ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GTK212_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.11.6" 2>/dev/null` else @@ -13010,16 +14588,16 @@ # Put the nasty error message in config.log where it belongs echo "$GTK212_PKG_ERRORS" >&5 - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } HAVE_GTK_212="no" elif test $pkg_failed = untried; then HAVE_GTK_212="no" else GTK212_CFLAGS=$pkg_cv_GTK212_CFLAGS GTK212_LIBS=$pkg_cv_GTK212_LIBS - { echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6; } + { $as_echo "$as_me:$LINENO: result: yes" >&5 +$as_echo "yes" >&6; } HAVE_GTK_212="yes" fi @@ -13028,14 +14606,12 @@ have_gtk_212=true PYGTK_CODEGEN_DEFINES="$PYGTK_CODEGEN_DEFINES -DHAVE_GTK_2_12" else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } have_gtk_212=false fi - - -if $have_gtk_212; then + if $have_gtk_212; then HAVE_GTK_2_12_TRUE= HAVE_GTK_2_12_FALSE='#' else @@ -13052,23 +14628,20 @@ pkg_failed=no -{ echo "$as_me:$LINENO: checking for GTK214" >&5 -echo $ECHO_N "checking for GTK214... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for GTK214" >&5 +$as_echo_n "checking for GTK214... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$GTK214_CFLAGS"; then pkg_cv_GTK214_CFLAGS="$GTK214_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.13.6, - pygobject-2.0 >= 2.15.3\"") >&5 - ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.13.6, - pygobject-2.0 >= 2.15.3") 2>&5 + { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.13.8\"") >&5 + ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.13.8") 2>&5 ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then - pkg_cv_GTK214_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.13.6, - pygobject-2.0 >= 2.15.3" 2>/dev/null` + pkg_cv_GTK214_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.13.8" 2>/dev/null` else pkg_failed=yes fi @@ -13081,15 +14654,12 @@ pkg_cv_GTK214_LIBS="$GTK214_LIBS" else if test -n "$PKG_CONFIG" && \ - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.13.6, - pygobject-2.0 >= 2.15.3\"") >&5 - ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.13.6, - pygobject-2.0 >= 2.15.3") 2>&5 + { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.13.8\"") >&5 + ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.13.8") 2>&5 ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then - pkg_cv_GTK214_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.13.6, - pygobject-2.0 >= 2.15.3" 2>/dev/null` + pkg_cv_GTK214_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.13.8" 2>/dev/null` else pkg_failed=yes fi @@ -13108,25 +14678,23 @@ _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - GTK214_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 >= 2.13.6, - pygobject-2.0 >= 2.15.3"` + GTK214_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 >= 2.13.8"` else - GTK214_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.13.6, - pygobject-2.0 >= 2.15.3"` + GTK214_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.13.8"` fi # Put the nasty error message in config.log where it belongs echo "$GTK214_PKG_ERRORS" >&5 - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } HAVE_GTK_214="no" elif test $pkg_failed = untried; then HAVE_GTK_214="no" else GTK214_CFLAGS=$pkg_cv_GTK214_CFLAGS GTK214_LIBS=$pkg_cv_GTK214_LIBS - { echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6; } + { $as_echo "$as_me:$LINENO: result: yes" >&5 +$as_echo "yes" >&6; } HAVE_GTK_214="yes" fi @@ -13135,14 +14703,12 @@ have_gtk_214=true PYGTK_CODEGEN_DEFINES="$PYGTK_CODEGEN_DEFINES -DHAVE_GTK_2_14" else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } have_gtk_214=false fi - - -if $have_gtk_214; then + if $have_gtk_214; then HAVE_GTK_2_14_TRUE= HAVE_GTK_2_14_FALSE='#' else @@ -13159,18 +14725,115 @@ pkg_failed=no -{ echo "$as_me:$LINENO: checking for LIBGLADE" >&5 -echo $ECHO_N "checking for LIBGLADE... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for GTK216" >&5 +$as_echo_n "checking for GTK216... " >&6; } + +if test -n "$PKG_CONFIG"; then + if test -n "$GTK216_CFLAGS"; then + pkg_cv_GTK216_CFLAGS="$GTK216_CFLAGS" + else + if test -n "$PKG_CONFIG" && \ + { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.16.0\"") >&5 + ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.16.0") 2>&5 + ac_status=$? + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + pkg_cv_GTK216_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.16.0" 2>/dev/null` +else + pkg_failed=yes +fi + fi +else + pkg_failed=untried +fi +if test -n "$PKG_CONFIG"; then + if test -n "$GTK216_LIBS"; then + pkg_cv_GTK216_LIBS="$GTK216_LIBS" + else + if test -n "$PKG_CONFIG" && \ + { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.16.0\"") >&5 + ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.16.0") 2>&5 + ac_status=$? + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + pkg_cv_GTK216_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.16.0" 2>/dev/null` +else + pkg_failed=yes +fi + fi +else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + GTK216_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 >= 2.16.0"` + else + GTK216_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.16.0"` + fi + # Put the nasty error message in config.log where it belongs + echo "$GTK216_PKG_ERRORS" >&5 + + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } + HAVE_GTK_216="no" +elif test $pkg_failed = untried; then + HAVE_GTK_216="no" +else + GTK216_CFLAGS=$pkg_cv_GTK216_CFLAGS + GTK216_LIBS=$pkg_cv_GTK216_LIBS + { $as_echo "$as_me:$LINENO: result: yes" >&5 +$as_echo "yes" >&6; } + HAVE_GTK_216="yes" +fi + + if test "x$HAVE_GTK_216" = "xyes"; then + gtk_version="2.16" + have_gtk_216=true + PYGTK_CODEGEN_DEFINES="$PYGTK_CODEGEN_DEFINES -DHAVE_GTK_2_16" + else + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } + have_gtk_216=false + fi + + if $have_gtk_216; then + HAVE_GTK_2_16_TRUE= + HAVE_GTK_2_16_FALSE='#' +else + HAVE_GTK_2_16_TRUE='#' + HAVE_GTK_2_16_FALSE= +fi + + + +cat >>confdefs.h <<\_ACEOF +#define HAVE_GTK_2_16 $have_gtk_216 +_ACEOF + + + +pkg_failed=no +{ $as_echo "$as_me:$LINENO: checking for LIBGLADE" >&5 +$as_echo_n "checking for LIBGLADE... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$LIBGLADE_CFLAGS"; then pkg_cv_LIBGLADE_CFLAGS="$LIBGLADE_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libglade-2.0 >= 2.5.0\"") >&5 + { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libglade-2.0 >= 2.5.0\"") >&5 ($PKG_CONFIG --exists --print-errors "libglade-2.0 >= 2.5.0") 2>&5 ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_LIBGLADE_CFLAGS=`$PKG_CONFIG --cflags "libglade-2.0 >= 2.5.0" 2>/dev/null` else @@ -13185,10 +14848,10 @@ pkg_cv_LIBGLADE_LIBS="$LIBGLADE_LIBS" else if test -n "$PKG_CONFIG" && \ - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libglade-2.0 >= 2.5.0\"") >&5 + { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libglade-2.0 >= 2.5.0\"") >&5 ($PKG_CONFIG --exists --print-errors "libglade-2.0 >= 2.5.0") 2>&5 ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_LIBGLADE_LIBS=`$PKG_CONFIG --libs "libglade-2.0 >= 2.5.0" 2>/dev/null` else @@ -13216,23 +14879,21 @@ # Put the nasty error message in config.log where it belongs echo "$LIBGLADE_PKG_ERRORS" >&5 - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } have_libglade=false elif test $pkg_failed = untried; then have_libglade=false else LIBGLADE_CFLAGS=$pkg_cv_LIBGLADE_CFLAGS LIBGLADE_LIBS=$pkg_cv_LIBGLADE_LIBS - { echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6; } + { $as_echo "$as_me:$LINENO: result: yes" >&5 +$as_echo "yes" >&6; } have_libglade=true fi - - -if $have_libglade; then + if $have_libglade; then BUILD_LIBGLADE_TRUE= BUILD_LIBGLADE_FALSE='#' else @@ -13246,18 +14907,18 @@ pkg_failed=no -{ echo "$as_me:$LINENO: checking for GTKUNIXPRINT" >&5 -echo $ECHO_N "checking for GTKUNIXPRINT... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for GTKUNIXPRINT" >&5 +$as_echo_n "checking for GTKUNIXPRINT... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$GTKUNIXPRINT_CFLAGS"; then pkg_cv_GTKUNIXPRINT_CFLAGS="$GTKUNIXPRINT_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.9.0\"") >&5 + { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.9.0\"") >&5 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.9.0") 2>&5 ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GTKUNIXPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.9.0" 2>/dev/null` else @@ -13272,10 +14933,10 @@ pkg_cv_GTKUNIXPRINT_LIBS="$GTKUNIXPRINT_LIBS" else if test -n "$PKG_CONFIG" && \ - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.9.0\"") >&5 + { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.9.0\"") >&5 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.9.0") 2>&5 ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GTKUNIXPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.9.0" 2>/dev/null` else @@ -13303,23 +14964,21 @@ # Put the nasty error message in config.log where it belongs echo "$GTKUNIXPRINT_PKG_ERRORS" >&5 - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } have_gtkunixprint=false elif test $pkg_failed = untried; then have_gtkunixprint=false else GTKUNIXPRINT_CFLAGS=$pkg_cv_GTKUNIXPRINT_CFLAGS GTKUNIXPRINT_LIBS=$pkg_cv_GTKUNIXPRINT_LIBS - { echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6; } + { $as_echo "$as_me:$LINENO: result: yes" >&5 +$as_echo "yes" >&6; } have_gtkunixprint=true fi - - -if $have_gtkunixprint; then + if $have_gtkunixprint; then BUILD_GTKUNIXPRINT_TRUE= BUILD_GTKUNIXPRINT_FALSE='#' else @@ -13332,13 +14991,11 @@ fi else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } - { echo "$as_me:$LINENO: result: not checking for gtk due to missing pycairo" >&5 -echo "${ECHO_T}not checking for gtk due to missing pycairo" >&6; } - - -if false; then + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } + { $as_echo "$as_me:$LINENO: result: not checking for gtk due to missing pycairo" >&5 +$as_echo "not checking for gtk due to missing pycairo" >&6; } + if false; then BUILD_PANGOCAIRO_TRUE= BUILD_PANGOCAIRO_FALSE='#' else @@ -13346,9 +15003,7 @@ BUILD_PANGOCAIRO_FALSE= fi - - -if false; then + if false; then BUILD_GTK_TRUE= BUILD_GTK_FALSE='#' else @@ -13356,9 +15011,7 @@ BUILD_GTK_FALSE= fi - - -if false; then + if false; then HAVE_GTK_2_10_TRUE= HAVE_GTK_2_10_FALSE='#' else @@ -13366,9 +15019,7 @@ HAVE_GTK_2_10_FALSE= fi - - -if false; then + if false; then HAVE_GTK_2_12_TRUE= HAVE_GTK_2_12_FALSE='#' else @@ -13376,9 +15027,7 @@ HAVE_GTK_2_12_FALSE= fi - - -if false; then + if false; then HAVE_GTK_2_14_TRUE= HAVE_GTK_2_14_FALSE='#' else @@ -13386,9 +15035,7 @@ HAVE_GTK_2_14_FALSE= fi - - -if false; then + if false; then BUILD_LIBGLADE_TRUE= BUILD_LIBGLADE_FALSE='#' else @@ -13396,9 +15043,7 @@ BUILD_LIBGLADE_FALSE= fi - - -if false; then + if false; then BUILD_GTKUNIXPRINT_TRUE= BUILD_GTKUNIXPRINT_FALSE='#' else @@ -13412,17 +15057,17 @@ have_gtkunixprint=false fi -{ echo "$as_me:$LINENO: checking for GDK target" >&5 -echo $ECHO_N "checking for GDK target... $ECHO_C" >&6; } +{ $as_echo "$as_me:$LINENO: checking for GDK target" >&5 +$as_echo_n "checking for GDK target... " >&6; } gdk_target=`$PKG_CONFIG --variable target gdk-2.0` if test -z $gdk_target; then - { echo "$as_me:$LINENO: result: (unknown)" >&5 -echo "${ECHO_T}(unknown)" >&6; } - { echo "$as_me:$LINENO: WARNING: unable to determine the GDK target system; some functions may not be available" >&5 -echo "$as_me: WARNING: unable to determine the GDK target system; some functions may not be available" >&2;} + { $as_echo "$as_me:$LINENO: result: (unknown)" >&5 +$as_echo "(unknown)" >&6; } + { $as_echo "$as_me:$LINENO: WARNING: unable to determine the GDK target system; some functions may not be available" >&5 +$as_echo "$as_me: WARNING: unable to determine the GDK target system; some functions may not be available" >&2;} else - { echo "$as_me:$LINENO: result: $gdk_target" >&5 -echo "${ECHO_T}$gdk_target" >&6; } + { $as_echo "$as_me:$LINENO: result: $gdk_target" >&5 +$as_echo "$gdk_target" >&6; } fi case $gdk_target in @@ -13441,11 +15086,17 @@ if test "x$enable_numpy" != xno; then save_CPPFLAGS="$CPPFLAGS" - CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES" - { echo "$as_me:$LINENO: checking for Numeric/arrayobject.h" >&5 -echo $ECHO_N "checking for Numeric/arrayobject.h... $ECHO_C" >&6; } -if test "${ac_cv_header_Numeric_arrayobject_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + numpy_INCLUDES=`$PYTHON -c "import numpy; print numpy.get_include()" 2> /dev/null` + if test "x$numpy_INCLUDES" = "x"; then + { $as_echo "$as_me:$LINENO: WARNING: Could not find a valid numpy installation, disabling." >&5 +$as_echo "$as_me: WARNING: Could not find a valid numpy installation, disabling." >&2;} + enable_numpy=no + else + CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES -I$numpy_INCLUDES" + { $as_echo "$as_me:$LINENO: checking for numpy/arrayobject.h" >&5 +$as_echo_n "checking for numpy/arrayobject.h... " >&6; } +if test "${ac_cv_header_numpy_arrayobject_h+set}" = set; then + $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ @@ -13455,7 +15106,7 @@ /* end confdefs.h. */ #include -#include +#include _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" @@ -13463,39 +15114,45 @@ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then - ac_cv_header_Numeric_arrayobject_h=yes + ac_cv_header_numpy_arrayobject_h=yes else - echo "$as_me: failed program was:" >&5 + $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 - ac_cv_header_Numeric_arrayobject_h=no + ac_cv_header_numpy_arrayobject_h=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ echo "$as_me:$LINENO: result: $ac_cv_header_Numeric_arrayobject_h" >&5 -echo "${ECHO_T}$ac_cv_header_Numeric_arrayobject_h" >&6; } -if test $ac_cv_header_Numeric_arrayobject_h = yes; then +{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_numpy_arrayobject_h" >&5 +$as_echo "$ac_cv_header_numpy_arrayobject_h" >&6; } +if test "x$ac_cv_header_numpy_arrayobject_h" = x""yes; then cat >>confdefs.h <<\_ACEOF -#define HAVE_NUMPY +#define HAVE_NUMPY /**/ _ACEOF +else + enable_numpy=no fi - CPPFLAGS="$save_CPPFLAGS" + if test "x$enable_numpy" != "xno"; then + CPPFLAGS="$save_CPPFLAGS -I$numpy_INCLUDES" + fi + fi fi @@ -13507,8 +15164,8 @@ *) save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -Wall" - { echo "$as_me:$LINENO: checking whether $CC understands -Wall" >&5 -echo $ECHO_N "checking whether $CC understands -Wall... $ECHO_C" >&6; } + { $as_echo "$as_me:$LINENO: checking whether $CC understands -Wall" >&5 +$as_echo_n "checking whether $CC understands -Wall... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF @@ -13530,28 +15187,29 @@ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then jh_has_option=yes else - echo "$as_me: failed program was:" >&5 + $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 jh_has_option=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - { echo "$as_me:$LINENO: result: $jh_has_option" >&5 -echo "${ECHO_T}$jh_has_option" >&6; } + { $as_echo "$as_me:$LINENO: result: $jh_has_option" >&5 +$as_echo "$jh_has_option" >&6; } if test $jh_has_option = no; then CFLAGS="$save_CFLAGS" fi @@ -13564,8 +15222,8 @@ *) save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -fno-strict-aliasing" - { echo "$as_me:$LINENO: checking whether $CC understands -fno-strict-aliasing" >&5 -echo $ECHO_N "checking whether $CC understands -fno-strict-aliasing... $ECHO_C" >&6; } + { $as_echo "$as_me:$LINENO: checking whether $CC understands -fno-strict-aliasing" >&5 +$as_echo_n "checking whether $CC understands -fno-strict-aliasing... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF @@ -13587,28 +15245,29 @@ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then jh_has_option=yes else - echo "$as_me: failed program was:" >&5 + $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 jh_has_option=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - { echo "$as_me:$LINENO: result: $jh_has_option" >&5 -echo "${ECHO_T}$jh_has_option" >&6; } + { $as_echo "$as_me:$LINENO: result: $jh_has_option" >&5 +$as_echo "$jh_has_option" >&6; } if test $jh_has_option = no; then CFLAGS="$save_CFLAGS" fi @@ -13626,8 +15285,8 @@ *) save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -std=c9x" - { echo "$as_me:$LINENO: checking whether $CC understands -std=c9x" >&5 -echo $ECHO_N "checking whether $CC understands -std=c9x... $ECHO_C" >&6; } + { $as_echo "$as_me:$LINENO: checking whether $CC understands -std=c9x" >&5 +$as_echo_n "checking whether $CC understands -std=c9x... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF @@ -13649,28 +15308,29 @@ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then jh_has_option=yes else - echo "$as_me: failed program was:" >&5 + $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 jh_has_option=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - { echo "$as_me:$LINENO: result: $jh_has_option" >&5 -echo "${ECHO_T}$jh_has_option" >&6; } + { $as_echo "$as_me:$LINENO: result: $jh_has_option" >&5 +$as_echo "$jh_has_option" >&6; } if test $jh_has_option = no; then CFLAGS="$save_CFLAGS" fi @@ -13710,11 +15370,12 @@ case $ac_val in #( *${as_nl}*) case $ac_var in #( - *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 -echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; + *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) $as_unset $ac_var ;; esac ;; esac @@ -13747,12 +15408,12 @@ if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then test "x$cache_file" != "x/dev/null" && - { echo "$as_me:$LINENO: updating cache $cache_file" >&5 -echo "$as_me: updating cache $cache_file" >&6;} + { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 +$as_echo "$as_me: updating cache $cache_file" >&6;} cat confcache >$cache_file else - { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 -echo "$as_me: not updating unwritable cache $cache_file" >&6;} + { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache @@ -13768,7 +15429,7 @@ for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' - ac_i=`echo "$ac_i" | sed "$ac_script"` + ac_i=`$as_echo "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" @@ -13780,159 +15441,181 @@ if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then - { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. + { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." >&5 -echo "$as_me: error: conditional \"AMDEP\" was never defined. +$as_echo "$as_me: error: conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. + { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&5 -echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. +$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then - { { echo "$as_me:$LINENO: error: conditional \"PLATFORM_WIN32\" was never defined. + { { $as_echo "$as_me:$LINENO: error: conditional \"PLATFORM_WIN32\" was never defined. Usually this means the macro was only invoked conditionally." >&5 -echo "$as_me: error: conditional \"PLATFORM_WIN32\" was never defined. +$as_echo "$as_me: error: conditional \"PLATFORM_WIN32\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then - { { echo "$as_me:$LINENO: error: conditional \"OS_WIN32\" was never defined. + { { $as_echo "$as_me:$LINENO: error: conditional \"OS_WIN32\" was never defined. Usually this means the macro was only invoked conditionally." >&5 -echo "$as_me: error: conditional \"OS_WIN32\" was never defined. +$as_echo "$as_me: error: conditional \"OS_WIN32\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${ENABLE_DOCS_TRUE}" && test -z "${ENABLE_DOCS_FALSE}"; then - { { echo "$as_me:$LINENO: error: conditional \"ENABLE_DOCS\" was never defined. + { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_DOCS\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"ENABLE_DOCS\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${HAVE_GIO_TYPES_DEFS_TRUE}" && test -z "${HAVE_GIO_TYPES_DEFS_FALSE}"; then + { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_GIO_TYPES_DEFS\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"HAVE_GIO_TYPES_DEFS\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${HAVE_GIO_TYPES_DEFS_TRUE}" && test -z "${HAVE_GIO_TYPES_DEFS_FALSE}"; then + { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_GIO_TYPES_DEFS\" was never defined. Usually this means the macro was only invoked conditionally." >&5 -echo "$as_me: error: conditional \"ENABLE_DOCS\" was never defined. +$as_echo "$as_me: error: conditional \"HAVE_GIO_TYPES_DEFS\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${BUILD_ATK_TRUE}" && test -z "${BUILD_ATK_FALSE}"; then - { { echo "$as_me:$LINENO: error: conditional \"BUILD_ATK\" was never defined. + { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_ATK\" was never defined. Usually this means the macro was only invoked conditionally." >&5 -echo "$as_me: error: conditional \"BUILD_ATK\" was never defined. +$as_echo "$as_me: error: conditional \"BUILD_ATK\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${BUILD_PANGO_TRUE}" && test -z "${BUILD_PANGO_FALSE}"; then - { { echo "$as_me:$LINENO: error: conditional \"BUILD_PANGO\" was never defined. + { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_PANGO\" was never defined. Usually this means the macro was only invoked conditionally." >&5 -echo "$as_me: error: conditional \"BUILD_PANGO\" was never defined. +$as_echo "$as_me: error: conditional \"BUILD_PANGO\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${BUILD_PANGOCAIRO_TRUE}" && test -z "${BUILD_PANGOCAIRO_FALSE}"; then - { { echo "$as_me:$LINENO: error: conditional \"BUILD_PANGOCAIRO\" was never defined. + { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_PANGOCAIRO\" was never defined. Usually this means the macro was only invoked conditionally." >&5 -echo "$as_me: error: conditional \"BUILD_PANGOCAIRO\" was never defined. +$as_echo "$as_me: error: conditional \"BUILD_PANGOCAIRO\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${BUILD_GTK_TRUE}" && test -z "${BUILD_GTK_FALSE}"; then - { { echo "$as_me:$LINENO: error: conditional \"BUILD_GTK\" was never defined. + { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_GTK\" was never defined. Usually this means the macro was only invoked conditionally." >&5 -echo "$as_me: error: conditional \"BUILD_GTK\" was never defined. +$as_echo "$as_me: error: conditional \"BUILD_GTK\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${HAVE_GTK_2_10_TRUE}" && test -z "${HAVE_GTK_2_10_FALSE}"; then - { { echo "$as_me:$LINENO: error: conditional \"HAVE_GTK_2_10\" was never defined. + { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_GTK_2_10\" was never defined. Usually this means the macro was only invoked conditionally." >&5 -echo "$as_me: error: conditional \"HAVE_GTK_2_10\" was never defined. +$as_echo "$as_me: error: conditional \"HAVE_GTK_2_10\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${HAVE_GTK_2_12_TRUE}" && test -z "${HAVE_GTK_2_12_FALSE}"; then - { { echo "$as_me:$LINENO: error: conditional \"HAVE_GTK_2_12\" was never defined. + { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_GTK_2_12\" was never defined. Usually this means the macro was only invoked conditionally." >&5 -echo "$as_me: error: conditional \"HAVE_GTK_2_12\" was never defined. +$as_echo "$as_me: error: conditional \"HAVE_GTK_2_12\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${HAVE_GTK_2_14_TRUE}" && test -z "${HAVE_GTK_2_14_FALSE}"; then - { { echo "$as_me:$LINENO: error: conditional \"HAVE_GTK_2_14\" was never defined. + { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_GTK_2_14\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"HAVE_GTK_2_14\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${HAVE_GTK_2_16_TRUE}" && test -z "${HAVE_GTK_2_16_FALSE}"; then + { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_GTK_2_16\" was never defined. Usually this means the macro was only invoked conditionally." >&5 -echo "$as_me: error: conditional \"HAVE_GTK_2_14\" was never defined. +$as_echo "$as_me: error: conditional \"HAVE_GTK_2_16\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${BUILD_LIBGLADE_TRUE}" && test -z "${BUILD_LIBGLADE_FALSE}"; then - { { echo "$as_me:$LINENO: error: conditional \"BUILD_LIBGLADE\" was never defined. + { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_LIBGLADE\" was never defined. Usually this means the macro was only invoked conditionally." >&5 -echo "$as_me: error: conditional \"BUILD_LIBGLADE\" was never defined. +$as_echo "$as_me: error: conditional \"BUILD_LIBGLADE\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${BUILD_GTKUNIXPRINT_TRUE}" && test -z "${BUILD_GTKUNIXPRINT_FALSE}"; then - { { echo "$as_me:$LINENO: error: conditional \"BUILD_GTKUNIXPRINT\" was never defined. + { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_GTKUNIXPRINT\" was never defined. Usually this means the macro was only invoked conditionally." >&5 -echo "$as_me: error: conditional \"BUILD_GTKUNIXPRINT\" was never defined. +$as_echo "$as_me: error: conditional \"BUILD_GTKUNIXPRINT\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${BUILD_PANGOCAIRO_TRUE}" && test -z "${BUILD_PANGOCAIRO_FALSE}"; then - { { echo "$as_me:$LINENO: error: conditional \"BUILD_PANGOCAIRO\" was never defined. + { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_PANGOCAIRO\" was never defined. Usually this means the macro was only invoked conditionally." >&5 -echo "$as_me: error: conditional \"BUILD_PANGOCAIRO\" was never defined. +$as_echo "$as_me: error: conditional \"BUILD_PANGOCAIRO\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${BUILD_GTK_TRUE}" && test -z "${BUILD_GTK_FALSE}"; then - { { echo "$as_me:$LINENO: error: conditional \"BUILD_GTK\" was never defined. + { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_GTK\" was never defined. Usually this means the macro was only invoked conditionally." >&5 -echo "$as_me: error: conditional \"BUILD_GTK\" was never defined. +$as_echo "$as_me: error: conditional \"BUILD_GTK\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${HAVE_GTK_2_10_TRUE}" && test -z "${HAVE_GTK_2_10_FALSE}"; then - { { echo "$as_me:$LINENO: error: conditional \"HAVE_GTK_2_10\" was never defined. + { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_GTK_2_10\" was never defined. Usually this means the macro was only invoked conditionally." >&5 -echo "$as_me: error: conditional \"HAVE_GTK_2_10\" was never defined. +$as_echo "$as_me: error: conditional \"HAVE_GTK_2_10\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${HAVE_GTK_2_12_TRUE}" && test -z "${HAVE_GTK_2_12_FALSE}"; then - { { echo "$as_me:$LINENO: error: conditional \"HAVE_GTK_2_12\" was never defined. + { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_GTK_2_12\" was never defined. Usually this means the macro was only invoked conditionally." >&5 -echo "$as_me: error: conditional \"HAVE_GTK_2_12\" was never defined. +$as_echo "$as_me: error: conditional \"HAVE_GTK_2_12\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${HAVE_GTK_2_14_TRUE}" && test -z "${HAVE_GTK_2_14_FALSE}"; then - { { echo "$as_me:$LINENO: error: conditional \"HAVE_GTK_2_14\" was never defined. + { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_GTK_2_14\" was never defined. Usually this means the macro was only invoked conditionally." >&5 -echo "$as_me: error: conditional \"HAVE_GTK_2_14\" was never defined. +$as_echo "$as_me: error: conditional \"HAVE_GTK_2_14\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${BUILD_LIBGLADE_TRUE}" && test -z "${BUILD_LIBGLADE_FALSE}"; then - { { echo "$as_me:$LINENO: error: conditional \"BUILD_LIBGLADE\" was never defined. + { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_LIBGLADE\" was never defined. Usually this means the macro was only invoked conditionally." >&5 -echo "$as_me: error: conditional \"BUILD_LIBGLADE\" was never defined. +$as_echo "$as_me: error: conditional \"BUILD_LIBGLADE\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${BUILD_GTKUNIXPRINT_TRUE}" && test -z "${BUILD_GTKUNIXPRINT_FALSE}"; then - { { echo "$as_me:$LINENO: error: conditional \"BUILD_GTKUNIXPRINT\" was never defined. + { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_GTKUNIXPRINT\" was never defined. Usually this means the macro was only invoked conditionally." >&5 -echo "$as_me: error: conditional \"BUILD_GTKUNIXPRINT\" was never defined. +$as_echo "$as_me: error: conditional \"BUILD_GTKUNIXPRINT\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi : ${CONFIG_STATUS=./config.status} +ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" -{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 -echo "$as_me: creating $CONFIG_STATUS" >&6;} -cat >$CONFIG_STATUS <<_ACEOF +{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} +cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. @@ -13945,7 +15628,7 @@ SHELL=\${CONFIG_SHELL-$SHELL} _ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## @@ -13955,7 +15638,7 @@ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST @@ -13977,17 +15660,45 @@ as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - echo "#! /bin/sh" >conf$$.sh - echo "exit 0" >>conf$$.sh - chmod +x conf$$.sh - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then - PATH_SEPARATOR=';' +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' else - PATH_SEPARATOR=: + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' fi - rm -f conf$$.sh + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } fi # Support unset when possible. @@ -14003,8 +15714,6 @@ # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) -as_nl=' -' IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. @@ -14027,7 +15736,7 @@ as_myself=$0 fi if test ! -f "$as_myself"; then - echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 { (exit 1); exit 1; } fi @@ -14040,17 +15749,10 @@ PS4='+ ' # NLS nuisances. -for as_var in \ - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ - LC_TELEPHONE LC_TIME -do - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then - eval $as_var=C; export $as_var - else - ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var - fi -done +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1 && @@ -14072,7 +15774,7 @@ $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || -echo X/"$0" | +$as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q @@ -14123,7 +15825,7 @@ s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || - { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 { (exit 1); exit 1; }; } # Don't try to exec as it changes $[0], causing all sort of problems @@ -14151,7 +15853,6 @@ *) ECHO_N='-n';; esac - if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr @@ -14164,19 +15865,22 @@ rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir - mkdir conf$$.dir + mkdir conf$$.dir 2>/dev/null fi -echo >conf$$.file -if ln -s conf$$.file conf$$ 2>/dev/null; then - as_ln_s='ln -s' - # ... but there are two gotchas: - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -p'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -p' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else as_ln_s='cp -p' -elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln + fi else as_ln_s='cp -p' fi @@ -14201,10 +15905,10 @@ as_test_x=' eval sh -c '\'' if test -d "$1"; then - test -d "$1/."; + test -d "$1/."; else case $1 in - -*)set "./$1";; + -*)set "./$1";; esac; case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in ???[sx]*):;;*)false;;esac;fi @@ -14226,8 +15930,8 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by pygtk $as_me 2.14.1, which was -generated by GNU Autoconf 2.61. Invocation command line was +This file was extended by pygtk $as_me 2.15.1, which was +generated by GNU Autoconf 2.63. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS @@ -14240,7 +15944,16 @@ _ACEOF -cat >>$CONFIG_STATUS <<_ACEOF +case $ac_config_files in *" +"*) set x $ac_config_files; shift; ac_config_files=$*;; +esac + +case $ac_config_headers in *" +"*) set x $ac_config_headers; shift; ac_config_headers=$*;; +esac + + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # Files that config.status was made for. config_files="$ac_config_files" config_headers="$ac_config_headers" @@ -14248,22 +15961,23 @@ _ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ \`$as_me' instantiates files from templates according to the current configuration. -Usage: $0 [OPTIONS] [FILE]... +Usage: $0 [OPTION]... [FILE]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit - -q, --quiet do not print progress messages + -q, --quiet, --silent + do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions - --file=FILE[:TEMPLATE] - instantiate the configuration file FILE - --header=FILE[:TEMPLATE] - instantiate the configuration header FILE + --file=FILE[:TEMPLATE] + instantiate the configuration file FILE + --header=FILE[:TEMPLATE] + instantiate the configuration header FILE Configuration files: $config_files @@ -14277,24 +15991,26 @@ Report bugs to ." _ACEOF -cat >>$CONFIG_STATUS <<_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_version="\\ -pygtk config.status 2.14.1 -configured by $0, generated by GNU Autoconf 2.61, - with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" +pygtk config.status 2.15.1 +configured by $0, generated by GNU Autoconf 2.63, + with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" -Copyright (C) 2006 Free Software Foundation, Inc. +Copyright (C) 2008 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." ac_pwd='$ac_pwd' srcdir='$srcdir' INSTALL='$INSTALL' +MKDIR_P='$MKDIR_P' +AWK='$AWK' +test -n "\$AWK" || AWK=awk _ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF -# If no file are specified by the user, then we need to provide default -# value. By we need to know if files were specified by the user. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# The default lists apply if the user does not specify any file. ac_need_defaults=: while test $# != 0 do @@ -14316,30 +16032,36 @@ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) - echo "$ac_cs_version"; exit ;; + $as_echo "$ac_cs_version"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift - CONFIG_FILES="$CONFIG_FILES $ac_optarg" + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift - CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header - { echo "$as_me: error: ambiguous option: $1 + { $as_echo "$as_me: error: ambiguous option: $1 Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; };; --help | --hel | -h ) - echo "$ac_cs_usage"; exit ;; + $as_echo "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. - -*) { echo "$as_me: error: unrecognized option: $1 + -*) { $as_echo "$as_me: error: unrecognized option: $1 Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } ;; @@ -14358,27 +16080,29 @@ fi _ACEOF -cat >>$CONFIG_STATUS <<_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then - echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 - CONFIG_SHELL=$SHELL + set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion + shift + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 + CONFIG_SHELL='$SHELL' export CONFIG_SHELL - exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion + exec "\$@" fi _ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX - echo "$ac_log" + $as_echo "$ac_log" } >&5 _ACEOF -cat >>$CONFIG_STATUS <<_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # # INIT-COMMANDS # @@ -14637,12 +16361,13 @@ RM='$RM' ofile='$ofile' +ac_aux_dir='$ac_aux_dir' _ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Handling of arguments. for ac_config_target in $ac_config_targets @@ -14662,8 +16387,8 @@ "pygtk.spec") CONFIG_FILES="$CONFIG_FILES pygtk.spec" ;; "PKG-INFO") CONFIG_FILES="$CONFIG_FILES PKG-INFO" ;; - *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 -echo "$as_me: error: invalid argument: $ac_config_target" >&2;} + *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 +$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; esac done @@ -14704,289 +16429,144 @@ (umask 077 && mkdir "$tmp") } || { - echo "$me: cannot create a temporary directory in ." >&2 + $as_echo "$as_me: cannot create a temporary directory in ." >&2 { (exit 1); exit 1; } } -# -# Set up the sed scripts for CONFIG_FILES section. -# - -# No need to generate the scripts if there are no CONFIG_FILES. -# This happens for instance when ./config.status config.h +# Set up the scripts for CONFIG_FILES section. +# No need to generate them if there are no CONFIG_FILES. +# This happens for instance with `./config.status config.h'. if test -n "$CONFIG_FILES"; then -_ACEOF +ac_cr=' ' +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then + ac_cs_awk_cr='\\r' +else + ac_cs_awk_cr=$ac_cr +fi + +echo 'BEGIN {' >"$tmp/subs1.awk" && +_ACEOF +{ + echo "cat >conf$$subs.awk <<_ACEOF" && + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && + echo "_ACEOF" +} >conf$$subs.sh || + { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 +$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} + { (exit 1); exit 1; }; } +ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do - cat >conf$$subs.sed <<_ACEOF -SHELL!$SHELL$ac_delim -PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim -PACKAGE_NAME!$PACKAGE_NAME$ac_delim -PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim -PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim -PACKAGE_STRING!$PACKAGE_STRING$ac_delim -PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim -exec_prefix!$exec_prefix$ac_delim -prefix!$prefix$ac_delim -program_transform_name!$program_transform_name$ac_delim -bindir!$bindir$ac_delim -sbindir!$sbindir$ac_delim -libexecdir!$libexecdir$ac_delim -datarootdir!$datarootdir$ac_delim -datadir!$datadir$ac_delim -sysconfdir!$sysconfdir$ac_delim -sharedstatedir!$sharedstatedir$ac_delim -localstatedir!$localstatedir$ac_delim -includedir!$includedir$ac_delim -oldincludedir!$oldincludedir$ac_delim -docdir!$docdir$ac_delim -infodir!$infodir$ac_delim -htmldir!$htmldir$ac_delim -dvidir!$dvidir$ac_delim -pdfdir!$pdfdir$ac_delim -psdir!$psdir$ac_delim -libdir!$libdir$ac_delim -localedir!$localedir$ac_delim -mandir!$mandir$ac_delim -DEFS!$DEFS$ac_delim -ECHO_C!$ECHO_C$ac_delim -ECHO_N!$ECHO_N$ac_delim -ECHO_T!$ECHO_T$ac_delim -LIBS!$LIBS$ac_delim -build_alias!$build_alias$ac_delim -host_alias!$host_alias$ac_delim -target_alias!$target_alias$ac_delim -ACLOCAL_AMFLAGS!$ACLOCAL_AMFLAGS$ac_delim -PYGTK_MAJOR_VERSION!$PYGTK_MAJOR_VERSION$ac_delim -PYGTK_MINOR_VERSION!$PYGTK_MINOR_VERSION$ac_delim -PYGTK_MICRO_VERSION!$PYGTK_MICRO_VERSION$ac_delim -INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim -INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim -INSTALL_DATA!$INSTALL_DATA$ac_delim -CYGPATH_W!$CYGPATH_W$ac_delim -PACKAGE!$PACKAGE$ac_delim -VERSION!$VERSION$ac_delim -ACLOCAL!$ACLOCAL$ac_delim -AUTOCONF!$AUTOCONF$ac_delim -AUTOMAKE!$AUTOMAKE$ac_delim -AUTOHEADER!$AUTOHEADER$ac_delim -MAKEINFO!$MAKEINFO$ac_delim -install_sh!$install_sh$ac_delim -STRIP!$STRIP$ac_delim -INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim -mkdir_p!$mkdir_p$ac_delim -AWK!$AWK$ac_delim -SET_MAKE!$SET_MAKE$ac_delim -am__leading_dot!$am__leading_dot$ac_delim -AMTAR!$AMTAR$ac_delim -am__tar!$am__tar$ac_delim -am__untar!$am__untar$ac_delim -CC!$CC$ac_delim -CFLAGS!$CFLAGS$ac_delim -LDFLAGS!$LDFLAGS$ac_delim -CPPFLAGS!$CPPFLAGS$ac_delim -ac_ct_CC!$ac_ct_CC$ac_delim -EXEEXT!$EXEEXT$ac_delim -OBJEXT!$OBJEXT$ac_delim -DEPDIR!$DEPDIR$ac_delim -am__include!$am__include$ac_delim -am__quote!$am__quote$ac_delim -AMDEP_TRUE!$AMDEP_TRUE$ac_delim -AMDEP_FALSE!$AMDEP_FALSE$ac_delim -AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim -CCDEPMODE!$CCDEPMODE$ac_delim -am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim -am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim -build!$build$ac_delim -build_cpu!$build_cpu$ac_delim -build_vendor!$build_vendor$ac_delim -build_os!$build_os$ac_delim -host!$host$ac_delim -host_cpu!$host_cpu$ac_delim -host_vendor!$host_vendor$ac_delim -host_os!$host_os$ac_delim -PLATFORM_WIN32_TRUE!$PLATFORM_WIN32_TRUE$ac_delim -PLATFORM_WIN32_FALSE!$PLATFORM_WIN32_FALSE$ac_delim -OS_WIN32_TRUE!$OS_WIN32_TRUE$ac_delim -OS_WIN32_FALSE!$OS_WIN32_FALSE$ac_delim -AS!$AS$ac_delim -DLLTOOL!$DLLTOOL$ac_delim -OBJDUMP!$OBJDUMP$ac_delim -LIBTOOL!$LIBTOOL$ac_delim -SED!$SED$ac_delim -GREP!$GREP$ac_delim -EGREP!$EGREP$ac_delim -_ACEOF + . ./conf$$subs.sh || + { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 +$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} + { (exit 1); exit 1; }; } - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` + if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then - { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 -echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} + { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 +$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} { (exit 1); exit 1; }; } else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done +rm -f conf$$subs.sh -ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` -if test -n "$ac_eof"; then - ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` - ac_eof=`expr $ac_eof + 1` -fi - -cat >>$CONFIG_STATUS <<_ACEOF -cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b -_ACEOF -sed ' -s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g -s/^/s,@/; s/!/@,|#_!!_#|/ -:n -t n -s/'"$ac_delim"'$/,g/; t -s/$/\\/; p -N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n -' >>$CONFIG_STATUS >$CONFIG_STATUS <<_ACEOF -CEOF$ac_eof +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +cat >>"\$tmp/subs1.awk" <<\\_ACAWK && _ACEOF +sed -n ' +h +s/^/S["/; s/!.*/"]=/ +p +g +s/^[^!]*!// +:repl +t repl +s/'"$ac_delim"'$// +t delim +:nl +h +s/\(.\{148\}\).*/\1/ +t more1 +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ +p +n +b repl +:more1 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ +p +g +s/.\{148\}// +t nl +:delim +h +s/\(.\{148\}\).*/\1/ +t more2 +s/["\\]/\\&/g; s/^/"/; s/$/"/ +p +b +:more2 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ +p +g +s/.\{148\}// +t delim +' >$CONFIG_STATUS || ac_write_fail=1 +rm -f conf$$subs.awk +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +_ACAWK +cat >>"\$tmp/subs1.awk" <<_ACAWK && + for (key in S) S_is_set[key] = 1 + FS = "" + +} +{ + line = $ 0 + nfields = split(line, field, "@") + substed = 0 + len = length(field[1]) + for (i = 2; i < nfields; i++) { + key = field[i] + keylen = length(key) + if (S_is_set[key]) { + value = S[key] + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) + len += length(value) + length(field[++i]) + substed = 1 + } else + len += 1 + keylen + } + print line +} -ac_delim='%!_!# ' -for ac_last_try in false false false false false :; do - cat >conf$$subs.sed <<_ACEOF -FGREP!$FGREP$ac_delim -LD!$LD$ac_delim -DUMPBIN!$DUMPBIN$ac_delim -ac_ct_DUMPBIN!$ac_ct_DUMPBIN$ac_delim -NM!$NM$ac_delim -LN_S!$LN_S$ac_delim -AR!$AR$ac_delim -RANLIB!$RANLIB$ac_delim -lt_ECHO!$lt_ECHO$ac_delim -DSYMUTIL!$DSYMUTIL$ac_delim -NMEDIT!$NMEDIT$ac_delim -LIPO!$LIPO$ac_delim -OTOOL!$OTOOL$ac_delim -OTOOL64!$OTOOL64$ac_delim -CPP!$CPP$ac_delim -PYTHON!$PYTHON$ac_delim -PYTHON_VERSION!$PYTHON_VERSION$ac_delim -PYTHON_PREFIX!$PYTHON_PREFIX$ac_delim -PYTHON_EXEC_PREFIX!$PYTHON_EXEC_PREFIX$ac_delim -PYTHON_PLATFORM!$PYTHON_PLATFORM$ac_delim -pythondir!$pythondir$ac_delim -pkgpythondir!$pkgpythondir$ac_delim -pyexecdir!$pyexecdir$ac_delim -pkgpyexecdir!$pkgpyexecdir$ac_delim -PYTHON_INCLUDES!$PYTHON_INCLUDES$ac_delim -XSLTPROC!$XSLTPROC$ac_delim -ENABLE_DOCS_TRUE!$ENABLE_DOCS_TRUE$ac_delim -ENABLE_DOCS_FALSE!$ENABLE_DOCS_FALSE$ac_delim -THREADING_CFLAGS!$THREADING_CFLAGS$ac_delim -PKG_CONFIG!$PKG_CONFIG$ac_delim -GLIB_CFLAGS!$GLIB_CFLAGS$ac_delim -GLIB_LIBS!$GLIB_LIBS$ac_delim -GLIB_GENMARSHAL!$GLIB_GENMARSHAL$ac_delim -GOBJECT_QUERY!$GOBJECT_QUERY$ac_delim -GLIB_MKENUMS!$GLIB_MKENUMS$ac_delim -PYGOBJECT_CFLAGS!$PYGOBJECT_CFLAGS$ac_delim -PYGOBJECT_LIBS!$PYGOBJECT_LIBS$ac_delim -PYGOBJECT_INCLUDEDIR!$PYGOBJECT_INCLUDEDIR$ac_delim -PYGOBJECT_DATADIR!$PYGOBJECT_DATADIR$ac_delim -PYGOBJECT_FIXXREF!$PYGOBJECT_FIXXREF$ac_delim -PYGOBJECT_PYGDOCS!$PYGOBJECT_PYGDOCS$ac_delim -ATK_CFLAGS!$ATK_CFLAGS$ac_delim -ATK_LIBS!$ATK_LIBS$ac_delim -BUILD_ATK_TRUE!$BUILD_ATK_TRUE$ac_delim -BUILD_ATK_FALSE!$BUILD_ATK_FALSE$ac_delim -PANGO_CFLAGS!$PANGO_CFLAGS$ac_delim -PANGO_LIBS!$PANGO_LIBS$ac_delim -BUILD_PANGO_TRUE!$BUILD_PANGO_TRUE$ac_delim -BUILD_PANGO_FALSE!$BUILD_PANGO_FALSE$ac_delim -CODEGENDIR!$CODEGENDIR$ac_delim -PYGTK_CODEGEN_DEFINES!$PYGTK_CODEGEN_DEFINES$ac_delim -PYCAIRO_CFLAGS!$PYCAIRO_CFLAGS$ac_delim -PYCAIRO_LIBS!$PYCAIRO_LIBS$ac_delim -PANGOCAIRO_CFLAGS!$PANGOCAIRO_CFLAGS$ac_delim -PANGOCAIRO_LIBS!$PANGOCAIRO_LIBS$ac_delim -BUILD_PANGOCAIRO_TRUE!$BUILD_PANGOCAIRO_TRUE$ac_delim -BUILD_PANGOCAIRO_FALSE!$BUILD_PANGOCAIRO_FALSE$ac_delim -GTK_CFLAGS!$GTK_CFLAGS$ac_delim -GTK_LIBS!$GTK_LIBS$ac_delim -BUILD_GTK_TRUE!$BUILD_GTK_TRUE$ac_delim -BUILD_GTK_FALSE!$BUILD_GTK_FALSE$ac_delim -GTK210_CFLAGS!$GTK210_CFLAGS$ac_delim -GTK210_LIBS!$GTK210_LIBS$ac_delim -HAVE_GTK_2_10_TRUE!$HAVE_GTK_2_10_TRUE$ac_delim -HAVE_GTK_2_10_FALSE!$HAVE_GTK_2_10_FALSE$ac_delim -HAVE_GTK_2_10!$HAVE_GTK_2_10$ac_delim -GTK212_CFLAGS!$GTK212_CFLAGS$ac_delim -GTK212_LIBS!$GTK212_LIBS$ac_delim -HAVE_GTK_2_12_TRUE!$HAVE_GTK_2_12_TRUE$ac_delim -HAVE_GTK_2_12_FALSE!$HAVE_GTK_2_12_FALSE$ac_delim -HAVE_GTK_2_12!$HAVE_GTK_2_12$ac_delim -GTK214_CFLAGS!$GTK214_CFLAGS$ac_delim -GTK214_LIBS!$GTK214_LIBS$ac_delim -HAVE_GTK_2_14_TRUE!$HAVE_GTK_2_14_TRUE$ac_delim -HAVE_GTK_2_14_FALSE!$HAVE_GTK_2_14_FALSE$ac_delim -HAVE_GTK_2_14!$HAVE_GTK_2_14$ac_delim -LIBGLADE_CFLAGS!$LIBGLADE_CFLAGS$ac_delim -LIBGLADE_LIBS!$LIBGLADE_LIBS$ac_delim -BUILD_LIBGLADE_TRUE!$BUILD_LIBGLADE_TRUE$ac_delim -BUILD_LIBGLADE_FALSE!$BUILD_LIBGLADE_FALSE$ac_delim -GTKUNIXPRINT_CFLAGS!$GTKUNIXPRINT_CFLAGS$ac_delim -GTKUNIXPRINT_LIBS!$GTKUNIXPRINT_LIBS$ac_delim -BUILD_GTKUNIXPRINT_TRUE!$BUILD_GTKUNIXPRINT_TRUE$ac_delim -BUILD_GTKUNIXPRINT_FALSE!$BUILD_GTKUNIXPRINT_FALSE$ac_delim -LIBOBJS!$LIBOBJS$ac_delim -LTLIBOBJS!$LTLIBOBJS$ac_delim +_ACAWK _ACEOF - - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 86; then - break - elif $ac_last_try; then - { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 -echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" +else + cat +fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ + || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 +$as_echo "$as_me: error: could not setup config files machinery" >&2;} { (exit 1); exit 1; }; } - else - ac_delim="$ac_delim!$ac_delim _$ac_delim!! " - fi -done - -ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` -if test -n "$ac_eof"; then - ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` - ac_eof=`expr $ac_eof + 1` -fi - -cat >>$CONFIG_STATUS <<_ACEOF -cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end -_ACEOF -sed ' -s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g -s/^/s,@/; s/!/@,|#_!!_#|/ -:n -t n -s/'"$ac_delim"'$/,g/; t -s/$/\\/; p -N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n -' >>$CONFIG_STATUS >$CONFIG_STATUS <<_ACEOF -:end -s/|#_!!_#|//g -CEOF$ac_eof _ACEOF - # VPATH may cause trouble with some makes, so we remove $(srcdir), # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty @@ -15002,19 +16582,133 @@ }' fi -cat >>$CONFIG_STATUS <<\_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 fi # test -n "$CONFIG_FILES" +# Set up the scripts for CONFIG_HEADERS section. +# No need to generate them if there are no CONFIG_HEADERS. +# This happens for instance with `./config.status Makefile'. +if test -n "$CONFIG_HEADERS"; then +cat >"$tmp/defines.awk" <<\_ACAWK || +BEGIN { +_ACEOF + +# Transform confdefs.h into an awk script `defines.awk', embedded as +# here-document in config.status, that substitutes the proper values into +# config.h.in to produce config.h. + +# Create a delimiter string that does not exist in confdefs.h, to ease +# handling of long lines. +ac_delim='%!_!# ' +for ac_last_try in false false :; do + ac_t=`sed -n "/$ac_delim/p" confdefs.h` + if test -z "$ac_t"; then + break + elif $ac_last_try; then + { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 +$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} + { (exit 1); exit 1; }; } + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +done + +# For the awk script, D is an array of macro values keyed by name, +# likewise P contains macro parameters if any. Preserve backslash +# newline sequences. + +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* +sed -n ' +s/.\{148\}/&'"$ac_delim"'/g +t rset +:rset +s/^[ ]*#[ ]*define[ ][ ]*/ / +t def +d +:def +s/\\$// +t bsnl +s/["\\]/\\&/g +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ +D["\1"]=" \3"/p +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p +d +:bsnl +s/["\\]/\\&/g +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ +D["\1"]=" \3\\\\\\n"\\/p +t cont +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p +t cont +d +:cont +n +s/.\{148\}/&'"$ac_delim"'/g +t clear +:clear +s/\\$// +t bsnlc +s/["\\]/\\&/g; s/^/"/; s/$/"/p +d +:bsnlc +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p +b cont +' >$CONFIG_STATUS || ac_write_fail=1 + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 + for (key in D) D_is_set[key] = 1 + FS = "" +} +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { + line = \$ 0 + split(line, arg, " ") + if (arg[1] == "#") { + defundef = arg[2] + mac1 = arg[3] + } else { + defundef = substr(arg[1], 2) + mac1 = arg[2] + } + split(mac1, mac2, "(") #) + macro = mac2[1] + prefix = substr(line, 1, index(line, defundef) - 1) + if (D_is_set[macro]) { + # Preserve the white space surrounding the "#". + print prefix "define", macro P[macro] D[macro] + next + } else { + # Replace #undef with comments. This is necessary, for example, + # in the case of _POSIX_SOURCE, which is predefined and required + # on some systems where configure will not decide to define it. + if (defundef == "undef") { + print "/*", prefix defundef, macro, "*/" + next + } + } +} +{ print } +_ACAWK +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 + { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 +$as_echo "$as_me: error: could not setup config headers machinery" >&2;} + { (exit 1); exit 1; }; } +fi # test -n "$CONFIG_HEADERS" + -for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" +shift +for ac_tag do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; - :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 -echo "$as_me: error: Invalid tag $ac_tag." >&2;} + :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 +$as_echo "$as_me: error: invalid tag $ac_tag" >&2;} { (exit 1); exit 1; }; };; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; @@ -15043,26 +16737,38 @@ [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || - { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 -echo "$as_me: error: cannot find input file: $ac_f" >&2;} + { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 +$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} { (exit 1); exit 1; }; };; esac - ac_file_inputs="$ac_file_inputs $ac_f" + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac + ac_file_inputs="$ac_file_inputs '$ac_f'" done # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ - configure_input="Generated from "`IFS=: - echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." + configure_input='Generated from '` + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' + `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" - { echo "$as_me:$LINENO: creating $ac_file" >&5 -echo "$as_me: creating $ac_file" >&6;} + { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 +$as_echo "$as_me: creating $ac_file" >&6;} fi + # Neutralize special characters interpreted by sed in replacement strings. + case $configure_input in #( + *\&* | *\|* | *\\* ) + ac_sed_conf_input=`$as_echo "$configure_input" | + sed 's/[\\\\&|]/\\\\&/g'`;; #( + *) ac_sed_conf_input=$configure_input;; + esac case $ac_tag in - *:-:* | *:-) cat >"$tmp/stdin";; + *:-:* | *:-) cat >"$tmp/stdin" \ + || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 +$as_echo "$as_me: error: could not create $ac_file" >&2;} + { (exit 1); exit 1; }; } ;; esac ;; esac @@ -15072,7 +16778,7 @@ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || -echo X"$ac_file" | +$as_echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -15098,7 +16804,7 @@ as_dirs= while :; do case $as_dir in #( - *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" @@ -15107,7 +16813,7 @@ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -echo X"$as_dir" | +$as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -15128,17 +16834,17 @@ test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 -echo "$as_me: error: cannot create directory $as_dir" >&2;} + } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 +$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} { (exit 1); exit 1; }; }; } ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; @@ -15176,14 +16882,20 @@ [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; esac + ac_MKDIR_P=$MKDIR_P + case $MKDIR_P in + [\\/$]* | ?:[\\/]* ) ;; + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; + esac _ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= -case `sed -n '/datarootdir/ { +ac_sed_dataroot=' +/datarootdir/ { p q } @@ -15192,13 +16904,14 @@ /@infodir@/p /@localedir@/p /@mandir@/p -' $ac_file_inputs` in +' +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) - { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 -echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} + { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF -cat >>$CONFIG_STATUS <<_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_datarootdir_hack=' s&@datadir@&$datadir&g s&@docdir@&$docdir&g @@ -15212,15 +16925,16 @@ # Neutralize VPATH when `$srcdir' = `.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? -cat >>$CONFIG_STATUS <<_ACEOF - sed "$ac_vpsub +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_sed_extra="$ac_vpsub $extrasub _ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b -s&@configure_input@&$configure_input&;t t +s|@configure_input@|$ac_sed_conf_input|;t t s&@top_builddir@&$ac_top_builddir_sub&;t t +s&@top_build_prefix@&$ac_top_build_prefix&;t t s&@srcdir@&$ac_srcdir&;t t s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_srcdir&;t t @@ -15229,136 +16943,77 @@ s&@abs_builddir@&$ac_abs_builddir&;t t s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@INSTALL@&$ac_INSTALL&;t t +s&@MKDIR_P@&$ac_MKDIR_P&;t t $ac_datarootdir_hack -" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out +" +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ + || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 +$as_echo "$as_me: error: could not create $ac_file" >&2;} + { (exit 1); exit 1; }; } test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && - { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' + { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined." >&5 -echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined." >&2;} rm -f "$tmp/stdin" case $ac_file in - -) cat "$tmp/out"; rm -f "$tmp/out";; - *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; - esac + -) cat "$tmp/out" && rm -f "$tmp/out";; + *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; + esac \ + || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 +$as_echo "$as_me: error: could not create $ac_file" >&2;} + { (exit 1); exit 1; }; } ;; :H) # # CONFIG_HEADER # -_ACEOF - -# Transform confdefs.h into a sed script `conftest.defines', that -# substitutes the proper values into config.h.in to produce config.h. -rm -f conftest.defines conftest.tail -# First, append a space to every undef/define line, to ease matching. -echo 's/$/ /' >conftest.defines -# Then, protect against being on the right side of a sed subst, or in -# an unquoted here document, in config.status. If some macros were -# called several times there might be several #defines for the same -# symbol, which is useless. But do not sort them, since the last -# AC_DEFINE must be honored. -ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* -# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where -# NAME is the cpp macro being defined, VALUE is the value it is being given. -# PARAMS is the parameter list in the macro definition--in most cases, it's -# just an empty string. -ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' -ac_dB='\\)[ (].*,\\1define\\2' -ac_dC=' ' -ac_dD=' ,' - -uniq confdefs.h | - sed -n ' - t rset - :rset - s/^[ ]*#[ ]*define[ ][ ]*// - t ok - d - :ok - s/[\\&,]/\\&/g - s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p - s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p - ' >>conftest.defines - -# Remove the space that was appended to ease matching. -# Then replace #undef with comments. This is necessary, for -# example, in the case of _POSIX_SOURCE, which is predefined and required -# on some systems where configure will not decide to define it. -# (The regexp can be short, since the line contains either #define or #undef.) -echo 's/ $// -s,^[ #]*u.*,/* & */,' >>conftest.defines - -# Break up conftest.defines: -ac_max_sed_lines=50 - -# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" -# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" -# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" -# et cetera. -ac_in='$ac_file_inputs' -ac_out='"$tmp/out1"' -ac_nxt='"$tmp/out2"' - -while : -do - # Write a here document: - cat >>$CONFIG_STATUS <<_ACEOF - # First, check the format of the line: - cat >"\$tmp/defines.sed" <<\\CEOF -/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def -/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def -b -:def -_ACEOF - sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS - echo 'CEOF - sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS - ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in - sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail - grep . conftest.tail >/dev/null || break - rm -f conftest.defines - mv conftest.tail conftest.defines -done -rm -f conftest.defines conftest.tail - -echo "ac_result=$ac_in" >>$CONFIG_STATUS -cat >>$CONFIG_STATUS <<\_ACEOF if test x"$ac_file" != x-; then - echo "/* $configure_input */" >"$tmp/config.h" - cat "$ac_result" >>"$tmp/config.h" - if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then - { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 -echo "$as_me: $ac_file is unchanged" >&6;} + { + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" + } >"$tmp/config.h" \ + || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 +$as_echo "$as_me: error: could not create $ac_file" >&2;} + { (exit 1); exit 1; }; } + if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then + { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 +$as_echo "$as_me: $ac_file is unchanged" >&6;} else - rm -f $ac_file - mv "$tmp/config.h" $ac_file + rm -f "$ac_file" + mv "$tmp/config.h" "$ac_file" \ + || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 +$as_echo "$as_me: error: could not create $ac_file" >&2;} + { (exit 1); exit 1; }; } fi else - echo "/* $configure_input */" - cat "$ac_result" + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ + || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 +$as_echo "$as_me: error: could not create -" >&2;} + { (exit 1); exit 1; }; } fi - rm -f "$tmp/out12" -# Compute $ac_file's index in $config_headers. +# Compute "$ac_file"'s index in $config_headers. +_am_arg="$ac_file" _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in - $ac_file | $ac_file:* ) + $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done -echo "timestamp for $ac_file" >`$as_dirname -- $ac_file || -$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X$ac_file : 'X\(//\)[^/]' \| \ - X$ac_file : 'X\(//\)$' \| \ - X$ac_file : 'X\(/\)' \| . 2>/dev/null || -echo X$ac_file | +echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || +$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$_am_arg" : 'X\(//\)[^/]' \| \ + X"$_am_arg" : 'X\(//\)$' \| \ + X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$_am_arg" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -15378,29 +17033,40 @@ s/.*/./; q'`/stamp-h$_am_stamp_count ;; - :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 -echo "$as_me: executing $ac_file commands" >&6;} + :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 +$as_echo "$as_me: executing $ac_file commands" >&6;} ;; esac case $ac_file$ac_mode in - "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do - # Strip MF so we end up with the name of the file. - mf=`echo "$mf" | sed -e 's/:.*$//'` - # Check whether this is an Automake generated Makefile or not. - # We used to match only the files named `Makefile.in', but - # some people rename them; so instead we look at the file content. - # Grep'ing the first line is not enough: some people post-process - # each Makefile.in and add a new line on top of each file to say so. - # So let's grep whole file. - if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then - dirpart=`$as_dirname -- "$mf" || + "depfiles":C) test x"$AMDEP_TRUE" != x"" || { + # Autoconf 2.62 quotes --file arguments for eval, but not when files + # are listed without --file. Let's play safe and only enable the eval + # if we detect the quoting. + case $CONFIG_FILES in + *\'*) eval set x "$CONFIG_FILES" ;; + *) set x $CONFIG_FILES ;; + esac + shift + for mf + do + # Strip MF so we end up with the name of the file. + mf=`echo "$mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile or not. + # We used to match only the files named `Makefile.in', but + # some people rename them; so instead we look at the file content. + # Grep'ing the first line is not enough: some people post-process + # each Makefile.in and add a new line on top of each file to say so. + # Grep'ing the whole file is not good either: AIX grep has a line + # limit of 2048, but all sed's we know have understand at least 4000. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then + dirpart=`$as_dirname -- "$mf" || $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$mf" : 'X\(//\)[^/]' \| \ X"$mf" : 'X\(//\)$' \| \ X"$mf" : 'X\(/\)' \| . 2>/dev/null || -echo X"$mf" | +$as_echo X"$mf" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -15418,33 +17084,33 @@ q } s/.*/./; q'` - else - continue - fi - # Extract the definition of DEPDIR, am__include, and am__quote - # from the Makefile without running `make'. - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` - test -z "$DEPDIR" && continue - am__include=`sed -n 's/^am__include = //p' < "$mf"` - test -z "am__include" && continue - am__quote=`sed -n 's/^am__quote = //p' < "$mf"` - # When using ansi2knr, U may be empty or an underscore; expand it - U=`sed -n 's/^U = //p' < "$mf"` - # Find all dependency output files, they are included files with - # $(DEPDIR) in their names. We invoke sed twice because it is the - # simplest approach to changing $(DEPDIR) to its actual value in the - # expansion. - for file in `sed -n " - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do - # Make sure the directory exists. - test -f "$dirpart/$file" && continue - fdir=`$as_dirname -- "$file" || + else + continue + fi + # Extract the definition of DEPDIR, am__include, and am__quote + # from the Makefile without running `make'. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` + test -z "$DEPDIR" && continue + am__include=`sed -n 's/^am__include = //p' < "$mf"` + test -z "am__include" && continue + am__quote=`sed -n 's/^am__quote = //p' < "$mf"` + # When using ansi2knr, U may be empty or an underscore; expand it + U=`sed -n 's/^U = //p' < "$mf"` + # Find all dependency output files, they are included files with + # $(DEPDIR) in their names. We invoke sed twice because it is the + # simplest approach to changing $(DEPDIR) to its actual value in the + # expansion. + for file in `sed -n " + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`$as_dirname -- "$file" || $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$file" : 'X\(//\)[^/]' \| \ X"$file" : 'X\(//\)$' \| \ X"$file" : 'X\(/\)' \| . 2>/dev/null || -echo X"$file" | +$as_echo X"$file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -15462,7 +17128,7 @@ q } s/.*/./; q'` - { as_dir=$dirpart/$fdir + { as_dir=$dirpart/$fdir case $as_dir in #( -*) as_dir=./$as_dir;; esac @@ -15470,7 +17136,7 @@ as_dirs= while :; do case $as_dir in #( - *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" @@ -15479,7 +17145,7 @@ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -echo X"$as_dir" | +$as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -15500,13 +17166,14 @@ test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 -echo "$as_me: error: cannot create directory $as_dir" >&2;} + } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 +$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} { (exit 1); exit 1; }; }; } - # echo "creating $dirpart/$file" - echo '# dummy' > "$dirpart/$file" + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done done -done +} ;; "libtool":C) @@ -16159,6 +17826,11 @@ chmod +x $CONFIG_STATUS ac_clean_files=$ac_clean_files_save +test $ac_write_fail = 0 || + { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 +$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} + { (exit 1); exit 1; }; } + # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. @@ -16180,6 +17852,10 @@ # would make configure fail if this is the last instruction. $ac_cs_success || { (exit 1); exit 1; } fi +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then + { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} +fi echo @@ -16191,11 +17867,11 @@ $have_gtk && echo gtk with $gtk_version API $have_libglade && echo gtk.glade $have_gtkunixprint && echo gtk.unixprint -echo if test ! $have_atk || ! $have_pango || \ ! $have_gtk || ! $have_libglade || \ ! $have_pangocairo || ! $have_gtkunixprint; then + echo echo "The following modules will NOT be built:" echo $have_atk || echo atk @@ -16205,3 +17881,7 @@ $have_libglade || echo gtk.glade $have_gtkunixprint || echo gtk.unixprint fi + +echo +echo "Numpy support: $enable_numpy" +echo diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/configure.ac /tmp/vg4GBciBVb/pygtk-2.15.1/configure.ac --- pygtk-2.14.1/configure.ac 2009-03-05 22:56:00.000000000 +0000 +++ pygtk-2.15.1/configure.ac 2009-05-24 23:15:01.000000000 +0100 @@ -3,7 +3,7 @@ dnl the pygtk version number m4_define(pygtk_major_version, 2) -m4_define(pygtk_minor_version, 14) +m4_define(pygtk_minor_version, 15) m4_define(pygtk_micro_version, 1) m4_define(pygtk_version, pygtk_major_version.pygtk_minor_version.pygtk_micro_version) @@ -15,7 +15,7 @@ m4_define(libglade_required_version, 2.5.0) m4_define(gtkunixprint_required_version, 2.9.0) m4_define(pycairo_required_version, 1.0.2) dnl or 1.1.7 -m4_define(pygobject_required_version, 2.14.0) +m4_define(pygobject_required_version, 2.16.1) AC_INIT(pygtk, pygtk_version, [http://bugzilla.gnome.org/enter_bug.cgi?product=pygtk]) @@ -72,6 +72,8 @@ AC_LIBTOOL_WIN32_DLL AC_PROG_LIBTOOL +dnl when using libtool 2.x create libtool early, because it's used in configure +m4_ifdef([LT_OUTPUT], [LT_OUTPUT]) AM_PATH_PYTHON(2.3.5) @@ -142,6 +144,22 @@ PYGOBJECT_DATADIR=`$PKG_CONFIG --variable=datadir pygobject-2.0` AC_SUBST(PYGOBJECT_DATADIR) + +dnl PyGObject defs +AC_SUBST(PYGOBJECT_DEFSDIR) +PYGOBJECT_DEFSDIR=`$PKG_CONFIG --variable defsdir pygobject-2.0` + +AC_MSG_CHECKING([for gio-types.defs]) +if test -n "$PYGOBJECT_DEFSDIR" && test -e "$PYGOBJECT_DEFSDIR/gio-types.defs"; then + AM_CONDITIONAL(HAVE_GIO_TYPES_DEFS, true) + AC_MSG_RESULT($PYGOBJECT_DEFSDIR/gio-types.defs) +else + AM_CONDITIONAL(HAVE_GIO_TYPES_DEFS, false) + AC_MSG_RESULT(no) +fi + + +dnl Documentation PYGOBJECT_FIXXREF="$PYTHON `$PKG_CONFIG --variable=fixxref pygobject-2.0`" AC_SUBST(PYGOBJECT_FIXXREF) @@ -266,8 +284,7 @@ AC_DEFINE([HAVE_GTK_2_12], [$have_gtk_212], [If Gtk 2.12 was found]) dnl check for gtk 2.14 - PKG_CHECK_MODULES(GTK214, [gtk+-2.0 >= 2.13.6, - pygobject-2.0 >= 2.15.3], + PKG_CHECK_MODULES(GTK214, gtk+-2.0 >= 2.13.8, HAVE_GTK_214="yes", HAVE_GTK_214="no") if test "x$HAVE_GTK_214" = "xyes"; then @@ -283,6 +300,23 @@ AC_SUBST(HAVE_GTK_2_14) AC_DEFINE([HAVE_GTK_2_14], [$have_gtk_214], [If Gtk 2.14 was found]) + dnl check for gtk 2.16 + PKG_CHECK_MODULES(GTK216, gtk+-2.0 >= 2.16.0, + HAVE_GTK_216="yes", HAVE_GTK_216="no") + + if test "x$HAVE_GTK_216" = "xyes"; then + gtk_version="2.16" + have_gtk_216=true + PYGTK_CODEGEN_DEFINES="$PYGTK_CODEGEN_DEFINES -DHAVE_GTK_2_16" + else + AC_MSG_RESULT(no) + have_gtk_216=false + fi + + AM_CONDITIONAL(HAVE_GTK_2_16, $have_gtk_216) + AC_SUBST(HAVE_GTK_2_16) + AC_DEFINE([HAVE_GTK_2_16], [$have_gtk_216], [If Gtk 2.16 was found]) + dnl libglade PKG_CHECK_MODULES(LIBGLADE, [libglade-2.0 >= libglade_required_version], have_libglade=true, have_libglade=false) @@ -335,18 +369,27 @@ esac -dnl checks to see if Numeric Python is installed. +dnl checks to see if numpy is installed. AC_ARG_ENABLE(numpy, AC_HELP_STRING([--disable-numpy], [Disable numeric python features]),, enable_numpy=yes) if test "x$enable_numpy" != xno; then save_CPPFLAGS="$CPPFLAGS" - CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES" - AC_CHECK_HEADER([Numeric/arrayobject.h], - [AC_DEFINE(HAVE_NUMPY,,[whether to include numeric python support])],, - [#include ]) - CPPFLAGS="$save_CPPFLAGS" + numpy_INCLUDES=`$PYTHON -c "import numpy; print numpy.get_include()" 2> /dev/null` + if test "x$numpy_INCLUDES" = "x"; then + AC_MSG_WARN([Could not find a valid numpy installation, disabling.]) + enable_numpy=no + else + CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES -I$numpy_INCLUDES" + AC_CHECK_HEADER([numpy/arrayobject.h], + [AC_DEFINE(HAVE_NUMPY,,[whether to include numeric python support])], + [enable_numpy=no], + [#include ]) + if test "x$enable_numpy" != "xno"; then + CPPFLAGS="$save_CPPFLAGS -I$numpy_INCLUDES" + fi + fi fi @@ -387,11 +430,11 @@ $have_gtk && echo gtk with $gtk_version API $have_libglade && echo gtk.glade $have_gtkunixprint && echo gtk.unixprint -echo if test ! $have_atk || ! $have_pango || \ ! $have_gtk || ! $have_libglade || \ ! $have_pangocairo || ! $have_gtkunixprint; then + echo echo "The following modules will NOT be built:" echo $have_atk || echo atk @@ -401,3 +444,7 @@ $have_libglade || echo gtk.glade $have_gtkunixprint || echo gtk.unixprint fi + +echo +echo "Numpy support: $enable_numpy" +echo diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/COPYING /tmp/vg4GBciBVb/pygtk-2.15.1/COPYING --- pygtk-2.14.1/COPYING 2009-03-05 22:06:53.000000000 +0000 +++ pygtk-2.15.1/COPYING 2009-04-26 16:11:17.000000000 +0100 @@ -2,7 +2,7 @@ Version 2.1, February 1999 Copyright (C) 1991, 1999 Free Software Foundation, Inc. - 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. @@ -485,7 +485,7 @@ You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Also add information on how to contact you by electronic and paper mail. diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/debian/changelog /tmp/vg4GBciBVb/pygtk-2.15.1/debian/changelog --- pygtk-2.14.1/debian/changelog 2009-06-12 23:48:14.000000000 +0100 +++ pygtk-2.15.1/debian/changelog 2009-06-12 23:48:15.000000000 +0100 @@ -1,3 +1,55 @@ +pygtk (2.15.1-0ubuntu1+rainct1~jaunty) jaunty; urgency=low + + * gtk/gtk.override: + Fix GNOME Bug #585458 by not freeing an unowned string. + http://git.gnome.org/cgit/pygtk/commit/?id=956592c614c567623510dccf5fc1edaee9c766c1 + + -- Siegfried-Angel Gevatter Pujals Sat, 13 Jun 2009 00:39:48 +0200 + +pygtk (2.15.1-0ubuntu1) karmic; urgency=low + + * New upstream version: + - (Add HSV support to gtk.gdk.Color objects) + - Add floating-point support to gtk.gdk.Color + - Retire hand-written ChangeLog; autocreate from Git history + - Fix conditional in docs/Makefile.am + - Document that gtk.gdk.GC coordinates are not related to allocation + - Make pygtk_boxed_unref_shared + - Make gtk.MenuItem.set_submenu accept None + - Don't run 'fixxref.py' if documentation is not built + - Apply libtool 2.2 compatibility patch + - Plug reference leak on main signal watch source + - Add extra warning against accidental misuse of tree model columns + - Wrap gtk.Border attributes and constructor + - Make gtk.gdk.Event.time accept 'long' in assignments + - Wrap gtk.RcStyle attributes + + -- Sebastien Bacher Mon, 01 Jun 2009 21:02:03 +0200 + +pygtk (2.15.0-0ubuntu1) karmic; urgency=low + + * New upstream version: + - Update pygtk to use numpy instead of Numeric + - Update the address of the FSF + - Wrap gtk_builder_add_objects_from_string and + gtk_builder_add_objects_from_file. + - Add GTK+ 2.16 API + - wrap gtk.IconView.convert_widget_to_bin_window_coords + - add gtk.gdk.Window.redirect_to_drawable + - add GtkNumberUpLayout enum + - some method argument fixes + - add gtk.PrintSettings.[get|set]_number_up_layout + - Some demo fixes + - Add various deprecation warnings + * debian/control.in: + - updated build requirements + * debian/patches/02_numpy.patch, debian/patches/70_autoconf.patch: + - the change is in the new version + * debian/patches/60_pygtk-wakeupfd-fix.patch: + - new version update + + -- Sebastien Bacher Mon, 11 May 2009 16:19:38 +0200 + pygtk (2.14.1-1ubuntu1) jaunty; urgency=low * Resync with Debian diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/debian/control /tmp/vg4GBciBVb/pygtk-2.15.1/debian/control --- pygtk-2.14.1/debian/control 2009-06-12 23:48:14.000000000 +0100 +++ pygtk-2.15.1/debian/control 2009-06-12 23:48:15.000000000 +0100 @@ -4,7 +4,7 @@ Maintainer: Ubuntu Desktop Team XSBC-Original-Maintainer: Sebastien Bacher Uploaders: Torsten Landschoff , - Debian GNOME Maintainers , Josselin Mouette , Loic Minier + Debian GNOME Maintainers , Josselin Mouette Build-Depends: debhelper (>= 5), python-support (>= 0.7.6), gnome-pkg-tools (>= 0.10), @@ -14,14 +14,14 @@ xvfb, xauth, xfonts-base, libgl1-mesa-dri, python-all-dev (>= 2.5), python-all-dbg, - libgtk2.0-dev (>= 2.13.6), + libgtk2.0-dev (>= 2.13.8), libglib2.0-dev (>= 2.8.0), libpango1.0-dev (>= 1.16.0), libatk1.0-dev (>= 1.12.0), libglade2-dev (>= 2.5.0), python-numpy-dbg (>= 1:1.0.4-1~), python-cairo-dev (>= 1.0.2), - python-gobject-dev (>= 2.15.3), + python-gobject-dev (>= 2.16.1), xsltproc, docbook-xsl, autotools-dev, diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/debian/control.in /tmp/vg4GBciBVb/pygtk-2.15.1/debian/control.in --- pygtk-2.14.1/debian/control.in 2009-06-12 23:48:14.000000000 +0100 +++ pygtk-2.15.1/debian/control.in 2009-06-12 23:48:15.000000000 +0100 @@ -14,14 +14,14 @@ xvfb, xauth, xfonts-base, libgl1-mesa-dri, python-all-dev (>= 2.5), python-all-dbg, - libgtk2.0-dev (>= 2.13.6), + libgtk2.0-dev (>= 2.13.8), libglib2.0-dev (>= 2.8.0), libpango1.0-dev (>= 1.16.0), libatk1.0-dev (>= 1.12.0), libglade2-dev (>= 2.5.0), python-numpy-dbg (>= 1:1.0.4-1~), python-cairo-dev (>= 1.0.2), - python-gobject-dev (>= 2.15.3), + python-gobject-dev (>= 2.16.1), xsltproc, docbook-xsl, autotools-dev, diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/debian/patches/02_numpy.patch /tmp/vg4GBciBVb/pygtk-2.15.1/debian/patches/02_numpy.patch --- pygtk-2.14.1/debian/patches/02_numpy.patch 2009-06-12 23:48:14.000000000 +0100 +++ pygtk-2.15.1/debian/patches/02_numpy.patch 1970-01-01 01:00:00.000000000 +0100 @@ -1,81 +0,0 @@ -Index: pygtk-2.13.0/README -=================================================================== ---- pygtk-2.13.0.orig/README 2008-11-12 18:04:27.870985209 +0100 -+++ pygtk-2.13.0/README 2008-11-12 18:04:34.210985126 +0100 -@@ -54,7 +54,7 @@ Requirements - GTK+ 2.14.0 or higher for 2.14 API - * libglade 2.5.0 or higher (optional) - * pycairo 1.0.2 or higher (optional) -- * Numeric (optional) -+ * numpy (optional) - - This release is supporting the following GTK+ releases: - -Index: pygtk-2.13.0/configure.ac -=================================================================== ---- pygtk-2.13.0.orig/configure.ac 2008-11-12 17:59:44.822987000 +0100 -+++ pygtk-2.13.0/configure.ac 2008-11-12 18:01:50.203309500 +0100 -@@ -336,18 +336,19 @@ case $gdk_target in - esac - - --dnl checks to see if Numeric Python is installed. -+dnl checks to see if numpy is installed. - AC_ARG_ENABLE(numpy, - AC_HELP_STRING([--disable-numpy], [Disable numeric python features]),, - enable_numpy=yes) - - if test "x$enable_numpy" != xno; then - save_CPPFLAGS="$CPPFLAGS" -- CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES" -- AC_CHECK_HEADER([Numeric/arrayobject.h], -+ numpy_INCLUDES=`$PYTHON -c "import numpy; print numpy.get_include()"` -+ CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES -I$numpy_INCLUDES" -+ AC_CHECK_HEADER([numpy/arrayobject.h], - [AC_DEFINE(HAVE_NUMPY,,[whether to include numeric python support])],, - [#include ]) -- CPPFLAGS="$save_CPPFLAGS" -+ CPPFLAGS="$save_CPPFLAGS -I$numpy_INCLUDES" - fi - - -Index: pygtk-2.13.0/gtk/gdk.override -=================================================================== ---- pygtk-2.13.0.orig/gtk/gdk.override 2008-11-12 18:04:06.139490006 +0100 -+++ pygtk-2.13.0/gtk/gdk.override 2008-11-12 18:04:11.850987486 +0100 -@@ -43,7 +43,7 @@ headers - #define GDK_DISPLAY(object) (GDK_DISPLAY_OBJECT(object)) - - #ifdef HAVE_NUMPY --# include -+# include - static int have_numpy(void); - #endif - -Index: pygtk-2.13.0/setup.py -=================================================================== ---- pygtk-2.13.0.orig/setup.py 2008-11-12 18:02:06.030988087 +0100 -+++ pygtk-2.13.0/setup.py 2008-11-12 18:02:57.707318739 +0100 -@@ -228,16 +228,16 @@ if pango.can_build(): - data_files.append((DEFS_DIR, ('pangocairo.defs',))) - GLOBAL_MACROS.append(('HAVE_PYCAIRO',1)) - if gtk.can_build(): -- if '--disable-numeric' in sys.argv: -- sys.argv.remove('--disable-numeric') -+ if '--disable-numpy' in sys.argv: -+ sys.argv.remove('--disable-numpy') - else: - try: -- import Numeric -- Numeric # pyflakes -+ import numpy -+ numpy # pyflakes - GLOBAL_MACROS.append(('HAVE_NUMPY', 1)) - except ImportError: -- print ('* Numeric module could not be found, ' -- 'will build without Numeric support.') -+ print ('* numpy module could not be found, ' -+ 'will build without numpy support.') - ext_modules.append(gtk) - data_files.append((os.path.join(INCLUDE_DIR, 'pygtk'), ('gtk/pygtk.h',))) - data_files.append((DEFS_DIR, ('gtk/gdk.defs', 'gtk/gdk-types.defs', diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/debian/patches/60_pygtk-wakeupfd-fix.patch /tmp/vg4GBciBVb/pygtk-2.15.1/debian/patches/60_pygtk-wakeupfd-fix.patch --- pygtk-2.14.1/debian/patches/60_pygtk-wakeupfd-fix.patch 2009-06-12 23:48:14.000000000 +0100 +++ pygtk-2.15.1/debian/patches/60_pygtk-wakeupfd-fix.patch 2009-06-12 23:48:15.000000000 +0100 @@ -1,8 +1,8 @@ -Index: pygtk-2.13.0/gtk/gtk.override +Index: pygtk-2.15.0/gtk/gtk.override =================================================================== ---- pygtk-2.13.0.orig/gtk/gtk.override 2008-11-12 17:59:15.427489178 +0100 -+++ pygtk-2.13.0/gtk/gtk.override 2008-11-12 17:59:19.103489690 +0100 -@@ -37,6 +37,8 @@ extern PyTypeObject PyGdkCairoContext_Ty +--- pygtk-2.15.0.orig/gtk/gtk.override 2009-04-26 17:11:17.000000000 +0200 ++++ pygtk-2.15.0/gtk/gtk.override 2009-05-11 16:29:28.000000000 +0200 +@@ -36,6 +36,8 @@ #include "pygtk-private.h" @@ -11,30 +11,31 @@ #define PYGTK_CONTAINER_FOREACH 0 #define PYGTK_CONTAINER_FORALL 1 #define countof(array) (sizeof(array)/sizeof(array[0])) -@@ -1069,7 +1071,10 @@ static gboolean +@@ -1109,6 +1111,11 @@ pygtk_main_watch_prepare(GSource *source, int *timeout) { +#ifdef HAVE_PYSIGNAL_SETWAKEUPFD - PySignalWatchSource *real_source = (PySignalWatchSource *)source; ++ PySignalWatchSource *real_source = (PySignalWatchSource *)source; + int flag; +#endif - ++ /* Python only invokes signal handlers from the main thread, * so if a thread other than the main thread receives the signal -@@ -1103,6 +1108,11 @@ pygtk_main_watch_prepare(GSource *source - real_source->fd.events = G_IO_IN | G_IO_HUP | G_IO_ERR; - g_source_add_poll(source, &real_source->fd); + * from the kernel, PyErr_CheckSignals() from that thread will +@@ -1144,6 +1151,11 @@ + real_source->fd.events = G_IO_IN | G_IO_HUP | G_IO_ERR; + g_source_add_poll(source, &real_source->fd); + /* Make the read end of the fd non blocking */ + flag = fcntl(real_source->fds[0], F_GETFL, 0); + flag |= O_NONBLOCK; + fcntl(real_source->fds[0], F_SETFL, flag); + - PySignal_SetWakeupFd(real_source->fds[1]); - + PySignal_SetWakeupFd(real_source->fds[1]); + } #else /* !HAVE_PYSIGNAL_SETWAKEUPFD */ -@@ -1122,8 +1132,18 @@ pygtk_main_watch_check(GSource *source) +@@ -1163,8 +1175,18 @@ { PyGILState_STATE state; diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/debian/patches/70_autoconf.patch /tmp/vg4GBciBVb/pygtk-2.15.1/debian/patches/70_autoconf.patch --- pygtk-2.14.1/debian/patches/70_autoconf.patch 2009-06-12 23:48:14.000000000 +0100 +++ pygtk-2.15.1/debian/patches/70_autoconf.patch 1970-01-01 01:00:00.000000000 +0100 @@ -1,63 +0,0 @@ -Index: pygtk-2.14.1/configure -=================================================================== ---- pygtk-2.14.1.orig/configure 2009-03-06 00:09:17.000000000 +0100 -+++ pygtk-2.14.1/configure 2009-03-09 11:45:34.749671706 +0100 -@@ -13441,10 +13441,11 @@ fi - - if test "x$enable_numpy" != xno; then - save_CPPFLAGS="$CPPFLAGS" -- CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES" -- { echo "$as_me:$LINENO: checking for Numeric/arrayobject.h" >&5 --echo $ECHO_N "checking for Numeric/arrayobject.h... $ECHO_C" >&6; } --if test "${ac_cv_header_Numeric_arrayobject_h+set}" = set; then -+ numpy_INCLUDES=`$PYTHON -c "import numpy; print numpy.get_include()"` -+ CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES -I$numpy_INCLUDES" -+ { echo "$as_me:$LINENO: checking for numpy/arrayobject.h" >&5 -+echo $ECHO_N "checking for numpy/arrayobject.h... $ECHO_C" >&6; } -+if test "${ac_cv_header_numpy_arrayobject_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 - else - cat >conftest.$ac_ext <<_ACEOF -@@ -13455,7 +13456,7 @@ cat >>conftest.$ac_ext <<_ACEOF - /* end confdefs.h. */ - #include - --#include -+#include - _ACEOF - rm -f conftest.$ac_objext - if { (ac_try="$ac_compile" -@@ -13474,19 +13475,19 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then -- ac_cv_header_Numeric_arrayobject_h=yes -+ ac_cv_header_numpy_arrayobject_h=yes - else - echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - -- ac_cv_header_Numeric_arrayobject_h=no -+ ac_cv_header_numpy_arrayobject_h=no - fi - - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - fi --{ echo "$as_me:$LINENO: result: $ac_cv_header_Numeric_arrayobject_h" >&5 --echo "${ECHO_T}$ac_cv_header_Numeric_arrayobject_h" >&6; } --if test $ac_cv_header_Numeric_arrayobject_h = yes; then -+{ echo "$as_me:$LINENO: result: $ac_cv_header_numpy_arrayobject_h" >&5 -+echo "${ECHO_T}$ac_cv_header_numpy_arrayobject_h" >&6; } -+if test $ac_cv_header_numpy_arrayobject_h = yes; then - - cat >>confdefs.h <<\_ACEOF - #define HAVE_NUMPY -@@ -13495,7 +13496,7 @@ _ACEOF - fi - - -- CPPFLAGS="$save_CPPFLAGS" -+ CPPFLAGS="$save_CPPFLAGS -I$numpy_INCLUDES" - fi - - diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/debian/patches/series /tmp/vg4GBciBVb/pygtk-2.15.1/debian/patches/series --- pygtk-2.14.1/debian/patches/series 2009-06-12 23:48:14.000000000 +0100 +++ pygtk-2.15.1/debian/patches/series 2009-06-12 23:48:15.000000000 +0100 @@ -1,5 +1,3 @@ 01_pygtk-demo.patch -02_numpy.patch 03_testsuite_filechooser.patch 60_pygtk-wakeupfd-fix.patch -70_autoconf.patch diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/depcomp /tmp/vg4GBciBVb/pygtk-2.15.1/depcomp --- pygtk-2.14.1/depcomp 2009-03-05 22:31:39.000000000 +0000 +++ pygtk-2.15.1/depcomp 2009-05-02 18:22:28.000000000 +0100 @@ -1,9 +1,10 @@ #! /bin/sh # depcomp - compile a program generating dependencies as side-effects -scriptversion=2005-07-09.11 +scriptversion=2007-03-29.01 -# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. +# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007 Free Software +# Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -91,7 +92,20 @@ ## gcc 3 implements dependency tracking that does exactly what ## we want. Yay! Note: for some reason libtool 1.4 doesn't like ## it if -MD -MP comes after the -MF stuff. Hmm. - "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" +## Unfortunately, FreeBSD c89 acceptance of flags depends upon +## the command line argument order; so add the flags where they +## appear in depend2.am. Note that the slowdown incurred here +## affects only configure: in makefiles, %FASTDEP% shortcuts this. + for arg + do + case $arg in + -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; + *) set fnord "$@" "$arg" ;; + esac + shift # fnord + shift # $arg + done + "$@" stat=$? if test $stat -eq 0; then : else @@ -201,34 +215,39 @@ # current directory. Also, the AIX compiler puts `$object:' at the # start of each line; $object doesn't have directory information. # Version 6 uses the directory in both cases. - stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'` - tmpdepfile="$stripped.u" + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` + test "x$dir" = "x$object" && dir= + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` if test "$libtool" = yes; then + tmpdepfile1=$dir$base.u + tmpdepfile2=$base.u + tmpdepfile3=$dir.libs/$base.u "$@" -Wc,-M else + tmpdepfile1=$dir$base.u + tmpdepfile2=$dir$base.u + tmpdepfile3=$dir$base.u "$@" -M fi stat=$? - if test -f "$tmpdepfile"; then : - else - stripped=`echo "$stripped" | sed 's,^.*/,,'` - tmpdepfile="$stripped.u" - fi - if test $stat -eq 0; then : else - rm -f "$tmpdepfile" + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" + do + test -f "$tmpdepfile" && break + done if test -f "$tmpdepfile"; then - outname="$stripped.o" # Each line is of the form `foo.o: dependent.h'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. - sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile" - sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile" + sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" + # That's a tab and a space in the []. + sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" else # The sourcefile does not contain any dependencies, so just # store a dummy comment line, to avoid errors with the Makefile @@ -276,6 +295,46 @@ rm -f "$tmpdepfile" ;; +hp2) + # The "hp" stanza above does not work with aCC (C++) and HP's ia64 + # compilers, which have integrated preprocessors. The correct option + # to use with these is +Maked; it writes dependencies to a file named + # 'foo.d', which lands next to the object file, wherever that + # happens to be. + # Much of this is similar to the tru64 case; see comments there. + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` + test "x$dir" = "x$object" && dir= + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` + if test "$libtool" = yes; then + tmpdepfile1=$dir$base.d + tmpdepfile2=$dir.libs/$base.d + "$@" -Wc,+Maked + else + tmpdepfile1=$dir$base.d + tmpdepfile2=$dir$base.d + "$@" +Maked + fi + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile1" "$tmpdepfile2" + exit $stat + fi + + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" + do + test -f "$tmpdepfile" && break + done + if test -f "$tmpdepfile"; then + sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile" + # Add `dependent.h:' lines. + sed -ne '2,${; s/^ *//; s/ \\*$//; s/$/:/; p;}' "$tmpdepfile" >> "$depfile" + else + echo "#dummy" > "$depfile" + fi + rm -f "$tmpdepfile" "$tmpdepfile2" + ;; + tru64) # The Tru64 compiler uses -MD to generate dependencies as a side # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. @@ -288,13 +347,13 @@ if test "$libtool" = yes; then # With Tru64 cc, shared objects can also be used to make a - # static library. This mecanism is used in libtool 1.4 series to + # static library. This mechanism is used in libtool 1.4 series to # handle both shared and static libraries in a single compilation. # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. # # With libtool 1.5 this exception was removed, and libtool now # generates 2 separate objects for the 2 libraries. These two - # compilations output dependencies in in $dir.libs/$base.o.d and + # compilations output dependencies in $dir.libs/$base.o.d and # in $dir$base.o.d. We have to check for both files, because # one of the two compilations can be disabled. We should prefer # $dir$base.o.d over $dir.libs/$base.o.d because the latter is diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/atk-constants.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/atk-constants.html --- pygtk-2.14.1/docs/html/atk-constants.html 2009-03-05 22:48:09.000000000 +0000 +++ pygtk-2.15.1/docs/html/atk-constants.html 2009-05-24 23:11:16.000000000 +0100 @@ -1,4 +1,4 @@ -atk Constants

atk Constants

atk Constants — the built-in constants of the atk module

Synopsis

+atk Constants

atk Constants

atk Constants — the built-in constants of the atk module

Synopsis

 Atk Coord Type Constants
 Atk Layer Constants
 Atk Relation Type Constants
diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-atkaction.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-atkaction.html
--- pygtk-2.14.1/docs/html/class-atkaction.html	2009-03-05 22:48:03.000000000 +0000
+++ pygtk-2.15.1/docs/html/class-atkaction.html	2009-05-24 23:11:10.000000000 +0100
@@ -1,6 +1,6 @@
 atk.Action

atk.Action

atk.Action — the ATK interface provided by UI components that the user - can activate/interact with,

Synopsis

class atk.Action(gobject.GInterface):
-    def do_action(i)
def get_n_actions()
def get_description(i)
def get_name(i)
def get_keybinding(i)
def set_description(i, desc)
def get_localized_name(i)

Description

atk.Action + can activate/interact with,

Synopsis

class atk.Action(gobject.GInterface):
+    def do_action(i)
def get_n_actions()
def get_description(i)
def get_name(i)
def get_keybinding(i)
def set_description(i, desc)
def get_localized_name(i)

Description

atk.Action should be implemented by instances of atk.Object classes with which the user can interact directly, i.e. buttons, checkboxes, scrollbars, e.g. components which are not "passive" @@ -21,7 +21,7 @@ should expose only one action rather than exposing redundant actions if possible. By convention we have been using "mouse centric" terminology for atk.Action - names.

Methods

atk.Action.do_action

    def do_action(i)

i :

the action index corresponding to the action to + names.

Methods

atk.Action.do_action

    def do_action(i)

i :

the action index corresponding to the action to be performed

Returns :

True if success, False otherwise

Perform the specified action on the object.

atk.Action.get_n_actions

    def get_n_actions()

Returns :

a the number of actions, or 0 if action does not implement this diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-atkcomponent.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-atkcomponent.html --- pygtk-2.14.1/docs/html/class-atkcomponent.html 2009-03-05 22:48:03.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-atkcomponent.html 2009-05-24 23:11:10.000000000 +0100 @@ -1,6 +1,6 @@ atk.Component

atk.Component

atk.Component — the ATK interface provided by UI components that occupy a - physical area on the screen.

Synopsis

class atk.Component(gobject.GInterface):
-    def contains(x, y, coord_type)
def ref_accessible_at_point(x, y, coord_type)
def get_extents(coord_type)
def get_position(coord_type)
def get_size()
def grab_focus()
def remove_focus_handler(handler_id)
def set_extents(x, y, width, height, coord_type)
def set_position(x, y, coord_type)
def set_size(width, height)
def get_layer()
def get_mdi_zorder()

atk.Component Signal Prototypes

"bounds-changed"

def callback(atkcomponent, rect, user_param1, ...)

Description

atk.Component + physical area on the screen.

Synopsis

class atk.Component(gobject.GInterface):
+    def contains(x, y, coord_type)
def ref_accessible_at_point(x, y, coord_type)
def get_extents(coord_type)
def get_position(coord_type)
def get_size()
def grab_focus()
def remove_focus_handler(handler_id)
def set_extents(x, y, width, height, coord_type)
def set_position(x, y, coord_type)
def set_size(width, height)
def get_layer()
def get_mdi_zorder()

atk.Component Signal Prototypes

"bounds-changed"

def callback(atkcomponent, rect, user_param1, ...)

Description

atk.Component should be implemented by most if not all UI elements with an actual on-screen presence, i.e. components which can be said to have a screen-coordinate bounding box. Virtually all widgets will need to have @@ -9,7 +9,7 @@ class. In short, only UI elements which are *not* GUI elements will omit this ATK interface.

A possible exception might be textual information with a transparent background, in which case text glyph bounding box - information is provided by atk.Text.

Methods

atk.Component.contains

    def contains(x, y, coord_type)

x :

x coordinate

y :

y coordinate

coord_type :

specifies whether the coordinates are relative + information is provided by atk.Text.

Methods

atk.Component.contains

    def contains(x, y, coord_type)

x :

x coordinate

y :

y coordinate

coord_type :

specifies whether the coordinates are relative to the screen or to the components top level window - one of the Atk Coord Type Constants

Returns :

True or False indicating whether the specified point is @@ -53,7 +53,7 @@ container.

Gets the zorder of the component. The value G_MININT will be returned if the layer of the component is not atk.LAYER_MDI or - atk.LAYER_WINDOW.

Signals

The "bounds-changed" atk.Component Signal

    def callback(atkcomponent, rect, user_param1, ...)

atkcomponent :

the object which received the signal.

rect :

The atk.Rectangle + atk.LAYER_WINDOW.

Signals

The "bounds-changed" atk.Component Signal

    def callback(atkcomponent, rect, user_param1, ...)

atkcomponent :

the object which received the signal.

rect :

The atk.Rectangle giving the new position and size.

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if any)

The 'bounds-changed" signal is emitted when the bposition or diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-atkdocument.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-atkdocument.html --- pygtk-2.14.1/docs/html/class-atkdocument.html 2009-03-05 22:48:03.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-atkdocument.html 2009-05-24 23:11:10.000000000 +0100 @@ -1,6 +1,6 @@ atk.Document

atk.Document

atk.Document — the ATK interface which allows access to a DOM associated - with on object.

Synopsis

class atk.Document(gobject.GInterface):
-    def get_document_type()

Description

The atk.Document + with on object.

Synopsis

class atk.Document(gobject.GInterface):
+    def get_document_type()

Description

The atk.Document interface should be supported by any object that has an associated document object model (DOM). This interface provides the standard - mechanism allowing an assistive technology access to the DOM.

Methods

atk.Document.get_document_type

    def get_document_type()

Returns :

a string indicating the document type

Gets a string indicating the document type.

+ mechanism allowing an assistive technology access to the DOM.

Methods

atk.Document.get_document_type

    def get_document_type()

Returns :

a string indicating the document type

Gets a string indicating the document type.

diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-atkeditabletext.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-atkeditabletext.html --- pygtk-2.14.1/docs/html/class-atkeditabletext.html 2009-03-05 22:48:04.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-atkeditabletext.html 2009-05-24 23:11:11.000000000 +0100 @@ -1,13 +1,13 @@ atk.EditableText

atk.EditableText

atk.EditableText — the ATK interface implemented by components containing - user-editable text content.

Synopsis

class atk.EditableText(gobject.GInterface):
-    def set_run_attributes(attrib_set, start_offset, end_offset)
def set_text_contents(string)
def insert_text(string, length, position)
def copy_text(start_pos, end_pos)
def cut_text(start_pos, end_pos)
def delete_text(start_pos, end_pos)
def paste_text(position)

Description

atk.EditableText + user-editable text content.

Synopsis

class atk.EditableText(gobject.GInterface):
+    def set_run_attributes(attrib_set, start_offset, end_offset)
def set_text_contents(string)
def insert_text(string, length, position)
def copy_text(start_pos, end_pos)
def cut_text(start_pos, end_pos)
def delete_text(start_pos, end_pos)
def paste_text(position)

Description

atk.EditableText should be implemented by UI components which contain text which the user can edit, via the atk.Object corresponding to that component (see atk.Object).

atk.EditableText is a subclass of atk.Text, and as such, an object which implements atk.EditableText is by definition an atk.Text - implementor as well.

Methods

atk.EditableText.set_run_attributes

    def set_run_attributes(attrib_set, start_offset, end_offset)

attrib_set :

a sequence of 2-tuples containing name-value + implementor as well.

Methods

atk.EditableText.set_run_attributes

    def set_run_attributes(attrib_set, start_offset, end_offset)

attrib_set :

a sequence of 2-tuples containing name-value string pairs.

start_offset :

start of range in which to set attributes

end_offset :

end of range in which to set attributes

Returns :

True if attributes were diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-atkgobjectaccessible.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-atkgobjectaccessible.html --- pygtk-2.14.1/docs/html/class-atkgobjectaccessible.html 2009-03-05 22:48:04.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-atkgobjectaccessible.html 2009-05-24 23:11:11.000000000 +0100 @@ -1,18 +1,18 @@ atk.GObjectAccessible

atk.GObjectAccessible

atk.GObjectAccessible — this object class is derived from AtkObject and can be - used as a basis implementing accessible objects.

Synopsis

class atk.GObjectAccessible(atk.Object):
+      used as a basis implementing accessible objects.  

Synopsis

class atk.GObjectAccessible(atk.Object):
     def get_object()
 Functions
 
-    def atk.gobject_accessible_for_object(obj)

Ancestry

+-- gobject.GObject
+    def atk.gobject_accessible_for_object(obj)

Ancestry

+-- gobject.GObject
   +-- atk.Object
     +-- atk.GObjectAccessible
-

atk.GObjectAccessible Properties

atk.Object Properties

atk.GObjectAccessible Signal Prototypes

gobject.GObject Signal Prototypes

atk.Object Signal Prototypes

Description

This object class is derived from atk.Object. It +

atk.GObjectAccessible Properties

atk.Object Properties

atk.GObjectAccessible Signal Prototypes

gobject.GObject Signal Prototypes

atk.Object Signal Prototypes

Description

This object class is derived from atk.Object. It can be used as a basis for implementing accessible objects for gobject.GObject objects which are not derived from gtk.Widget. One example of its use is in providing an accessible object for - GnomeCanvasItem in the GAIL library.

Methods

atk.GObjectAccessible.get_object

    def get_object()

Returns :

a gobject.GObject + GnomeCanvasItem in the GAIL library.

Methods

atk.GObjectAccessible.get_object

    def get_object()

Returns :

a gobject.GObject which is the object for the accessible object

Gets the gobject.GObject - for the accessible object.

Functions

atk.gobject_accessible_for_object

    def atk.gobject_accessible_for_object(obj)

obj :

a gobject.GObject

Returns :

a atk.Object + for the accessible object.

Functions

atk.gobject_accessible_for_object

    def atk.gobject_accessible_for_object(obj)

obj :

a gobject.GObject

Returns :

a atk.Object which is the accessible object for obj

Gets the accessible object for the specified obj.

diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-atkhyperlink.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-atkhyperlink.html --- pygtk-2.14.1/docs/html/class-atkhyperlink.html 2009-03-05 22:48:04.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-atkhyperlink.html 2009-05-24 23:11:11.000000000 +0100 @@ -1,14 +1,14 @@ -atk.Hyperlink

atk.Hyperlink

atk.Hyperlink — An ATK object which encapsulates a link or set of links in a hypertext document.

Synopsis

class atk.Hyperlink(gobject.GObject):
-    def get_uri(i)
def get_object(i)
def get_end_index()
def get_start_index()
def is_valid()
def get_n_anchors()
def is_inline()
def is_selected_link()

Ancestry

+-- gobject.GObject
+atk.Hyperlink

atk.Hyperlink

atk.Hyperlink — An ATK object which encapsulates a link or set of links in a hypertext document.

Synopsis

class atk.Hyperlink(gobject.GObject):
+    def get_uri(i)
def get_object(i)
def get_end_index()
def get_start_index()
def is_valid()
def get_n_anchors()
def is_inline()
def is_selected_link()

Ancestry

+-- gobject.GObject
   +-- atk.Hyperlink
 

atk.Hyperlink Properties

"end-index"ReadThe end index of the atk.Hyperlink object. Allowed values: >= 0. Default value: 0.
"number-of-anchors"ReadThe number of anchors associated with the atk.Hyperlink object. Allowed values: >= 0. Default value: 0.
"selected-link"Readif True the atk.Hyperlink object is selected. Default value: False.
"start-index"ReadThe start index of the AtkHyperlink object. Allowed values: - >= 0. Default value: 0.

atk.Hyperlink Signal Prototypes

gobject.GObject Signal Prototypes

"link-activated"

def callback(atkhyperlink, user_param1, ...)

Description

An ATK object which encapsulates a link or set of links in a + >= 0. Default value: 0.

atk.Hyperlink Signal Prototypes

gobject.GObject Signal Prototypes

"link-activated"

def callback(atkhyperlink, user_param1, ...)

Description

An ATK object which encapsulates a link or set of links in a hypertext document. It implements the atk.Action - interface.

Methods

atk.Hyperlink.get_uri

    def get_uri(i)

i :

a (zero-index) integer specifying the desired + interface.

Methods

atk.Hyperlink.get_uri

    def get_uri(i)

i :

a (zero-index) integer specifying the desired anchor

Returns :

a string specifying the URI

Get a the URI associated with the anchor specified by i.

Multiple anchors are primarily used by client-side image @@ -35,7 +35,7 @@ False, but an inline <src> HTML element will return True.

atk.Hyperlink.is_selected_link

    def is_selected_link()

Returns :

True if the atk.Hyperlink is selected.

Determines whether this atk.Hyperlink - is selected

Signals

The "link-activated" atk.Hyperlink Signal

    def callback(atkhyperlink, user_param1, ...)

atkhyperlink :

the object which received the signal.

user_param1 :

the first user parameter (if any) specified + is selected

Signals

The "link-activated" atk.Hyperlink Signal

    def callback(atkhyperlink, user_param1, ...)

atkhyperlink :

the object which received the signal.

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if any)

The signal "link-activated" is emitted when a link is activated.

diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-atkhypertext.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-atkhypertext.html --- pygtk-2.14.1/docs/html/class-atkhypertext.html 2009-03-05 22:48:04.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-atkhypertext.html 2009-05-24 23:11:11.000000000 +0100 @@ -1,6 +1,6 @@ atk.Hypertext

atk.Hypertext

atk.Hypertext — the ATK interface which provides standard mechanism for - manipulating hyperlinks.

Synopsis

class atk.Hypertext(gobject.GInterface):
-    def get_link(link_index)
def get_n_links()
def get_link_index(char_index)

atk.Hypertext Signal Prototypes

"link-selected"

def callback(atkhypertext, index, user_param1, ...)

Description

An interface used for objects which implement linking between + manipulating hyperlinks.

Synopsis

class atk.Hypertext(gobject.GInterface):
+    def get_link(link_index)
def get_n_links()
def get_link_index(char_index)

atk.Hypertext Signal Prototypes

"link-selected"

def callback(atkhypertext, index, user_param1, ...)

Description

An interface used for objects which implement linking between multiple resource or content locations, or multiple 'markers' within a single document. A atk.Hypertext instance is associated with one or more atk.Hyperlink @@ -9,14 +9,14 @@ no requirement that atk.Hypertext instances have textual content; they may implement atk.Image as well, and atk.Hyperlink - objects need not have non-zero text offsets.

Methods

atk.Hypertext.get_link

    def get_link(link_index)

link_index :

an integer specifying the desired + objects need not have non-zero text offsets.

Methods

atk.Hypertext.get_link

    def get_link(link_index)

link_index :

an integer specifying the desired link

Returns :

the link in this hypertext document at index link_index

Gets the link in this hypertext document at index link_index

atk.Hypertext.get_n_links

    def get_n_links()

Returns :

the number of links within this hypertext document

Gets the number of links within this hypertext document.

atk.Hypertext.get_link_index

    def get_link_index(char_index)

char_index :

a character index

Returns :

an index into the array of hyperlinks in the hypertext

Gets the index into the array of hyperlinks that is associated with the character specified by char_index, or - -1 if there is no hyperlink associated with this character.

Signals

The "link-selected" atk.Hypertext Signal

    def callback(atkhypertext, index, user_param1, ...)

atkhypertext :

the object which received the + -1 if there is no hyperlink associated with this character.

Signals

The "link-selected" atk.Hypertext Signal

    def callback(atkhypertext, index, user_param1, ...)

atkhypertext :

the object which received the signal.

index :

the index of the hyperlink which is selected

user_param1 :

the first user parameter (if any) specified with the connect() diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-atkimage.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-atkimage.html --- pygtk-2.14.1/docs/html/class-atkimage.html 2009-03-05 22:48:04.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-atkimage.html 2009-05-24 23:11:11.000000000 +0100 @@ -1,6 +1,6 @@ atk.Image

atk.Image

atk.Image — the ATK Interface implemented by components that expose - image or pixmap content on-screen.

Synopsis

class atk.Image(gobject.GInterface):
-    def get_image_description()
def get_image_size()
def set_image_description(description)
def get_image_position(coord_type)

Description

atk.Image should + image or pixmap content on-screen.

Synopsis

class atk.Image(gobject.GInterface):
+    def get_image_description()
def get_image_size()
def set_image_description(description)
def get_image_position(coord_type)

Description

atk.Image should be implemented by atk.Object subtypes on behalf of components which display image/pixmap information onscreen, and which provide information (other than just widget borders, @@ -11,7 +11,7 @@ (useful for screen review mode of screenreaders, and for use by onscreen magnifiers), and descriptive information. The descriptive information is provided for alternative, text-only presentation of the most - significant information present in the image.

Methods

atk.Image.get_image_description

    def get_image_description()

Returns :

a string representing the image + significant information present in the image.

Methods

atk.Image.get_image_description

    def get_image_description()

Returns :

a string representing the image description

Get a textual description of this image.

atk.Image.get_image_size

    def get_image_size()

Returns :

a 2-tuple containing the width and height of the image

Get the width and height in pixels for the specified image. The width and height are returned as -1 if the values cannot be diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-atkimplementor.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-atkimplementor.html --- pygtk-2.14.1/docs/html/class-atkimplementor.html 2009-03-05 22:48:04.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-atkimplementor.html 2009-05-24 23:11:11.000000000 +0100 @@ -1,4 +1,4 @@ -atk.Implementor

atk.Implementor

atk.Implementor

Synopsis

class atk.Implementor(gobject.GInterface):
-    def ref_accessible()

Description

Methods

atk.Implementor.ref_accessible

    def ref_accessible()

Returns :

a reference to an object's atk.Object +atk.Implementor

atk.Implementor

atk.Implementor

Synopsis

class atk.Implementor(gobject.GInterface):
+    def ref_accessible()

Description

Methods

atk.Implementor.ref_accessible

    def ref_accessible()

Returns :

a reference to an object's atk.Object implementation

Gets a reference to an object's atk.Object implementation, if the object implements atk.Object

diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-atknoopobjectfactory.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-atknoopobjectfactory.html --- pygtk-2.14.1/docs/html/class-atknoopobjectfactory.html 2009-03-05 22:48:05.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-atknoopobjectfactory.html 2009-05-24 23:11:12.000000000 +0100 @@ -1,13 +1,13 @@ atk.NoOpObjectFactory

atk.NoOpObjectFactory

atk.NoOpObjectFactory — the atk.ObjectFactory which creates an atk.NoOpObject. -

Synopsis

class atk.NoOpObjectFactory(atk.ObjectFactory):
-    atk.NoOpObjectFactory()

Ancestry

+-- gobject.GObject
+      

Synopsis

class atk.NoOpObjectFactory(atk.ObjectFactory):
+    atk.NoOpObjectFactory()

Ancestry

+-- gobject.GObject
   +-- atk.ObjectFactory
     +-- atk.NoOpObjectFactory
-

atk.NoOpObjectFactory Signal Prototypes

gobject.GObject Signal Prototypes

Description

The atk.ObjectFactory +

atk.NoOpObjectFactory Signal Prototypes

gobject.GObject Signal Prototypes

Description

The atk.ObjectFactory which creates an atk.NoOpObject. An instance of this is created by an atk.Registry if no factory type has not been specified to create an accessible object - of a particular type.

Constructor

atk.NoOpObjectFactory

    atk.NoOpObjectFactory()

Returns :

an instance of an atk.ObjectFactory

Creates an instance of an atk.ObjectFactory + of a particular type.

Constructor

atk.NoOpObjectFactory

    atk.NoOpObjectFactory()

Returns :

an instance of an atk.ObjectFactory

Creates an instance of an atk.ObjectFactory which generates primitive (non-functioning) atk.Object objects.

diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-atknoopobject.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-atknoopobject.html --- pygtk-2.14.1/docs/html/class-atknoopobject.html 2009-03-05 22:48:05.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-atknoopobject.html 2009-05-24 23:11:12.000000000 +0100 @@ -1,11 +1,11 @@ atk.NoOpObject

atk.NoOpObject

atk.NoOpObject — an atk.Object - which purports to implement all ATK interfaces.

Synopsis

class atk.NoOpObject(atk.Object):
-    atk.NoOpObject(obj)

Ancestry

+-- gobject.GObject
+      which purports to implement all ATK interfaces.  

Synopsis

class atk.NoOpObject(atk.Object):
+    atk.NoOpObject(obj)

Ancestry

+-- gobject.GObject
   +-- atk.Object
     +-- atk.NoOpObject
-

atk.NoOpObject Properties

atk.Object Properties

Description

An atk.NoOpObject +

atk.NoOpObject Properties

atk.Object Properties

Description

An atk.NoOpObject is an atk.Object which purports to implement all ATK interfaces. It is the type of atk.Object that is created if an accessible object is requested for an object type for - which no factory type is specified.

Constructor

atk.NoOpObject

    atk.NoOpObject(obj)

obj :

a gobject.GObject

Returns :

a default (non-functioning stub) atk.Object

Provides a default (non-functioning stub) atk.Object. + which no factory type is specified.

Constructor

atk.NoOpObject

    atk.NoOpObject(obj)

obj :

a gobject.GObject

Returns :

a default (non-functioning stub) atk.Object

Provides a default (non-functioning stub) atk.Object. Application maintainers should not use this method.

diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-atkobjectfactory.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-atkobjectfactory.html --- pygtk-2.14.1/docs/html/class-atkobjectfactory.html 2009-03-05 22:48:05.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-atkobjectfactory.html 2009-05-24 23:11:12.000000000 +0100 @@ -1,11 +1,11 @@ atk.ObjectFactory

atk.ObjectFactory

atk.ObjectFactory — the base object class for a factory used to create - accessible objects for objects of a specific GType.

Synopsis

class atk.ObjectFactory(gobject.GObject):
-    def create_accessible(obj)
def invalidate()
def get_accessible_type()

Ancestry

+-- gobject.GObject
+      accessible objects for objects of a specific GType.  

Synopsis

class atk.ObjectFactory(gobject.GObject):
+    def create_accessible(obj)
def invalidate()
def get_accessible_type()

Ancestry

+-- gobject.GObject
   +-- atk.ObjectFactory
-

atk.ObjectFactory Signal Prototypes

gobject.GObject Signal Prototypes

Description

This class is the base object class for a factory used to create +

atk.ObjectFactory Signal Prototypes

gobject.GObject Signal Prototypes

Description

This class is the base object class for a factory used to create an accessible object for a specific GType. The method atk.Registry.set_factory_type() is normally called to store in the registry the factory type to be used - to create an accessible of a particular GType.

Methods

atk.ObjectFactory.create_accessible

    def create_accessible(obj)

obj :

a gobject.GObject

Returns :

an atk.Object + to create an accessible of a particular GType.

Methods

atk.ObjectFactory.create_accessible

    def create_accessible(obj)

obj :

a gobject.GObject

Returns :

an atk.Object that implements an accessibility interface on behalf of obj

Provides an atk.Object that implements an accessibility interface on behalf of diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-atkobject.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-atkobject.html --- pygtk-2.14.1/docs/html/class-atkobject.html 2009-03-05 22:48:05.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-atkobject.html 2009-05-24 23:11:12.000000000 +0100 @@ -1,6 +1,6 @@ atk.Object

atk.Object

atk.Object — the base object class for the Accessibility Toolkit - API.

Synopsis

class atk.Object(gobject.GObject):
-    def get_name()
def get_description()
def get_parent()
def get_n_accessible_children()
def ref_accessible_child(i)
def ref_relation_set()
def get_role()
def get_layer()
def get_mdi_zorder()
def ref_state_set()
def get_index_in_parent()
def set_name(name)
def set_description(description)
def set_parent(parent)
def set_role(role)
def remove_property_change_handler(handler_id)
def add_relationship(relationship, target)
def remove_relationship(relationship, target)

Ancestry

+-- gobject.GObject
+      API.

Synopsis

class atk.Object(gobject.GObject):
+    def get_name()
def get_description()
def get_parent()
def get_n_accessible_children()
def ref_accessible_child(i)
def ref_relation_set()
def get_role()
def get_layer()
def get_mdi_zorder()
def ref_state_set()
def get_index_in_parent()
def set_name(name)
def set_description(description)
def set_parent(parent)
def set_role(role)
def remove_property_change_handler(handler_id)
def add_relationship(relationship, target)
def remove_relationship(relationship, target)

Ancestry

+-- gobject.GObject
   +-- atk.Object
 

atk.Object Properties

"accessible-component-layer"ReadThe accessible layer of this object. Allowed values: >= 0. Default value: 0.
"accessible-component-mdi-zorder"ReadThe accessible MDI value of this object. Default value: @@ -15,7 +15,7 @@ changed. Default value: None.
"accessible-table-column-header"Read-WriteIs used to notify that the table column header has changed
"accessible-table-row-description"Read-WriteIs used to notify that the table row description has changed. Default value: None.
"accessible-table-row-header"Read-WriteIs used to notify that the table row header has changed
"accessible-table-summary"Read-WriteIs used to notify that the table summary has changed
"accessible-value"Read-WriteIs used to notify that the value has changed. Allowed - values: >= 0. Default value: 0.

atk.Object Signal Prototypes

gobject.GObject Signal Prototypes

"active-descendant-changed"

def callback(atkobject, object, user_param1, ...)

"children-changed"

def callback(atkobject, index, child, user_param1, ...)

"focus-event"

def callback(atkobject, has_focus, user_param1, ...)

"property-change"

def callback(atkobject, value, user_param1, ...)

"state-change"

def callback(atkobject, state, is_set, user_param1, ...)

"visible-data-changed"

def callback(atkobject, user_param1, ...)

Description

This class is the primary class for accessibility support via the + values: >= 0. Default value: 0.

atk.Object Signal Prototypes

gobject.GObject Signal Prototypes

"active-descendant-changed"

def callback(atkobject, object, user_param1, ...)

"children-changed"

def callback(atkobject, index, child, user_param1, ...)

"focus-event"

def callback(atkobject, has_focus, user_param1, ...)

"property-change"

def callback(atkobject, value, user_param1, ...)

"state-change"

def callback(atkobject, state, is_set, user_param1, ...)

"visible-data-changed"

def callback(atkobject, user_param1, ...)

Description

This class is the primary class for accessibility support via the Accessibility ToolKit (ATK). Objects that are instances of atk.Object (or instances of atk.Object-derived types) are queried for properties which relate basic (and generic) @@ -33,7 +33,7 @@ class or ancestor class, or in the case of custom widgets, if the inherited atk.Object implementation is insufficient, via instances of a new atk.Object - subclass.

Methods

atk.Object.get_name

    def get_name()

Returns :

a character string representing the accessible + subclass.

Methods

atk.Object.get_name

    def get_name()

Returns :

a character string representing the accessible name of the object.

Gets the accessible name of the accessible.

atk.Object.get_description

    def get_description()

Returns :

a character string representing the accessible description of the accessible.

Gets the accessible description of the accessible.

atk.Object.get_parent

    def get_parent()

Returns :

a atk.Object representing the accessible parent of the @@ -69,7 +69,7 @@ which is the target of the relation to be removed.

Returns :

True if the relationship is removed.

Removes a relationship of the specified type with the specified - target.

Signals

The "active-descendant-changed" atk.Object Signal

    def callback(atkobject, obj, user_param1, ...)

atkobject :

the object which received the signal.

obj :

the newly focused object.

user_param1 :

the first user parameter (if any) specified + target.

Signals

The "active-descendant-changed" atk.Object Signal

    def callback(atkobject, obj, user_param1, ...)

atkobject :

the object which received the signal.

obj :

the newly focused object.

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if any)

The "active-descendant-changed" signal is emitted by an object which has the state atk.STATE_MANAGES_DESCENDANTS diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-atkrectangle.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-atkrectangle.html --- pygtk-2.14.1/docs/html/class-atkrectangle.html 2009-03-05 22:48:06.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-atkrectangle.html 2009-05-24 23:11:12.000000000 +0100 @@ -1,10 +1,10 @@ -atk.Rectangle

atk.Rectangle

atk.Rectangle — an object holding data about a rectangle

Synopsis

class atk.Rectangle(gobject.GBoxed):
-    atk.Rectangle(x=0, y=0, width=0, height=0)

Attributes

"x"Read-WriteThe X coordinate of the top left corner of the +atk.Rectangle

atk.Rectangle

atk.Rectangle — an object holding data about a rectangle

Synopsis

class atk.Rectangle(gobject.GBoxed):
+    atk.Rectangle(x=0, y=0, width=0, height=0)

Attributes

"x"Read-WriteThe X coordinate of the top left corner of the rectangle.
"y"Read-WriteThe Y coordinate of the top left corner of the - rectangle.
"width"Read-WriteThe width of the rectangle.
"height"Read-WriteThe height of the rectangle.

Description

A atk.Rectangle + rectangle.

"width"Read-WriteThe width of the rectangle.
"height"Read-WriteThe height of the rectangle.

Description

A atk.Rectangle holds the position and size of a rectangle. The position is specified by the "x" and "y" attributes and the size, by the "width" and "height" - attributes.

Constructor

atk.Rectangle

    atk.Rectangle(x=0, y=0, width=0, height=0)

Returns :

a new atk.Rectangle

Creates a new atk.Rectangle + attributes.

Constructor

atk.Rectangle

    atk.Rectangle(x=0, y=0, width=0, height=0)

Returns :

a new atk.Rectangle

Creates a new atk.Rectangle with the attributes specified by x, y, width and height. Any unspecified attributes default to diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-atkregistry.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-atkregistry.html --- pygtk-2.14.1/docs/html/class-atkregistry.html 2009-03-05 22:48:06.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-atkregistry.html 2009-05-24 23:11:13.000000000 +0100 @@ -1,18 +1,18 @@ atk.Registry

atk.Registry

atk.Registry — an object used to store the GType of the factories used to create an accessible object for an object of a particular GType. -

Synopsis

class atk.Registry(gobject.GObject):
+      

Synopsis

class atk.Registry(gobject.GObject):
     def set_factory_type(type, factory_type)
def get_factory_type(type)
def get_factory(type)
 Functions
 
-    def atk.get_default_registry()

Ancestry

+-- gobject.GObject
+    def atk.get_default_registry()

Ancestry

+-- gobject.GObject
   +-- atk.Registry
-

atk.Registry Signal Prototypes

gobject.GObject Signal Prototypes

Description

The atk.Registry is +

atk.Registry Signal Prototypes

gobject.GObject Signal Prototypes

Description

The atk.Registry is normally used to create appropriate ATK "peers" for user interface components. Application developers usually need only interact with the atk.Registry by associating appropriate ATK implementation classes with gobject.GObject classes via the set_factory_type() method, passing the appropriate GType for application custom widget -classes.

Methods

atk.Registry.set_factory_type

    def set_factory_type(type, factory_type)

type :

an atk.Object type

factory_type :

an atk.ObjectFactory +classes.

Methods

atk.Registry.set_factory_type

    def set_factory_type(type, factory_type)

type :

an atk.Object type

factory_type :

an atk.ObjectFactory type to associate with type. Must implement the atk.Object appropriate for type.

Associate an atk.ObjectFactory @@ -28,7 +28,7 @@ subclass associated with type.

atk.Registry.get_factory

    def get_factory(type)

type :

a atk.Object with which to look up the associated atk.ObjectFactory

Returns :

an atk.ObjectFactory appropriate for creating type atk.Objects.

Gets an atk.ObjectFactory - appropriate for creating type atk.Objects.

Functions

atk.get_default_registry

    def atk.get_default_registry()

Returns :

a default implementation of the atk.ObjectFactory + appropriate for creating type atk.Objects.

Functions

atk.get_default_registry

    def atk.get_default_registry()

Returns :

a default implementation of the atk.ObjectFactory type registry

Gets a default implementation of the atk.ObjectFactory type registry. Note: For most toolkit maintainers, this will be the correct registry for registering new atk.Object diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-atkrelation.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-atkrelation.html --- pygtk-2.14.1/docs/html/class-atkrelation.html 2009-03-05 22:48:06.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-atkrelation.html 2009-05-24 23:11:13.000000000 +0100 @@ -1,13 +1,13 @@ atk.Relation

atk.Relation

atk.Relation — an object used to describe a relation between a object and - one or more other objects.

Synopsis

class atk.Relation(gobject.GObject):
+      one or more other objects.  

Synopsis

class atk.Relation(gobject.GObject):
     atk.Relation(targets, relationship)
def get_relation_type()
def get_target()
 Functions
 
-    def atk.relation_type_register(name)
def atk.relation_type_get_name(relationship)
def atk.relation_type_for_name(name)

Ancestry

+-- gobject.GObject
+    def atk.relation_type_register(name)
def atk.relation_type_get_name(relationship)
def atk.relation_type_for_name(name)

Ancestry

+-- gobject.GObject
   +-- atk.Relation
 

atk.Relation Properties

"relation-type"Read-WriteThe type of the relation - one of the Atk Relation Type Constants. Default value: atk.RELATION_NULL.
"target"Read-WriteAn array of the targets for the relation. Default value: - None.

atk.Relation Signal Prototypes

gobject.GObject Signal Prototypes

Description

An atk.Relation + None.

atk.Relation Signal Prototypes

gobject.GObject Signal Prototypes

Description

An atk.Relation describes a relation between an object and one or more other objects. The actual relations that an object has with other objects are defined as an atk.RelationSet, @@ -15,12 +15,12 @@ objects. -

Constructor

atk.Relation

    atk.Relation(targets, relationship)

targets :

a sequence of atk.Object +

Constructor

atk.Relation

    atk.Relation(targets, relationship)

targets :

a sequence of atk.Object objects

relationship :

one of the Atk Relation Type Constants with which to create the new atk.Relation

Returns :

a new atk.Relation

Create a new relation for the specified relationship type and the specified sequence of - targets.

Methods

atk.Relation.get_relation_type

    def get_relation_type()

Returns :

the relation type - one of the Atk Relation Type Constants.

Gets the relationship type.

atk.Relation.get_target

    def get_target()

Returns :

the target list of relation

Gets the target list of atk.Object - objects.

Functions

atk.relation_type_register

    def atk.relation_type_register(name)

name :

a name string

Returns :

a new one of the Atk Relation Type Constants that is + targets.

Methods

atk.Relation.get_relation_type

    def get_relation_type()

Returns :

the relation type - one of the Atk Relation Type Constants.

Gets the relationship type.

atk.Relation.get_target

    def get_target()

Returns :

the target list of relation

Gets the target list of atk.Object + objects.

Functions

atk.relation_type_register

    def atk.relation_type_register(name)

name :

a name string

Returns :

a new one of the Atk Relation Type Constants that is associated with name

Associate name with a new one of the Atk Relation Type Constants.

atk.relation_type_get_name

    def atk.relation_type_get_name(type)

type :

one of the Atk Relation Type Constants.

Returns :

the string associated with relationship.

Gets the description string describing the relation type specified by type.

atk.relation_type_for_name

    def atk.relation_type_for_name(name)

name :

a string which is the (non-localized) name of diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-atkrelationset.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-atkrelationset.html --- pygtk-2.14.1/docs/html/class-atkrelationset.html 2009-03-05 22:48:06.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-atkrelationset.html 2009-05-24 23:11:13.000000000 +0100 @@ -1,17 +1,17 @@ atk.RelationSet

atk.RelationSet

atk.RelationSet — a set of atk.Relation objects, normally the set of atk.Relation objects that an atk.Object - has.

Synopsis

class atk.RelationSet(gobject.GObject):
-    atk.RelationSet()
def contains(relationship)
def remove(relation)
def add(relation)
def get_n_relations()
def get_relation(i)
def get_relation_by_type(relationship)

Ancestry

+-- gobject.GObject
+      has.

Synopsis

class atk.RelationSet(gobject.GObject):
+    atk.RelationSet()
def contains(relationship)
def remove(relation)
def add(relation)
def get_n_relations()
def get_relation(i)
def get_relation_by_type(relationship)

Ancestry

+-- gobject.GObject
   +-- atk.RelationSet
-

atk.RelationSet Signal Prototypes

gobject.GObject Signal Prototypes

Description

The atk.RelationSet +

atk.RelationSet Signal Prototypes

gobject.GObject Signal Prototypes

Description

The atk.RelationSet held by an object establishes its relationships with objects beyond the normal "parent/child" hierarchical relationships that all user interface objects have. atk.RelationSet objects establish whether objects are labelled or controlled by other components, share group membership with other components (for instance within a radio-button group), or share content which "flows" between - them, among other types of possible relationships.

Constructor

atk.RelationSet

    atk.RelationSet()

Returns :

a new atk.RelationSet

Creates a new empty relation set.

Methods

atk.RelationSet.contains

    def contains(relationship)

relationship :

one of the Atk Relation Type Constants.

Returns :

True if + them, among other types of possible relationships.

Constructor

atk.RelationSet

    atk.RelationSet()

Returns :

a new atk.RelationSet

Creates a new empty relation set.

Methods

atk.RelationSet.contains

    def contains(relationship)

relationship :

one of the Atk Relation Type Constants.

Returns :

True if relationship is the relationship type.

Determines whether the relation set contains a relation that matches the type specified by diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-atkselection.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-atkselection.html --- pygtk-2.14.1/docs/html/class-atkselection.html 2009-03-05 22:48:06.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-atkselection.html 2009-05-24 23:11:13.000000000 +0100 @@ -1,7 +1,7 @@ atk.Selection

atk.Selection

atk.Selection — the ATK interface implemented by container objects whose atk.Object - children can be selected.

Synopsis

class atk.Selection(gobject.GInterface):
-    def add_selection(i)
def clear_selection()
def ref_selection(i)
def get_selection_count()
def is_child_selected(i)
def remove_selection(i)
def select_all_selection()

atk.Selection Signal Prototypes

"selection-changed"

def callback(atkselection, user_param1, ...)

Description

atk.Selection + children can be selected.

Synopsis

class atk.Selection(gobject.GInterface):
+    def add_selection(i)
def clear_selection()
def ref_selection(i)
def get_selection_count()
def is_child_selected(i)
def remove_selection(i)
def select_all_selection()

atk.Selection Signal Prototypes

"selection-changed"

def callback(atkselection, user_param1, ...)

Description

atk.Selection should be implemented by UI components with children which are exposed by the ref_accessible_child() and get_n_accessible_children() @@ -9,7 +9,7 @@ selection of one or more of the objects corresponding to those atk.Object children - for example, selectable lists.

Note that other types of "selection" (for instance text selection) are accomplished a other ATK interfaces - atk.Selection - is limited to the selection/deselection of children.

Methods

atk.Selection.add_selection

    def add_selection(i)

i :

an index specifying the child + is limited to the selection/deselection of children.

Methods

atk.Selection.add_selection

    def add_selection(i)

i :

an index specifying the child index.

Returns :

True if success, False otherwise.

Adds the specified accessible child of the object to the object's selection.

atk.Selection.clear_selection

    def clear_selection()

Returns :

True if success, @@ -40,7 +40,7 @@ False otherwise.

Removes the specified child of the object from the object's selection.

atk.Selection.select_all_selection

    def select_all_selection()

Returns :

True if success, False otherwise.

Causes every child of the object to be selected if the object - supports multiple selections.

Signals

The "selection-changed" atk.Selection Signal

    def callback(atkselection, user_param1, ...)

atkselection :

the object which received the signal.

user_param1 :

the first user parameter (if any) specified + supports multiple selections.

Signals

The "selection-changed" atk.Selection Signal

    def callback(atkselection, user_param1, ...)

atkselection :

the object which received the signal.

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if any)

The "selection-changed" signal is emitted by an object which implements atk.Selection diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-atkstateset.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-atkstateset.html --- pygtk-2.14.1/docs/html/class-atkstateset.html 2009-03-05 22:48:07.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-atkstateset.html 2009-05-24 23:11:14.000000000 +0100 @@ -1,13 +1,13 @@ atk.StateSet

atk.StateSet

atk.StateSet — an atk.StateSet - determines a component's state set.

Synopsis

class atk.StateSet(gobject.GObject):
+      determines a component's state set.

Synopsis

class atk.StateSet(gobject.GObject):
     atk.StateSet()
def is_empty()
def add_state(type)
def add_states(types)
def clear_states()
def contains_state(type)
def contains_states(types)
def remove_state(type)
def and_sets(compare_set)
def or_sets(compare_set)
def xor_sets(compare_set)
 Functions
 
-    def atk.state_type_register(name)
def atk.state_type_get_name(type)
def atk.state_type_for_name(name)

Ancestry

+-- gobject.GObject
+    def atk.state_type_register(name)
def atk.state_type_get_name(type)
def atk.state_type_for_name(name)

Ancestry

+-- gobject.GObject
   +-- atk.StateSet
-

atk.StateSet Signal Prototypes

gobject.GObject Signal Prototypes

Description

An atk.StateSet +

atk.StateSet Signal Prototypes

gobject.GObject Signal Prototypes

Description

An atk.StateSet determines a component's state set. It is composed of a set of ATK - states specified using the Atk State Type Constants.

Constructor

atk.StateSet

    atk.StateSet()

Returns :

a new atk.StateSet

Creates a new empty state set.

Methods

atk.StateSet.is_empty

    def is_empty()

Returns :

True if the set has no + states specified using the Atk State Type Constants.

Constructor

atk.StateSet

    atk.StateSet()

Returns :

a new atk.StateSet

Creates a new empty state set.

Methods

atk.StateSet.is_empty

    def is_empty()

Returns :

True if the set has no states set, otherwise False

Checks whether the state set is empty, i.e. has no states set.

atk.StateSet.add_state

    def add_state(type)

type :

one of the Atk State Type Constants

Returns :

True if the state for @@ -29,7 +29,7 @@ which contains the states which are in exactly one of the two sets.

Constructs the exclusive-or of the two sets, returning None is empty. The set returned by this operation - contains the states in exactly one of the two sets.

Functions

atk.state_type_register

    def atk.state_type_register(name)

name :

a character string describing the new + contains the states in exactly one of the two sets.

Functions

atk.state_type_register

    def atk.state_type_register(name)

name :

a character string describing the new state.

Returns :

a new state type value for the new state.

Registers a new object state and adds it to the Atk State Type Constants.

atk.state_type_get_name

    def atk.state_type_get_name(type)

type :

one of the Atk State Type Constants.

Returns :

the string describing the state type

Gets the description string describing the state type specified diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-atkstreamablecontent.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-atkstreamablecontent.html --- pygtk-2.14.1/docs/html/class-atkstreamablecontent.html 2009-03-05 22:48:07.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-atkstreamablecontent.html 2009-05-24 23:11:14.000000000 +0100 @@ -1,6 +1,6 @@ atk.StreamableContent

atk.StreamableContent

atk.StreamableContent — the ATK interface which provides access to streamable - content.

Synopsis

class atk.StreamableContent(gobject.GInterface):
-    def get_n_mime_types()
def get_mime_type(i)

Description

An interface whereby an object allows its backing content to be + content.

Synopsis

class atk.StreamableContent(gobject.GInterface):
+    def get_n_mime_types()
def get_mime_type(i)

Description

An interface whereby an object allows its backing content to be streamed to clients. Typical implementors would be images or icons, HTML content, or multimedia display/rendering widgets.

Negotiation of content type is allowed. Clients may examine the backing data and transform, convert, or parse the content in order to @@ -12,7 +12,7 @@ interface can help address performance issues. Unlike most ATK interfaces, this interface is not strongly tied to the current user-agent view of the a particular document, but may in some cases give - access to the underlying model data.

Methods

atk.StreamableContent.get_n_mime_types

    def get_n_mime_types()

Returns :

an integer which is the number of mime types + access to the underlying model data.

Methods

atk.StreamableContent.get_n_mime_types

    def get_n_mime_types()

Returns :

an integer which is the number of mime types supported by the object.

Gets the number of mime types supported by this object.

atk.StreamableContent.get_mime_type

    def get_mime_type(i)

i :

an index representing the position of the mime type starting from 0

Returns :

: a string* representing the specified mime type.

Gets the character string of the specified mime type. The first diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-atktable.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-atktable.html --- pygtk-2.14.1/docs/html/class-atktable.html 2009-03-05 22:48:08.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-atktable.html 2009-05-24 23:11:14.000000000 +0100 @@ -1,6 +1,6 @@ atk.Table

atk.Table

atk.Table — the ATK interface implemented for UI components which - contain tabular or row/column information.

Synopsis

class atk.Table(gobject.GInterface):
-    def ref_at(row, column)
def get_index_at(row, column)
def get_column_at_index(index)
def get_row_at_index(index)
def get_n_columns()
def get_n_rows()
def get_column_extent_at(row, column)
def get_row_extent_at(row, column)
def get_caption()
def get_column_description(column)
def get_column_header(column)
def get_row_description(row)
def get_row_header(row)
def get_summary()
def set_caption(caption)
def set_column_description(column, description)
def set_column_header(column, header)
def set_row_description(row, description)
def set_row_header(row, header)
def set_summary(accessible)
def get_selected_columns(selected)
def get_selected_rows(selected)
def is_column_selected(column)
def is_row_selected(row)
def is_selected(row, column)
def add_row_selection(row)
def remove_row_selection(row)
def add_column_selection(column)
def remove_column_selection(column)

atk.Table Signal Prototypes

"column-deleted"

def callback(atktable, column, count, user_param1, ...)

"column-inserted"

def callback(atktable, column, count, user_param1, ...)

"column-reordered"

def callback(atktable, user_param1, ...)

"model-changed"

def callback(atktable, user_param1, ...)

"row-deleted"

def callback(atktable, row, count, user_param1, ...)

"row-inserted"

def callback(atktable, row, count, user_param1, ...)

"row-reordered"

def callback(atktable, user_param1, ...)

Description

atk.Table should + contain tabular or row/column information.

Synopsis

class atk.Table(gobject.GInterface):
+    def ref_at(row, column)
def get_index_at(row, column)
def get_column_at_index(index)
def get_row_at_index(index)
def get_n_columns()
def get_n_rows()
def get_column_extent_at(row, column)
def get_row_extent_at(row, column)
def get_caption()
def get_column_description(column)
def get_column_header(column)
def get_row_description(row)
def get_row_header(row)
def get_summary()
def set_caption(caption)
def set_column_description(column, description)
def set_column_header(column, header)
def set_row_description(row, description)
def set_row_header(row, header)
def set_summary(accessible)
def get_selected_columns(selected)
def get_selected_rows(selected)
def is_column_selected(column)
def is_row_selected(row)
def is_selected(row, column)
def add_row_selection(row)
def remove_row_selection(row)
def add_column_selection(column)
def remove_column_selection(column)

atk.Table Signal Prototypes

"column-deleted"

def callback(atktable, column, count, user_param1, ...)

"column-inserted"

def callback(atktable, column, count, user_param1, ...)

"column-reordered"

def callback(atktable, user_param1, ...)

"model-changed"

def callback(atktable, user_param1, ...)

"row-deleted"

def callback(atktable, row, count, user_param1, ...)

"row-inserted"

def callback(atktable, row, count, user_param1, ...)

"row-reordered"

def callback(atktable, user_param1, ...)

Description

atk.Table should be implemented by components which present elements ordered via rows and columns. It may also be used to present tree-structured information if the nodes of the trees can be said to contain multiple "columns". @@ -18,7 +18,7 @@ objects which may implement other interfaces (atk.Text, atk.Image, etc.) as appropriate. atk.Table summaries may themselves be (simplified) atk.Table - objects, etc.

Methods

atk.Table.ref_at

    def ref_at(row, column)

row :

an index representing a row in + objects, etc.

Methods

atk.Table.ref_at

    def ref_at(row, column)

row :

an index representing a row in table

column :

an index representing a column in table

Returns :

a atk.Object representing the referred to accessible

Get a reference to the table cell at row, @@ -120,7 +120,7 @@ column was successfully removed from the selection, or 0 if value does not implement this interface.

Adds the specified column to the - selection.

Signals

The "column-deleted" atk.Table Signal

    def callback(atktable, arg1, arg2, user_param1, ...)

atktable :

the object which received the signal.

column :

The index of the first column deleted.

count :

The number of columns deleted.

user_param1 :

the first user parameter (if any) specified + selection.

Signals

The "column-deleted" atk.Table Signal

    def callback(atktable, arg1, arg2, user_param1, ...)

atktable :

the object which received the signal.

column :

The index of the first column deleted.

count :

The number of columns deleted.

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if any)

The "column-deleted" signal is emitted by an object which implements the atk.Table diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-atktext.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-atktext.html --- pygtk-2.14.1/docs/html/class-atktext.html 2009-03-05 22:48:08.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-atktext.html 2009-05-24 23:11:15.000000000 +0100 @@ -1,9 +1,9 @@ atk.Text

atk.Text

atk.Text — the ATK interface implemented by components with text - content.

Synopsis

class atk.Text(gobject.GInterface):
+      content.

Synopsis

class atk.Text(gobject.GInterface):
     def get_text(start_offset, end_offset)
def get_character_at_offset(offset)
def get_text_after_offset(offset, boundary_type)
def get_text_at_offset(offset, boundary_type)
def get_text_before_offset(offset, boundary_type)
def get_caret_offset()
def get_character_extents(offset, coords)
def get_run_attributes(offset)
def get_default_attributes()
def get_character_count()
def get_offset_at_point(x, y, coords)
def get_n_selections()
def get_selection(selection_num)
def add_selection(start_offset, end_offset)
def remove_selection(selection_num)
def set_selection(selection_num, start_offset, end_offset)
def set_caret_offset(offset)
def get_range_extents(start_offset, end_offset, coord_type)
def get_bounded_ranges(rect, coord_type, x_clip_type, y_clip_type)
 Functions
 
-    def atk.text_attribute_get_name(attr)
def atk.text_attribute_get_value(attr, index)
def atk.text_attribute_register(name)
def atk.text_attribute_for_name(name)

atk.Text Signal Prototypes

"text-attributes-changed"

def callback(atktext, user_param1, ...)

"text-caret-moved"

def callback(atktext, position, user_param1, ...)

"text-changed"

def callback(atktext, position, length, user_param1, ...)

"text-selection-changed"

def callback(atktext, user_param1, ...)

atk.Text Signal Prototypes

"text-attributes-changed"

def callback(atktext, user_param1, ...)

"text-caret-moved"

def callback(atktext, position, user_param1, ...)

"text-changed"

def callback(atktext, position, length, user_param1, ...)

"text-selection-changed"

def callback(atktext, user_param1, ...)

Description

atk.Text should be implemented by atk.Object objects on behalf of widgets that have text content which is either attributed or otherwise non-trivial. atk.Object @@ -21,7 +21,7 @@ the text strings are exposed as UTF-8, and are therefore potentially multi-byte, and caret-to-byte offset mapping makes no assumptions about the character length; also bounding box glyph-to-offset mapping may be - complex for languages which use ligatures.

Methods

atk.Text.get_text

    def get_text(start_offset, end_offset)

start_offset :

start position

end_offset :

end position

Returns :

the text from + complex for languages which use ligatures.

Methods

atk.Text.get_text

    def get_text(start_offset, end_offset)

start_offset :

start position

end_offset :

end position

Returns :

the text from start_offset up to, but not including end_offset.

Gets the specified text.

atk.Text.get_character_at_offset

    def get_character_at_offset(offset)

offset :

position

Returns :

the character at offset.

Gets the specified text.

atk.Text.get_text_after_offset

    def get_text_after_offset(offset, boundary_type)

offset :

position

boundary_type :

one of the Atk Text Boundary Constants

Returns :

a 3-tuple containing the text after @@ -193,7 +193,7 @@ Atk Text Clip Type Constants.

Returns :

a list of text ranges. The list contains a 4-tuple for each text range. The 4-tuple contains a atk.Rectangle bounding the text range, the start and end offsets of the range - and the text in the range.

Get the ranges of text in the specified bounding box.

Functions

atk.text_attribute_get_name

    def atk.text_attribute_get_name(attr)

attr :

a text attribute (one of the Atk Text Attribute Constants) whose name is + and the text in the range.

Get the ranges of text in the specified bounding box.

Functions

atk.text_attribute_get_name

    def atk.text_attribute_get_name(attr)

attr :

a text attribute (one of the Atk Text Attribute Constants) whose name is required

Returns :

a string containing the name

Gets the name corresponding to attr.

atk.text_attribute_get_value

    def atk.text_attribute_get_value(attr, index)

attr :

a text attribute (one of the Atk Text Attribute Constants) whose name is required

index :

The index of the required @@ -208,7 +208,7 @@ the specified name, or atk.TEXT_ATTRIBUTE_INVALID if no matching text attribute is found.

Get the text attribute type corresponding to a text attribute - name specified by name.

Signals

The "text-attributes-changed" atk.Text Signal

    def callback(atktext, user_param1, ...)

atktext :

the object which received the + name specified by name.

Signals

The "text-attributes-changed" atk.Text Signal

    def callback(atktext, user_param1, ...)

atktext :

the object which received the signal.

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if any)

The "text-attributes-changed" signal is emitted when the text diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-atkvalue.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-atkvalue.html --- pygtk-2.14.1/docs/html/class-atkvalue.html 2009-03-05 22:48:08.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-atkvalue.html 2009-05-24 23:11:15.000000000 +0100 @@ -1,7 +1,7 @@ atk.Value

atk.Value

atk.Value — the ATK interface implemented by valuators and components which display or select a value from a bounded range of values. -

Synopsis

class atk.Value(gobject.GInterface):
-    def get_current_value()
def get_maximum_value()
def get_minimum_value()
def set_current_value(value)

Description

atk.Value should +

Synopsis

class atk.Value(gobject.GInterface):
+    def get_current_value()
def get_maximum_value()
def get_minimum_value()
def set_current_value(value)

Description

atk.Value should be implemented for components which either display a value from a bounded range, or which allow the user to specify a value from a bounded range, or both. For instance, most sliders and range controls, as well @@ -9,7 +9,7 @@ representations which implement atk.Value on the component's behalf. atk.Value objects may be read-only, in which case attempts to alter the value return - False to indicate failure.

Methods

atk.Value.get_current_value

    def get_current_value()

Returns :

the current accessible + False to indicate failure.

Methods

atk.Value.get_current_value

    def get_current_value()

Returns :

the current accessible value

Gets the value of this object.

atk.Value.get_maximum_value

    def get_maximum_value()

Returns :

the maximum accessible value

Gets the maximum value of this object.

atk.Value.get_minimum_value

    def get_minimum_value()

Returns :

the minimum accessible value

Gets the minimum value of this object.

atk.Value.set_current_value

    def set_current_value(value)

value :

the desired new accessible diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gdkapplaunchcontext.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gdkapplaunchcontext.html --- pygtk-2.14.1/docs/html/class-gdkapplaunchcontext.html 2009-03-05 22:50:05.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gdkapplaunchcontext.html 2009-05-24 23:13:06.000000000 +0100 @@ -1,12 +1,12 @@ -gtk.gdk.AppLaunchContext

gtk.gdk.AppLaunchContext

gtk.gdk.AppLaunchContext — Startup notification for applications.

Synopsis

class gtk.gdk.AppLaunchContext(gio.AppLaunchContext):
-    def set_desktop(desktop)
def set_display(display)
def set_icon(icon)
def set_icon_name(icon_name)
def set_screen(screen)
def set_timestamp(timestamp)

Ancestry

+-- gio.AppLaunchContext
+gtk.gdk.AppLaunchContext

gtk.gdk.AppLaunchContext

gtk.gdk.AppLaunchContext — Startup notification for applications.

Synopsis

class gtk.gdk.AppLaunchContext(gio.AppLaunchContext):
+    def set_desktop(desktop)
def set_display(display)
def set_icon(icon)
def set_icon_name(icon_name)
def set_screen(screen)
def set_timestamp(timestamp)

Ancestry

+-- gio.AppLaunchContext
   +-- gtk.gdk.AppLaunchContext
-

Description

+

Description

The gtk.gdk.AppLaunchContext is an implementation of gio.AppLaunchContext that handles launching an application in a graphical context. It provides startup notification and allows to launch applications on a specific screen or workspace. -

Methods

gtk.gdk.AppLaunchContext.set_display

    def set_display()

display :

a +

Methods

gtk.gdk.AppLaunchContext.set_display

    def set_display()

display :

a gtk.gdk.Display.

Note

This method is available in PyGTK 2.14 and above.

The set_display() method sets the display diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gdkatom.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gdkatom.html --- pygtk-2.14.1/docs/html/class-gdkatom.html 2009-03-05 22:50:05.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gdkatom.html 2009-05-24 23:13:06.000000000 +0100 @@ -1,5 +1,5 @@ -gtk.gdk.Atom

gtk.gdk.Atom

gtk.gdk.Atom — an object representing an interned string

Synopsis

class gtk.gdk.Atom:
-    gtk.gdk.atom_intern(name, only_if_exists=False)

Description

gtk.gdk.Atom is a +gtk.gdk.Atom

gtk.gdk.Atom

gtk.gdk.Atom — an object representing an interned string

Synopsis

class gtk.gdk.Atom:
+    gtk.gdk.atom_intern(name, only_if_exists=False)

Description

gtk.gdk.Atom is a PyGTK class that wraps the GTK+ GdkAtom - an unsigned integer representing an interned string. An interned string is a string that has an internal diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gdkcairocontext.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gdkcairocontext.html --- pygtk-2.14.1/docs/html/class-gdkcairocontext.html 2009-03-05 22:50:05.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gdkcairocontext.html 2009-05-24 23:13:06.000000000 +0100 @@ -1,9 +1,9 @@ gtk.gdk.CairoContext

gtk.gdk.CairoContext

gtk.gdk.CairoContext — object providing support for drawing using Cairo (new in -PyGTK 2.8)

Synopsis

class gtk.gdk.CairoContext(pangocairo.CairoContext):
-    def set_source_color(color)
def set_source_pixbuf(pixbuf, pixbuf_x, pixbuf_y)
def rectangle(rectangle)
def region(region)
def set_source_pixmap(pixmap, pixmap_x, pixmap_y)

Ancestry

+-- cairo.Context
+PyGTK 2.8)

Synopsis

class gtk.gdk.CairoContext(pangocairo.CairoContext):
+    def set_source_color(color)
def set_source_pixbuf(pixbuf, pixbuf_x, pixbuf_y)
def rectangle(rectangle)
def region(region)
def set_source_pixmap(pixmap, pixmap_x, pixmap_y)

Ancestry

+-- cairo.Context
   +-- pangocairo.CairoContext
     +-- gtk.gdk.CairoContext
-

Description

Cairo is a graphics library that supports vector graphics and +

Description

Cairo is a graphics library that supports vector graphics and image compositing that can be used with PyGTK. Since 2.8, GTK+ and Pango do most of their drawing using Cairo. The Cairo drawing model and primitives are similar to PostScript which uses an imaging model of painting on a two @@ -16,7 +16,7 @@ objects. A gtk.gdk.CairoContext is created using the gtk.gdk.Drawable.cairo_create() method. See the pangocairo.CairoContext -and Python cairo module documentation for additional methods.

Methods

gtk.gdk.CairoContext.set_source_color

    def set_source_color(color)

color :

a gtk.gdk.Color

Note

This method is available in PyGTK 2.8 and above.

The set_source_color() method sets the +and Python cairo module documentation for additional methods.

Methods

gtk.gdk.CairoContext.set_source_color

    def set_source_color(color)

color :

a gtk.gdk.Color

Note

This method is available in PyGTK 2.8 and above.

The set_source_color() method sets the source color of the cairo context to the gtk.gdk.Color specified by color. See the cairo.Context.set_source_rgb() method for more information.

gtk.gdk.CairoContext.set_source_pixbuf

    def set_source_pixbuf(pixbuf, pixbuf_x, pixbuf_y)

pixbuf :

a gtk.gdk.Pixbuf

pixbuf_x :

the X coordinate of the location to place the diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gdkcolor.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gdkcolor.html --- pygtk-2.14.1/docs/html/class-gdkcolor.html 2009-03-05 22:50:05.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gdkcolor.html 2009-05-24 23:13:07.000000000 +0100 @@ -1,8 +1,9 @@ -gtk.gdk.Color

gtk.gdk.Color

gtk.gdk.Color — an object holding color information

Synopsis

class gtk.gdk.Color(gobject.GBoxed):
+gtk.gdk.Color

gtk.gdk.Color

gtk.gdk.Color — an object holding color information

Synopsis

class gtk.gdk.Color(gobject.GBoxed):
     gtk.gdk.Color(red=0, green=0, blue=0, pixel=0)
def to_string()
 Functions
 
-    def gtk.gdk.color_parse(spec)

Attributes

"pixel"Read-WriteThe pixel value of the color
"red"Read-WriteThe value of the red component of the color
"green"Read-WriteThe value of the green component of the color
"blue"Read-WriteThe value of the blue component of the color

Description

A gtk.gdk.Color + def gtk.gdk.color_parse(spec)
def gtk.gdk.color_from_hsv(hue, saturation, value)

Attributes

Note

Floating-point and HSV attributes are available in PyGTK 2.16 and above.

"pixel"Read-WriteThe pixel value of the color
"red"Read-WriteThe value of the red component of the color
"green"Read-WriteThe value of the green component of the color
"blue"Read-WriteThe value of the blue component of the color
"red_float"Read-WriteThe value of the red component of the color as a float in the range 0.0--1.0
"green_float"Read-WriteThe value of the green component of the color as a float in the range 0.0--1.0
"blue_float"Read-WriteThe value of the blue component of the color as a float in the range 0.0--1.0
"hue"ReadThe hue (in HSV colorspace) of the color as a float in the range 0.0--1.0
"saturation"ReadThe saturation (in HSV colorspace) of the color as a float in the range 0.0--1.0
"value"ReadThe value (in HSV colorspace) of the color as a float in the range 0.0--1.0

For details on how assignment to *_float attributes work, + see constructor documentation.

Description

A gtk.gdk.Color contains the values of a color that may or may not be allocated. The red, green and blue attributes are specified by an unsigned integer in the range 0-65535. The pixel value is an index into the colormap that has allocated @@ -24,18 +25,41 @@ functions. For any color it holds that:

   color == eval(repr(color))
-    

Constructor

    gtk.gdk.Color(red=0, green=0, blue=0, pixel=0)
    gtk.gdk.Color(spec)

red :

The red color component in the range +

+ PyGTK 2.16 introduces several ways of using floating-point numbers for + creating gtk.gdk.Color + objects or setting their individual components. In all cases it was decided to + silently clamp input values to valid range, rather than being strict and e.g. raise + an exception. The rationale is that floating-point arithmetics are imprecise, so + you could end with a computed value slightly larger than maximum or a little smaller + than minimum valid value. To simplify using new features, such "slightly off" + values are just clamped without any warning. +

Constructor

    gtk.gdk.Color(red=0, green=0, blue=0, pixel=0)
    gtk.gdk.Color(spec)

red :

The red color component in the range 0-65535

green :

The green color component in the range 0-65535

blue :

The blue color component in the range 0-65535

pixel :

The index of the color when allocated in its colormap

spec :

String containing color specification

Returns :

a new gtk.gdk.Color -object

Note

Second form of the constructor is available in PyGTK 2.14 and above.

Creates a new gtk.gdk.Color object +object

Note

Second form of the constructor is available in PyGTK 2.14 and above.

Note

red, green + and blue can be floating-point numbers since PyGTK + 2.16.

Creates a new gtk.gdk.Color object with the color component values specified by red, green and blue (all default to 0) and using the pixel value specified by pixel. The value of pixel will be overwritten when the color is allocated.

Second form of the constructor is analogous to - gtk.gdk.color_parse.

Methods

gtk.gdk.Color.to_string

    def to_string()

Returns :

a string

Note

This method is available in PyGTK 2.12 and above.

+ gtk.gdk.color_parse.

Starting with PyGTK 2.16, red, green and + blue parameters can also be floating-point numbers in the + range 0.0--1.0. Either all specified values must be integers or floats -- mixing is + not allowed as this would be too error-prone. Values outside the valid range + 0.0--1.0 are clamped, so e.g. 3.14 is the same as 1.0.

Note that internally values are still stored as integers, so values of + corresponding *_float attribute will not necessarily be the same + as the value used as argument for the constructor. They will be as close as + permitted by 16-bit color component storage used by GdkColor + though.

All of the following expressions create a bright green color:

+  gtk.gdk.Color(0, 65535, 0)
+  gtk.gdk.Color(green=1.0)
+  gtk.gdk.Color('#0f0')
+    

Methods

gtk.gdk.Color.to_string

    def to_string()

Returns :

a string

Note

This method is available in PyGTK 2.12 and above.

The to_string() method returns a textual specification of color in the hexadecimal form #rrrrggggbbbb, where r, g and b are hex digits representing the red, @@ -43,7 +67,7 @@

Note

Starting with PyGTK 2.14 you can also use str(color) code. However, that can return a shorter (3, 6 or 12 hexadecimal digits) string if shorter version means - the same for the constructor.

Functions

gtk.gdk.color_parse

    def gtk.gdk.color_parse(spec)

spec :

a string containing a color + the same for the constructor.

Functions

gtk.gdk.color_parse

    def gtk.gdk.color_parse(spec)

spec :

a string containing a color specification

Returns :

a gtk.gdk.Color object

The gtk.gdk.color_parse() method returns the gtk.gdk.Color @@ -56,4 +80,24 @@ For example the following specify the same color value: "#F0A", "#FF00AA", "#FFF000AAA" and "#FFFF0000AAAA". The gtk.gdk.Color is not allocated.

This function raise the ValueError (TypeError prior to PyGTK -2.4) exception if unable to parse the color specification

+2.4) exception if unable to parse the color specification

gtk.gdk.color_from_hsv

    def gtk.gdk.color_from_hsv(hue, saturation, value)

hue :

Hue of the desired color as a float in range + 0.0--1.0

saturation :

Saturation of the desired color as a float in range + 0.0--1.0

value :

Value of the desired color as a float in range + 0.0--1.0

Returns :

a gtk.gdk.Color + object

Note

This function is available in PyGTK 2.16 and above.

The gtk.gdk.color_from_hsv() method returns + the gtk.gdk.Color + specified by the HSV parameters. All three parameters are mandatory and should be + floats from 0.0 to 1.0. The range requirement, however, is not strict, see + below.

As hue goes from 0 to 1 color goes roughly as red → yellow → green → cyan → + blue → magenta → red. Because of the "circular" nature, this parameter wraps + around, so only fractional part matters. E.g. -4.2 or 1.8 are the same as 0.8. + Saturation determines how intense a color is, with 0.0 meaning pure gray and 1.0 + -- fully intense color. Value determines how light a color is, with 0.0 standing + for fully black and 1.0 for completely white color. Both saturation and value are + clamped to valid range (see rationale at the top of the page).

Note that internal storage is still integers, so values of + corresponding hue, saturation + and value attributes of the returned object will not + necessarily be equal to the value used as argument for this functions. They will + be as close as permitted by 16-bit color component storage used + by GdkColor though.

For more details read about HSV + colorspace.

diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gdkcolormap.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gdkcolormap.html --- pygtk-2.14.1/docs/html/class-gdkcolormap.html 2009-03-05 22:50:06.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gdkcolormap.html 2009-05-24 23:13:07.000000000 +0100 @@ -1,10 +1,10 @@ -gtk.gdk.Colormap

gtk.gdk.Colormap

gtk.gdk.Colormap — a table of color display component values

Synopsis

class gtk.gdk.Colormap(gobject.GObject):
+gtk.gdk.Colormap

gtk.gdk.Colormap

gtk.gdk.Colormap — a table of color display component values

Synopsis

class gtk.gdk.Colormap(gobject.GObject):
     gtk.gdk.Colormap(visual, allocate)
def alloc_color(color, writeable=False, best_match=True)
def alloc_color(spec, writeable=False, best_match=True)
def alloc_color(red, green, blue, writeable=False, best_match=True)
def get_visual()
def get_screen()
def query_color(pixel)
 Functions
 
-    def gtk.gdk.colormap_get_system()

Ancestry

+-- gobject.GObject
+    def gtk.gdk.colormap_get_system()

Ancestry

+-- gobject.GObject
   +-- gtk.gdk.Colormap
-

Description

A gtk.gdk.Colormap +

Description

A gtk.gdk.Colormap contains a table mapping index values to the RGB color component values used to display the colors. The index value corresponds to the pixel value of a gtk.gdk.Color @@ -23,7 +23,7 @@ for the gtk.gdk.Visual specified by visual. If allocate is True the colormap will -be a private colormap for the sole use of the application.

Methods

gtk.gdk.Colormap.alloc_color

    def alloc_color(color, writeable=False, best_match=True)

color :

an unallocated gtk.gdk.Color

writeable :

if True the colormap entry +be a private colormap for the sole use of the application.

Methods

gtk.gdk.Colormap.alloc_color

    def alloc_color(color, writeable=False, best_match=True)

color :

an unallocated gtk.gdk.Color

writeable :

if True the colormap entry is writeable.

best_match :

if True a best match to the requested color can be used if needed.

Returns :

a new gtk.gdk.Color object

The alloc_color() method allocates the @@ -80,7 +80,7 @@ method, or from a gtk.gdk.Image object. (A gtk.gdk.Image contains image data in hardware format while a gtk.gdk.Pixbuf -contains image data in a canonical 24-bit RGB format.)

Functions

gtk.gdk.colormap_get_system

    def gtk.gdk.colormap_get_system()

Returns :

the system' default +contains image data in a canonical 24-bit RGB format.)

Functions

gtk.gdk.colormap_get_system

    def gtk.gdk.colormap_get_system()

Returns :

the system' default colormap

The gtk.gdk.colormap_get_system() method returns the default colormap used by the system on the default screen. See the gtk.gdk.Screen.get_system_colormap() diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gdkcursor.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gdkcursor.html --- pygtk-2.14.1/docs/html/class-gdkcursor.html 2009-03-05 22:50:06.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gdkcursor.html 2009-05-24 23:13:08.000000000 +0100 @@ -1,9 +1,9 @@ -gtk.gdk.Cursor

gtk.gdk.Cursor

gtk.gdk.Cursor — standard and pixmap cursors

Synopsis

class gtk.gdk.Cursor(gobject.GBoxed):
-    gtk.gdk.Cursor(cursor_type)
gtk.gdk.Cursor(display, cursor_type)
gtk.gdk.Cursor(display, pixbuf, x, y)
gtk.gdk.Cursor(source, mask, fg, bg, x, y)
def get_display()

Description

A gtk.gdk.Cursor +gtk.gdk.Cursor

gtk.gdk.Cursor

gtk.gdk.Cursor — standard and pixmap cursors

Synopsis

class gtk.gdk.Cursor(gobject.GBoxed):
+    gtk.gdk.Cursor(cursor_type)
gtk.gdk.Cursor(display, cursor_type)
gtk.gdk.Cursor(display, pixbuf, x, y)
gtk.gdk.Cursor(source, mask, fg, bg, x, y)
def get_display()

Description

A gtk.gdk.Cursor represents a bitmap image used for the mouse pointer. Each gtk.gdk.Window can have its own cursor. By default a gtk.gdk.Window uses its parent's cursor. A standard set of cursors is provided in -PyGTK:

gtk.gdk.X_CURSOR

gtk.gdk.ARROW

gtk.gdk.BASED_ARROW_DOWN

gtk.gdk.BASED_ARROW_UP

gtk.gdk.BOAT

gtk.gdk.BOGOSITY

gtk.gdk.BOTTOM_LEFT_CORNER

gtk.gdk.BOTTOM_RIGHT_CORNER

gtk.gdk.BOTTOM_SIDE

gtk.gdk.BOTTOM_TEE

gtk.gdk.BOX_SPIRAL

gtk.gdk.CENTER_PTR

gtk.gdk.CIRCLE

gtk.gdk.CLOCK

gtk.gdk.COFFEE_MUG

gtk.gdk.CROSS

gtk.gdk.CROSS_REVERSE

gtk.gdk.CROSSHAIR

gtk.gdk.DIAMOND_CROSS

gtk.gdk.DOT

gtk.gdk.DOTBOX

gtk.gdk.DOUBLE_ARROW

gtk.gdk.DRAFT_LARGE

gtk.gdk.DRAFT_SMALL

gtk.gdk.DRAPED_BOX

gtk.gdk.EXCHANGE

gtk.gdk.FLEUR

gtk.gdk.GOBBLER

gtk.gdk.GUMBY

gtk.gdk.HAND1

gtk.gdk.HAND2

gtk.gdk.HEART

gtk.gdk.ICON

gtk.gdk.IRON_CROSS

gtk.gdk.LEFT_PTR

gtk.gdk.LEFT_SIDE

gtk.gdk.LEFT_TEE

gtk.gdk.LEFTBUTTON

gtk.gdk.LL_ANGLE

gtk.gdk.LR_ANGLE

gtk.gdk.MAN

gtk.gdk.MIDDLEBUTTON

gtk.gdk.MOUSE

gtk.gdk.PENCIL

gtk.gdk.PIRATE

gtk.gdk.PLUS

gtk.gdk.QUESTION_ARROW

gtk.gdk.RIGHT_PTR

gtk.gdk.RIGHT_SIDE

gtk.gdk.RIGHT_TEE

gtk.gdk.RIGHTBUTTON

gtk.gdk.RTL_LOGO

gtk.gdk.SAILBOAT

gtk.gdk.SB_DOWN_ARROW

gtk.gdk.SB_H_DOUBLE_ARROW

gtk.gdk.SB_LEFT_ARROW

gtk.gdk.SB_RIGHT_ARROW

gtk.gdk.SB_UP_ARROW

gtk.gdk.SB_V_DOUBLE_ARROW

gtk.gdk.SHUTTLE

gtk.gdk.SIZING

gtk.gdk.SPIDER

gtk.gdk.SPRAYCAN

gtk.gdk.STAR

gtk.gdk.TARGET

gtk.gdk.TCROSS

gtk.gdk.TOP_LEFT_ARROW

gtk.gdk.TOP_LEFT_CORNER

gtk.gdk.TOP_RIGHT_CORNER

gtk.gdk.TOP_SIDE

gtk.gdk.TOP_TEE

gtk.gdk.TREK

gtk.gdk.UL_ANGLE

gtk.gdk.UMBRELLA

gtk.gdk.UR_ANGLE

gtk.gdk.WATCH

gtk.gdk.XTERM

Constructor

    gtk.gdk.Cursor(cursor_type)

cursor_type :

the standard cursor to +PyGTK:

gtk.gdk.X_CURSOR

gtk.gdk.ARROW

gtk.gdk.BASED_ARROW_DOWN

gtk.gdk.BASED_ARROW_UP

gtk.gdk.BOAT

gtk.gdk.BOGOSITY

gtk.gdk.BOTTOM_LEFT_CORNER

gtk.gdk.BOTTOM_RIGHT_CORNER

gtk.gdk.BOTTOM_SIDE

gtk.gdk.BOTTOM_TEE

gtk.gdk.BOX_SPIRAL

gtk.gdk.CENTER_PTR

gtk.gdk.CIRCLE

gtk.gdk.CLOCK

gtk.gdk.COFFEE_MUG

gtk.gdk.CROSS

gtk.gdk.CROSS_REVERSE

gtk.gdk.CROSSHAIR

gtk.gdk.DIAMOND_CROSS

gtk.gdk.DOT

gtk.gdk.DOTBOX

gtk.gdk.DOUBLE_ARROW

gtk.gdk.DRAFT_LARGE

gtk.gdk.DRAFT_SMALL

gtk.gdk.DRAPED_BOX

gtk.gdk.EXCHANGE

gtk.gdk.FLEUR

gtk.gdk.GOBBLER

gtk.gdk.GUMBY

gtk.gdk.HAND1

gtk.gdk.HAND2

gtk.gdk.HEART

gtk.gdk.ICON

gtk.gdk.IRON_CROSS

gtk.gdk.LEFT_PTR

gtk.gdk.LEFT_SIDE

gtk.gdk.LEFT_TEE

gtk.gdk.LEFTBUTTON

gtk.gdk.LL_ANGLE

gtk.gdk.LR_ANGLE

gtk.gdk.MAN

gtk.gdk.MIDDLEBUTTON

gtk.gdk.MOUSE

gtk.gdk.PENCIL

gtk.gdk.PIRATE

gtk.gdk.PLUS

gtk.gdk.QUESTION_ARROW

gtk.gdk.RIGHT_PTR

gtk.gdk.RIGHT_SIDE

gtk.gdk.RIGHT_TEE

gtk.gdk.RIGHTBUTTON

gtk.gdk.RTL_LOGO

gtk.gdk.SAILBOAT

gtk.gdk.SB_DOWN_ARROW

gtk.gdk.SB_H_DOUBLE_ARROW

gtk.gdk.SB_LEFT_ARROW

gtk.gdk.SB_RIGHT_ARROW

gtk.gdk.SB_UP_ARROW

gtk.gdk.SB_V_DOUBLE_ARROW

gtk.gdk.SHUTTLE

gtk.gdk.SIZING

gtk.gdk.SPIDER

gtk.gdk.SPRAYCAN

gtk.gdk.STAR

gtk.gdk.TARGET

gtk.gdk.TCROSS

gtk.gdk.TOP_LEFT_ARROW

gtk.gdk.TOP_LEFT_CORNER

gtk.gdk.TOP_RIGHT_CORNER

gtk.gdk.TOP_SIDE

gtk.gdk.TOP_TEE

gtk.gdk.TREK

gtk.gdk.UL_ANGLE

gtk.gdk.UMBRELLA

gtk.gdk.UR_ANGLE

gtk.gdk.WATCH

gtk.gdk.XTERM

Constructor

    gtk.gdk.Cursor(cursor_type)

cursor_type :

the standard cursor to create

Returns :

a new gtk.gdk.Cursor

Creates the new gtk.gdk.Cursor from a builtin cursor specified by cursor_type. To make the cursor invisible, see the description of the gtk.gdk.Cursor() constructor that @@ -41,6 +41,6 @@ pixmap = gtk.gdk.Pixmap(None, 1, 1, 1) color = gtk.gdk.Color() cursor = gtk.gdk.Cursor(pixmap, pixmap, color, color, 0, 0) -

Methods

gtk.gdk.Cursor.get_display

    def get_display()

Returns :

the associated gtk.gdk.Display

Note

This method is available in PyGTK 2.2 and above.

The get_display() method returns the +

Methods

gtk.gdk.Cursor.get_display

    def get_display()

Returns :

the associated gtk.gdk.Display

Note

This method is available in PyGTK 2.2 and above.

The get_display() method returns the gtk.gdk.Display on which the cursor is defined.

diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gdkdevice.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gdkdevice.html --- pygtk-2.14.1/docs/html/class-gdkdevice.html 2009-03-05 22:50:07.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gdkdevice.html 2009-05-24 23:13:08.000000000 +0100 @@ -1,10 +1,10 @@ -gtk.gdk.Device

gtk.gdk.Device

gtk.gdk.Device — an object for supporting input devices

Synopsis

class gtk.gdk.Device(gobject.GObject):
+gtk.gdk.Device

gtk.gdk.Device

gtk.gdk.Device — an object for supporting input devices

Synopsis

class gtk.gdk.Device(gobject.GObject):
     def set_source(source)
def set_mode(mode)
def set_key(index, keyval, modifiers)
def set_axis_use(index, use)
def get_state(window)
def get_history(window, start, stop)
def get_axis(axes, use)
 Functions
 
-    def gtk.gdk.devices_list()
def gtk.gdk.device_get_core_pointer()

Ancestry

+-- gobject.GObject
+    def gtk.gdk.devices_list()
def gtk.gdk.device_get_core_pointer()

Ancestry

+-- gobject.GObject
   +-- gtk.gdk.Device
-

Attributes

"axes"Reada tuple containing axes information. Each axes is +

Attributes

"axes"Reada tuple containing axes information. Each axes is described by a tuple containing: use information (one of: gtk.gdk.AXIS_IGNORE, gtk.gdk.AXIS_X, gtk.gdk.AXIS_Y, gtk.gdk.AXIS_PRESSURE, @@ -23,7 +23,7 @@ gtk.gdk.SOURCE_MOUSE, gtk.gdk.SOURCE_PEN, gtk.gdk.SOURCE_ERASER, -gtk.gdk.SOURCE_CURSOR

Description

In addition to the normal keyboard and mouse input devices, +gtk.gdk.SOURCE_CURSOR

Description

In addition to the normal keyboard and mouse input devices, PyGTK also contains support for extended input devices. In particular, this support is targeted at graphics tablets. Graphics tablets typically return sub-pixel positioning information and possibly @@ -78,7 +78,7 @@ using the set_key() method. The interfaces in this section will most likely be considerably modified in the future to accommodate devices that may have different sets of -additional valuators than the pressure xtilt and ytilt.

Methods

gtk.gdk.Device.set_source

    def set_source(source)

source :

the source type of the +additional valuators than the pressure xtilt and ytilt.

Methods

gtk.gdk.Device.set_source

    def set_source(source)

source :

the source type of the device

The set_source() method sets the source type for the input device to the value specified by source. The value of source @@ -119,7 +119,7 @@ that matches the use type or None if there is no match.

The get_axis() method returns the value in axes whose axis matches the specified -use.

Functions

gtk.gdk.devices_list

    def gtk.gdk.devices_list()

Returns :

a list containing the gtk.gdk.Device +use.

Functions

gtk.gdk.devices_list

    def gtk.gdk.devices_list()

Returns :

a list containing the gtk.gdk.Device objects for the default display

The gtk.gdk.devices_list() function returns a list containing the gtk.gdk.Device objects fro the default display.

gtk.gdk.device_get_core_pointer

    def gtk.gdk.device_get_core_pointer()

Returns :

the

The gtk.gdk.device_get_core_pointer() diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gdkdisplay.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gdkdisplay.html --- pygtk-2.14.1/docs/html/class-gdkdisplay.html 2009-03-05 22:50:08.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gdkdisplay.html 2009-05-24 23:13:09.000000000 +0100 @@ -1,11 +1,11 @@ gtk.gdk.Display

gtk.gdk.Display

gtk.gdk.Display — controls the keyboard/mouse pointer grabs and a set of gtk.gdk.Screen -objects

Synopsis

class gtk.gdk.Display(gobject.GObject):
+objects

Synopsis

class gtk.gdk.Display(gobject.GObject):
     gtk.gdk.Display(display_name)
def get_name()
def get_n_screens()
def get_screen(screen_num)
def get_default_screen()
def pointer_ungrab(time_=0L)
def keyboard_ungrab(time_=0L)
def pointer_is_grabbed()
def beep()
def sync()
def close()
def list_devices()
def get_event()
def peek_event()
def put_event(event)
def set_double_click_time(msec)
def get_core_pointer()
def get_pointer()
def get_window_at_pointer()
def flush()
def set_double_click_distance(distance)
def supports_composite()
def supports_cursor_alpha()
def supports_cursor_color()
def get_default_cursor_size()
def get_maximal_cursor_size()
def get_default_group()
def supports_selection_notification()
def supports_clipboard_persistence()
def request_selection_notification(selection)
def store_clipboard(clipboard_window, time_, targets)
 Functions
 
-    def gtk.gdk.display_get_default()

Ancestry

+-- gobject.GObject
+    def gtk.gdk.display_get_default()

Ancestry

+-- gobject.GObject
   +-- gtk.gdk.Display
-

Signal Prototypes

"closed"

def callback(widget, is_error, user_param1, ...)

Description

Note

This object is available in PyGTK 2.2 and above.

gtk.gdk.Display objects provide two capabilities:

  • To grab/ungrab keyboard focus and mouse pointer
  • To manage and provide information about the gtk.gdk.Screen) +

Signal Prototypes

"closed"

def callback(widget, is_error, user_param1, ...)

Description

Note

This object is available in PyGTK 2.2 and above.

gtk.gdk.Display objects provide two capabilities:

  • To grab/ungrab keyboard focus and mouse pointer
  • To manage and provide information about the gtk.gdk.Screen) objects available for this gtk.gdk.Display

gtk.gdk.Display objects are the GDK representation of the X Display which can be described as a workstation consisting of a keyboard, a pointing @@ -18,7 +18,7 @@ or None if the display could not be opened.

Note

This constructor is available in PyGTK 2.2 and above.

Opens the display with the name specified by display_name and returns a gtk.gdk.Display -object wrapping the display..

Methods

gtk.gdk.Display.get_name

    def get_name()

Returns :

a +object wrapping the display..

Methods

gtk.gdk.Display.get_name

    def get_name()

Returns :

a string representing the display name.

Note

This method is available in PyGTK 2.2 and above.

The get_name() method returns the name of the display.

gtk.gdk.Display.get_n_screens

    def get_n_screens()

Returns :

the number of display screens.

Note

This method is available in PyGTK 2.2 and above.

The get_n_screens() method returns the @@ -133,14 +133,14 @@ saved.

Note

This method is available in PyGTK 2.6 and above.

The store_clipboard() method issues a request to the the clipboard manager to store the clipboard data. On X11, this is a special program that works according to the freedesktop clipboard -specification, available at http://www.freedesktop.org/Standards/clipboard-manager-spec.

Functions

gtk.gdk.display_get_default

    def gtk.gdk.display_get_default()

Returns :

a gtk.gdk.Display, +specification, available at http://www.freedesktop.org/Standards/clipboard-manager-spec.

Functions

gtk.gdk.display_get_default

    def gtk.gdk.display_get_default()

Returns :

a gtk.gdk.Display, or None if there is no default display.

Note

This function is available in PyGTK 2.2 and above.

The gtk.gdk.display_get_default() function returns the default gtk.gdk.Display. This is a convenience function for:

   display_manager = gtk.gdk.display_manager_get()
   display = display.manager.get_default_display()
-

Signals

The "closed" gtk.gdk.Display Signal

    def callback(display, is_error, user_param1, ...)

display :

the display that received the +

Signals

The "closed" gtk.gdk.Display Signal

    def callback(display, is_error, user_param1, ...)

display :

the display that received the signal

is_error :

True if the display was closed due to an error

user_param1 :

the first user parameter (if any) specified with the connect() diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gdkdisplaymanager.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gdkdisplaymanager.html --- pygtk-2.14.1/docs/html/class-gdkdisplaymanager.html 2009-03-05 22:50:08.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gdkdisplaymanager.html 2009-05-24 23:13:09.000000000 +0100 @@ -1,27 +1,27 @@ gtk.gdk.DisplayManager

gtk.gdk.DisplayManager

gtk.gdk.DisplayManager — maintains a list of all open gtk.gdk.Display -objects

Synopsis

class gtk.gdk.DisplayManager(gobject.GObject):
+objects

Synopsis

class gtk.gdk.DisplayManager(gobject.GObject):
     def get_default_display()
def set_default_display(display)
def list_displays()
 Functions
 
-    def gtk.gdk.display_manager_get()

Ancestry

+-- gobject.GObject
+    def gtk.gdk.display_manager_get()

Ancestry

+-- gobject.GObject
   +-- gtk.gdk.DisplayManager
-

Properties

"default-display"Read-WriteThe default gtk.gdk.Display. Available -in GTK+ 2.2 and above.

Signal Prototypes

"display-opened"

def callback(displaymanager, display, user_param1, ...)

Description

Note

This object is available in PyGTK 2.2 and above.

The gtk.gdk.DisplayManager +

Properties

"default-display"Read-WriteThe default gtk.gdk.Display. Available +in GTK+ 2.2 and above.

Signal Prototypes

"display-opened"

def callback(displaymanager, display, user_param1, ...)

Description

Note

This object is available in PyGTK 2.2 and above.

The gtk.gdk.DisplayManager is a singleton object that offers notification when displays appear or disappear or the default display changes. The global gtk.gdk.DisplayManager object is returned from the gtk.gdk.display_manager_get() - function.

Methods

gtk.gdk.DisplayManager.get_default_display

    def get_default_display()

Returns :

a gtk.gdk.Display, + function.

Methods

gtk.gdk.DisplayManager.get_default_display

    def get_default_display()

Returns :

a gtk.gdk.Display, or None if there is no default display.

Note

This method is available in PyGTK 2.2 and above.

The get_default_display() method returns the default gtk.gdk.Display.

gtk.gdk.DisplayManager.set_default_display

    def set_default_display(display)

display :

a gtk.gdk.Display

Note

This method is available in PyGTK 2.2 and above.

The set_default_display() method sets the gtk.gdk.Display specified by display as the default display.

gtk.gdk.DisplayManager.list_displays

    def list_displays()

Returns :

a list containing gtk.gdk.Display objects.

Note

This method is available in PyGTK 2.2 and above.

The list_displays() method returns a -list containing all currently open displays.

Functions

gtk.gdk.display_manager_get

    def gtk.gdk.display_manager_get()

Returns :

+list containing all currently open displays.

Functions

gtk.gdk.display_manager_get

    def gtk.gdk.display_manager_get()

Returns :

the singleton gtk.gdk.DisplayManager object.

Note

This function is available in PyGTK 2.2 and above.

The gtk.gdk.display_manager_get() method returns the global gtk.gdk.DisplayManager -singleton.

Signals

The "display-opened" gtk.gdk.DisplayManager Signal

    def callback(displaymanager, display, user_param1, ...)

displaymanager :

the displaymanager that received the +singleton.

Signals

The "display-opened" gtk.gdk.DisplayManager Signal

    def callback(displaymanager, display, user_param1, ...)

displaymanager :

the displaymanager that received the signal

display :

the display that was opened

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gdkdragcontext.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gdkdragcontext.html --- pygtk-2.14.1/docs/html/class-gdkdragcontext.html 2009-03-05 22:50:09.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gdkdragcontext.html 2009-05-24 23:13:10.000000000 +0100 @@ -1,8 +1,8 @@ gtk.gdk.DragContext

gtk.gdk.DragContext

gtk.gdk.DragContext — an object containing the drag and drop context -data

Synopsis

class gtk.gdk.DragContext(gobject.GObject):
-    gtk.gdk.DragContext()
def drag_status(action, time)
def drop_reply(ok, time)
def drop_finish(success, time)
def drag_get_selection()
def drag_find_window(drag_window, x_root, y_root)
def drag_find_window_for_screen(drag_window, screen, x_root, y_root)
def drag_motion(dest_window, protocol, x_root, y_root, suggested_action, possible_actions, time)
def drag_drop(time)
def drag_abort(time)
def finish(success, del_, time)
def get_source_widget()
def set_icon_widget(widget, hot_x, hot_y)
def set_icon_pixmap(colormap, pixmap, mask, hot_x, hot_y)
def set_icon_pixbuf(pixbuf, hot_x, hot_y)
def set_icon_stock(stock_id, hot_x, hot_y)
def set_icon_name(icon_name, hot_x, hot_y)
def set_icon_default()
def drag_drop_succeeded()

Ancestry

+-- gobject.GObject
+data

Synopsis

class gtk.gdk.DragContext(gobject.GObject):
+    gtk.gdk.DragContext()
def drag_status(action, time)
def drop_reply(ok, time)
def drop_finish(success, time)
def drag_get_selection()
def drag_find_window(drag_window, x_root, y_root)
def drag_find_window_for_screen(drag_window, screen, x_root, y_root)
def drag_motion(dest_window, protocol, x_root, y_root, suggested_action, possible_actions, time)
def drag_drop(time)
def drag_abort(time)
def finish(success, del_, time)
def get_source_widget()
def set_icon_widget(widget, hot_x, hot_y)
def set_icon_pixmap(colormap, pixmap, mask, hot_x, hot_y)
def set_icon_pixbuf(pixbuf, hot_x, hot_y)
def set_icon_stock(stock_id, hot_x, hot_y)
def set_icon_name(icon_name, hot_x, hot_y)
def set_icon_default()
def drag_drop_succeeded()

Ancestry

+-- gobject.GObject
   +-- gtk.gdk.DragContext
-

Attributes

"action"Readthe action chosen by the destination. One of: +

Attributes

"action"Readthe action chosen by the destination. One of: gtk.gdk.ACTION_COPY, gtk.gdk.ACTION_MOVE, gtk.gdk.ACTION_LINK, @@ -28,7 +28,7 @@ gtk.gdk.ACTION_MOVE, gtk.gdk.ACTION_LINK, gtk.gdk.ACTION_PRIVATE, -gtk.gdk.ACTION_ASK
"targets"Reada list of targets offered by the source.

Description

A gtk.gdk.DragContext +gtk.gdk.ACTION_ASK

"targets"Reada list of targets offered by the source.

Description

A gtk.gdk.DragContext holds information about a drag in progress. It is used for both source and destination. A gtk.gdk.DragContext can be created using the gtk.gdk.DragContext() @@ -37,7 +37,7 @@ objects are created as a result of the gtk.gdk.Window.drag_begin() or the gtk.Widget.drag_begin() methods.

Constructor

    gtk.gdk.DragContext()

Returns :

a new gtk.gdk.DragContext

Creates a new gtk.gdk.DragContext -object.

Methods

gtk.gdk.DragContext.drag_status

    def drag_status(action, time)

action :

a drag action that will be taken when a drop +object.

Methods

gtk.gdk.DragContext.drag_status

    def drag_status(action, time)

action :

a drag action that will be taken when a drop happens

time :

the timestamp for this action

The drag_status() method sets the specified action to be taken when a drop happens. The diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gdkdrawable.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gdkdrawable.html --- pygtk-2.14.1/docs/html/class-gdkdrawable.html 2009-03-05 22:50:10.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gdkdrawable.html 2009-05-24 23:13:11.000000000 +0100 @@ -1,9 +1,9 @@ -gtk.gdk.Drawable

gtk.gdk.Drawable

gtk.gdk.Drawable — a base class for drawing methods

Synopsis

class gtk.gdk.Drawable(gobject.GObject):
-    def get_size()
def set_colormap(colormap)
def get_colormap()
def get_visual()
def get_depth()
def get_screen()
def get_display()
def draw_point(gc, x, y)
def draw_line(gc, x1, y1, x2, y2)
def draw_rectangle(gc, filled, x, y, width, height)
def draw_arc(gc, filled, x, y, width, height, angle1, angle2)
def draw_polygon(gc, filled, points)
def draw_drawable(gc, src, xsrc, ysrc, xdest, ydest, width, height)
def draw_image(gc, image, xsrc, ysrc, xdest, ydest, width, height)
def draw_points(gc, points)
def draw_segments(gc, segs)
def draw_lines(gc, points)
def draw_pixbuf(gc, pixbuf, src_x, src_y, dest_x, dest_y, width=-1, height=-1, dither=gtk.gdk.RGB_DITHER_NORMAL, x_dither=0, y_dither=0)
def draw_glyphs(gc, font, x, y, glyphs)
def draw_layout_line(gc, x, y, line, layout, foreground=None, background=None)
def draw_layout(gc, x, y, layout, foreground=None, background=None)
def get_image(x, y, width, height)
def get_clip_region()
def get_visible_region()
def new_gc(foreground, background, font, function, fill, tile, stipple, clip_mask, subwindow_mode, ts_x_origin, ts_y_origin, clip_x_origin, clip_y_origin, graphics_exposures, line_width, line_style, cap_style, join_style>)
def draw_rgb_image(gc, x, y, width, height, dith, rgb_buf, rowstride=-1, xdith=0, ydith=0)
def draw_rgb_32_image(gc, x, y, width, height, dith, rgb_buf, rowstride=-1, xdith=0, ydith=0)
def draw_gray_image(gc, x, y, width, height, dith, buf, rowstride=-1)
def draw_indexed_image(gc, x, y, width, height, dith, buf, rowstride, cmap)
def cairo_create()

Ancestry

+-- gobject.GObject
+gtk.gdk.Drawable

gtk.gdk.Drawable

gtk.gdk.Drawable — a base class for drawing methods

Synopsis

class gtk.gdk.Drawable(gobject.GObject):
+    def get_size()
def set_colormap(colormap)
def get_colormap()
def get_visual()
def get_depth()
def get_screen()
def get_display()
def draw_point(gc, x, y)
def draw_line(gc, x1, y1, x2, y2)
def draw_rectangle(gc, filled, x, y, width, height)
def draw_arc(gc, filled, x, y, width, height, angle1, angle2)
def draw_polygon(gc, filled, points)
def draw_drawable(gc, src, xsrc, ysrc, xdest, ydest, width, height)
def draw_image(gc, image, xsrc, ysrc, xdest, ydest, width, height)
def draw_points(gc, points)
def draw_segments(gc, segs)
def draw_lines(gc, points)
def draw_pixbuf(gc, pixbuf, src_x, src_y, dest_x, dest_y, width=-1, height=-1, dither=gtk.gdk.RGB_DITHER_NORMAL, x_dither=0, y_dither=0)
def draw_glyphs(gc, font, x, y, glyphs)
def draw_layout_line(gc, x, y, line, layout, foreground=None, background=None)
def draw_layout(gc, x, y, layout, foreground=None, background=None)
def get_image(x, y, width, height)
def get_clip_region()
def get_visible_region()
def new_gc(foreground, background, font, function, fill, tile, stipple, clip_mask, subwindow_mode, ts_x_origin, ts_y_origin, clip_x_origin, clip_y_origin, graphics_exposures, line_width, line_style, cap_style, join_style>)
def draw_rgb_image(gc, x, y, width, height, dith, rgb_buf, rowstride=-1, xdith=0, ydith=0)
def draw_rgb_32_image(gc, x, y, width, height, dith, rgb_buf, rowstride=-1, xdith=0, ydith=0)
def draw_gray_image(gc, x, y, width, height, dith, buf, rowstride=-1)
def draw_indexed_image(gc, x, y, width, height, dith, buf, rowstride, cmap)
def cairo_create()

Ancestry

+-- gobject.GObject
   +-- gtk.gdk.Drawable
-

Attributes

"handle"ReadThe handle of the MS Windows window associated with +

Attributes

"handle"ReadThe handle of the MS Windows window associated with the drawable. Not supported on X11.
"xid"ReadThe id of the X window available with the -drawable. Not supported on MS Windows

Description

A gtk.gdk.Drawable +drawable. Not supported on MS Windows

Description

A gtk.gdk.Drawable is a base class providing drawing primitives for its subclasses: gtk.gdk.Pixmap and gtk.gdk.Window.

These methods provide support for drawing points, lines, arcs and text onto what are called 'drawables'. Drawables, as the name suggests, are @@ -18,7 +18,7 @@ pango.Layout as arguments. Use the gtk.Widget.create_pango_context() or gtk.Widget.create_pango_layout() -methods to obtain these objects.

Methods

gtk.gdk.Drawable.get_size

    def get_size()

Returns :

a tuple containing the drawable's width and +methods to obtain these objects.

Methods

gtk.gdk.Drawable.get_size

    def get_size()

Returns :

a tuple containing the drawable's width and height

The get_size() method returns a tuple containing the width and height of the drawable.

On the X11 platform, if the drawable is a gtk.gdk.Window, the returned size is the size reported in the most-recently-processed configure diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gdkevent.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gdkevent.html --- pygtk-2.14.1/docs/html/class-gdkevent.html 2009-03-05 22:50:12.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gdkevent.html 2009-05-24 23:13:13.000000000 +0100 @@ -1,21 +1,21 @@ gtk.gdk.Event

gtk.gdk.Event

gtk.gdk.Event — an object representing an event from the windowing -system

Synopsis

class gtk.gdk.Event(gobject.GBoxed):
+system

Synopsis

class gtk.gdk.Event(gobject.GBoxed):
     gtk.gdk.Event(type)
def put()
def copy()
def free()
def get_time()
def get_state(state)
def get_coords()
def get_root_coords()
def get_axis(axis_use)
def set_screen(screen)
def get_screen()
 Functions
 
-    def gtk.gdk.events_pending()
def gtk.gdk.event_peek()
def gtk.gdk.event_get()
def gtk.gdk.event_get_graphics_expose(window)
def gtk.gdk.set_show_events(show_events)
def gtk.gdk.get_show_events()
def gtk.gdk.event_handler_set(func, data=None)
def gtk.gdk.event_request_motions(event)

Attributes

The attributes available for a gtk.gdk.Event are + def gtk.gdk.events_pending()
def gtk.gdk.event_peek()
def gtk.gdk.event_get()
def gtk.gdk.event_get_graphics_expose(window)
def gtk.gdk.set_show_events(show_events)
def gtk.gdk.get_show_events()
def gtk.gdk.event_handler_set(func, data=None)
def gtk.gdk.event_request_motions(event)

Attributes

The attributes available for a gtk.gdk.Event are dependent on the type of the event. The event types are described in the -Description section.

gtk.gdk.NOTHING

"type"ReadThe event type - see the list below in the Description section
"window"Read/WriteThe gtk.gdk.Window the +Description section.

gtk.gdk.NOTHING

"type"ReadThe event type - see the list below in the Description section
"window"Read/WriteThe gtk.gdk.Window the event occurred on.
"send_event"Read/WriteTrue if the event was sent explicitly.

Contain only the fields that are common to all event - types.

gtk.gdk.EXPOSE

"type"ReadThe event type - see the list below in the Description section
"window"Read/WriteThe gtk.gdk.Window the + types.

gtk.gdk.EXPOSE

"type"ReadThe event type - see the list below in the Description section
"window"Read/WriteThe gtk.gdk.Window the event occurred on.
"send_event"Read/WriteTrue if the event was sent explicitly.
"area"Read/WriteThe bounding box of the area to be redrawn
"count"Read/WriteThe number of contiguous gtk.gdk.EXPOSE events following this one. The only use for this is "exposure compression", i.e. handling all contiguous gtk.gdk.EXPOSE events in one go, though PyGTK performs some exposure compression so this is not normally needed.

Generated when all or part of a window becomes visible and needs - to be redrawn.

gtk.gdk.MOTION_NOTIFY

"type"ReadThe event type - see the list below in the Description section
"window"Read/WriteThe gtk.gdk.Window the + to be redrawn.

gtk.gdk.MOTION_NOTIFY

"type"ReadThe event type - see the list below in the Description section
"window"Read/WriteThe gtk.gdk.Window the event occurred on.
"send_event"Read/WriteTrue if the event was sent explicitly.
"time"Read/WriteThe time of the event in milliseconds.
"x"Read/WriteThe x coordinate of the pointer relative to the window.
"y"Read/WriteThe y coordinate of the pointer relative to the @@ -27,7 +27,7 @@ Alt) and the pointer buttons.
"is_hint"Read/WriteTrue if the gdk.POINTER_MOTION_HINT_MASK is set.
"device"ReadThe device where the event originated.
"x_root"Read/WriteThe x coordinate of the pointer relative to the root of the screen.
"y_root"Read/WriteThe y coordinate of the pointer relative to the root -of the screen.

Generated when the pointer moves.

gtk.gdk.BUTTON_PRESS

"type"ReadThe event type - see the list below in the Description section
"window"Read/WriteThe gtk.gdk.Window the +of the screen.

Generated when the pointer moves.

gtk.gdk.BUTTON_PRESS

"type"ReadThe event type - see the list below in the Description section
"window"Read/WriteThe gtk.gdk.Window the event occurred on.
"send_event"Read/WriteTrue if the event was sent explicitly.
"time"Read/WriteThe time of the event in milliseconds.
"x"Read/WriteThe x coordinate of the pointer relative to the window.
"y"Read/WriteThe y coordinate of the pointer relative to the @@ -50,7 +50,7 @@ click. The order of the events is:

  1. gtk.gdk.BUTTON_PRESS
  2. gtk.gdk.BUTTON_RELEASE
  3. gtk.gdk.BUTTON_PRESS
  4. gtk.gdk.2BUTTON_PRESS
  5. gtk.gdk.BUTTON_RELEASE
  6. gtk.gdk.BUTTON_PRESS
  7. gtk.gdk.3BUTTON_PRESS
  8. gtk.gdk.BUTTON_RELEASE

For a double click to occur, the second button press must occur within 1/4 of a second of the first. For a triple click to occur, the third button press must also occur within 1/2 second of the first - button press.

gtk.gdk.KEY_PRESS

"type"ReadThe event type - see the list below in the Description section
"window"Read/WriteThe gtk.gdk.Window the + button press.

gtk.gdk.KEY_PRESS

"type"ReadThe event type - see the list below in the Description section
"window"Read/WriteThe gtk.gdk.Window the event occurred on.
"send_event"Read/WriteTrue if the event was sent explicitly.
"time"Read/WriteThe time of the event in milliseconds.
"state"Read/WriteA bit-mask representing the state of the modifier keys (e.g. Control, Shift and @@ -62,7 +62,7 @@ composed characters appear here after the pre-editing has been completed.
"hardware_keycode"Read/WriteThe raw code of the key that was pressed or released. Available in PyGTK 2.2 and above.
"group"Read/Writethe keyboard group. Available in PyGTK 2.4 and -above.

Generated for a key press or key release event.

gtk.gdk.ENTER_NOTIFY

"type"ReadThe event type - see the list below in the Description section
"window"Read/WriteThe gtk.gdk.Window the +above.

Generated for a key press or key release event.

gtk.gdk.ENTER_NOTIFY

"type"ReadThe event type - see the list below in the Description section
"window"Read/WriteThe gtk.gdk.Window the event occurred on.
"send_event"Read/WriteTrue if the event was sent explicitly.
"subwindow"Read/WriteThe window that was entered or left.
"time"Read/WriteThe time of the event in milliseconds.
"x"Read/WriteThe x coordinate of the pointer relative to the window.
"y"Read/WriteThe y coordinate of the pointer relative to the @@ -79,47 +79,47 @@ gtk.gdk.NOTIFY_NONLINEAR_VIRTUAL).
"focus"Read/WriteTrue if window is the focus window or an inferior.
"state"Read/WriteA bit-mask representing the state of the modifier keys (e.g. Control, Shift and -Alt) and the pointer buttons.

Generated when the pointer enters or leaves a window.

gtk.gdk.FOCUS_CHANGE

"type"ReadThe event type - see the list below in the Description section
"window"Read/WriteThe gtk.gdk.Window the +Alt) and the pointer buttons.

Generated when the pointer enters or leaves a window.

gtk.gdk.FOCUS_CHANGE

"type"ReadThe event type - see the list below in the Description section
"window"Read/WriteThe gtk.gdk.Window the event occurred on.
"send_event"Read/WriteTrue if the event was sent explicitly.
"in_"Read/WriteTrue if the window has gained the -keyboard focus, False if it has lost the focus.

Describes a change of keyboard focus.

gtk.gdk.CONFIGURE

"type"ReadThe event type - see the list below in the Description section
"window"Read/WriteThe gtk.gdk.Window the +keyboard focus, False if it has lost the focus.

Describes a change of keyboard focus.

gtk.gdk.CONFIGURE

"type"ReadThe event type - see the list below in the Description section
"window"Read/WriteThe gtk.gdk.Window the event occurred on.
"send_event"Read/WriteTrue if the event was sent explicitly.
"x"Read/WriteThe new x coordinate of the window relative to its parent.
"y"Read/WriteThe new y coordinate of the window relative to its -parent.
"width"Read/WriteThe new width of the window.
"height"Read/WriteThe new height of the window.

Generated when a window size or position has changed.

gtk.gdk.PROPERTY_NOTIFY

"type"ReadThe event type - see the list below in the Description section
"window"Read/WriteThe gtk.gdk.Window the +parent.
"width"Read/WriteThe new width of the window.
"height"Read/WriteThe new height of the window.

Generated when a window size or position has changed.

gtk.gdk.PROPERTY_NOTIFY

"type"ReadThe event type - see the list below in the Description section
"window"Read/WriteThe gtk.gdk.Window the event occurred on.
"send_event"Read/WriteTrue if the event was sent explicitly.
"atom"ReadThe property that was changed.
"time"Read/WriteThe time of the event in milliseconds.
"state"Read/WriteThe property was changed (gtk.gdk.PROPERTY_NEW_VALUE) or deleted -(gtk.gdk.PROPERTY_DELETE).

Describes a property change on a window.

gtk.gdk.SELECTION_CLEAR

"type"ReadThe event type - see the list below in the Description section
"window"Read/WriteThe gtk.gdk.Window the +(gtk.gdk.PROPERTY_DELETE).

Describes a property change on a window.

gtk.gdk.SELECTION_CLEAR

"type"ReadThe event type - see the list below in the Description section
"window"Read/WriteThe gtk.gdk.Window the event occurred on.
"send_event"Read/WriteTrue if the event was sent explicitly.
"selection"ReadThe selection.
"target"ReadThe target to which the selection should be converted.
"property"ReadThe property in which to place the result of the conversion.
"requestor"Read/Writethe native window ID on which to place property.
"time"Read/WriteThe time of the event in milliseconds.

Generated when a selection is requested or ownership of a - selection is taken over by another client application.

gtk.gdk.PROXIMITY_IN

"type"ReadThe event type - see the list below in the Description section
"window"Read/WriteThe gtk.gdk.Window the + selection is taken over by another client application.

gtk.gdk.PROXIMITY_IN

"type"ReadThe event type - see the list below in the Description section
"window"Read/WriteThe gtk.gdk.Window the event occurred on.
"send_event"Read/WriteTrue if the event was sent explicitly.
"time"Read/WriteThe time of the event in milliseconds.
"device"ReadThe device where the event originated.

Proximity events are generated when using GDK's wrapper for the XInput extension. The XInput extension is an add-on for standard X that allows you to use nonstandard devices such as graphics tablets. A proximity event indicates that the stylus has moved in or out of contact with the tablet, or perhaps that the user's finger has moved - in or out of contact with a touch screen.

gtk.gdk.DRAG_ENTER

"type"ReadThe event type - see the list below in the Description section
"window"Read/WriteThe gtk.gdk.Window the + in or out of contact with a touch screen.

gtk.gdk.DRAG_ENTER

"type"ReadThe event type - see the list below in the Description section
"window"Read/WriteThe gtk.gdk.Window the event occurred on.
"send_event"Read/WriteTrue if the event was sent explicitly.
"context"ReadThe gtk.gdk.DragContext for the current DND operation.
"time"Read/WriteThe time of the event in milliseconds.
"x_root"Read/WriteThe x coordinate of the pointer relative to the root of the screen only set for gtk.gdk.DRAG_MOTION and gtk.gdk.DROP_START.
"y_root"Read/WriteThe y coordinate of the pointer relative to the root of the screen only set for gtk.gdk.DRAG_MOTION and -gtk.gdk.DROP_START.

Generated during Drag and Drop operations.

gtk.gdk.CLIENT_EVENT

"type"ReadThe event type - see the list below in the Description section
"window"Read/WriteThe gtk.gdk.Window the +gtk.gdk.DROP_START.

Generated during Drag and Drop operations.

gtk.gdk.CLIENT_EVENT

"type"ReadThe event type - see the list below in the Description section
"window"Read/WriteThe gtk.gdk.Window the event occurred on.
"send_event"Read/WriteTrue if the event was sent explicitly.
"message_type"Read/WriteThe type of the message, which can be defined by the application.
"data_format"Read/WriteThe format of the data, given as the number of bits -in each data element, i.e. 8, 16, or 32.
"data"Read/WriteThe data as a string of 8-bit characters.

An event sent by another client application.

gtk.gdk.VISIBILITY_NOTIFY

"type"ReadThe event type - see the list below in the Description section
"window"Read/WriteThe gtk.gdk.Window the +in each data element, i.e. 8, 16, or 32.
"data"Read/WriteThe data as a string of 8-bit characters.

An event sent by another client application.

gtk.gdk.VISIBILITY_NOTIFY

"type"ReadThe event type - see the list below in the Description section
"window"Read/WriteThe gtk.gdk.Window the event occurred on.
"send_event"Read/WriteTrue if the event was sent explicitly.
"state"Read/WriteThe new visibility state (gtk.gdk.VISIBILITY_FULLY_OBSCURED, gtk.gdk.VISIBILITY_PARTIAL or -gtk.gdk.VISIBILITY_UNOBSCURED).

Generated when the window visibility status has changed.

gtk.gdk.SCROLL

"type"ReadThe event type - see the list below in the Description section
"window"Read/WriteThe gtk.gdk.Window the +gtk.gdk.VISIBILITY_UNOBSCURED).

Generated when the window visibility status has changed.

gtk.gdk.SCROLL

"type"ReadThe event type - see the list below in the Description section
"window"Read/WriteThe gtk.gdk.Window the event occurred on.
"send_event"Read/WriteTrue if the event was sent explicitly.
"time"Read/WriteThe time of the event in milliseconds.
"x"Read/WriteThe x coordinate of the pointer relative to the window.
"y"Read/WriteThe y coordinate of the pointer relative to the @@ -133,7 +133,7 @@ of the screen.
"y_root"Read/WriteThe y coordinate of the pointer relative to the root of the screen.

Generated from button presses for the buttons 4 to 7. Wheel mice are usually configured to generate button press events for buttons 4 - and 5 when the wheel is turned.

gtk.gdk.WINDOW_STATE

"type"ReadThe event type - see the list below in the Description section
"window"Read/WriteThe gtk.gdk.Window the + and 5 when the wheel is turned.

gtk.gdk.WINDOW_STATE

"type"ReadThe event type - see the list below in the Description section
"window"Read/WriteThe gtk.gdk.Window the event occurred on.
"send_event"Read/WriteTrue if the event was sent explicitly.
"changed_mask"Read/WriteThe mask specifying what flags have changed - a combination of: gtk.gdk.WINDOW_STATE_WITHDRAWN, @@ -143,19 +143,19 @@ gtk.gdk.WINDOW_STATE_WITHDRAWN, gtk.gdk.WINDOW_STATE_ICONIFIED, gtk.gdk.WINDOW_STATE_MAXIMIZED and -gtk.gdk.WINDOW_STATE_STICKY

Generated when the state of a toplevel window changes.

gtk.gdk.SETTING

"type"ReadThe event type - see the list below in the Description section
"window"Read/WriteThe gtk.gdk.Window the +gtk.gdk.WINDOW_STATE_STICKY

Generated when the state of a toplevel window changes.

gtk.gdk.SETTING

"type"ReadThe event type - see the list below in the Description section
"window"Read/WriteThe gtk.gdk.Window the event occurred on.
"send_event"Read/WriteTrue if the event was sent explicitly.
"action"Read/WriteWhat happened to the setting (gtk.gdk.SETTING_ACTION_NEW, gtk.gdk.SETTING_ACTION_CHANGED or -gtk.gdk.SETTING_ACTION_DELETED).
"name"Read/WriteThe name of the setting.

Generated when a setting is modified.

gtk.gdk.OWNER_CHANGE

Note

This Event type is available in PyGTK 2.8 and above.

"type"ReadThe event type - see the list below in the Description section
"window"Read/WriteThe gtk.gdk.Window the +gtk.gdk.SETTING_ACTION_DELETED).
"name"Read/WriteThe name of the setting.

Generated when a setting is modified.

gtk.gdk.OWNER_CHANGE

Note

This Event type is available in PyGTK 2.8 and above.

"type"ReadThe event type - see the list below in the Description section
"window"Read/WriteThe gtk.gdk.Window the event occurred on.
"send_event"Read/WriteTrue if the event was sent explicitly.
"owner"Read/Writethe new owner of the selection - the native window ID as an integer
"reason"Read/Writethe reason for the ownership change indicated by one of the GDK Owner Change Constants.
"selection"Readthe atom identifying the selection
"time"Read/Writethe timestamp of the event
"selection_time"Read/Writethe time at which the selection ownership was taken over

Generated when the owner of a selection changes. On X11, this information is only available if the X server supports the XFIXES - extension.

gtk.gdk.GRAB_BROKEN

Note

This Event type is available in PyGTK 2.8 and above.

"type"ReadThe event type - see the list below in the Description section
"window"Read/WriteThe gtk.gdk.Window the + extension.

gtk.gdk.GRAB_BROKEN

Note

This Event type is available in PyGTK 2.8 and above.

"type"ReadThe event type - see the list below in the Description section
"window"Read/WriteThe gtk.gdk.Window the event occurred on.
"send_event"Read/WriteTrue if the event was sent explicitly.
"keyboard"Read/Writeif True a keyboard grab was broken; if False a pointer grab was @@ -199,7 +199,7 @@

Constructor

    gtk.gdk.Event(type)

type :

a event type - see the Description above

Returns :

a newly-allocated gtk.gdk.Event.

Note

This constructor is available in PyGTK 2.2 and above.

Creates a new gtk.gdk.Event of the -given type. All fields are set to 0.

Methods

gtk.gdk.Event.put

    def put()

The put() method appends a copy of the +given type. All fields are set to 0.

Methods

gtk.gdk.Event.put

    def put()

The put() method appends a copy of the given event onto the tail of the event queue.

gtk.gdk.Event.copy

    def copy()

Returns :

a copy of the event

The copy() method copies the event, copying or incrementing the reference count of the resources associated with it (e.g. windows and strings).

gtk.gdk.Event.free

    def free()

Warning

This method is deprecated and should not be used since it may @@ -214,7 +214,7 @@ stamp from the event, if there is one; otherwise returns 0.

gtk.gdk.Event.get_state

    def get_state()

Returns :

the modifier state

Note

This method is available in PyGTK 2.4 and above.

The get_state() method returns the value of the modifier "state" field. If the event has no "state" field the empty state value (0) is returned. The "state" field contains a - modifier type: a combination of the GDK Modifier Constants.

gtk.gdk.NOTHING

These events do not have any additional attributes.

gtk.gdk.Event.get_coords

    def get_coords()

Returns :

a tuple containing the event window x and y + modifier type: a combination of the GDK Modifier Constants.

gtk.gdk.NOTHING

These events do not have any additional attributes.

gtk.gdk.Event.get_coords

    def get_coords()

Returns :

a tuple containing the event window x and y coordinates or an empty tuple if the event did not deliver event window coordinates

The get_coords() method returns a tuple containing the x and y coordinates of an event relative to the event gtk.gdk.Window or an @@ -237,7 +237,7 @@ for the event. The screen is typically the screen for the event window, but for events such as mouse events, it is the screen where the the pointer was when the event occurs - that is, the screen that has the root window for the -event.

Functions

gtk.gdk.events_pending

    def gtk.gdk.events_pending()

Returns :

True if any events are +event.

Functions

gtk.gdk.events_pending

    def gtk.gdk.events_pending()

Returns :

True if any events are pending

The gtk.gdk.events_pending() function returns True if any events are ready to be processed.

gtk.gdk.event_peek

    def gtk.gdk.event_peek()

Returns :

a copy of the first gtk.gdk.Event on the diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gdkgc.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gdkgc.html --- pygtk-2.14.1/docs/html/class-gdkgc.html 2009-03-05 22:50:13.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gdkgc.html 2009-05-24 23:13:14.000000000 +0100 @@ -1,7 +1,7 @@ -gtk.gdk.GC

gtk.gdk.GC

gtk.gdk.GC — objects to encapsulate drawing properties.

Synopsis

class gtk.gdk.GC(gobject.GObject):
-    gtk.gdk.GC(drawable, foreground, background, font, function, fill, tile, stipple, clip_mask, subwindow_mode, ts_x_origin, ts_y_origin, clip_x_origin, clip_y_origin, graphics_exposures, line_width, line_style, cap_style, join_style>)
def set_values(foreground, background, font, function, fill, tile, stipple, clip_mask, subwindow_mode, ts_x_origin, ts_y_origin, clip_x_origin, clip_y_origin, graphics_exposures, line_width, line_style, cap_style, join_style>)
def set_foreground(color)
def set_background(color)
def set_function(function)
def set_fill(fill)
def set_tile(tile)
def set_stipple(stipple)
def set_ts_origin(x, y)
def set_clip_origin(x, y)
def set_clip_mask(mask)
def set_clip_rectangle(rectangle)
def set_clip_region(region)
def set_subwindow(mode)
def set_exposures(exposures)
def set_line_attributes(line_width, line_style, cap_style, join_style)
def set_dashes(dash_offset, dash_list)
def offset(x_offset, y_offset)
def copy(src_gc)
def set_colormap(colormap)
def get_colormap()
def set_rgb_fg_color(color)
def set_rgb_bg_color(color)
def get_screen()

Ancestry

+-- gobject.GObject
+gtk.gdk.GC

gtk.gdk.GC

gtk.gdk.GC — objects to encapsulate drawing properties.

Synopsis

class gtk.gdk.GC(gobject.GObject):
+    gtk.gdk.GC(drawable, foreground, background, font, function, fill, tile, stipple, clip_mask, subwindow_mode, ts_x_origin, ts_y_origin, clip_x_origin, clip_y_origin, graphics_exposures, line_width, line_style, cap_style, join_style>)
def set_values(foreground, background, font, function, fill, tile, stipple, clip_mask, subwindow_mode, ts_x_origin, ts_y_origin, clip_x_origin, clip_y_origin, graphics_exposures, line_width, line_style, cap_style, join_style>)
def set_foreground(color)
def set_background(color)
def set_function(function)
def set_fill(fill)
def set_tile(tile)
def set_stipple(stipple)
def set_ts_origin(x, y)
def set_clip_origin(x, y)
def set_clip_mask(mask)
def set_clip_rectangle(rectangle)
def set_clip_region(region)
def set_subwindow(mode)
def set_exposures(exposures)
def set_line_attributes(line_width, line_style, cap_style, join_style)
def set_dashes(dash_offset, dash_list)
def offset(x_offset, y_offset)
def copy(src_gc)
def set_colormap(colormap)
def get_colormap()
def set_rgb_fg_color(color)
def set_rgb_bg_color(color)
def get_screen()

Ancestry

+-- gobject.GObject
   +-- gtk.gdk.GC
-

Attributes

"background"Read-WriteThe background gtk.gdk.Color.
"cap_style"Read-WriteThe style of drawing the ends of lines - one of: +

Attributes

"background"Read-WriteThe background gtk.gdk.Color.
"cap_style"Read-WriteThe style of drawing the ends of lines - one of: gtk.gdk.CAP_NOT_LAST, gtk.gdk.CAP_BUTT, gtk.gdk.CAP_ROUND or gtk.gdk.CAP_PROJECTING.
"clip_mask"Read-WriteA gtk.gdk.Pixmap @@ -28,7 +28,7 @@ bitmap used to stipple the background.
"sub_window"Read-WriteThe mode of drawing in a gtk.gdk.Window with subwindows - one of: gtk.gdk.CLIP_BY_CHILDREN or gtk.gdk.INCLUDE_INFERIORS.
"tile"Read-WriteThe gtk.gdk.Pixmap used -to tile the background.
"ts_x_origin"Read-WriteThe x origin of the tile or stipple.
"ts_y_origin"Read-WriteThe y origin of the tile or stipple.

Description

All drawing operations in PyGTK take a graphics +to tile the background.

"ts_x_origin"Read-WriteThe x origin of the tile or stipple.
"ts_y_origin"Read-WriteThe y origin of the tile or stipple.

Description

All drawing operations in PyGTK take a graphics context (gtk.gdk.GC) argument (See the gtk.gdk.Drawable description). A graphics context encapsulates information about the way @@ -40,7 +40,10 @@ or can be set one-by-one using functions such as set_foreground() or by setting a gtk.gdk.GC attribute. A few of the values in the gtk.gdk.GC, such as the -dash pattern, can only be set by the latter method.

Constructor

    gtk.gdk.GC(drawable, foreground, background, font, function, fill, tile, stipple, clip_mask, subwindow_mode, ts_x_origin, ts_y_origin, clip_x_origin, clip_y_origin, graphics_exposures, line_width, line_style, cap_style, join_style>)

drawable :

A gtk.gdk.Drawable +dash pattern, can only be set by the latter method.

Note that all coordinates except for clip mask and clip region are relative to + destination drawable (e.g. gtk.gdk.Window) + origin. In particular, coordinates are not related to widget + allocation.

Constructor

    gtk.gdk.GC(drawable, foreground, background, font, function, fill, tile, stipple, clip_mask, subwindow_mode, ts_x_origin, ts_y_origin, clip_x_origin, clip_y_origin, graphics_exposures, line_width, line_style, cap_style, join_style>)

drawable :

A gtk.gdk.Drawable (gtk.gdk.Window or gtk.gdk.Pixmap)

foreground :

the foreground gtk.gdk.Color

background :

the background gtk.gdk.Color

font :

a font (deprecated and ignored)

function :

the bitwise operator used to combine the existing @@ -79,7 +82,7 @@ rest of the parameters are optional. Any attributes not specified will use a default value. This is an alternative to the gtk.gdk.Drawable.new_gc() method. Since there are a large number of optional attribute parameters it's -probably best to specify the attribute values using keywords.

Methods

gtk.gdk.GC.set_values

    def set_values(values, foreground, background, font, function, fill, tile, stipple, clip_mask, subwindow_mode, ts_x_origin, ts_y_origin, clip_x_origin, clip_y_origin, graphics_exposures, line_width, line_style, cap_style, join_style>)

foreground :

the foreground gtk.gdk.Color

background :

the background gtk.gdk.Color

font :

a font (deprecated and +probably best to specify the attribute values using keywords.

Methods

gtk.gdk.GC.set_values

    def set_values(values, foreground, background, font, function, fill, tile, stipple, clip_mask, subwindow_mode, ts_x_origin, ts_y_origin, clip_x_origin, clip_y_origin, graphics_exposures, line_width, line_style, cap_style, join_style>)

foreground :

the foreground gtk.gdk.Color

background :

the background gtk.gdk.Color

font :

a font (deprecated and ignored)

function :

the bitwise operator used to combine the existing pixel value and a new pixel value - usually one of: gtk.gdk.COPY, gtk.gdk.XOR or diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gdkimage.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gdkimage.html --- pygtk-2.14.1/docs/html/class-gdkimage.html 2009-03-05 22:50:13.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gdkimage.html 2009-05-24 23:13:14.000000000 +0100 @@ -1,8 +1,8 @@ gtk.gdk.Image

gtk.gdk.Image

gtk.gdk.Image — an area for bit-mapped graphics stored on the X Windows -client.

Synopsis

class gtk.gdk.Image(gobject.GObject):
-    gtk.gdk.Image(type, visual, width, height)
def put_pixel(x, y, pixel)
def get_pixel(x, y)
def set_colormap(colormap)
def get_colormap()

Ancestry

+-- gobject.GObject
+client.

Synopsis

class gtk.gdk.Image(gobject.GObject):
+    gtk.gdk.Image(type, visual, width, height)
def put_pixel(x, y, pixel)
def get_pixel(x, y)
def set_colormap(colormap)
def get_colormap()

Ancestry

+-- gobject.GObject
   +-- gtk.gdk.Image
-

Description

The gtk.gdk.Image type +

Description

The gtk.gdk.Image type represents an area for drawing graphics. It has now been superseded to a large extent by the much more flexible RGB methods (see gtk.gdk.Drawable).

Constructor

    gtk.gdk.Image(type, visual, width, height)

type :

a gtk.gdk.Image type

visual :

a gtk.gdk.Visual

width :

the width in pixels of the @@ -19,7 +19,7 @@ available if client and server are on the same machine and the shared memory extension is supported by the server.

gtk.gdk.IMAGE_FASTEST

Specifies that gtk.gdk.IMAGE_SHARED should be tried first, and if that fails then gtk.gdk.IMAGE_NORMAL will be used.

Usually using gtk.gdk.IMAGE_FASTEST is the best -choice.

Methods

gtk.gdk.Image.put_pixel

    def put_pixel(x, y, pixel)

x :

the x coordinate of the pixel to +choice.

Methods

gtk.gdk.Image.put_pixel

    def put_pixel(x, y, pixel)

x :

the x coordinate of the pixel to set.

y :

the y coordinate of the pixel to set.

pixel :

the pixel value to set.

The put_pixel() method sets the value of the pixel in the image at the location specified by diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gdkkeymap.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gdkkeymap.html --- pygtk-2.14.1/docs/html/class-gdkkeymap.html 2009-03-05 22:50:14.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gdkkeymap.html 2009-05-24 23:13:15.000000000 +0100 @@ -1,11 +1,11 @@ gtk.gdk.Keymap

gtk.gdk.Keymap

gtk.gdk.Keymap — an object containing mappings of keys to key -values.

Synopsis

class gtk.gdk.Keymap(gobject.GObject):
+values.

Synopsis

class gtk.gdk.Keymap(gobject.GObject):
     def lookup_key(keycode, group, level)
def translate_keyboard_state(keycode, state, group)
def get_entries_for_keyval(keyval)
def get_entries_for_keycode(hardware_keycode)
def get_direction()
def have_bidi_layouts()
 Functions
 
-    def gtk.gdk.keymap_get_default()
def gtk.gdk.keymap_get_for_display(display)
def gtk.gdk.keyval_name(keyval)
def gtk.gdk.keyval_from_name(keyval_name)
def gtk.gdk.keyval_convert_case(symbol)
def gtk.gdk.keyval_to_upper(keyval)
def gtk.gdk.keyval_to_lower(keyval)
def gtk.gdk.keyval_is_upper(keyval)
def gtk.gdk.keyval_is_lower(keyval)
def gtk.gdk.keyval_to_unicode(keyval)
def gtk.gdk.unicode_to_keyval(wc)

Ancestry

+-- gobject.GObject
   +-- gtk.gdk.Keymap
-

Signal Prototypes

"direction-changed"

def callback(gdkkeymap, user_param1, ...)

"keys-changed"

def callback(gdkkeymap, user_param1, ...)

Description

A gtk.gdk.Keymap +

Signal Prototypes

"direction-changed"

def callback(gdkkeymap, user_param1, ...)

"keys-changed"

def callback(gdkkeymap, user_param1, ...)

Description

A gtk.gdk.Keymap defines the translation from keyboard state (including a hardware key, a modifier mask, and active keyboard group) to a keyval. This translation has two phases. The first phase is to determine the effective keyboard group and @@ -31,7 +31,7 @@ two different languages. In group 0, a key might have two English characters, and in group 1 it might have two Hebrew characters. The Hebrew characters will be printed on the key next to the English characters. -

Methods

gtk.gdk.Keymap.lookup_key

    def lookup_key(keycode, group, level)

keycode :

the hardware keycode.

group :

the key group

level :

the key level

Returns :

a keyval, or 0 if none was mapped to the +

Methods

gtk.gdk.Keymap.lookup_key

    def lookup_key(keycode, group, level)

keycode :

the hardware keycode.

group :

the key group

level :

the key level

Returns :

a keyval, or 0 if none was mapped to the (keycode, group, level) triplet.

Note

This method is available in PyGTK 2.4 and above.

The lookup_key() method returns the keyval mapped to the specified (keycode, @@ -65,7 +65,7 @@ convenience, the keyboard gtk.gdk.Event already contains the translated keyval, so this method isn't as useful as you might think.

The value of state or the consumed - modifiers is a combination of the GDK Modifier Constants.

Consumed Modifiers

The consumed modifiers are modifiers that should be masked out + modifiers is a combination of the GDK Modifier Constants.

Consumed Modifiers

The consumed modifiers are modifiers that should be masked out from state when comparing this key press to a hot key. For instance, on a US keyboard, the plus symbol is shifted, so when comparing a key press to a @@ -111,7 +111,7 @@ method for more information.

gtk.gdk.Keymap.get_direction

    def get_direction()

Returns :

a Pango direction: pango.DIRECTION_LTR or pango.DIRECTION_RTL.

The get_direction() method returns the direction of the keymap.

gtk.gdk.Keymap.have_bidi_layouts

    def have_bidi_layouts()

Returns :

True if there are layouts in both directions, FALSE otherwise.

The have_bidi_layouts() method determines if keyboard layouts for both right-to-left and left-to-right - languages are in use.

Functions

gtk.gdk.keymap_get_default

    def gtk.gdk.keymap_get_default()

Returns :

the default gdk keymap for the + languages are in use.

Functions

gtk.gdk.keymap_get_default

    def gtk.gdk.keymap_get_default()

Returns :

the default gdk keymap for the display.

The gtk.gdk.keymap_get_default() function returns the default gtk.gdk.Keymap for the display.

gtk.gdk.keymap_get_for_display

    def gtk.gdk.keymap_get_for_display(display)

display :

a gtk.gdk.Display

Returns :

the keymap for @@ -155,7 +155,7 @@ if there is no corresponding symbol, wc | 0x01000000

The gtk.gdk.unicode_to_keyval() function converts the ISO10646 (unicode) character specified by -wc to a key value.

Signals

The "direction-changed" gtk.gdk.Keymap Signal

    def callback(gdkkeymap, user_param1, ...)

gdkkeymap :

the gdkkeymap that received the +wc to a key value.

Signals

The "direction-changed" gtk.gdk.Keymap Signal

    def callback(gdkkeymap, user_param1, ...)

gdkkeymap :

the gdkkeymap that received the signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gdkpangorenderer.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gdkpangorenderer.html --- pygtk-2.14.1/docs/html/class-gdkpangorenderer.html 2009-03-05 22:50:14.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gdkpangorenderer.html 2009-05-24 23:13:15.000000000 +0100 @@ -1,13 +1,13 @@ gtk.gdk.PangoRenderer

gtk.gdk.PangoRenderer

gtk.gdk.PangoRenderer — an object providing use of Pango in GDK (new in PyGTK -2.8)

Synopsis

class gtk.gdk.PangoRenderer(pango.Renderer):
+2.8)

Synopsis

class gtk.gdk.PangoRenderer(pango.Renderer):
     pango.Renderer(screen=None)
def set_drawable(drawable)
def set_gc(gc)
def set_stipple(part, stipple)
def set_override_color(part, color)
 Functions
 
-    def gtk.gdk.gdk_pango_renderer_get_default(screen)

Ancestry

+-- gobject.GObject
+    def gtk.gdk.gdk_pango_renderer_get_default(screen)

Ancestry

+-- gobject.GObject
   +-- pango.Renderer
     +-- gtkgdk.PangoRenderer
-

Properties

"screen"Read-Write-Construct OnlyThe gtk.gdk.Screen -for the renderer. Available in GTK+ 2.8 and above.

Description

Pango is the text layout system used by PyGTK (via GDK and +

Properties

"screen"Read-Write-Construct OnlyThe gtk.gdk.Screen +for the renderer. Available in GTK+ 2.8 and above.

Description

Pango is the text layout system used by PyGTK (via GDK and GTK+). The functions and types in this section are used to render Pango objects to gtk.gdk.Drawable objects, and also extend the set of Pango attributes to include stippling @@ -42,11 +42,11 @@ coordinates.

In certain cases it can be useful to subclass gtk.gdk.PangoRenderer. Examples of reasons to do this are to add handling of custom attributes by overriding 'prepare_run' or to do custom drawing of embedded objects by overriding -'draw_shape'.

Constructor

    gtk.gdk.PangoRenderer(screen)

screen :

a gtk.gdk.Screen

Returns :

a new gtk.gdk.PangoRenderer +'draw_shape'.

Constructor

    gtk.gdk.PangoRenderer(screen)

screen :

a gtk.gdk.Screen

Returns :

a new gtk.gdk.PangoRenderer object

Note

This constructor is available in PyGTK 2.8 and above.

Creates a new gtk.gdk.PangoRenderer object for the gtk.gdk.Screen specified by screen. Normally you can use the results of the gtk.gdk.gdk_pango_renderer_get_default() -function rather than creating a new renderer.

Methods

gtk.gdk.PangoRenderer.set_drawable

    def set_drawable(drawable)

drawable :

the new target gtk.gdk.Drawable or +function rather than creating a new renderer.

Methods

gtk.gdk.PangoRenderer.set_drawable

    def set_drawable(drawable)

drawable :

the new target gtk.gdk.Drawable or None.

Note

This method is available in PyGTK 2.8 and above.

The set_drawable() method sets the gtk.gdk.Drawable specified by drawable as the drawable for @@ -72,7 +72,7 @@ strikethrough.) to the gtk.gdk.Color specified by color, overriding any attributes on the layouts renderered with this renderer.

In PyGTK 2.10 color may be set to -None.

Functions

gtk.gdk.gdk_pango_renderer_get_default

    def gtk.gdk.gdk_pango_renderer_get_default(screen)

screen :

a gtk.gdk.Screen

Returns :

the default gtk.gdk.PangoRenderer +None.

Functions

gtk.gdk.gdk_pango_renderer_get_default

    def gtk.gdk.gdk_pango_renderer_get_default(screen)

screen :

a gtk.gdk.Screen

Returns :

the default gtk.gdk.PangoRenderer object for screen.

Note

This function is available in PyGTK 2.8 and above.

The gtk.gdk.gdk_pango_renderer_get_default() function returns the default gtk.gdk.PangoRenderer diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gdkpixbufanimation.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gdkpixbufanimation.html --- pygtk-2.14.1/docs/html/class-gdkpixbufanimation.html 2009-03-05 22:50:16.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gdkpixbufanimation.html 2009-05-24 23:13:17.000000000 +0100 @@ -1,7 +1,7 @@ -gtk.gdk.PixbufAnimation

gtk.gdk.PixbufAnimation

gtk.gdk.PixbufAnimation — an object holding an animation

Synopsis

class gtk.gdk.PixbufAnimation(gobject.GObject):
-    gtk.gdk.PixbufAnimation(filename)
def get_width()
def get_height()
def is_static_image()
def get_static_image()
def get_iter(start_time=0.0)

Ancestry

+-- gobject.GObject
+gtk.gdk.PixbufAnimation

gtk.gdk.PixbufAnimation

gtk.gdk.PixbufAnimation — an object holding an animation

Synopsis

class gtk.gdk.PixbufAnimation(gobject.GObject):
+    gtk.gdk.PixbufAnimation(filename)
def get_width()
def get_height()
def is_static_image()
def get_static_image()
def get_iter(start_time=0.0)

Ancestry

+-- gobject.GObject
   +-- gtk.gdk.PixbufAnimation
-

Description

A gtk.gdk.PixbufAnimation is an object that holds an animation. An animation is conceptually a series of frames to be displayed over time. Each frame is the same size. The animation may not be represented as a series of frames internally; for @@ -16,7 +16,7 @@ single frame will be created.

This constructor raises the GError exception if any of several error conditions occurred: the file could not be opened, there was no loader for the file's format, there was not enough memory to allocate the image -buffer, or the image file contained invalid data.

Methods

gtk.gdk.PixbufAnimation.get_width

    def get_width()

Returns :

the width of the bounding box of the +buffer, or the image file contained invalid data.

Methods

gtk.gdk.PixbufAnimation.get_width

    def get_width()

Returns :

the width of the bounding box of the animation.

The get_width() method returns the width of the bounding box of a pixbuf animation.

gtk.gdk.PixbufAnimation.get_height

    def get_height()

Returns :

the height of the bounding box of the animation.

The get_height() method returns the diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gdkpixbufanimationiter.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gdkpixbufanimationiter.html --- pygtk-2.14.1/docs/html/class-gdkpixbufanimationiter.html 2009-03-05 22:50:17.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gdkpixbufanimationiter.html 2009-05-24 23:13:17.000000000 +0100 @@ -1,7 +1,7 @@ -gtk.gdk.PixbufAnimationIter

gtk.gdk.PixbufAnimationIter

gtk.gdk.PixbufAnimationIter — an object providing access to the frames of a gtk.gdk.PixbufAnimation

Synopsis

class gtk.gdk.PixbufAnimationIter(gobject.GObject):
-    def get_delay_time()
def get_pixbuf()
def on_currently_loading_frame()
def advance(current_time=0.0)

Ancestry

+-- gobject.GObject
+gtk.gdk.PixbufAnimationIter

gtk.gdk.PixbufAnimationIter

gtk.gdk.PixbufAnimationIter — an object providing access to the frames of a gtk.gdk.PixbufAnimation

Synopsis

class gtk.gdk.PixbufAnimationIter(gobject.GObject):
+    def get_delay_time()
def get_pixbuf()
def on_currently_loading_frame()
def advance(current_time=0.0)

Ancestry

+-- gobject.GObject
   +-- gtk.gdk.PixbufAnimationIter
-

Description

A gtk.gdk.PixbufAnimationIter is used to access the frames of a gtk.gdk.PixbufAnimation at specified times. A gtk.gdk.PixbufAnimationIter object is created using the gtk.gdk.PixbufAnimation.get_iter() @@ -22,7 +22,7 @@ signal, for example if the delay time for a frame is encoded in the data after the frame itself. So your timeout should be reinstalled after any area_updated signal. A delay time of -1 is possible, indicating -"infinite."

Methods

gtk.gdk.PixbufAnimationIter.get_delay_time

    def get_delay_time()

Returns :

the delay time in milliseconds (thousandths of +"infinite."

Methods

gtk.gdk.PixbufAnimationIter.get_delay_time

    def get_delay_time()

Returns :

the delay time in milliseconds (thousandths of a second)

The get_delay_time() method returns the number of milliseconds the current pixbuf should be displayed, or -1 if the current pixbuf should be displayed forever. The gobject.timeout_add()() diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gdkpixbuf.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gdkpixbuf.html --- pygtk-2.14.1/docs/html/class-gdkpixbuf.html 2009-03-05 22:50:16.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gdkpixbuf.html 2009-05-24 23:13:17.000000000 +0100 @@ -1,23 +1,23 @@ -gtk.gdk.Pixbuf

gtk.gdk.Pixbuf

gtk.gdk.Pixbuf — an object containing a client side image.

Synopsis

class gtk.gdk.Pixbuf(gobject.GObject):
+gtk.gdk.Pixbuf

gtk.gdk.Pixbuf

gtk.gdk.Pixbuf — an object containing a client side image.

Synopsis

class gtk.gdk.Pixbuf(gobject.GObject):
     gtk.gdk.Pixbuf(colorspace, has_alpha, bits_per_sample, width, height)
def render_to_drawable(drawable, gc, src_x, src_y, dest_x, dest_y, width, height, dither, x_dither, y_dither)
def render_to_drawable_alpha(drawable, src_x, src_y, dest_x, dest_y, width, height, alpha_mode, alpha_threshold, dither, x_dither, y_dither)
def render_pixmap_and_mask(alpha_threshold=127)
def get_from_drawable(src, cmap, src_x, src_y, dest_x, dest_y, width, height)
def get_from_image(src, cmap, src_x, src_y, dest_x, dest_y, width, height)
def get_colorspace()
def get_n_channels()
def get_has_alpha()
def get_bits_per_sample()
def get_pixels()
def get_width()
def get_height()
def get_rowstride()
def get_option(key)
def copy()
def fill(pixel)
def save(filename, type, options=None)
def save_to_callback(save_func, type, options=None, user_data=None)
def add_alpha(substitute_color, r, g, b)
def copy_area(src_x, src_y, width, height, dest_pixbuf, dest_x, dest_y)
def saturate_and_pixelate(dest, saturation, pixelate)
def scale(dest, dest_x, dest_y, dest_width, dest_height, offset_x, offset_y, scale_x, scale_y, interp_type)
def composite(dest, dest_x, dest_y, dest_width, dest_height, offset_x, offset_y, scale_x, scale_y, interp_type, overall_alpha)
def composite_color(dest, dest_x, dest_y, dest_width, dest_height, offset_x, offset_y, scale_x, scale_y, interp_type, overall_alpha, check_x, check_y, check_size, color1, color2)
def scale_simple(dest_width, dest_height, interp_type)
def composite_color_simple(dest_width, dest_height, interp_type, overall_alpha, check_size, color1, color2)
def get_pixels_array()
def subpixbuf(src_x, src_y, width, height)
def rotate_simple(angle)
def flip(horizontal)
 Functions
 
-    def gtk.gdk.pixbuf_new_from_file(filename)
def gtk.gdk.pixbuf_new_from_file_at_size(filename, width, height)
def gtk.gdk.pixbuf_new_from_data(data, colorspace, has_alpha, bits_per_sample, width, height, rowstride)
def gtk.gdk.pixbuf_new_from_array(array, colorspace, bits_per_sample)
def gtk.gdk.pixbuf_new_from_xpm_data(data)
def gtk.gdk.pixbuf_new_from_inline(data_length, data, copy_pixels)
def gtk.gdk.pixbuf_get_formats()
def gtk.gdk.pixbuf_get_file_info(filename)

Ancestry

+-- gobject.GObject
+    def gtk.gdk.pixbuf_new_from_file(filename)
def gtk.gdk.pixbuf_new_from_file_at_size(filename, width, height)
def gtk.gdk.pixbuf_new_from_data(data, colorspace, has_alpha, bits_per_sample, width, height, rowstride)
def gtk.gdk.pixbuf_new_from_array(array, colorspace, bits_per_sample)
def gtk.gdk.pixbuf_new_from_xpm_data(data)
def gtk.gdk.pixbuf_new_from_inline(data_length, data, copy_pixels)
def gtk.gdk.pixbuf_get_formats()
def gtk.gdk.pixbuf_get_file_info(filename)

Ancestry

+-- gobject.GObject
   +-- gtk.gdk.Pixbuf
-

Attributes

"pixel_array"ReadA numeric array containing the pixel values of the +

Attributes

"pixel_array"ReadA numeric array containing the pixel values of the gtk.gdk.Pixbuf. The contents of the numeric array can be changed even though the array is read-only. However you cannot change the pixel data of pixbufs that are backed by a const string such as stock icon pixbufs. PyGTK must be compiled with Numeric Python support for -this to work.

Properties

"bits-per-sample"Read-Write-Construct OnlyThe number of bits per sample. Available in GTK+ 2.4 +this to work.

Properties

"bits-per-sample"Read-Write-Construct OnlyThe number of bits per sample. Available in GTK+ 2.4 and above.
"colorspace"Read-Write-Construct OnlyThe colorspace in which the samples are interpreted.Available in GTK+ 2.4 and above.
"has-alpha"Read-Write-Construct OnlyIf True,the pixbuf has an alpha channel. Available in GTK+ 2.4 and above.
"height"Read-Write-Construct OnlyThe number of rows of the pixbuf. Available in GTK+ 2.4 and above.
"n-channels"Read-Write-Construct OnlyThe number of samples per pixel. Available in GTK+ 2.4 and above.
"pixels"Read-Write-Construct OnlyA pointer to the pixel data of the pixbuf. Available in GTK+ 2.4 and above.
"rowstride"Read-Write-Construct OnlyThe number of bytes between the start of a row and the start of the next row. Available in GTK+ 2.4 and above.
"width"Read-Write-Construct OnlyThe number of columns of the pixbuf. Available in GTK+ 2.4 -and above.

Description

A gtk.gdk.Pixbuf +and above.

Description

A gtk.gdk.Pixbuf object contains the data that describes an image using client side resources. By contrast a gtk.gdk.Pixmap uses server side resources to hold image data. Manipulating the image data in a @@ -37,7 +37,7 @@ structure and allocates a buffer for it. The buffer has an optimal rowstride. Note that the buffer is not cleared; you will have to fill it completely yourself. The size of the image is specified by -width and height.

Methods

gtk.gdk.Pixbuf.render_to_drawable

    def render_to_drawable(drawable, gc, src_x, src_y, dest_x, dest_y, width, height, dither, x_dither, y_dither)

drawable :

the destination gtk.gdk.Drawable.

gc :

the gtk.gdk.GC used for +width and height.

Methods

gtk.gdk.Pixbuf.render_to_drawable

    def render_to_drawable(drawable, gc, src_x, src_y, dest_x, dest_y, width, height, dither, x_dither, y_dither)

drawable :

the destination gtk.gdk.Drawable.

gc :

the gtk.gdk.GC used for rendering.

src_x :

the X coordinate within the pixbuf.

src_y :

the Y coordinate within the pixbuf.

dest_x :

the X coordinate within @@ -417,7 +417,7 @@ flip vertically

Returns :

a new gtk.gdk.Pixbuf

Note

This method is available in PyGTK 2.6 and above.

The flip() method creates a new gtk.gdk.Pixbuf by flipping the given pixbuf horizontally or vertically, as specified - by horizontal.

Functions

gtk.gdk.pixbuf_new_from_file

    def gtk.gdk.pixbuf_new_from_file(filename)

filename :

the name of the file containing the image to + by horizontal.

Functions

gtk.gdk.pixbuf_new_from_file

    def gtk.gdk.pixbuf_new_from_file(filename)

filename :

the name of the file containing the image to load

Returns :

a new gtk.gdk.Pixbuf.

The gtk.gdk.pixbuf_new_from_file() function returns a new gtk.gdk.Pixbuf containing an image loaded from the file specified by diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gdkpixbufloader.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gdkpixbufloader.html --- pygtk-2.14.1/docs/html/class-gdkpixbufloader.html 2009-03-05 22:50:17.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gdkpixbufloader.html 2009-05-24 23:13:18.000000000 +0100 @@ -1,11 +1,11 @@ gtk.gdk.PixbufLoader

gtk.gdk.PixbufLoader

gtk.gdk.PixbufLoader — an object providing application-driven progressive image -loading

Synopsis

class gtk.gdk.PixbufLoader(gobject.GObject):
+loading

Synopsis

class gtk.gdk.PixbufLoader(gobject.GObject):
     gtk.gdk.PixbufLoader(image_type=None)
def write(buf, count=-1)
def get_pixbuf()
def get_animation()
def close()
def set_size(width, height)
def get_format()
 Functions
 
-    def gtk.gdk.pixbuf_loader_new_with_mime_type(mime_type)

Ancestry

+-- gobject.GObject
+    def gtk.gdk.pixbuf_loader_new_with_mime_type(mime_type)

Ancestry

+-- gobject.GObject
   +-- gtk.gdk.PixbufLoader
-

Signal Prototypes

"area-prepared"

def callback(pixbufloader, user_param1, ...)

"area-updated"

def callback(pixbufloader, x, y, width, height, user_param1, ...)

"closed"

def callback(pixbufloader, user_param1, ...)

"size-prepared"

def callback(pixbufloader, width, height, user_param1, ...)

Description

A gtk.gdk.PixbufLoader +

Signal Prototypes

"area-prepared"

def callback(pixbufloader, user_param1, ...)

"area-updated"

def callback(pixbufloader, x, y, width, height, user_param1, ...)

"closed"

def callback(pixbufloader, user_param1, ...)

"size-prepared"

def callback(pixbufloader, width, height, user_param1, ...)

Description

A gtk.gdk.PixbufLoader provides a way for applications to drive the process of loading an image, by letting them send the image data directly to the loader instead of having the loader read the data from a file. Applications can use this instead of @@ -27,7 +27,7 @@ updated. This way you can update a partially completed image. Note that you do not know anything about the completeness of an image from the area updated. For example, in an interlaced image, you need to make several -passes before the image is done loading.

Loading an Animation

Loading an animation is almost as easy as loading an image. Once +passes before the image is done loading.

Loading an Animation

Loading an animation is almost as easy as loading an image. Once the first "area-prepared" signal has been emitted, you can call the get_animation() method to get the gtk.gdk.PixbufAnimation object and the gtk.gdk.PixbufAnimation.get_iter() @@ -43,7 +43,7 @@ isn't the expected type, for loading image formats that can't be reliably identified by looking at the data, or if the user manually forces a specific type.

This constructor raises the GError exception if an error occurs -trying to load the module for image_type.

Methods

gtk.gdk.PixbufLoader.write

    def write(buf, count=-1)

buf :

a string containing some portion of the image +trying to load the module for image_type.

Methods

gtk.gdk.PixbufLoader.write

    def write(buf, count=-1)

buf :

a string containing some portion of the image data.

count :

the length of buf in bytes.

Returns :

True if the write was successful.

The write() method causes the pixbuf @@ -94,7 +94,7 @@ information or None

Note

This method is available in PyGTK 2.4 and above.

The get_format() method returns the available information about the format of the currently loading image file. This method returns None if their is no information available -e.g. before the image has started loading.

Functions

gtk.gdk.pixbuf_loader_new_with_mime_type

    def gtk.gdk.pixbuf_loader_new_with_mime_type(mime_type)

mime_type :

the mime type to be loaded

Returns :

a new gtk.gdk.PixbufLoader +e.g. before the image has started loading.

Functions

gtk.gdk.pixbuf_loader_new_with_mime_type

    def gtk.gdk.pixbuf_loader_new_with_mime_type(mime_type)

mime_type :

the mime type to be loaded

Returns :

a new gtk.gdk.PixbufLoader object.

Note

This function is available in PyGTK 2.4 and above.

The gtk.gdk.pixbuf_loader_new_with_mime_type() function creates a new pixbuf loader object that always attempts to parse image data @@ -104,7 +104,7 @@ mime type, for loading image formats that can't be reliably identified by looking at the data, or if the user manually forces a specific mime type.

This function raises the GError exception if an error occurs -during the loading of the mime type image module.

Signals

The "area-prepared" gtk.gdk.PixbufLoader Signal

    def callback(pixbufloader, user_param1, ...)

pixbufloader :

the pixbufloader that received the +during the loading of the mime type image module.

Signals

The "area-prepared" gtk.gdk.PixbufLoader Signal

    def callback(pixbufloader, user_param1, ...)

pixbufloader :

the pixbufloader that received the signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gdkpixmap.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gdkpixmap.html --- pygtk-2.14.1/docs/html/class-gdkpixmap.html 2009-03-05 22:50:18.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gdkpixmap.html 2009-05-24 23:13:19.000000000 +0100 @@ -1,11 +1,11 @@ -gtk.gdk.Pixmap

gtk.gdk.Pixmap

gtk.gdk.Pixmap — An offscreen gtk.gdk.Drawable

Synopsis

class gtk.gdk.Pixmap(gtk.gdk.Drawable):
+gtk.gdk.Pixmap

gtk.gdk.Pixmap

gtk.gdk.Pixmap — An offscreen gtk.gdk.Drawable

Synopsis

class gtk.gdk.Pixmap(gtk.gdk.Drawable):
     gtk.gdk.Pixmap(drawable, width, height, depth=-1)
 Functions
 
-    def gtk.gdk.bitmap_create_from_data(drawable, data, width, height)
def gtk.gdk.pixmap_create_from_data(drawable, data, width, height, depth, fg, bg)
def gtk.gdk.pixmap_create_from_xpm(window, transparent_color, filename)
def gtk.gdk.pixmap_colormap_create_from_xpm(window, colormap, transparent_color, filename)
def gtk.gdk.pixmap_create_from_xpm_d(window, transparent_color, data)
def gtk.gdk.pixmap_colormap_create_from_xpm_d(window, colormap, transparent_color, data)
def gtk.gdk.pixmap_foreign_new(anid)
def gtk.gdk.pixmap_lookup(anid)
def gtk.gdk.pixmap_foreign_new_for_display(display, anid)
def gtk.gdk.pixmap_lookup_for_display(display, anid)

Ancestry

+-- gobject.GObject
+    def gtk.gdk.bitmap_create_from_data(drawable, data, width, height)
def gtk.gdk.pixmap_create_from_data(drawable, data, width, height, depth, fg, bg)
def gtk.gdk.pixmap_create_from_xpm(window, transparent_color, filename)
def gtk.gdk.pixmap_colormap_create_from_xpm(window, colormap, transparent_color, filename)
def gtk.gdk.pixmap_create_from_xpm_d(window, transparent_color, data)
def gtk.gdk.pixmap_colormap_create_from_xpm_d(window, colormap, transparent_color, data)
def gtk.gdk.pixmap_foreign_new(anid)
def gtk.gdk.pixmap_lookup(anid)
def gtk.gdk.pixmap_foreign_new_for_display(display, anid)
def gtk.gdk.pixmap_lookup_for_display(display, anid)

Ancestry

+-- gobject.GObject
   +-- gtk.gdk.Drawable
     +-- gtk.gdk.Pixmap
-

Description

A gtk.gdk.Pixmap is an +

Description

A gtk.gdk.Pixmap is an offscreen gtk.gdk.Drawable. It can be drawn upon with the standard gtk.gdk.Drawable drawing primitives, then copied to another gtk.gdk.Drawable @@ -24,7 +24,7 @@ object

Creates a new gtk.gdk.Pixmap with the size specified by width and height and the number of bits per pixel specified by -depth.

Functions

gtk.gdk.bitmap_create_from_data

    def gtk.gdk.bitmap_create_from_data(drawable, data, width, height)

drawable :

a gtk.gdk.Drawable used +depth.

Functions

gtk.gdk.bitmap_create_from_data

    def gtk.gdk.bitmap_create_from_data(drawable, data, width, height)

drawable :

a gtk.gdk.Drawable used to determine default values for the new pixmap or None to use the root window.

data :

a string containing the XBM data

width :

the width of the new bitmap in diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gdkrectangle.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gdkrectangle.html --- pygtk-2.14.1/docs/html/class-gdkrectangle.html 2009-03-05 22:50:18.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gdkrectangle.html 2009-05-24 23:13:19.000000000 +0100 @@ -1,7 +1,7 @@ -gtk.gdk.Rectangle

gtk.gdk.Rectangle

gtk.gdk.Rectangle — an object holding data about a rectangle

Synopsis

class gtk.gdk.Rectangle(gobject.GBoxed):
-    gtk.gdk.Rectangle(x=0, y=0, width=0, height=0)
def intersect(src)
def union(src)

Attributes

"x"Read-WriteThe X coordinate of the top left corner of the +gtk.gdk.Rectangle

gtk.gdk.Rectangle

gtk.gdk.Rectangle — an object holding data about a rectangle

Synopsis

class gtk.gdk.Rectangle(gobject.GBoxed):
+    gtk.gdk.Rectangle(x=0, y=0, width=0, height=0)
def intersect(src)
def union(src)

Attributes

"x"Read-WriteThe X coordinate of the top left corner of the rectangle.
"y"Read-WriteThe Y coordinate of the top left corner of the -rectangle.
"width"Read-WriteThe width of the rectangle.
"height"Read-WriteThe height of the rectangle.

Description

A gtk.gdk.Rectangle +rectangle.

"width"Read-WriteThe width of the rectangle.
"height"Read-WriteThe height of the rectangle.

Description

A gtk.gdk.Rectangle holds the position and size of a rectangle. The position is specified by the "x" and "y" attributes and the size, by the "width" and "height" attributes.

@@ -25,7 +25,7 @@ with the attributes specified by x, y, width and height. Any unspecified attributes default to -0.

Methods

gtk.gdk.Rectangle.intersect

    def intersect(src)

src :

a gtk.gdk.Rectangle +0.

Methods

gtk.gdk.Rectangle.intersect

    def intersect(src)

src :

a gtk.gdk.Rectangle of a 4-tuple specifying the attributes of a rectangle as (x, y, width, height)

Returns :

a gtk.gdk.Rectangle that is the intersection of src and the diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gdkregion.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gdkregion.html --- pygtk-2.14.1/docs/html/class-gdkregion.html 2009-03-05 22:50:19.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gdkregion.html 2009-05-24 23:13:19.000000000 +0100 @@ -1,9 +1,9 @@ gtk.gdk.Region

gtk.gdk.Region

gtk.gdk.Region — an object representing a set of pixels on the screen (new in - PyGTK 2.10)

Synopsis

class gtk.gdk.Region(gobject.GBoxed):
+    PyGTK 2.10)

Synopsis

class gtk.gdk.Region(gobject.GBoxed):
     gtk.gdk.Region()
def get_clipbox()
def empty()
def equal(other)
def point_in(x, y)
def rect_in(rect)
def copy()
def offset(dx, dy)
def shrink(dx, dy)
def union_with_rect(rect)
def intersect(source2)
def union(source2)
def subtract(source2)
def xor(source2)
 Functions
 
-    def gtk.gdk.region_rectangle(rectangle)

Description

A gtk.gdk.Region + def gtk.gdk.region_rectangle(rectangle)

Description

A gtk.gdk.Region is an objrect holding a set of arbitrary pixels, and is usually used for clipping graphical operations (see the gtk.gdk.GC.set_clip_region() method).

@@ -11,7 +11,7 @@ properly comparable. By Python rules, regions (being mutable) are now unhashable.

Constructor

    gtk.gdk.Region()

Returns :

a new gtk.gdk.Region -object

Note

This constructor is available in PyGTK 2.10 and above.

Creates a new gtk.gdk.Region.

Methods

gtk.gdk.Region.get_clipbox

    def get_clipbox()

Returns :

returns the smallest rectangle which includes all +object

Note

This constructor is available in PyGTK 2.10 and above.

Creates a new gtk.gdk.Region.

Methods

gtk.gdk.Region.get_clipbox

    def get_clipbox()

Returns :

returns the smallest rectangle which includes all of the region.

Note

This method is available in PyGTK 2.10 and above.

The get_clipbox() method returns the smallest rectangle which includes the entire region.

gtk.gdk.Region.empty

    def empty()

Returns :

True if the region is empty.

Note

This method is available in PyGTK 2.10 and above.

The empty() method returns True if the region is empty.

gtk.gdk.Region.equal

    def equal(other)

other :

a gtk.gdk.Region

Returns :

True if the region is equal to @@ -60,7 +60,7 @@ region to the exclusive-OR of the areas of this region and the region specified by source2. The resulting area is the set of pixels contained in either this region or - source2 but not both.

Functions

gtk.gdk.region_rectangle

    def gtk.gdk.region_rectangle(rectangle)

rectangle :

a gtk.gdk.Rectangle + source2 but not both.

Functions

gtk.gdk.region_rectangle

    def gtk.gdk.region_rectangle(rectangle)

rectangle :

a gtk.gdk.Rectangle or a 4-tuple representing a rectangle.

Returns :

a new gtk.gdk.Region

Note

This function is available in PyGTK 2.10 and above.

The gtk.gdk.region_rectangle() function creates a new gtk.gdk.Region containing the area specified by diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gdkscreen.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gdkscreen.html --- pygtk-2.14.1/docs/html/class-gdkscreen.html 2009-03-05 22:50:19.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gdkscreen.html 2009-05-24 23:13:20.000000000 +0100 @@ -1,10 +1,10 @@ -gtk.gdk.Screen

gtk.gdk.Screen

gtk.gdk.Screen — an object representing a physical screen

Synopsis

class gtk.gdk.Screen(gobject.GObject):
+gtk.gdk.Screen

gtk.gdk.Screen

gtk.gdk.Screen — an object representing a physical screen

Ancestry

+-- gobject.GObject
   +-- gtk.gdk.Screen
-

Signal Prototypes

"size-changed"

def callback(screen, user_param1, ...)

"monitors-changed"

def callback(screen, user_param1, ...)

Description

Note

This object is available in PyGTK 2.2 and above.

gtk.gdk.Screen +

Signal Prototypes

"size-changed"

def callback(screen, user_param1, ...)

"monitors-changed"

def callback(screen, user_param1, ...)

Description

Note

This object is available in PyGTK 2.2 and above.

gtk.gdk.Screen objects are the PyGTK representation of a physical screen. It is used throughout PyGTK to specify which screen the top level windows are to be displayed on. It is also used to @@ -12,7 +12,7 @@ colormap (the get_default_colormap() method), the screen width (the get_width() method), etc.

Note

a screen may consist of multiple monitors that are merged to -form a large screen area.

Methods

gtk.gdk.Screen.get_default_colormap

    def get_default_colormap()

Returns :

the default gtk.gdk.Colormap.

Note

This method is available in PyGTK 2.2 and above.

The get_default_colormap() method +form a large screen area.

Methods

gtk.gdk.Screen.get_default_colormap

    def get_default_colormap()

Returns :

the default gtk.gdk.Colormap.

Note

This method is available in PyGTK 2.2 and above.

The get_default_colormap() method returns the default gtk.gdk.Colormap for the screen.

gtk.gdk.Screen.set_default_colormap

    def set_default_colormap(colormap)

colormap :

a gtk.gdk.Colormap

Note

This method is available in PyGTK 2.2 and above.

The set_default_colormap() method sets the gtk.gdk.Colormap @@ -121,7 +121,7 @@ The get_monitor_plug_name() method returns the output name of the specified monitor. Usually something like VGA, DVI, or TV, not the actual product name of the display device. -

Functions

gtk.gdk.screen_width

    def gtk.gdk.screen_width()

Returns :

+

Functions

gtk.gdk.screen_width

    def gtk.gdk.screen_width()

Returns :

the width of the default screen in pixels.

The gtk.gdk.screen_width() function returns the width of the default screen in pixels.

gtk.gdk.screen_height

    def gtk.gdk.screen_height()

Returns :

the height of the default screen in pixels.

The gtk.gdk.screen_height() function @@ -139,7 +139,7 @@ returns the default gtk.gdk.Screen for the default gtk.gdk.Display. (See the gtk.gdk.display_get_default() -function).

Signals

The "size-changed" gtk.gdk.Screen Signal

    def callback(screen, user_param1, ...)

screen :

the screen that received the +function).

Signals

The "size-changed" gtk.gdk.Screen Signal

    def callback(screen, user_param1, ...)

screen :

the screen that received the signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gdkvisual.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gdkvisual.html --- pygtk-2.14.1/docs/html/class-gdkvisual.html 2009-03-05 22:50:20.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gdkvisual.html 2009-05-24 23:13:20.000000000 +0100 @@ -1,11 +1,11 @@ gtk.gdk.Visual

gtk.gdk.Visual

gtk.gdk.Visual — an object containing hardware display -information

Synopsis

class gtk.gdk.Visual(gobject.GObject):
+information

Ancestry

+-- gobject.GObject
   +-- gtk.gdk.Visual
-

Attributes

"bits_per_rgb"ReadThe number of significant bits per red, green, or blue +

Attributes

"bits_per_rgb"ReadThe number of significant bits per red, green, or blue when specifying colors for this visual. (For instance, for the gtk.gdk.Colormap.alloc_color() method)
"blue_mask"ReadA mask giving the bits in a pixel value that correspond to the blue field.
"blue_prec"ReadSee above.
"blue_shift"ReadThe blue_shift and @@ -34,7 +34,7 @@ gtk.gdk.VISUAL_STATIC_COLOR, gtk.gdk.VISUAL_PSEUDO_COLOR, gtk.gdk.VISUAL_TRUE_COLOR, -gtk.gdk.VISUAL_DIRECT_COLOR

Description

A gtk.gdk.Visual +gtk.gdk.VISUAL_DIRECT_COLOR

Description

A gtk.gdk.Visual describes a particular video hardware display format. It includes information about the number of bits used for each color, the way the bits are translated into an RGB value for display, and the way the bits are @@ -85,10 +85,10 @@ value.

gtk.gdk.VISUAL_DIRECT_COLOR

Each pixel value contains red, green, and blue components as for gtk.gdk.TRUE_COLOR, but the components are mapped via a color table into the final output table instead of being converted -directly.

Methods

gtk.gdk.Visual.get_screen

    def get_screen()

Returns :

the screen that this visual belongs +directly.

Methods

gtk.gdk.Visual.get_screen

    def get_screen()

Returns :

the screen that this visual belongs to.

Note

This method is available in PyGTK 2.2 and above.

The get_screen() method returns the gtk.gdk.Screen -that this visual belongs to.

Functions

gtk.gdk.list_visuals

    def gtk.gdk.list_visuals()

Returns :

a list of gtk.gdk.Visual +that this visual belongs to.

Functions

gtk.gdk.list_visuals

    def gtk.gdk.list_visuals()

Returns :

a list of gtk.gdk.Visual objects

The gtk.gdk.list_visuals() function returns a list containing the available gtk.gdk.Visual objects for the default screen.

gtk.gdk.visual_get_best

    def gtk.gdk.visual_get_best()

Returns :

the best gtk.gdk.Visual for diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gdkwindow.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gdkwindow.html --- pygtk-2.14.1/docs/html/class-gdkwindow.html 2009-03-05 22:50:23.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gdkwindow.html 2009-05-24 23:13:24.000000000 +0100 @@ -1,12 +1,12 @@ gtk.gdk.Window

gtk.gdk.Window

gtk.gdk.Window — on-screen display areas in the target window -system

Synopsis

class gtk.gdk.Window(gtk.gdk.Drawable):
+system

Synopsis

class gtk.gdk.Window(gtk.gdk.Drawable):
     gtk.gdk.Window(parent, width, height, window_type, event_mask, wclass, title=None, x=-1, y=-1, visual=None, colormap=None, cursor=None, wmclass_name=None, wmclass_class=None, override_redirect=-1)
def drag_begin(targets)
def input_set_extension_events(mask, mode)
def property_get(property, type=None, pdelete=False)
def property_change(property, type, format, mode, data)
def property_delete(property)
def selection_convert(selection, target, time)
def set_keep_above(setting)
def set_keep_below(setting)
def destroy()
def get_window_type()
def show()
def hide()
def withdraw()
def move(x, y)
def resize(width, height)
def move_resize(x, y, width, height)
def reparent(new_parent, x, y)
def clear()
def clear_area(x, y, width, height)
def clear_area_e(x, y, width, height)
def raise_()
def lower()
def focus(timestamp=0L)
def set_user_data(user_data)
def get_user_data()
def set_override_redirect(override_redirect)
def add_filter(function, data=None)
def scroll(dx, dy)
def shape_combine_mask(shape_mask, offset_x, offset_y)
def set_child_shapes()
def merge_child_shapes()
def is_visible()
def is_viewable()
def get_state()
def set_static_gravities(use_static)
def get_type_hint()
def set_type_hint(hint)
def set_modal_hint(modal)
def set_skip_taskbar_hint(skips_taskbar)
def set_skip_pager_hint(skips_pager)
def set_geometry_hints(min_width=-1, min_height=-1, max_width=-1, max_height=-1, base_width=-1, base_height=-1, width_inc=-1, height_inc=-1, min_aspect=-1.0, max_aspect=-1.0)
def begin_paint_rect(rectangle)
def begin_paint_region(region)
def end_paint()
def set_title(title)
def set_role(role)
def set_transient_for(leader)
def set_background(color)
def set_back_pixmap(pixmap, parent_relative)
def set_cursor(cursor)
def get_geometry()
def get_position()
def get_origin()
def get_root_origin()
def get_frame_extents()
def get_pointer()
def get_parent()
def get_toplevel()
def get_children()
def get_events()
def set_events(event_mask)
def set_icon_list(pixbufs)
def set_icon(icon_window, pixmap, mask)
def set_icon_name(name)
def set_group(leader)
def get_group()
def set_decorations(decorations)
def get_decorations()
def set_functions(functions)
def iconify()
def deiconify()
def stick()
def unstick()
def maximize()
def unmaximize()
def fullscreen()
def unfullscreen()
def register_dnd()
def begin_resize_drag(edge, button, root_x, root_y, timestamp)
def begin_move_drag(button, root_x, root_y, timestamp)
def invalidate_rect(rect, invalidate_children)
def invalidate_region(region, invalidate_children)
def get_update_area()
def freeze_updates()
def thaw_updates()
def process_updates(update_children)
def set_accept_focus(accept_focus)
def enable_synchronized_configure()
def configure_finished()
def set_focus_on_map(focus_on_map)
def set_urgency_hint(urgent)
def move_region(region, dx, dy)
def shape_combine_region(shape_region, offset_x, offset_y)
def input_shape_combine_mask(mask, x, y)
def input_shape_combine_region(shape_region, offset_x, offset_y)
def beep()
def set_composited(composited)
def set_opacity(opacity)
def set_startup_id(startup_id)
def remove_redirection()
 Functions
 
-    def gtk.gdk.window_foreign_new(anid)
def gtk.gdk.window_foreign_new_for_display(display, anid)
def gtk.gdk.get_default_root_window()
def gtk.gdk.window_get_toplevels()
def gtk.gdk.window_lookup(anid)
def gtk.gdk.window_lookup_for_display(display, anid)
def gtk.gdk.window_process_all_updates()
def gtk.gdk.gdk_window_set_debug_updates(setting)
def gtk.gdk.window_at_pointer()

Ancestry

+-- gobject.GObject
   +-- gtk.gdk.Drawable
     +-- gtk.gdk.Window
-

Description

gtk.gdk.Window is a +

Description

gtk.gdk.Window is a rectangular region on the screen. It's a low-level object, used to implement high-level objects such as gtk.Widget and gtk.Window. A gtk.Window is a toplevel window, the object a user might think of as a "window" with a @@ -169,7 +169,7 @@ if using the system gtk.gdk.Visual (see the gtk.gdk.colormap_get_system() function) or a new gtk.gdk.Colormap -using visual

cursor

use the parent window's cursor

override_redirect

False

Methods

gtk.gdk.Window.drag_begin

    def drag_begin(targets)

targets :

a list of offered targets

Returns :

a new gtk.gdk.DragContext

The drag_begin() method starts a drag +using visual

cursor

use the parent window's cursor

override_redirect

False

Methods

gtk.gdk.Window.drag_begin

    def drag_begin(targets)

targets :

a list of offered targets

Returns :

a new gtk.gdk.DragContext

The drag_begin() method starts a drag operation and returns the new gtk.gdk.DragContext created for it. The list of targets (integer values) supported by the drag source are specified by targets.

gtk.gdk.Window.input_set_extension_events

    def input_set_extension_events(mask, mode)

mask :

the event mask to be used

mode :

the set of extension events to @@ -944,7 +944,7 @@ When using GTK+, typically you should use gtk.Window.set_startup_id() instead of this low-level function. -

Functions

gtk.gdk.window_foreign_new

    def gtk.gdk.window_foreign_new(anid)

anid :

a native window system ID

Returns :

the new gtk.gdk.Window +

Functions

gtk.gdk.window_foreign_new

    def gtk.gdk.window_foreign_new(anid)

anid :

a native window system ID

Returns :

the new gtk.gdk.Window wrapper for the native window or None if the window has been destroyed.

The gtk.gdk.window_foreign_new() function wraps a native window specified by anid for the default display in a gtk.gdk.Window. This diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gladexml.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gladexml.html --- pygtk-2.14.1/docs/html/class-gladexml.html 2009-03-05 22:50:26.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gladexml.html 2009-05-24 23:13:27.000000000 +0100 @@ -1,11 +1,11 @@ gtk.glade.XML

gtk.glade.XML

gtk.glade.XML — Allows dynamic loading of user interfaces - from XML descriptions.

Synopsis

class gtk.glade.XML(gobject.GObject):
+                from XML descriptions.

Synopsis

class gtk.glade.XML(gobject.GObject):
     gtk.glade.XML(fname, root=None, domain="", typedict={})
def signal_connect(handler_name, func)
def signal_autoconnect(dict)
def get_widget(name)
def get_widget_prefix(name)
def relative_file(filename)
 Functions
 
-    def gtk.glade.xml_new_from_buffer(buffer, size, root="", domain="", typedict={})
def gtk.glade.get_widget_name(widget)
def gtk.glade.get_widget_tree(widget)
def gtk.glade.set_custom_handler(handler, user_data)
def gtk.glade.bindtextdomain(domainname, dirname="")
def gtk.glade.textdomain(domainname="")
def gtk.glade.set_custom_widget_callbacks(dict)

Ancestry

+-- gobject.GObject
+    def gtk.glade.xml_new_from_buffer(buffer, size, root="", domain="", typedict={})
def gtk.glade.get_widget_name(widget)
def gtk.glade.get_widget_tree(widget)
def gtk.glade.set_custom_handler(handler, user_data)
def gtk.glade.bindtextdomain(domainname, dirname="")
def gtk.glade.textdomain(domainname="")
def gtk.glade.set_custom_widget_callbacks(dict)

Ancestry

+-- gobject.GObject
       +-- gtk.glade.XML
-    

gtk.glade.XML Signal Prototypes

gobject.GObject Signal Prototypes

Description

This object represents an `instantiation' of an XML interface +

gtk.glade.XML Signal Prototypes

gobject.GObject Signal Prototypes

Description

This object represents an `instantiation' of an XML interface description. When one of these objects is created, the XML file is read, and the interface is created. The gtk.glade.XML object then provides an interface for accessing the widgets in the interface by the @@ -25,7 +25,7 @@ say a toolbar or menu from the XML file, but not the window it is embedded in. Note also that the XML parse tree is cached to speed up creating another gtk.glade.XML -object for the same file.

Methods

gtk.glade.XML.signal_connect

    def signal_connect(handler_name, func)

handler_name :

the signal handler name

func :

the signal handler function

In the glade interface descriptions, signal handlers are +object for the same file.

Methods

gtk.glade.XML.signal_connect

    def signal_connect(handler_name, func)

handler_name :

the signal handler name

func :

the signal handler function

In the glade interface descriptions, signal handlers are specified for widgets by name. The signal_connect() method allows you to connect a callback specified by func to all signals in the gtk.glade.XML file @@ -55,7 +55,7 @@ relative pathname specified by filename, using the directory of the XML file as a base. If filename contains an absolute pathname, then the original file name is -returned.

Functions

gtk.glade.xml_new_from_buffer

    def gtk.image_new_from_buffer(buffer, size, root="", domain="", typedict={})

buffer :

the string containing the XML buffer

size :

size of the string

root :

the widget node in fname to start building from +returned.

Functions

gtk.glade.xml_new_from_buffer

    def gtk.image_new_from_buffer(buffer, size, root="", domain="", typedict={})

buffer :

the string containing the XML buffer

size :

size of the string

root :

the widget node in fname to start building from (or "")

domain :

the translation domain for the XML file (or "" for default)

typedict :

A dictionary used to lookup types (or {} for default)

Returns :

a new gtk.glade.XML diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkaboutdialog.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkaboutdialog.html --- pygtk-2.14.1/docs/html/class-gtkaboutdialog.html 2009-03-05 22:48:10.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkaboutdialog.html 2009-05-24 23:11:17.000000000 +0100 @@ -1,9 +1,9 @@ gtk.AboutDialog

gtk.AboutDialog

gtk.AboutDialog — popup window displaying information about an -application (new in PyGTK 2.6)

Synopsis

class gtk.AboutDialog(gtk.Dialog):
+application (new in PyGTK 2.6)

Synopsis

class gtk.AboutDialog(gtk.Dialog):
     gtk.AboutDialog()
def get_name()
def set_name(name)
def get_version()
def set_version(version)
def get_copyright()
def set_copyright(copyright)
def get_comments()
def set_comments(comments)
def get_license()
def set_license(license)
def get_wrap_license()
def set_wrap_license(license)
def get_website()
def set_website(website)
def get_website_label()
def set_website_label(website_label)
def get_authors()
def set_authors(authors)
def get_documenters()
def set_documenters(documenters)
def get_artists()
def set_artists(artists)
def get_translator_credits()
def set_translator_credits(translator_credits)
def get_logo()
def set_logo(logo)
def get_logo_icon_name()
def set_logo_icon_name(icon_name)
def get_program_name()
def set_program_name(name)
 Functions
  
-    def gtk.about_dialog_set_email_hook(func, data)
def gtk.about_dialog_set_url_hook(func, data)

Ancestry

+-- gobject.GObject
+    def gtk.about_dialog_set_email_hook(func, data)
def gtk.about_dialog_set_url_hook(func, data)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
@@ -11,7 +11,7 @@
           +-- gtk.Window
             +-- gtk.Dialog
               +--gtk.AboutDialog
-

Implemented Interfaces

+

Implemented Interfaces

gtk.AboutDialog implements gtk.Buildable @@ -45,7 +45,7 @@ This property is available in GTK+ 2.6 and above.

"wrap-license"Read-WriteIf True the license text should be wrapped. Default value: False. This property is available in GTK+ 2.6 and above.

gtk.AboutDialog Style Properties

gtk.Widget Style Properties

gtk.Dialog Style Properties

"link-color"ReadThe color of hyperlinks. This property is not available - in GTK+ 2.10 and above.

Description

Note

This widget is available in PyGTK 2.6 and above.

The gtk.AboutDialog + in GTK+ 2.10 and above.

Description

Note

This widget is available in PyGTK 2.6 and above.

The gtk.AboutDialog offers a simple way to display information about a program like its logo, name, copyright, website and license. It is also possible to give credits to the authors, documenters, translators and artists who have @@ -58,7 +58,7 @@ functions. Email addresses in the authors, documenters and artists properties are recognized by looking for <user@host>, URLs are recognized by looking for http://url, with url extending to - the next space, tab or line break.

Constructor

    gtk.AboutDialog()

Returns :

a new gtk.AboutDialog

Note

This constructor is available in PyGTK 2.6 and above.

Creates a new gtk.AboutDialog with default property values.

Methods

gtk.AboutDialog.get_name

    def get_name()

Returns :

The program name or + the next space, tab or line break.

Constructor

    gtk.AboutDialog()

Returns :

a new gtk.AboutDialog

Note

This constructor is available in PyGTK 2.6 and above.

Creates a new gtk.AboutDialog with default property values.

Methods

gtk.AboutDialog.get_name

    def get_name()

Returns :

The program name or None.

Note

This method is available in PyGTK 2.6 and above.

The get_name() method returns the value of the "name" property which is the program name displayed in the about dialog. get_name() returns None @@ -167,7 +167,7 @@ None, the default window icon set with the gtk.window_set_default_icon_list() function will be used.

gtk.AboutDialog.get_program_name

    def get_program_name()

Returns :

The program name.

Note

This method is available in PyGTK 2.12 and above.

The get_program_name() method returns the program name displayed in the about dialog.

gtk.AboutDialog.set_program_name

    def set_program_name(name)

name :

the program name.

Note

This method is available in PyGTK 2.12 and above.

The set_program_name() method -sets the name to display in the about dialog.

Functions

gtk.about_dialog_set_email_hook

    def gtk.about_dialog_set_email_hook(func, data)

func :

a function to call when an email link is +sets the name to display in the about dialog.

Functions

gtk.about_dialog_set_email_hook

    def gtk.about_dialog_set_email_hook(func, data)

func :

a function to call when an email link is activated.

data :

data to pass to func

Note

This function is available in PyGTK 2.6 and above.

The gtk.about_dialog_set_email_hook function installs a global function (specified by diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkaccelgroup.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkaccelgroup.html --- pygtk-2.14.1/docs/html/class-gtkaccelgroup.html 2009-03-05 22:48:11.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkaccelgroup.html 2009-05-24 23:11:18.000000000 +0100 @@ -1,11 +1,11 @@ -gtk.AccelGroup

gtk.AccelGroup

gtk.AccelGroup — a group of accelerators for a Window hierarchy

Synopsis

class gtk.AccelGroup(gobject.GObject):
+gtk.AccelGroup

gtk.AccelGroup

gtk.AccelGroup — a group of accelerators for a Window hierarchy

Synopsis

class gtk.AccelGroup(gobject.GObject):
     gtk.AccelGroup()
def lock()
def unlock()
def connect(accel_key, accel_mods, accel_flags, callback)
def connect_group(accel_key, accel_mods, accel_flags, callback)
def connect_by_path(accel_path, callback)
def disconnect_key(accel_key, accel_mods)
def get_is_locked()
def get_modifier_mask()
 Functions
 
-    def gtk.accelerator_valid(keyval, modifiers)
def gtk.accelerator_parse(accelerator)
def gtk.accelerator_name(accelerator_key, accelerator_mods)
def gtk.accelerator_set_default_mod_mask(default_mod_mask)
def gtk.accelerator_get_default_mod_mask()
def gtk.accelerator_get_label(accelerator_key, accelerator_mods)
def gtk.accel_groups_from_object(object)

Ancestry

+    def gtk.accelerator_valid(keyval, modifiers)
def gtk.accelerator_parse(accelerator)
def gtk.accelerator_name(accelerator_key, accelerator_mods)
def gtk.accelerator_set_default_mod_mask(default_mod_mask)
def gtk.accelerator_get_default_mod_mask()
def gtk.accelerator_get_label(accelerator_key, accelerator_mods)
def gtk.accel_groups_from_object(object)

Ancestry

 +-- gobject.GObject
   +-- gtk.AccelGroup
-

gtk.AccelGroup Signal Prototypes

"accel-activate"

def callback(accelgroup, acceleratable, accel_key, accel_mods, user_param1, ...)

"accel-changed"

def callback(accelgroup, accel_key, accel_mods, closure, user_param1, ...)

Description

A gtk.AccelGroup +

gtk.AccelGroup Signal Prototypes

"accel-activate"

def callback(accelgroup, acceleratable, accel_key, accel_mods, user_param1, ...)

"accel-changed"

def callback(accelgroup, accel_key, accel_mods, closure, user_param1, ...)

Description

A gtk.AccelGroup object groups all the accelerators for the associated window hierarchy (either gtk.Window (or a descendant) or gtk.MenuShell (or @@ -21,14 +21,14 @@ FilesQuit menu item. Mnemonics are shortcuts for GUI elements such as text entries or buttons; they appear as underlined characters. Of course, menu items can have both accelerators and mnemonics.

Constructor

    gtk.AccelGroup()

Returns :

an AccelGroup object

Creates a new gtk.AccelGroup -object.

Methods

gtk.AccelGroup.lock

    def lock()

The lock() method locks the accelerator +object.

Methods

gtk.AccelGroup.lock

    def lock()

The lock() method locks the accelerator group. preventing its accelerators from being changed during runtime. Refer to gtk.accel_map_change_entry() about runtime accelerator changes.

If called more than once, the accelerator group remains locked until gtk.AccelGroup.unlock() has been called an equivalent number of times.

gtk.AccelGroup.unlock

    def unlock()

The unlock() method undoes the last call to gtk.AccelGroup.lock() -for this accelerator group.

gtk.AccelGroup.connect_group

    def connect(accel_key, accel_mods, accel_flags, callback)

accel_key :

key value of the +for this accelerator group.

gtk.AccelGroup.connect_group

    def connect_group(accel_key, accel_mods, accel_flags, callback)

accel_key :

key value of the accelerator

accel_mods :

modifier combination of the accelerator

accel_flags :

a flag mask to configure this accelerator

callback :

a function or method to be executed upon @@ -87,7 +87,7 @@ The get_modifier_mask() method gets a GdkModifierType representing the mask for this accel_group. For example, gtk.gdk.CONTROL_MASK, gtk.gdk.SHIFT_MASK, etc. -

Functions

gtk.accelerator_valid

    def gtk.accelerator_valid(keyval, modifiers)

keyval :

a key value

modifiers :

a modifier mask

Returns :

True if the accelerator is +

Functions

gtk.accelerator_valid

    def gtk.accelerator_valid(keyval, modifiers)

keyval :

a key value

modifiers :

a modifier mask

Returns :

True if the accelerator is valid

The gtk.accelerator_valid() function returns True if the specified keyval and modifiers @@ -139,7 +139,7 @@ accelerator_mods is a combination of the GDK Modifier Constants.

gtk.accel_groups_from_object

    def gtk.accel_groups_from_object(object)

object :

a GObject usually a gtk.Window

Note

This function is available in PyGTK 2.4 and above.

The gtk.accel_groups_from_object() function returns a list of all the gtk.AccelGroup objects attached to the object specified by -object.

Signals

The "accel-activate" gtk.AccelGroup Signal

    def callback(accelgroup, acceleratable, accel_key, accel_mods, user_param1, ...)

accelgroup :

the accelgroup that received the +object.

Signals

The "accel-activate" gtk.AccelGroup Signal

    def callback(accelgroup, acceleratable, accel_key, accel_mods, user_param1, ...)

accelgroup :

the accelgroup that received the signal

acceleratable :

the object that the accelerator is associated with

accel_key :

the accelerator key value

accel_mods :

the accelerator modifiers

user_param1 :

the first user parameter (if any) specified with the gobject.GObject.connect() diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkaccellabel.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkaccellabel.html --- pygtk-2.14.1/docs/html/class-gtkaccellabel.html 2009-03-05 22:48:11.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkaccellabel.html 2009-05-24 23:11:18.000000000 +0100 @@ -1,17 +1,17 @@ -gtk.AccelLabel

gtk.AccelLabel

gtk.AccelLabel — a label which displays accelerator info to the right of the text

Synopsis

class gtk.AccelLabel(gtk.Label):
-    gtk.AccelLabel(string)
def accelerator_width()
def get_accel_widget()
def get_accel_width()
def set_accel_widget(accel_widget)
def refetch()

Ancestry

+-- gobject.GObject
+gtk.AccelLabel

gtk.AccelLabel

gtk.AccelLabel — a label which displays accelerator info to the right of the text

Synopsis

class gtk.AccelLabel(gtk.Label):
+    gtk.AccelLabel(string)
def accelerator_width()
def get_accel_widget()
def get_accel_width()
def set_accel_widget(accel_widget)
def refetch()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Misc
         +-- gtk.Label
           +-- gtk.AccelLabel
-

Implemented Interfaces

+

Implemented Interfaces

gtk.AccelLabel implements gtk.Buildable

gtk.AccelLabel Properties

gtk.Object Properties

gtk.Widget Properties

gtk.Misc Properties

gtk.Label Properties

"accel-closure"Read-WriteThe closure to be monitored for accelerator changes
"accel-widget"Read-WriteThe widget associated with the accelerator -label

gtk.AccelLabel Style Properties

gtk.Widget Style Properties

gtk.AccelLabel Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Label Signal Prototypes

Description

The gtk.AccelLabel +label

gtk.AccelLabel Style Properties

gtk.Widget Style Properties

gtk.AccelLabel Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Label Signal Prototypes

Description

The gtk.AccelLabel widget is a subclass of gtk.Label that displays an accelerator string to the right of the label text, e.g. Ctrl+S. It is commonly used in menus to show the keyboard @@ -37,7 +37,7 @@ can display multiple accelerators and even signal names, though it is almost always used to display just one accelerator.

The following code fragment creates a simple menu item with an accelerator and enables the display of the accelerator key string in the -menu item label:

Example 1. Creating a simple menu item with an accelerator key.

+menu item label:

Example 1. Creating a simple menu item with an accelerator key.

     # Create an accelgroup and add it to the window
     accel_group = gtk.AccelGroup()
     window.add_accel_group(accel_group)
@@ -56,7 +56,7 @@
 object

gtk.AccelLabel() creates a new gtk.AccelLabel object. The string parameter specifies the text to be displayed by the label. The accelerator text is automatically added by the -associated widget.

Methods

gtk.AccelLabel.accelerator_width

    def accelerator_width()

Returns :

the width in pixels needed

The accelerator_width() method returns +associated widget.

Methods

gtk.AccelLabel.accelerator_width

    def accelerator_width()

Returns :

the width in pixels needed

The accelerator_width() method returns the width in pixels needed to display the accelerator(s). It is used by menus to align all of the gtk.MenuItem widgets, and isn't usually needed by applications.

Note

accelerator_width() is deprecated diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkaccelmap.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkaccelmap.html --- pygtk-2.14.1/docs/html/class-gtkaccelmap.html 2009-03-05 22:48:12.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkaccelmap.html 2009-05-24 23:11:18.000000000 +0100 @@ -1,11 +1,11 @@ gtk.AccelMap

gtk.AccelMap

gtk.AccelMap — Loadable keyboard accelerator specifications (new in PyGTK - 2.10)

Synopsis

class gtk.AccelMap(gobject.GObject):
+      2.10)

Synopsis

class gtk.AccelMap(gobject.GObject):
 
 Functions
     def gtk.accel_map_add_entry(accel_path, accel_key, accel_mods)
def gtk.accel_map_lookup_entry(accel_path)
def gtk.accel_map_change_entry(accel_path, accel_key, accel_mods, replace)
def gtk.accel_map_foreach(foreach_func, data=None)
def gtk.accel_map_foreach_unfiltered(foreach_func, data=None)
def gtk.accel_map_get()
def gtk.accel_map_load(file_name)
def gtk.accel_map_save(file_name)
def gtk.accel_map_load_fd(fd)
def gtk.accel_map_save_fd(fd)
def gtk.accel_map_lock_path(accel_path)
def gtk.accel_map_unlock_path(accel_path)
def gtk.accel_map_add_filter(filter_pattern)
def gtk.accel_groups_from_object(object) -

Ancestry

+-- gobject.GObject
+

Ancestry

+-- gobject.GObject
   +-- gtk.AccelMap
-

gtk.AccelMap Signal Prototypes

gobject.GObject Signal Prototypes

"changed"

def callback(object, accel_path, accel_key, accel_mods, user_param1, ...)

Description

Functions

gtk.accel_map_add_entry

    def gtk.accel_map_add_entry(accel_path, accel_key, accel_mods)

accel_path :

a valid accelerator path

accel_key :

the accelerator key

accel_mods :

the accelerator modifiers

Note

This function is available in PyGTK 2.4 and above.

The gtk.accel_map_add_entry() function +

gtk.AccelMap Signal Prototypes

gobject.GObject Signal Prototypes

"changed"

def callback(object, accel_path, accel_key, accel_mods, user_param1, ...)

Description

Functions

gtk.accel_map_add_entry

    def gtk.accel_map_add_entry(accel_path, accel_key, accel_mods)

accel_path :

a valid accelerator path

accel_key :

the accelerator key

accel_mods :

the accelerator modifiers

Note

This function is available in PyGTK 2.4 and above.

The gtk.accel_map_add_entry() function registers a new accelerator specified by accel_key and accel_mods with the global accelerator map. The accelerator will be associated with the accelerator path specified by @@ -136,7 +136,7 @@ the filters are skipped by the gtk.accel_map_foreach() function. This function is intended for PyGTK modules that create their own menus, but don't want them to be saved - into the applications accelerator map dump.

Signals

The "changed" gtk.AccelMap Signal

    def callback(object, accel_path, accel_key, accel_mods, user_param1, ...)

object :

the global accel map object

accel_path :

the path of the accelerator that + into the applications accelerator map dump.

Signals

The "changed" gtk.AccelMap Signal

    def callback(object, accel_path, accel_key, accel_mods, user_param1, ...)

object :

the global accel map object

accel_path :

the path of the accelerator that changed

accel_key :

the key value for the new accelerator

accel_mods :

the modifier mask for the new accelerator

user_param1 :

the first user parameter (if any) specified diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkaccessible.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkaccessible.html --- pygtk-2.14.1/docs/html/class-gtkaccessible.html 2009-03-05 22:48:12.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkaccessible.html 2009-05-24 23:11:19.000000000 +0100 @@ -1,7 +1,7 @@ -gtk.Accessible

gtk.Accessible

gtk.Accessible — accessibility support for widgets.

Synopsis

class gtk.Accessible(atk.Object):
-    def connect_widget_destroyed()

Ancestry

+-- gobject.GObject
+gtk.Accessible

gtk.Accessible

gtk.Accessible — accessibility support for widgets.

Synopsis

class gtk.Accessible(atk.Object):
+    def connect_widget_destroyed()

Ancestry

+-- gobject.GObject
   +-- atk.Object
     +-- gtk.Accessible
-

gtk.Accessible Properties

atk.Object Properties

gtk.Accessible Signal Prototypes

gobject.GObject Signal Prototypes

atk.Object Signal Prototypes

Description

The gtk.Accessible class is an abstract base class.

Methods

gtk.Accessible.connect_widget_destroyed

    def connect_widget_destroyed()

This method specifies the callback function to be called when +

gtk.Accessible Properties

atk.Object Properties

gtk.Accessible Signal Prototypes

gobject.GObject Signal Prototypes

atk.Object Signal Prototypes

Description

The gtk.Accessible class is an abstract base class.

Methods

gtk.Accessible.connect_widget_destroyed

    def connect_widget_destroyed()

This method specifies the callback function to be called when the widget corresponding to a gtk.Accessible is destroyed.

diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkactiongroup.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkactiongroup.html --- pygtk-2.14.1/docs/html/class-gtkactiongroup.html 2009-03-05 22:48:14.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkactiongroup.html 2009-05-24 23:11:20.000000000 +0100 @@ -1,13 +1,13 @@ -gtk.ActionGroup

gtk.ActionGroup

gtk.ActionGroup — a group of actions (new in PyGTK 2.4)

Synopsis

class gtk.ActionGroup(gobject.GObject):
-    gtk.ActionGroup(name)
def get_name()
def get_sensitive()
def set_sensitive(sensitive)
def get_visible()
def set_visible(visible)
def get_action(action_name)
def list_actions()
def add_action(action)
def add_action_with_accel(action, accelerator)
def remove_action(action)
def add_actions(entries, user_data=None)
def add_toggle_actions(entries, user_data=None)
def add_radio_actions(entries, value=0, on_change=None, user_data=None)
def set_translation_domain(domain)
def translate_string(string)

Ancestry

+-- gobject.GObject
+gtk.ActionGroup

gtk.ActionGroup

gtk.ActionGroup — a group of actions (new in PyGTK 2.4)

Synopsis

class gtk.ActionGroup(gobject.GObject):
+    gtk.ActionGroup(name)
def get_name()
def get_sensitive()
def set_sensitive(sensitive)
def get_visible()
def set_visible(visible)
def get_action(action_name)
def list_actions()
def add_action(action)
def add_action_with_accel(action, accelerator)
def remove_action(action)
def add_actions(entries, user_data=None)
def add_toggle_actions(entries, user_data=None)
def add_radio_actions(entries, value=0, on_change=None, user_data=None)
def set_translation_domain(domain)
def translate_string(string)

Ancestry

+-- gobject.GObject
   +-- gtk.ActionGroup
-

Implemented Interfaces

+

Implemented Interfaces

gtk.ActionGroup implements gtk.Buildable

gtk.ActionGroup Properties

"name"Read-WriteA name for the action group.
"sensitive"Read-WriteIf True, the action group is enabled.
"visible"Read-WriteIf True, the action group is -visible.

gtk.ActionGroup Signal Prototypes

gobject.GObject Signal Prototypes

"connect-proxy"

def callback(actiongroup, action, proxy, user_param1, ...)

"disconnect-proxy"

def callback(actiongroup, action, proxy, user_param1, ...)

"post-activate"

def callback(actiongroup, action, user_param1, ...)

"pre-activate"

def callback(actiongroup, action, user_param1, ...)

Description

Note

This object is available in PyGTK 2.4 and above.

gtk.Action objects +visible.

gtk.ActionGroup Signal Prototypes

gobject.GObject Signal Prototypes

"connect-proxy"

def callback(actiongroup, action, proxy, user_param1, ...)

"disconnect-proxy"

def callback(actiongroup, action, proxy, user_param1, ...)

"post-activate"

def callback(actiongroup, action, user_param1, ...)

"pre-activate"

def callback(actiongroup, action, user_param1, ...)

Description

Note

This object is available in PyGTK 2.4 and above.

gtk.Action objects are organized into gtk.ActionGroup objects. An action group is basically a map from names to gtk.Action objects.

All actions that would make sense to use in a particular context @@ -26,7 +26,7 @@ displayed next to the menu item.

Constructor

    gtk.ActionGroup(name)

name :

the name of the action group.

Returns :

the new gtk.ActionGroup

Note

This constructor is available in PyGTK 2.4 and above.

Creates a new gtk.ActionGroup object with the name specified by name. The name of the action group is used when associating keybindings with the -actions.

Methods

gtk.ActionGroup.get_name

    def get_name()

Returns :

the name of the action +actions.

Methods

gtk.ActionGroup.get_name

    def get_name()

Returns :

the name of the action group.

Note

This method is available in PyGTK 2.4 and above.

The get_name() method returns the value of the "name" property that contains the name of the action group.

gtk.ActionGroup.get_sensitive

    def get_sensitive()

Returns :

True if the group is sensitive.

Note

This method is available in PyGTK 2.4 and above.

The get_sensitive() method returns the @@ -145,7 +145,7 @@ string

Note

This method is available in PyGTK 2.6 and above.

The translate_string() method translates the string specified by string using the specified translate_func(). This is mainly intended for -language bindings.

Signals

The "connect-proxy" gtk.ActionGroup Signal

    def callback(actiongroup, action, proxy, user_param1, ...)

actiongroup :

the actiongroup that received the +language bindings.

Signals

The "connect-proxy" gtk.ActionGroup Signal

    def callback(actiongroup, action, proxy, user_param1, ...)

actiongroup :

the actiongroup that received the signal

action :

the action that is associated with proxy

proxy :

the proxy widget associated with action

user_param1 :

the first user parameter (if any) specified diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkaction.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkaction.html --- pygtk-2.14.1/docs/html/class-gtkaction.html 2009-03-05 22:48:13.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkaction.html 2009-05-24 23:11:20.000000000 +0100 @@ -1,8 +1,8 @@ gtk.Action

gtk.Action

gtk.Action — an action which can be triggered by a menu or toolbar -item (new in PyGTK 2.4)

Synopsis

class gtk.Action(gobject.GObject):
-    gtk.Action(name, label, tooltip, stock_id)
def get_name()
def is_sensitive()
def get_sensitive()
def is_visible()
def get_visible()
def activate()
def create_icon(icon_size)
def create_menu()
def create_menu_item()
def create_tool_item()
def connect_proxy(proxy)
def disconnect_proxy(proxy)
def get_proxies()
def connect_accelerator()
def disconnect_accelerator()
def block_activate_from(proxy)
def unblock_activate_from(proxy)
def get_accel_path()
def set_accel_path(accel_path)
def set_accel_group(accel_group)
def set_sensitive(sensitive)
def set_visible(visible)
def set_menu_item_type(visible)
def set_tool_item_type(visible)

Ancestry

+-- gobject.GObject
+item (new in PyGTK 2.4)

Synopsis

class gtk.Action(gobject.GObject):
+    gtk.Action(name, label, tooltip, stock_id)
def get_name()
def is_sensitive()
def get_sensitive()
def is_visible()
def get_visible()
def activate()
def create_icon(icon_size)
def create_menu()
def create_menu_item()
def create_tool_item()
def connect_proxy(proxy)
def disconnect_proxy(proxy)
def get_proxies()
def connect_accelerator()
def disconnect_accelerator()
def block_activate_from(proxy)
def unblock_activate_from(proxy)
def get_accel_path()
def set_accel_path(accel_path)
def set_accel_group(accel_group)
def set_sensitive(sensitive)
def set_visible(visible)
def set_menu_item_type(visible)
def set_tool_item_type(visible)

Ancestry

+-- gobject.GObject
   +-- gtk.Action
-

Implemented Interfaces

+

Implemented Interfaces

gtk.Action implements gtk.Buildable @@ -18,7 +18,7 @@ action.

"tooltip"Read-WriteA tooltip for this action.
"visible"Read-WriteIf True, the action is visible.
"visible-horizontal"Read-WriteIf True, the toolbar item is visible when the toolbar is in a horizontal orientation.
"visible-vertical"Read-WriteIf True, the toolbar item is -visible when the toolbar is in a vertical orientation.

gtk.Action Signal Prototypes

gobject.GObject Signal Prototypes

"activate"

def callback(action, user_param1, ...)

Description

Note

This widget is available in PyGTK 2.4 and above.

A gtk.Action +visible when the toolbar is in a vertical orientation.

gtk.Action Signal Prototypes

gobject.GObject Signal Prototypes

"activate"

def callback(action, user_param1, ...)

Description

Note

This widget is available in PyGTK 2.4 and above.

A gtk.Action represents operations that the user can perform, along with some information how it should be presented in the interface. Each gtk.Action provides methods to create icons, menu items and toolbar items representing @@ -34,7 +34,7 @@ buttons

tooltip :

a tooltip for the action

stock_id :

the stock icon to display in widgets representing the action

Returns :

a new gtk.Action

Note

This constructor is available in PyGTK 2.4 and above.

Creates a new gtk.Action object. To add the action to a gtk.ActionGroup -and set the accelerator for the action, call the gtk.ActionGroup.add_action_with_accel().

Methods

gtk.Action.get_name

    def get_name()

Returns :

the name of the action.

Note

This method is available in PyGTK 2.4 and above.

The get_name() method returns the value +and set the accelerator for the action, call the gtk.ActionGroup.add_action_with_accel().

Methods

gtk.Action.get_name

    def get_name()

Returns :

the name of the action.

Note

This method is available in PyGTK 2.4 and above.

The get_name() method returns the value of the "name" property containing the name of the action.

gtk.Action.is_sensitive

    def is_sensitive()

Returns :

True if the action and its associated action group are both sensitive.

Note

This method is available in PyGTK 2.4 and above.

The is_sensitive() method returns True if the action is effectively sensitive i.e. both the @@ -167,7 +167,7 @@ proxy for the MenuToolAction, you would have to create and add a menu to the gtk.MenuToolButton instance.

This technique can be extended by subclassing gtk.ToolItem - and adding custom widgets to it.

Signals

The "activate" gtk.Action Signal

    def callback(action, user_param1, ...)

action :

the gtk.Action that + and adding custom widgets to it.

Signals

The "activate" gtk.Action Signal

    def callback(action, user_param1, ...)

action :

the gtk.Action that received the signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkadjustment.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkadjustment.html --- pygtk-2.14.1/docs/html/class-gtkadjustment.html 2009-03-05 22:48:14.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkadjustment.html 2009-05-24 23:11:21.000000000 +0100 @@ -1,17 +1,17 @@ gtk.Adjustment

gtk.Adjustment

gtk.Adjustment — an object representing an adjustable bounded -value

Synopsis

class gtk.Adjustment(gtk.Object):
-    gtk.Adjustment(value=0, lower=0, upper=0, step_incr=0, page_incr=0, page_size=0)
def set_all(value, lower, upper, step_increment, page_increment, page_size)
def changed()
def value_changed()
def clamp_page(lower, upper)
def get_value()
def set_value(value)
def configure(value, lower, upper, step_increment, page_increment, page_size)
def get_lower()
def set_lower(lower)
def get_page_increment()
def set_page_increment(page_increment)
def get_page_size()
def set_page_size(page_size)
def get_step_increment()
def set_step_increment(step_increment)
def get_upper()
def set_upper(upper)

Ancestry

+-- gobject.GObject
+value

Synopsis

class gtk.Adjustment(gtk.Object):
+    gtk.Adjustment(value=0, lower=0, upper=0, step_incr=0, page_incr=0, page_size=0)
def set_all(value, lower, upper, step_increment, page_increment, page_size)
def changed()
def value_changed()
def clamp_page(lower, upper)
def get_value()
def set_value(value)
def configure(value, lower, upper, step_increment, page_increment, page_size)
def get_lower()
def set_lower(lower)
def get_page_increment()
def set_page_increment(page_increment)
def get_page_size()
def set_page_size(page_size)
def get_step_increment()
def set_step_increment(step_increment)
def get_upper()
def set_upper(upper)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Adjustment
 

gtk.Adjustment Properties

gtk.Object Properties

Note

These properties are available in GTK+ 2.4 and above. The GTK+ - version is contained in the 3-tuple gtk.gtk_version.

"lower"Read-WriteThe minimum value of the adjustment. (float)
"page-increment"Read-WriteThe page increment of the adjustment. (float)
"page-size"Read-WriteThe page size of the adjustment. (float)
"step-increment"Read-WriteThe step increment of the adjustment. (float)
"upper"Read-WriteThe maximum value of the adjustment. (float)
"value"Read-WriteThe value of the adjustment. (float)

Attributes

"value"Read-Writethe current value (float)
"lower"Read-Writethe minimum value (float)
"upper"Read-Writethe maximum value (float)
"step_increment"Read-Writethe increment to use to make minor changes to the + version is contained in the 3-tuple gtk.gtk_version.

"lower"Read-WriteThe minimum value of the adjustment. (float)
"page-increment"Read-WriteThe page increment of the adjustment. (float)
"page-size"Read-WriteThe page size of the adjustment. (float)
"step-increment"Read-WriteThe step increment of the adjustment. (float)
"upper"Read-WriteThe maximum value of the adjustment. (float)
"value"Read-WriteThe value of the adjustment. (float)

Attributes

"value"Read-Writethe current value (float)
"lower"Read-Writethe minimum value (float)
"upper"Read-Writethe maximum value (float)
"step_increment"Read-Writethe increment to use to make minor changes to the value. In a gtk.Scrollbar this increment is used when the mouse is clicked on the arrows at the top and bottom of the scrollbar, to scroll by a small amount. (float)
"page_increment"Read-Writethe increment to use to make major changes to the value. In a gtk.Scrollbar this increment is used when the mouse is clicked in the trough, to scroll by a large amount. (float)
"page_size"Read-Writea widget specific size. In a gtk.Scrollbar -this is the size of the area which is currently visible. (float)

gtk.Adjustment Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

"changed"

def callback(adjustment, user_param1, ...)

"value-changed"

def callback(adjustment, user_param1, ...)

Description

The gtk.Adjustment +this is the size of the area which is currently visible. (float)

gtk.Adjustment Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

"changed"

def callback(adjustment, user_param1, ...)

"value-changed"

def callback(adjustment, user_param1, ...)

Description

The gtk.Adjustment object contains a value which has an associated lower and upper bound, together with step and page increments, and a page size. It is used in conjunction with several PyGTK widgets, including gtk.SpinButton, @@ -35,7 +35,7 @@ lower = adjustment.lower

Constructor

    gtk.Adjustment(value=0, lower=0, upper=0, step_incr=0, page_incr=0, page_size=0)

value :

the initial value.

lower :

the minimum value.

upper :

the maximum value.

step_incr :

the step increment.

page_incr :

the page increment.

page_size :

the page size.

Returns :

a new gtk.Adjustment object

gtk.Adjustment() creates a new gtk.Adjustment object with the specified attributes. Any attributes not specified are set -to 0.0 by default.

Methods

gtk.Adjustment.set_all

    def set_all(value, lower, upper, step_increment, page_increment, page_size)

value :

the new value.

lower :

the new minimum value.

upper :

the new maximum value.

step_increment :

the new step increment.

page_increment :

the new page increment.

page_size :

the new page size.

The set_all() method sets the +to 0.0 by default.

Methods

gtk.Adjustment.set_all

    def set_all(value, lower, upper, step_increment, page_increment, page_size)

value :

the new value.

lower :

the new minimum value.

upper :

the new maximum value.

step_increment :

the new step increment.

page_increment :

the new page increment.

page_size :

the new page size.

The set_all() method sets the attributes of the adjustment to the specified values.

gtk.Adjustment.changed

    def changed()

The changed() method emits a "changed" signal from the adjustment. This must typically be called if any of the adjustment attributes other than value has changed so that the widget(s) @@ -98,7 +98,7 @@ See gtk.Adjustment.get_lower() about how to compress multiple emissions of the "changed" signal when setting multiple adjustment properties. -

Signals

The "changed" gtk.Adjustment Signal

    def callback(adjustment, user_param1, ...)

adjustment :

the object that received the +

Signals

The "changed" gtk.Adjustment Signal

    def callback(adjustment, user_param1, ...)

adjustment :

the object that received the signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkalignment.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkalignment.html --- pygtk-2.14.1/docs/html/class-gtkalignment.html 2009-03-05 22:48:15.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkalignment.html 2009-05-24 23:11:21.000000000 +0100 @@ -1,12 +1,12 @@ gtk.Alignment

gtk.Alignment

gtk.Alignment — a widget that controls the alignment and size of its -child

Synopsis

class gtk.Alignment(gtk.Bin):
-    gtk.Alignment(xalign=0.0, yalign=0.0, xscale=0.0, yscale=0.0)
def set(xalign, yalign, xscale, yscale)
def set_padding(padding_top, padding_bottom, padding_left, padding_right)
def get_padding()

Ancestry

+-- gobject.GObject
+child

Synopsis

class gtk.Alignment(gtk.Bin):
+    gtk.Alignment(xalign=0.0, yalign=0.0, xscale=0.0, yscale=0.0)
def set(xalign, yalign, xscale, yscale)
def set_padding(padding_top, padding_bottom, padding_left, padding_right)
def get_padding()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Bin
           +-- gtk.Alignment
-

Implemented Interfaces

+

Implemented Interfaces

gtk.Alignment implements gtk.Buildable @@ -24,7 +24,7 @@ above, 1.0 means all free space above.

"yscale"Read/WriteThe fraction of vertical free space (beyond that needed by the child) that the child will absorb. 0.0 means the -child will absorb none, 1.0 means the child will absorb all

gtk.Alignment Style Properties

gtk.Widget Style Properties

gtk.Alignment Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

Description

The gtk.Alignment +child will absorb none, 1.0 means the child will absorb all

gtk.Alignment Style Properties

gtk.Widget Style Properties

gtk.Alignment Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

Description

The gtk.Alignment widget controls the alignment and size of its child widget. It has four properties: xscale, yscale, xalign, and yalign. The scale properties are used to specify how much of the free (extra) space @@ -64,7 +64,7 @@ free space that the child widget absorbs, from 0.0 to 1.0

Returns :

a new alignment object

Creates a new alignment widget with the specified properties. If the scale and alignment parameters are not specified they default to -0.0.

Methods

gtk.Alignment.set

    def set(xalign, yalign, xscale, yscale)

xalign :

the fraction of horizontal +0.0.

Methods

gtk.Alignment.set

    def set(xalign, yalign, xscale, yscale)

xalign :

the fraction of horizontal free space to the left of the child widget. Ranges from 0.0 to 1.0

yalign :

the fraction of vertical free space above the child widget. Ranges from 0.0 to diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkarrow.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkarrow.html --- pygtk-2.14.1/docs/html/class-gtkarrow.html 2009-03-05 22:48:15.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkarrow.html 2009-05-24 23:11:21.000000000 +0100 @@ -1,18 +1,18 @@ gtk.Arrow

gtk.Arrow

gtk.Arrow — produces an arrow pointing in one of the four cardinal -directions.

Synopsis

class gtk.Arrow(gtk.Misc):
-    gtk.Arrow(arrow_type, shadow_type)
def set(arrow_type, shadow_type)

Ancestry

+-- gobject.GObject
+directions.

Synopsis

class gtk.Arrow(gtk.Misc):
+    gtk.Arrow(arrow_type, shadow_type)
def set(arrow_type, shadow_type)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Misc
         +-- gtk.Arrow
-

Implemented Interfaces

+

Implemented Interfaces

gtk.Arrow implements gtk.Buildable

gtk.Arrow Properties

gtk.Object Properties

gtk.Widget Properties

gtk.Misc Properties

"arrow-type"Read/WriteThe direction the arrow should point (gtk.ARROW_UP, gtk.ARROW_DOWN, gtk.ARROW_LEFT, or gtk.ARROW_RIGHT)
"shadow-type"Read/WriteAppearance of the shadow surrounding the arrow (gtk.SHADOW IN, gtk.SHADOW OUT, gtk.ETCHED IN, or - gtk.ETCHED OUT)

gtk.Arrow Style Properties

gtk.Widget Style Properties

gtk.Arrow Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

Description

The gtk.Arrow is used to + gtk.ETCHED OUT)

gtk.Arrow Style Properties

gtk.Widget Style Properties

gtk.Arrow Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

Description

The gtk.Arrow is used to draw simple arrows that point in one of the four cardinal directions (gtk.ARROW_UP, gtk.ARROW_DOWN, gtk.ARROW_LEFT, or gtk.ARROW_RIGHT). The shadow style of the arrow can be one of gtk.SHADOW IN, gtk.SHADOW OUT, @@ -24,6 +24,6 @@ of the GTK Shadow Type Constants

Returns :

a gtk.Arrow widget

Creates a new arrow widget with the specified arrow_type and -arrow_shadow.

Methods

gtk.Arrow.set

    def set(arrow_type, shadow_type)

arrow_type :

a GtkArrowType

shadow_type :

one of the GTK Shadow Type Constants

The set() method sets the +arrow_shadow.

Methods

gtk.Arrow.set

    def set(arrow_type, shadow_type)

arrow_type :

a GtkArrowType

shadow_type :

one of the GTK Shadow Type Constants

The set() method sets the arrow_type and shadow_type of the arrow widget.

diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkaspectframe.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkaspectframe.html --- pygtk-2.14.1/docs/html/class-gtkaspectframe.html 2009-03-05 22:48:15.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkaspectframe.html 2009-05-24 23:11:22.000000000 +0100 @@ -1,13 +1,13 @@ gtk.AspectFrame

gtk.AspectFrame

gtk.AspectFrame — A frame that constrains its child to a particular aspect -ratio.

Synopsis

class gtk.AspectFrame(gtk.Frame):
-    gtk.AspectFrame(label=None, xalign=0.5, yalign=0.5, ratio=1.0, obey_child=True)
def set(xalign=0.0, yalign=0.0, ratio=1.0, obey_child=True)

Ancestry

+-- gobject.GObject
+ratio.

Synopsis

class gtk.AspectFrame(gtk.Frame):
+    gtk.AspectFrame(label=None, xalign=0.5, yalign=0.5, ratio=1.0, obey_child=True)
def set(xalign=0.0, yalign=0.0, ratio=1.0, obey_child=True)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Bin
           +-- gtk.Frame
             +-- gtk.AspectFrame
-

Implemented Interfaces

+

Implemented Interfaces

gtk.AspectFrame implements gtk.Buildable @@ -18,7 +18,7 @@ 10000.0 if "obey-child" is False.

"yalign"Read/WriteThe fraction of vertical free space above the child. 0.0 means no free space above, 1.0 means all free space - above.

gtk.AspectFrame Style Properties

gtk.Widget Style Properties

gtk.AspectFrame Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

Description

The gtk.AspectFrame + above.

gtk.AspectFrame Style Properties

gtk.Widget Style Properties

gtk.AspectFrame Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

Description

The gtk.AspectFrame packs a widget so that it can resize but always retains the same aspect ratio. For instance, one might be drawing a small preview of a larger image. gtk.AspectFrame @@ -56,7 +56,7 @@ obey_child is False, ratio sets the aspect ratio for the child widget. The default value for ratio is 1.0. The default value for -obey_child is True.

Methods

gtk.AspectFrame.set

    def set(xalign=0.0, yalign=0.0, ratio=1.0, obey_child=True)

xalign :

The fraction of horizontal +obey_child is True.

Methods

gtk.AspectFrame.set

    def set(xalign=0.0, yalign=0.0, ratio=1.0, obey_child=True)

xalign :

The fraction of horizontal free space to the left of the child. 0.0 means no free space to the left, 1.0 means all free space to the left.

yalign :

The fraction of vertical diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkassistant.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkassistant.html --- pygtk-2.14.1/docs/html/class-gtkassistant.html 2009-03-05 22:48:16.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkassistant.html 2009-05-24 23:11:22.000000000 +0100 @@ -1,13 +1,13 @@ gtk.Assistant

gtk.Assistant

gtk.Assistant — a widget used to guide users through multi-step operations - (new in PyGTK 2.10)

Synopsis

class gtk.Assistant(gtk.Window):
-    gtk.Assistant()
def get_current_page()
def set_current_page(page_num)
def get_n_pages()
def get_nth_page(page_num)
def prepend_page(page)
def append_page(page)
def insert_page(page, position)
def set_forward_page_func(page_func, data)
def set_page_type(page, type)
def get_page_type(page)
def set_page_title(page, title)
def get_page_title(page)
def set_page_header_image(page, pixbuf=None)
def get_page_header_image(page)
def set_page_side_image(page, pixbuf=None)
def get_page_side_image(page)
def set_page_complete(page, complete)
def get_page_complete(page)
def add_action_widget(child)
def remove_action_widget(child)
def update_buttons_state()

Ancestry

+-- gobject.GObject
+    (new in PyGTK 2.10)

Synopsis

class gtk.Assistant(gtk.Window):
+    gtk.Assistant()
def get_current_page()
def set_current_page(page_num)
def get_n_pages()
def get_nth_page(page_num)
def prepend_page(page)
def append_page(page)
def insert_page(page, position)
def set_forward_page_func(page_func, data)
def set_page_type(page, type)
def get_page_type(page)
def set_page_title(page, title)
def get_page_title(page)
def set_page_header_image(page, pixbuf=None)
def get_page_header_image(page)
def set_page_side_image(page, pixbuf=None)
def get_page_side_image(page)
def set_page_complete(page, complete)
def get_page_complete(page)
def add_action_widget(child)
def remove_action_widget(child)
def update_buttons_state()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Bin
           +-- gtk.Window
             +-- gtk.Assistant
-

Implemented Interfaces

+

Implemented Interfaces

gtk.Assistant implements gtk.Buildable @@ -32,12 +32,12 @@ "title" and "header-image" are both None, no header is displayed. Default value: None. This property is available in GTK+ - 2.10 and above.

gtk.Assistant Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

gtk.Window Signal Prototypes

"apply"

def callback(widget, user_param1, ...)

"cancel"

def callback(widget, user_param1, ...)

"close"

def callback(widget, user_param1, ...)

"prepare"

def callback(widget, page, user_param1, ...)

Description

A gtk.Assistant + 2.10 and above.

gtk.Assistant Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

gtk.Window Signal Prototypes

"apply"

def callback(widget, user_param1, ...)

"cancel"

def callback(widget, user_param1, ...)

"close"

def callback(widget, user_param1, ...)

"prepare"

def callback(widget, page, user_param1, ...)

Description

A gtk.Assistant is a widget used to guide the user through a complex operation by breaking it into several steps. Each step is generally handled by one assistant page. The assistant controls the page flow to collect the - necessary data to complete the application task.

Constructor

gtk.Assistant

    gtk.Assistant()

Returns :

a new gtk.Assistant - object.

Note

This constructor is available in PyGTK 2.10 and above.

Creates a new gtk.Assistant.

Methods

gtk.Assistant.get_current_page

    def get_current_page()

Returns :,  :

The index (starting from 0) of the current page + necessary data to complete the application task.

Constructor

gtk.Assistant

    gtk.Assistant()

Returns :

a new gtk.Assistant + object.

Note

This constructor is available in PyGTK 2.10 and above.

Creates a new gtk.Assistant.

Methods

gtk.Assistant.get_current_page

    def get_current_page()

Returns :,  :

The index (starting from 0) of the current page in the assistant, if the assistant has no pages, -1 will be returned.

Note

This method is available in PyGTK 2.10 and above.

The get_current_page() method returns the page number of the current page.

gtk.Assistant.set_current_page

    def set_current_page(page_num)

page_num :

the index of the page to switch to, starting @@ -132,7 +132,7 @@ e.g. when the user goes to a different page, or when the visibility or completeness of a page changes.

One situation where it can be necessary to call this function is when changing a value on the current page affects the future page flow - of the assistant.

Signals

The "apply" Signal

    def callback(assistant, user_param1, ...)

assistant :

the gtk.Assistant + of the assistant.

Signals

The "apply" Signal

    def callback(assistant, user_param1, ...)

assistant :

the gtk.Assistant that received the signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkbin.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkbin.html --- pygtk-2.14.1/docs/html/class-gtkbin.html 2009-03-05 22:48:16.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkbin.html 2009-05-24 23:11:23.000000000 +0100 @@ -1,16 +1,16 @@ gtk.Bin

gtk.Bin

gtk.Bin — an abstract base class defining a container with just one -child.

Synopsis

class gtk.Bin(gtk.Container):
-    def get_child()

Ancestry

+-- gobject.GObject
+child.

Synopsis

class gtk.Bin(gtk.Container):
+    def get_child()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Bin
-

Implemented Interfaces

+

Implemented Interfaces

gtk.Bin implements gtk.Buildable -

gtk.Bin Style Properties

gtk.Widget Style Properties

gtk.Bin Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

Attributes

"child"ReadThe child widget or None if there -is no child.

Description

gtk.Bin +

gtk.Bin Style Properties

gtk.Widget Style Properties

gtk.Bin Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

Attributes

"child"ReadThe child widget or None if there +is no child.

Description

gtk.Bin is an abstract base class defining a widget that is a container with just one child. It is useful for deriving subclasses, since it provides the common code needed for handling a single child widget. Many PyGTK widgets @@ -19,7 +19,7 @@ gtk.Button, gtk.Frame, gtk.HandleBox, -and gtk.ScrolledWindow.

Methods

gtk.Bin.get_child

    def get_child()

Returns :

a reference to the child +and gtk.ScrolledWindow.

Methods

gtk.Bin.get_child

    def get_child()

Returns :

a reference to the child widget

The get_child() method returns a reference to the child of the bin, or None if the bin contains no child widget.

diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkborder.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkborder.html --- pygtk-2.14.1/docs/html/class-gtkborder.html 2009-03-05 22:48:16.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkborder.html 2009-05-24 23:11:23.000000000 +0100 @@ -1,11 +1,19 @@ -gtk.Border

gtk.Border

gtk.Border — an object containing data for a border (new in PyGTK 2.4)

Synopsis

class gtk.Border(gobject.GBoxed):
-    def copy()
def free()

Description

Note

This object is available in PyGTK 2.4 and above.

A gtk.Border object +gtk.Border

gtk.Border

gtk.Border — an object containing data for a border (new in PyGTK 2.4)

Synopsis

class gtk.Border(gobject.GBoxed):
+    def copy()
def free()

Attributes

Note

All attributes are available in PyGTK 2.16 and above.

"left"Read-WriteThe width of the left border margin.
"right"Read-WriteThe width of the right border margin.
"top"Read-WriteThe width of the bottom border margin.
"bottom"Read-WriteThe width of the bottom border margin.

Description

Note

This object is available in PyGTK 2.4 and above.

A gtk.Border object contains the integer values for the left, right, top and bottom values of a border. gtk.Border is used in gtk.Style specifications. gtk.Border has two methods: copy() and -free().

Methods

gtk.Border.copy

    def copy()

Returns :

a copy of the border.

Note

This method is available in PyGTK 2.4 and above.

The copy() method returns a copy of the +free().

Starting with PyGTK 2.16 you can also + treat gtk.Border + objects as sequences of 4 integer values. E.g. you can convert to a tuple or read + and assign individual values by index.

Constructor

    gtk.Border(left=0, right=0, top=0, bottom=0)

left :

the width of the left margin

right :

the width of the right margin

top :

the width of the top margin

bottom :

the width of the bottom margin

Returns :

a new gtk.gdk.Rectangle +object

Note

This constructor is available in PyGTK 2.16 and above.

Creates a + new gtk.Border with + the attributes specified + by left, right, top + and bottom. Any unspecified attributes default to 0.

Methods

gtk.Border.copy

    def copy()

Returns :

a copy of the border.

Note

This method is available in PyGTK 2.4 and above.

The copy() method returns a copy of the border object.

gtk.Border.free

    def free()

Note

This method is available in PyGTK 2.4 and above.

Warning

This method is deprecated and should not be used since it can crash your application.

The free() method frees the memory used by the border.

diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkbox.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkbox.html --- pygtk-2.14.1/docs/html/class-gtkbox.html 2009-03-05 22:48:17.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkbox.html 2009-05-24 23:11:23.000000000 +0100 @@ -1,10 +1,10 @@ -gtk.Box

gtk.Box

gtk.Box — an abstract base class for box containers

Synopsis

class gtk.Box(gtk.Container):
-    def pack_start(child, expand=True, fill=True, padding=0)
def pack_end(child, expand=True, fill=True, padding=0)
def pack_start_defaults(widget)
def pack_end_defaults(widget)
def set_homogeneous(homogeneous)
def get_homogeneous()
def set_spacing(spacing)
def get_spacing()
def reorder_child(child, position)
def query_child_packing(child)
def set_child_packing(child, expand, fill, padding, pack_type)

Ancestry

+-- gobject.GObject
+gtk.Box

gtk.Box

gtk.Box — an abstract base class for box containers

Synopsis

class gtk.Box(gtk.Container):
+    def pack_start(child, expand=True, fill=True, padding=0)
def pack_end(child, expand=True, fill=True, padding=0)
def pack_start_defaults(widget)
def pack_end_defaults(widget)
def set_homogeneous(homogeneous)
def get_homogeneous()
def set_spacing(spacing)
def get_spacing()
def reorder_child(child, position)
def query_child_packing(child)
def set_child_packing(child, expand, fill, padding, pack_type)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Box
-

Implemented Interfaces

+

Implemented Interfaces

gtk.Box implements gtk.Buildable @@ -15,7 +15,7 @@ be used as padding

"padding"Read/WriteThe amount of extra space to put between the child and its neighbors, in pixels
"pack-type"Read/WriteIndicates whether the child is packed with reference to the start (gtk.PACK_START) or end - (gtk.PACK_END) of the parent
"position"Read/WriteThe index of the child in the parent

gtk.Box Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

Description

The gtk.Box class is an + (gtk.PACK_END) of the parent

"position"Read/WriteThe index of the child in the parent

gtk.Box Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

Description

The gtk.Box class is an abstract base class defining a widget that encapsulates functionality for a particular kind of container, one that organizes a variable number of widgets into a rectangular area. gtk.Box currently has @@ -51,7 +51,7 @@ different place in the box.

The set_child_packing() method resets the expand, fill, and padding attributes of any gtk.Box child. Use the query_child_packing() -to query these properties.

Methods

gtk.Box.pack_start

    def pack_start(child, expand=True, fill=True, padding=0)

child :

the widget to be added to the +to query these properties.

Methods

gtk.Box.pack_start

    def pack_start(child, expand=True, fill=True, padding=0)

child :

the widget to be added to the box

expand :

True if child is to be given extra space allocated to box. The extra space will be divided evenly between all children of box that use this option.

fill :

True if space given to diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkbuildable.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkbuildable.html --- pygtk-2.14.1/docs/html/class-gtkbuildable.html 2009-03-05 22:48:19.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkbuildable.html 2009-05-24 23:11:25.000000000 +0100 @@ -1,7 +1,7 @@ -gtk.Buildable

gtk.Buildable

gtk.Buildable — Interface for objects that can be built by GtkBuilder.

Synopsis

class gtk.Buildable(gobject.GInterface):
-    def add_child(builder, child, type)
def construct_child(builder, name)
def get_internal_child(builder, childname)
def get_name()
def parser_finished(builder)
def set_name(name)

Ancestry

+-- gobject.GInterface
+gtk.Buildable

gtk.Buildable

gtk.Buildable — Interface for objects that can be built by GtkBuilder.

Synopsis

class gtk.Buildable(gobject.GInterface):
+    def add_child(builder, child, type)
def construct_child(builder, name)
def get_internal_child(builder, childname)
def get_name()
def parser_finished(builder)
def set_name(name)

Ancestry

+-- gobject.GInterface
   +-- gtk.Buildable
-

Known Implementation

+

Known Implementation

gtk.Buildable is implementated by gtk.Bin, @@ -121,7 +121,7 @@ gtk.SizeGroup, gtk.ViewPort, gtk.ScrolledWindow, -

Description

+

Description

In order to allow construction from a GtkBuilder UI description, an object class must implement the GtkBuildable interface. The interface includes methods for setting names and properties of objects, parsing custom tags, constructing child objects. @@ -129,7 +129,7 @@ The GtkBuildable interface is implemented by all widgets and many of the non-widget objects that are provided by GTK+. The main user of this interface is GtkBuilder, there should be very little need for applications to call any gtk.Buildable methods. -

Methods

gtk.Buildable.add_child

    def add_child(builder, child, type)

builder :

+

Methods

gtk.Buildable.add_child

    def add_child(builder, child, type)

builder :

A gtk.Builder

child :

The child to add.

type :

The kind of child or None. diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkbuilder.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkbuilder.html --- pygtk-2.14.1/docs/html/class-gtkbuilder.html 2009-03-05 22:48:18.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkbuilder.html 2009-05-24 23:11:24.000000000 +0100 @@ -1,11 +1,11 @@ -gtk.Builder

gtk.Builder

gtk.Builder — Build an interface from an XML UI definition.

Synopsis

class gtk.Builder(gobject.GObject):
-    gtk.Builder()
def add_from_file(filename)
def add_from_string(buffer)
def connect_signals(object, user_data=None)
def get_object(name)
def get_objects()
def get_translation_domain()
def get_type_from_name(type_name)
def set_translation_domain(domain)

Ancestry

+-- gobject.GObject
+gtk.Builder

gtk.Builder

gtk.Builder — Build an interface from an XML UI definition.

Synopsis

class gtk.Builder(gobject.GObject):
+    gtk.Builder()
def add_from_file(filename)
def add_from_string(buffer)
def connect_signals(object, user_data=None)
def get_object(name)
def get_objects()
def get_translation_domain()
def get_type_from_name(type_name)
def set_translation_domain(domain)

Ancestry

+-- gobject.GObject
   +-- gtk.Builder
 

gtk.Builder Properties

"translation-domain"Read/WriteThe translation domain used when translating property values that have been marked as translatable in interface descriptions. If the translation domain is None, GtkBuilder uses gettext(), otherwise dgettext(). Default value: None -

Description

+

Description

A gtk.Builder is an auxiliary object that reads textual descriptions of a user interface and instantiates the described objects. To pass a description to a @@ -157,7 +157,7 @@ by the custom tag handler of the object.

Constructor

    gtk.Builder()

Returns :

a new builder object.

Creates a new builder object. -

Methods

gtk.Builder.add_from_file

    def add_from_file(filename)

filename :

The name of the file to parse.

Returns :

A positive value on success, 0 if an error occurred.

Note

This method is available in PyGTK 2.12 and above.

+

Methods

gtk.Builder.add_from_file

    def add_from_file(filename)

filename :

The name of the file to parse.

Returns :

A positive value on success, 0 if an error occurred.

Note

This method is available in PyGTK 2.12 and above.

The add_from_file() method parses a file containing a GtkBuilder UI definition and merges it with the current contents of builder.

gtk.Builder.add_from_string

    def add_from_string(buffer)

buffer :

The string to parse.

Returns :

A positive value on success, 0 if an error occurred.

Note

This method is available in PyGTK 2.12 and above.

diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkbuttonbox.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkbuttonbox.html --- pygtk-2.14.1/docs/html/class-gtkbuttonbox.html 2009-03-05 22:48:19.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkbuttonbox.html 2009-05-24 23:11:26.000000000 +0100 @@ -1,12 +1,12 @@ gtk.ButtonBox

gtk.ButtonBox

gtk.ButtonBox — the base class for widgets that contain multiple -buttons

Synopsis

class gtk.ButtonBox(gtk.Box):
-    def get_layout()
def set_layout(layout_style)
def get_child_secondary(child)
def set_child_secondary(child, is_secondary)

Ancestry

+-- gobject.GObject
+buttons

Synopsis

class gtk.ButtonBox(gtk.Box):
+    def get_layout()
def set_layout(layout_style)
def get_child_secondary(child)
def set_child_secondary(child, is_secondary)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Box
           +-- gtk.ButtonBox
-

Implemented Interfaces

+

Implemented Interfaces

gtk.ButtonBox implements gtk.Buildable @@ -17,7 +17,7 @@ gtk.BUTTONBOX_END.

gtk.ButtonBox Style Properties

gtk.Widget Style Properties

"child-internal-pad-x"ReadThe amount of padding that increases a child's size on the top and bottom
"child-internal-pad-y"ReadThe amount of padding that increases a child's size on the top and bottom
"child-min-height"ReadThe minimum height of buttons inside the box.
"child-min-width"ReadThe minimum width of buttons inside the box.

gtk.ButtonBox Child Properties

gtk.Box Child Properties

"secondary"Read/WriteIf True, the child appears in a secondary -group of children, suitable for, e.g., help buttons.

gtk.ButtonBox Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

Description

A button box is used to provide a consistent layout of buttons +group of children, suitable for, e.g., help buttons.

gtk.ButtonBox Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

Description

A button box is used to provide a consistent layout of buttons throughout an application. The gtk.ButtonBox is subclassed by the gtk.HButtonBox and gtk.VButtonBox @@ -36,7 +36,7 @@ gtk.BUTTONBOX_SPREAD, gtk.BUTTONBOX_EDGE, gtk.BUTTONBOX_START and -gtk.BUTTONBOX_END.

Methods

gtk.ButtonBox.get_layout

    def get_layout()

Returns :

the layout style used by the +gtk.BUTTONBOX_END.

Methods

gtk.ButtonBox.get_layout

    def get_layout()

Returns :

the layout style used by the buttonbox

The get_layout() method returns the current value of the "layout-style" property. The possible values are: gtk.BUTTONBOX_SPREAD, diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkbutton.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkbutton.html --- pygtk-2.14.1/docs/html/class-gtkbutton.html 2009-03-05 22:48:18.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkbutton.html 2009-05-24 23:11:24.000000000 +0100 @@ -1,12 +1,12 @@ gtk.Button

gtk.Button

gtk.Button — A pushbutton widget that issues a signal when -clicked.

Synopsis

class gtk.Button(gtk.Bin):
-    gtk.Button(label=None, stock=None, use_underline=True)
def pressed()
def released()
def clicked()
def enter()
def leave()
def set_relief(newstyle)
def get_relief()
def set_label(label)
def get_label()
def set_use_underline(use_underline)
def get_use_underline()
def set_use_stock(use_stock)
def get_use_stock()
def set_focus_on_click(focus_on_click)
def get_focus_on_click()
def set_alignment(xalign, yalign)
def get_alignment()
def set_image(image)
def get_image()

Ancestry

+-- gobject.GObject
+clicked.

Synopsis

class gtk.Button(gtk.Bin):
+    gtk.Button(label=None, stock=None, use_underline=True)
def pressed()
def released()
def clicked()
def enter()
def leave()
def set_relief(newstyle)
def get_relief()
def set_label(label)
def get_label()
def set_use_underline(use_underline)
def get_use_underline()
def set_use_stock(use_stock)
def get_use_stock()
def set_focus_on_click(focus_on_click)
def get_focus_on_click()
def set_alignment(xalign, yalign)
def get_alignment()
def set_image(image)
def get_image()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Bin
           +-- gtk.Button
-

Implemented Interfaces

+

Implemented Interfaces

gtk.Button implements gtk.Buildable @@ -48,7 +48,7 @@ "child-displacement-y" properties should also affect the focus rectangle. Default value: False. This property is available in GTK+ 2.6 and above.

"inner-border"ReadThe border between the button edges and child as a gtk.Border. - This property is available in GTK+ 2.10 and above.

gtk.Button Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

"activate"

def callback(button, user_param1, ...)

"clicked"

def callback(button, user_param1, ...)

"enter"

def callback(button, user_param1, ...)

"leave"

def callback(button, user_param1, ...)

"pressed"

def callback(button, user_param1, ...)

"released"

def callback(button, user_param1, ...)

Description

The gtk.Button widget is + This property is available in GTK+ 2.10 and above.

gtk.Button Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

"activate"

def callback(button, user_param1, ...)

"clicked"

def callback(button, user_param1, ...)

"enter"

def callback(button, user_param1, ...)

"leave"

def callback(button, user_param1, ...)

"pressed"

def callback(button, user_param1, ...)

"released"

def callback(button, user_param1, ...)

Description

The gtk.Button widget is usually displayed as a pushbutton with a text label (gtk.Label) though it can contain any valid widget. The gtk.Button is generally used to attach a callback function or method that is called when @@ -92,7 +92,7 @@ used as the keyboard accelerator for the button when pressed simultaneously with the Alt key. In PyGTK 2.4 and above the "use-underline" property can be set by using the optional -use_underline parameter.

Methods

gtk.Button.pressed

    def pressed()

The pressed() method emits the +use_underline parameter.

Methods

gtk.Button.pressed

    def pressed()

The pressed() method emits the "pressed" signal to the button.

gtk.Button.released

    def released()

The released() method emits the "released" signal to the button.

gtk.Button.clicked

    def clicked()

The clicked() method emits the "clicked" signal to the button.

gtk.Button.enter

    def enter()

The enter() method emits the "enter" @@ -159,7 +159,7 @@ method for image.

gtk.Button.get_image

    def get_image()

Returns :

the gtk.Widget used as the button image or None if there is no image.

Note

This method is available in PyGTK 2.6 and above.

The get_image() method returns the value of the "image" property. See the set_image() -method for more information.

Signals

The "activate" gtk.Button Signal

    def callback(button, user_param1, ...)

button :

the button that received the "activate" +method for more information.

Signals

The "activate" gtk.Button Signal

    def callback(button, user_param1, ...)

button :

the button that received the "activate" signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkcalendar.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkcalendar.html --- pygtk-2.14.1/docs/html/class-gtkcalendar.html 2009-03-05 22:48:20.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkcalendar.html 2009-05-24 23:11:26.000000000 +0100 @@ -1,10 +1,10 @@ gtk.Calendar

gtk.Calendar

gtk.Calendar — a widget that displays a calendar and allows the user to -select a date.

Synopsis

class gtk.Calendar(gtk.Widget):
-    gtk.Calendar()
def select_month(month, year)
def select_day(day)
def mark_day(day)
def unmark_day(day)
def clear_marks()
def get_display_options()
def set_display_options(flags)
def get_detail_height_rows()
def set_detail_height_rows(rows)
def get_detail_width_chars()
def set_detail_width_chars(chars)
def display_options(flags)
def get_date()
def freeze()
def thaw()

Ancestry

+-- gobject.GObject
+select a date.

Synopsis

class gtk.Calendar(gtk.Widget):
+    gtk.Calendar()
def select_month(month, year)
def select_day(day)
def mark_day(day)
def unmark_day(day)
def clear_marks()
def get_display_options()
def set_display_options(flags)
def get_detail_height_rows()
def set_detail_height_rows(rows)
def get_detail_width_chars()
def set_detail_width_chars(chars)
def display_options(flags)
def get_date()
def freeze()
def thaw()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Calendar
-

Implemented Interfaces

+

Implemented Interfaces

gtk.Calendar implements gtk.Buildable @@ -20,7 +20,7 @@ with details are marked. Default value: True. This property is available in GTK+ 2.14 and above.

"show-heading"Read-WriteIf True, a heading is displayed.
"show-week-numbers"Read-WriteIf True, week numbers are -displayed.
"year"Read-WriteThe selected year.

gtk.Calendar Style Properties

gtk.Widget Style Properties

gtk.Calendar Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

"day-selected"

def callback(calendar, user_param1, ...)

"day-selected-double-click"

def callback(calendar, user_param1, ...)

"month-changed"

def callback(calendar, user_param1, ...)

"next-month"

def callback(calendar, user_param1, ...)

"next-year"

def callback(calendar, user_param1, ...)

"prev-month"

def callback(calendar, user_param1, ...)

"prev-year"

def callback(calendar, user_param1, ...)

Description

The gtk.Calendar is a +displayed.

"year"Read-WriteThe selected year.

gtk.Calendar Style Properties

gtk.Widget Style Properties

gtk.Calendar Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

"day-selected"

def callback(calendar, user_param1, ...)

"day-selected-double-click"

def callback(calendar, user_param1, ...)

"month-changed"

def callback(calendar, user_param1, ...)

"next-month"

def callback(calendar, user_param1, ...)

"next-year"

def callback(calendar, user_param1, ...)

"prev-month"

def callback(calendar, user_param1, ...)

"prev-year"

def callback(calendar, user_param1, ...)

Description

The gtk.Calendar is a widget that displays a simple calendar, one month at a time. In addition, the calendar can display the days of the week and navigation controls that allow a user to change the month and year displayed by calling the display_options() @@ -45,7 +45,7 @@ is one-based (i.e. allowed values are 1-31).

Constructor

    gtk.Calendar()

Returns :

a calendar object

Creates a calendar object that displays the current month and year with the current day selected. The default calendar display style is: gtk.CALENDAR_SHOW_HEADING | gtk.CALENDAR_SHOW_DAY_NAMES that shows the days -of the week and the month and year heading with navigation controls.

Methods

gtk.Calendar.select_month

    def select_month(month, year)

month :

the new month number between 0 and +of the week and the month and year heading with navigation controls.

Methods

gtk.Calendar.select_month

    def select_month(month, year)

month :

the new month number between 0 and 11

year :

the new year number

Returns :

True if the month is set

The select_month() method changes the calendar display to the specified month and year.

gtk.Calendar.select_day

    def select_day(day)

day :

the new day number between 1 and 31 - 0 removes @@ -106,7 +106,7 @@ a large number of updates to the calendar.

gtk.Calendar.thaw

    def thaw()

The thaw() method reenables the update of the calendar after a freeze() method is called. All changes made since the last freeze() -are displayed

Signals

The "day-selected" gtk.Calendar Signal

    def callback(calendar, user_param1, ...)

calendar :

the calendar that received the +are displayed

Signals

The "day-selected" gtk.Calendar Signal

    def callback(calendar, user_param1, ...)

calendar :

the calendar that received the signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkcelleditable.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkcelleditable.html --- pygtk-2.14.1/docs/html/class-gtkcelleditable.html 2009-03-05 22:48:20.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkcelleditable.html 2009-05-24 23:11:26.000000000 +0100 @@ -1,7 +1,7 @@ -gtk.CellEditable

gtk.CellEditable

gtk.CellEditable — an interface for editing a TreeView cell

Synopsis

class gtk.CellEditable(gobject.GInterface):
-    def start_editing(event)
def editing_done()
def remove_widget()

gtk.CellEditable Signal Prototypes

"editing-done"

def callback(celleditable, user_param1, ...)

"remove-widget"

def callback(celleditable, user_param1, ...)

Description

The gtk.CellEditable +gtk.CellEditable

gtk.CellEditable

gtk.CellEditable — an interface for editing a TreeView cell

Synopsis

class gtk.CellEditable(gobject.GInterface):
+    def start_editing(event)
def editing_done()
def remove_widget()

gtk.CellEditable Signal Prototypes

"editing-done"

def callback(celleditable, user_param1, ...)

"remove-widget"

def callback(celleditable, user_param1, ...)

Description

The gtk.CellEditable is an interface that provides editing of a cell in a gtk.TreeView -cell.

Methods

gtk.CellEditable.start_editing

    def start_editing(event)

event :

A gtk.gdk.Event, or +cell.

Methods

gtk.CellEditable.start_editing

    def start_editing(event)

event :

A gtk.gdk.Event, or None

The start_editing() method begins the editing on a cell_editable widget that has been reparented over the treeview cell. event is the @@ -13,7 +13,7 @@ "editing_done" signal that notifies the cell renderer to update it's value from the cell.

gtk.CellEditable.remove_widget

    def remove_widget()

The remove_widget() method emits the "remove_widget" signal that indicates that the cell is finished editing, and the celleditable widget may -now be destroyed.

Signals

The "editing-done" gtk.CellEditable Signal

    def callback(celleditable, user_param1, ...)

celleditable :

the celleditable that received the +now be destroyed.

Signals

The "editing-done" gtk.CellEditable Signal

    def callback(celleditable, user_param1, ...)

celleditable :

the celleditable that received the signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkcelllayout.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkcelllayout.html --- pygtk-2.14.1/docs/html/class-gtkcelllayout.html 2009-03-05 22:48:21.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkcelllayout.html 2009-05-24 23:11:27.000000000 +0100 @@ -1,5 +1,5 @@ -gtk.CellLayout

gtk.CellLayout

gtk.CellLayout — an interface for packing cells

Synopsis

class gtk.CellLayout(gobject.GInterface):
-    def pack_start(cell, expand=True)
def pack_end(cell, expand=True)
def clear()
def get_cells()
def set_attributes(cell, ...)
def add_attribute(cell, attribute, column)
def set_cell_data_func(cell, func, func_data)
def clear_attributes(cell)
def reorder(cell, position)

Description

Note

This interface is available in PyGTK 2.4 and above.

gtk.CellLayout +gtk.CellLayout

gtk.CellLayout

gtk.CellLayout — an interface for packing cells

Synopsis

class gtk.CellLayout(gobject.GInterface):
+    def pack_start(cell, expand=True)
def pack_end(cell, expand=True)
def clear()
def get_cells()
def set_attributes(cell, ...)
def add_attribute(cell, attribute, column)
def set_cell_data_func(cell, func, func_data)
def clear_attributes(cell)
def reorder(cell, position)

Description

Note

This interface is available in PyGTK 2.4 and above.

gtk.CellLayout is an interface to be implemented by all objects that want to provide a gtk.TreeViewColumn-like API for packing cells, setting attributes and data funcs. The gtk.CellLayout @@ -7,7 +7,7 @@ gtk.ComboBox, gtk.EntryCompletion and gtk.TreeViewColumn -widgets.

Methods

gtk.CellLayout.pack_start

    def pack_start(cell, expand=True)

cell :

A gtk.CellRenderer.

expand :

if True, the +widgets.

Methods

gtk.CellLayout.pack_start

    def pack_start(cell, expand=True)

cell :

A gtk.CellRenderer.

expand :

if True, the cell is to be given extra space that is allocated to the cell layout.

Note

This method is available in PyGTK 2.4 and above.

The pack_start() method packs the gtk.CellRenderer specified by cell into the beginning of the cell diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkcellrendereraccel.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkcellrendereraccel.html --- pygtk-2.14.1/docs/html/class-gtkcellrendereraccel.html 2009-03-05 22:48:21.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkcellrendereraccel.html 2009-05-24 23:11:28.000000000 +0100 @@ -1,6 +1,6 @@ gtk.CellRendererAccel

gtk.CellRendererAccel

gtk.CellRendererAccel — an object that renders a keyboard accelerator in a cell - (new in PyGTK 2.10)

Synopsis

class gtk.CellRendererAccel(gtk.CellRendererText):
-    gtk.CellRendererAccel()

Ancestry

+-- gobject.GObject
+      (new in PyGTK 2.10)

Synopsis

class gtk.CellRendererAccel(gtk.CellRendererText):
+    gtk.CellRendererAccel()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.CellRenderer
       +-- gtk.CellRendererText
@@ -18,11 +18,11 @@
 	      hardware keycode is only relevant if the key does not have a
 	      keyval. Normally, the keyboard configuration should assign
 	      keyvals to all keys.  Default value: 0. This property is
-	      available in GTK+ 2.10 and above.

gtk.CellRendererAccel Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.CellRenderer Signal Prototypes

gtk.CellRendererText Signal Prototypes

"accel-cleared"

def callback(cellrendereraccel, path_string, user_param1, ...)

"accel-edited"

def callback(cellrendereraccel, path_string, accel_key, accel_mods, hardware_keycode, user_param1, ...)

Description

gtk.CellRendererAccel + available in GTK+ 2.10 and above.

gtk.CellRendererAccel Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.CellRenderer Signal Prototypes

gtk.CellRendererText Signal Prototypes

"accel-cleared"

def callback(cellrendereraccel, path_string, user_param1, ...)

"accel-edited"

def callback(cellrendereraccel, path_string, accel_key, accel_mods, hardware_keycode, user_param1, ...)

Description

gtk.CellRendererAccel displays a keyboard accelerator (i.e. a key combination like Control+a). If the cell renderer is editable, the accelerator can be changed by simply - typing the new combination.

Constructor

gtk.CellRendererAccel

    gtk.CellRendererAccel()

Returns :

the new cell renderer

Note

This constructor is available in PyGTK 2.10 and above.

Creates a new gtk.CellRendererAccel.

Signals

The "accel-cleared" Signal

    def callback(cellrendereraccel, path_string, user_param1, ...)

cellrendereraccel :

the cellrendereraccel that received the + typing the new combination.

Constructor

gtk.CellRendererAccel

    gtk.CellRendererAccel()

Returns :

the new cell renderer

Note

This constructor is available in PyGTK 2.10 and above.

Creates a new gtk.CellRendererAccel.

Signals

The "accel-cleared" Signal

    def callback(cellrendereraccel, path_string, user_param1, ...)

cellrendereraccel :

the cellrendereraccel that received the signal

path_string :

the path identifying the row of the cleared cell as a string

user_param1 :

the first user parameter (if any) specified with the connect() diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkcellrenderercombo.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkcellrenderercombo.html --- pygtk-2.14.1/docs/html/class-gtkcellrenderercombo.html 2009-03-05 22:48:22.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkcellrenderercombo.html 2009-05-24 23:11:28.000000000 +0100 @@ -1,8 +1,8 @@ gtk.CellRendererCombo

gtk.CellRendererCombo

gtk.CellRendererCombo — an object that renders a gtk.ComboBoxEntry into a gtk.TreeView - cell (new in PyGTK 2.6)

Synopsis

class gtk.CellRendererCombo(gtk.CellRendererText):
-    gtk.CellRendererCombo()

Ancestry

+-- gobject.GObject
+    cell (new in PyGTK 2.6)

Synopsis

class gtk.CellRendererCombo(gtk.CellRendererText):
+    gtk.CellRendererCombo()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.CellRenderer
       +-- gtk.CellRendererText
@@ -12,7 +12,7 @@
 in GTK+ 2.6 and above.
"model"Read/WriteThe tree model containing the possible values for the combo box entry. Available in GTK+ 2.6 and above.
"text-column"Read/WriteA column in the data source model to get the strings from. Allowed values: >= -1. Default value: -1. Available in GTK+ 2.6 and -above.

gtk.CellRendererCombo Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.CellRenderer Signal Prototypes

gtk.CellRendererText Signal Prototypes

"changed"

def callback(combo, path_string, new_iter, user_param1, ...)

Description

Note

This object is available in PyGTK 2.6 and above.

The gtk.CellRendererCombo +above.

gtk.CellRendererCombo Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.CellRenderer Signal Prototypes

gtk.CellRendererText Signal Prototypes

"changed"

def callback(combo, path_string, new_iter, user_param1, ...)

Description

Note

This object is available in PyGTK 2.6 and above.

The gtk.CellRendererCombo manages the rendering of a gtk.ComboBoxEntry into a gtk.TreeView cell.

Constructor

    gtk.CellRendererCombo()

Returns :

the new cell renderer

Note

This constructor is available in PyGTK 2.6 and above.

Creates a new gtk.CellRendererCombo. @@ -22,7 +22,7 @@ you can bind a property to a value in a gtk.TreeModel. For example, you can bind the "text" property on the cell renderer to a string value in the model, thus rendering a different string in each row of -the gtk.TreeView.

Signals

The "changed" gtk.Calendar Signal

    def callback(combo, path_string, new_iter, user_param1, ...)

combo :

the object on which the signal is emitted

path_string :

a string of the path identifying the edited cell +the gtk.TreeView.

Signals

The "changed" gtk.Calendar Signal

    def callback(combo, path_string, new_iter, user_param1, ...)

combo :

the object on which the signal is emitted

path_string :

a string of the path identifying the edited cell (relative to the tree view model)

new_iter :

the new iter selected in the combo box (relative to the combo box model)

user_param1 :

the first user parameter (if any) specified with the connect() diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkcellrenderer.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkcellrenderer.html --- pygtk-2.14.1/docs/html/class-gtkcellrenderer.html 2009-03-05 22:48:21.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkcellrenderer.html 2009-05-24 23:11:27.000000000 +0100 @@ -1,5 +1,5 @@ -gtk.CellRenderer

gtk.CellRenderer

gtk.CellRenderer — a base class for objects that render on a gtk.gdk.Drawable

Synopsis

class gtk.CellRenderer(gtk.Object):
-    def get_size(widget, cell_area=None)
def render(window, widget, background_area, cell_area, expose_area, flags)
def activate(event, widget, path, background_area, cell_area, flags)
def start_editing(event, widget, path, background_area, cell_area, flags)
def editing_canceled()
def stop_editing(canceled)
def set_fixed_size(width, height)
def get_fixed_size()

Ancestry

+-- gobject.GObject
+gtk.CellRenderer

gtk.CellRenderer

gtk.CellRenderer — a base class for objects that render on a gtk.gdk.Drawable

Synopsis

class gtk.CellRenderer(gtk.Object):
+    def get_size(widget, cell_area=None)
def render(window, widget, background_area, cell_area, expose_area, flags)
def activate(event, widget, path, background_area, cell_area, flags)
def start_editing(event, widget, path, background_area, cell_area, flags)
def editing_canceled()
def stop_editing(canceled)
def set_fixed_size(width, height)
def get_fixed_size()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.CellRenderer
 

gtk.CellRenderer Properties

gtk.Object Properties

"cell-background"WriteThe background color of the cell as a string. @@ -15,7 +15,7 @@ cell. Default: 0.
"yalign"Read/WriteThe fraction of free space above the cell in the range 0.0 to 1.0. Allowed values between 0 and 1. Default: 0.5.
"ypad"Read/WriteThe amount of padding above and below cell. Default: - 0.

gtk.CellRenderer Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

"editing-canceled"

def callback(cellrenderer, user_param1, ...)

"editing-started"

def callback(cellrenderer, editable, path, user_param1, ...)

Description

The gtk.CellRenderer + 0.

gtk.CellRenderer Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

"editing-canceled"

def callback(cellrenderer, user_param1, ...)

"editing-started"

def callback(cellrenderer, editable, path, user_param1, ...)

Description

The gtk.CellRenderer is a base class for a set of objects used for rendering a cell to a gtk.gdk.Drawable. The gtk.CellRenderer provides the common attributes and methods for its subclasses (gtk.CellRendererPixbuf, @@ -28,7 +28,7 @@ property system. Then, the cell is measured using the get_size() method. Finally, the cell is rendered in the correct location using the render() - method.

Methods

gtk.CellRenderer.get_size

    def get_size(widget, cell_area)

widget :

the widget the renderer is rendering + method.

Methods

gtk.CellRenderer.get_size

    def get_size(widget, cell_area)

widget :

the widget the renderer is rendering to

cell_area :

The area a cell will be allocated, or None

Returns :

a tuple containing the xoffset, yoffset, width and height

The get_size() method obtains the width @@ -98,7 +98,7 @@ height, independent of the properties set.

gtk.CellRenderer.get_fixed_size

    def get_fixed_size()

Returns :

a tuple containing the width and height of the cell

The get_fixed_size() method retrieves a tuple containing the fixed width and -height of the cell.

Signals

The "editing-canceled" gtk.CellRenderer Signal

    def callback(cellrenderer, user_param1, ...)

cellrenderer :

the cellrenderer that received the +height of the cell.

Signals

The "editing-canceled" gtk.CellRenderer Signal

    def callback(cellrenderer, user_param1, ...)

cellrenderer :

the cellrenderer that received the signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkcellrendererpixbuf.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkcellrendererpixbuf.html --- pygtk-2.14.1/docs/html/class-gtkcellrendererpixbuf.html 2009-03-05 22:48:22.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkcellrendererpixbuf.html 2009-05-24 23:11:28.000000000 +0100 @@ -1,7 +1,7 @@ gtk.CellRendererPixbuf

gtk.CellRendererPixbuf

gtk.CellRendererPixbuf — an object that renders a pixbuf into a gtk.TreeView - cell

Synopsis

class gtk.CellRendererPixbuf(gtk.CellRenderer):
-    gtk.CellRendererPixbuf()

Ancestry

+-- gobject.GObject
+    cell

Synopsis

class gtk.CellRendererPixbuf(gtk.CellRenderer):
+    gtk.CellRendererPixbuf()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.CellRenderer
       +-- gtk.CellRendererPixbuf
@@ -12,7 +12,7 @@
           property is available in GTK+ 2.14 and above.
"icon-name"Read-WriteThe name of the themed icon to display. This property only has an effect if not overridden by "stock_id" or "pixbuf" properties. This property is available in GTK+ 2.8 and - above.
"pixbuf"Read/WriteThe pixbuf to render.
"pixbuf-expander-closed"Read/WritePixbuf for closed expander.
"pixbuf-expander-open"Read/WritePixbuf for open expander.
"stock-detail"Read/WriteRender detail to pass to the theme engine
"stock-id"Read/WriteThe stock ID of the stock icon to render
"stock-size"Read/WriteThe size of the rendered icon

gtk.CellRendererPixbuf Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.CellRenderer Signal Prototypes

Description

The gtk.CellRendererPixbuf + above.

"pixbuf"Read/WriteThe pixbuf to render.
"pixbuf-expander-closed"Read/WritePixbuf for closed expander.
"pixbuf-expander-open"Read/WritePixbuf for open expander.
"stock-detail"Read/WriteRender detail to pass to the theme engine
"stock-id"Read/WriteThe stock ID of the stock icon to render
"stock-size"Read/WriteThe size of the rendered icon

gtk.CellRendererPixbuf Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.CellRenderer Signal Prototypes

Description

The gtk.CellRendererPixbuf manages the rendering of a pixbuf into a gtk.TreeView cell.

Constructor

    gtk.CellRendererPixbuf()

Returns :

the new cell renderer

Creates a new gtk.CellRendererPixbuf. Rendering parameters are adjusted using the object properties. The object diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkcellrendererprogress.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkcellrendererprogress.html --- pygtk-2.14.1/docs/html/class-gtkcellrendererprogress.html 2009-03-05 22:48:22.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkcellrendererprogress.html 2009-05-24 23:11:28.000000000 +0100 @@ -1,6 +1,6 @@ gtk.CellRendererProgress

gtk.CellRendererProgress

gtk.CellRendererProgress — an object that renders numbers as progress bars in a gtk.TreeView - (new in PyGTK 2.6)

Synopsis

class gtk.CellRendererProgress(gtk.CellRenderer):
-    gtk.CellRendererProgress()

Ancestry

+-- gobject.GObject
+    (new in PyGTK 2.6)

Synopsis

class gtk.CellRendererProgress(gtk.CellRenderer):
+    gtk.CellRendererProgress()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.CellRenderer
       +-- gtk.CellRendererProgress
@@ -20,7 +20,7 @@
                         RTL layouts. Allowed values: [0,1]. Default value: 0.5. Available in GTK+ 2.12 and above.
"text-yalign"Read/WriteThe "text-yalign" property controls the vertical alignment of the text in the progress bar. Valid values range from 0 (top) to 1 (bottom). Allowed values: [0,1]. Default value: 0.5. Available in GTK+ 2.12 and above.
"value"Read/WriteThe percentage that the progress bar is "filled in". - Available in GTK+ 2.6 and above.

gtk.CellRendererProgress Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.CellRenderer Signal Prototypes

Description

Note

This object is available in PyGTK 2.6 and above.

The gtk.CellRendererProgress + Available in GTK+ 2.6 and above.

gtk.CellRendererProgress Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.CellRenderer Signal Prototypes

Description

Note

This object is available in PyGTK 2.6 and above.

The gtk.CellRendererProgress manages the rendering of a number as a progress bar in a gtk.TreeView cell.

Constructor

    gtk.CellRendererProgress()

Returns :

the new cell renderer

Note

This constructor is available in PyGTK 2.6 and above.

Creates a new gtk.CellRendererProgress. Rendering parameters are adjusted using the object properties. The object diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkcellrendererspin.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkcellrendererspin.html --- pygtk-2.14.1/docs/html/class-gtkcellrendererspin.html 2009-03-05 22:48:22.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkcellrendererspin.html 2009-05-24 23:11:28.000000000 +0100 @@ -1,6 +1,6 @@ gtk.CellRendererSpin

gtk.CellRendererSpin

gtk.CellRendererSpin — an object that renders a spin button in a cell (new in - PyGTK 2.10)

Synopsis

class gtk.CellRendererSpin(gtk.CellRendererText):
-    gtk.CellRendererSpin()

Ancestry

+-- gobject.GObject
+      PyGTK 2.10)

Synopsis

class gtk.CellRendererSpin(gtk.CellRendererText):
+    gtk.CellRendererSpin()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.CellRenderer
       +-- gtk.CellRendererText
@@ -12,7 +12,7 @@
 	      button. Range: [0.0,MAXDOUBLE]. Default value: 0.0. Available
 	      in GTK+ 2.10 and above.
"digits"Read-WriteThe number of decimal places to display. Range: [0,20]. Default value: 0. Available in GTK+ 2.10 and - above.

gtk.CellRendererSpin Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.CellRenderer Signal Prototypes

gtk.CellRendererText Signal Prototypes

Description

gtk.CellRendererSpin + above.

gtk.CellRendererSpin Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.CellRenderer Signal Prototypes

gtk.CellRendererText Signal Prototypes

Description

gtk.CellRendererSpin renders text in a cell like gtk.CellRendererText from which it is derived. But while gtk.CellRendererText offers a simple entry to edit the text, gtk.CellRendererSpin @@ -24,4 +24,4 @@ also has properties for the "climb-rate" and the number of "digits" to display. Other gtk.SpinButton properties can be set in a handler for the "gtk.CellRenderer.editing-started" - signal.

Constructor

gtk.CellRendererSpin

    gtk.CellRendererSpin()

Returns :

a new gtk.CellRendererSpin

Note

This constructor is available in PyGTK 2.10 and above.

Creates a new gtk.CellRendererSpin.

+ signal.

Constructor

gtk.CellRendererSpin

    gtk.CellRendererSpin()

Returns :

a new gtk.CellRendererSpin

Note

This constructor is available in PyGTK 2.10 and above.

Creates a new gtk.CellRendererSpin.

diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkcellrenderertext.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkcellrenderertext.html --- pygtk-2.14.1/docs/html/class-gtkcellrenderertext.html 2009-03-05 22:48:23.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkcellrenderertext.html 2009-05-24 23:11:29.000000000 +0100 @@ -1,6 +1,6 @@ gtk.CellRendererText

gtk.CellRendererText

gtk.CellRendererText — an object that renders text into a gtk.TreeView -cell

Synopsis

class gtk.CellRendererText(gtk.CellRenderer):
-    gtk.CellRendererText()
def set_fixed_height_from_font(number_of_rows)

Ancestry

+-- gobject.GObject
+cell

Synopsis

class gtk.CellRendererText(gtk.CellRenderer):
+    gtk.CellRendererText()
def set_fixed_height_from_font(number_of_rows)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.CellRenderer
       +-- gtk.CellRendererText
@@ -59,7 +59,7 @@
           "wrap-mode" property can be used to influence at what character
           positions the line breaks can be placed.  Setting "wrap-width" to
           -1 turns wrapping off.  This property is available in GTK+ 2.8 and
-          above.

gtk.CellRendererText Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.CellRenderer Signal Prototypes

"edited"

def callback(cellrenderertext, path, new_text, user_param1, ...)

Description

The gtk.CellRendererText + above.

gtk.CellRendererText Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.CellRenderer Signal Prototypes

"edited"

def callback(cellrenderertext, path, new_text, user_param1, ...)

Description

The gtk.CellRendererText manages the rendering of text into a gtk.TreeView cell, using the font, color and style information provided by its properties. The text will be ellipsized if it is too long and the @@ -70,7 +70,7 @@ you can bind a property to a value in a gtk.TreeModel. For example, you can bind the "text" property on the cell renderer to a string value in the model, thus rendering a different string in each row of -the gtk.TreeView.

Methods

gtk.CellRendererText.set_fixed_height_from_font

    def set_fixed_height_from_font(number_of_rows)

number_of_rows :

Number of rows of text each cell renderer is +the gtk.TreeView.

Methods

gtk.CellRendererText.set_fixed_height_from_font

    def set_fixed_height_from_font(number_of_rows)

number_of_rows :

Number of rows of text each cell renderer is allocated, or -1

The set_fixed_height_from_font() sets the height of a renderer to explicitly be determined by the "font" and "ypad" properties set on it. This method must be called each time these @@ -78,7 +78,7 @@ and should really only be used if calculating the size of a cell is too slow (i.e. a massive number of cells displayed). If number_of_rows is -1, then the fixed height is unset, -and the height is determined by the properties again.

Signals

The "edited" gtk.CellRendererText Signal

    def callback(cellrenderertext, path, new_text, user_param1, ...)

cellrenderertext :

the cellrenderertext that received the +and the height is determined by the properties again.

Signals

The "edited" gtk.CellRendererText Signal

    def callback(cellrenderertext, path, new_text, user_param1, ...)

cellrenderertext :

the cellrenderertext that received the "edited" signal

path :

the path string of the cellrenderertext

new_text :

the new text of the cellrenderertext

user_param1 :

the first user parameter (if any) specified diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkcellrenderertoggle.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkcellrenderertoggle.html --- pygtk-2.14.1/docs/html/class-gtkcellrenderertoggle.html 2009-03-05 22:48:23.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkcellrenderertoggle.html 2009-05-24 23:11:29.000000000 +0100 @@ -1,6 +1,6 @@ gtk.CellRendererToggle

gtk.CellRendererToggle

gtk.CellRendererToggle — an object that renders a toggle button into a TreeView -cell

Synopsis

class gtk.CellRendererToggle(gtk.CellRenderer):
-    gtk.CellRendererToggle()
def get_radio()
def set_radio(radio)
def get_active()
def set_active(setting)

Ancestry

+-- gobject.GObject
+cell

Synopsis

class gtk.CellRendererToggle(gtk.CellRenderer):
+    gtk.CellRendererToggle()
def get_radio()
def set_radio(radio)
def get_active()
def set_active(setting)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.CellRenderer
       +-- gtk.CellRendererToggle
@@ -8,7 +8,7 @@
 	activated
"active"Read/WriteIf True, the button is active.
"inconsistent"Read/WriteIf True, the button is in an inconsistent state. GTK+ 2.2 and above.
"indicator-size"Read-WriteSize of check or radio indicator. Allowed values: >= 0. Default value: 12.
"radio"Read/WriteIf True, draw the toggle button as a - radio button

gtk.CellRendererToggle Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.CellRenderer Signal Prototypes

"toggled"

def callback(cellrenderertoggle, path, user_param1, ...)

Description

The gtk.CellRendererToggle + radio button

gtk.CellRendererToggle Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.CellRenderer Signal Prototypes

"toggled"

def callback(cellrenderertoggle, path, user_param1, ...)

Description

The gtk.CellRendererToggle manages the rendering of toggle button into a gtk.TreeView cell. The button is drawn as a radio- or checkbutton, depending on the "radio" property. When activated, it emits the toggled signal.

Constructor

    gtk.CellRendererToggle()

Returns :

the new cell renderer

Creates a new gtk.CellRendererToggle. @@ -18,7 +18,7 @@ you can bind a property to a value in a gtk.TreeModel. For example, you can bind the "active" property on the cell renderer to a boolean value in the model, thus causing the check button to reflect the -state of the model.

Methods

gtk.CellRendererToggle.get_radio

    def get_radio()

Returns :

True if we're rendering +state of the model.

Methods

gtk.CellRendererToggle.get_radio

    def get_radio()

Returns :

True if we're rendering radio toggles rather than checkboxes

The get_radio() method returns True if radio toggles rather than checkboxes are being rendered.

gtk.CellRendererToggle.set_radio

    def set_radio(radio)

radio :

If True make the toggle look @@ -35,7 +35,7 @@ True if the cell renderer is active. See gtk.CellRendererToggle.set_active().

gtk.CellRendererToggle.set_active

    def set_active(setting)

setting :

the value to set.

The set_active() method activates a cell renderer if setting is True and or deactivates a cell renderer if setting is -False.

Signals

The "toggled" gtk.CellRendererToggle Signal

    def callback(cellrenderertoggle, path, user_param1, ...)

cellrenderertoggle :

the cellrenderertoggle that received the +False.

Signals

The "toggled" gtk.CellRendererToggle Signal

    def callback(cellrenderertoggle, path, user_param1, ...)

cellrenderertoggle :

the cellrenderertoggle that received the "toggled" signal

path :

the path of the cellrenderertoggle represented as a string

user_param1 :

the first user parameter (if any) specified with the connect() diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkcellview.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkcellview.html --- pygtk-2.14.1/docs/html/class-gtkcellview.html 2009-03-05 22:48:23.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkcellview.html 2009-05-24 23:11:30.000000000 +0100 @@ -1,13 +1,13 @@ gtk.CellView

gtk.CellView

gtk.CellView — a widget displaying a single row of a gtk.TreeModel -(new in PyGTK 2.6).

Synopsis

class gtk.CellView(gtk.Widget, gtk.CellLayout):
+(new in PyGTK 2.6).

Synopsis

class gtk.CellView(gtk.Widget, gtk.CellLayout):
     gtk.CellView()
def set_model(model)
def set_displayed_row(path)
def get_displayed_row()
def get_size_of_row(path, requisition)
def set_background_color(color)
def get_cell_renderers()
 Functions
 
-    def gtk.cell_view_new_with_text(text)
def gtk.cell_view_new_with_markup(markup)
def gtk.cell_view_new_with_pixbuf(pixbuf)

Ancestry

+-- gobject.GObject
+    def gtk.cell_view_new_with_text(text)
def gtk.cell_view_new_with_markup(markup)
def gtk.cell_view_new_with_pixbuf(pixbuf)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.CellView
-

Implemented Interfaces

+

Implemented Interfaces

gtk.CellView implements gtk.Buildable @@ -15,12 +15,12 @@

gtk.CellView Properties

gtk.Object Properties

gtk.Widget Properties

"background"WriteThe background color as a string. Default value: None
"background-gdk"Read-WriteThe background color as a gtk.gdk.Color.
"background-set"Read-WriteIf True, use the "background-gdk" property to set the background color.
"model"Read-WriteThe model for cell view. Available in GTK+ 2.10 and - above.

gtk.CellView Style Properties

gtk.Widget Style Properties

gtk.CellView Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

Description

Note

This widget is available in PyGTK 2.6 and above.

The gtk.CellView is a + above.

gtk.CellView Style Properties

gtk.Widget Style Properties

gtk.CellView Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

Description

Note

This widget is available in PyGTK 2.6 and above.

The gtk.CellView is a widget that displays one row of a gtk.TreeModel. gtk.CellView implements the gtk.CellLayout interface that provides for the addition and management of gtk.CellRenderer objects.

Constructor

    gtk.CellView()

Returns :

a new gtk.CellView

Note

This constructor is available in PyGTK 2.6 and above.

Creates a new gtk.CellView -widget.

Methods

gtk.CellView.set_model

    def set_model(model)

model :

a gtk.TreeModel or None

Note

This method is available in PyGTK 2.6 and above.

The set_model() method sets the gtk.TreeModel +widget.

Methods

gtk.CellView.set_model

    def set_model(model)

model :

a gtk.TreeModel or None

Note

This method is available in PyGTK 2.6 and above.

The set_model() method sets the gtk.TreeModel used by the cell view to that specified by model. If model is None the cell view's model will be unset.

gtk.CellView.set_displayed_row

    def set_displayed_row(path)

path :

a tree path or None to unset @@ -42,7 +42,7 @@ specified by color.

gtk.CellView.get_cell_renderers

    def get_cell_renderers()

Returns :

a list of the gtk.CellRenderer objects of the cell view.

Note

This method is available in PyGTK 2.6 and above.

The get_cell_renderers() method returns a list containing the gtk.CellRenderer -objects used by the cell view.

Functions

gtk.cell_view_new_with_text

    def gtk.cell_view_new_with_text(text)

text :

a string

Returns :

a new gtk.CellView

Note

This function is available in PyGTK 2.6 and above.

The gtk.cell_view_new_with_text() function +objects used by the cell view.

Functions

gtk.cell_view_new_with_text

    def gtk.cell_view_new_with_text(text)

text :

a string

Returns :

a new gtk.CellView

Note

This function is available in PyGTK 2.6 and above.

The gtk.cell_view_new_with_text() function creates a new gtk.CellView with a gtk.CellRendererText displaying the string specified by text.

gtk.cell_view_new_with_markup

    def gtk.cell_view_new_with_markup(markup)

markup :

a string containing Pango markup to be diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkcheckbutton.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkcheckbutton.html --- pygtk-2.14.1/docs/html/class-gtkcheckbutton.html 2009-03-05 22:48:24.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkcheckbutton.html 2009-05-24 23:11:30.000000000 +0100 @@ -1,6 +1,6 @@ gtk.CheckButton

gtk.CheckButton

gtk.CheckButton — a toggle button widget styled as a checkbox and label -

Synopsis

class gtk.CheckButton(gtk.ToggleButton):
-    gtk.CheckButton(label=None, use_underline=True)

Ancestry

+

Synopsis

class gtk.CheckButton(gtk.ToggleButton):
+    gtk.CheckButton(label=None, use_underline=True)

Ancestry

 +-- gobject.GObject
    +-- gtk.Object
       +-- gtk.Widget
@@ -9,11 +9,11 @@
                +-- gtk.Button
                   +-- gtk.ToggleButton
                      +-- gtk.CheckButton
-

Implemented Interfaces

+

Implemented Interfaces

gtk.CheckButton implements gtk.Buildable -

gtk.CheckButton Style Properties

gtk.Widget Style Properties

gtk.Button Style Properties

"indicator-size"Read/WriteThe size of the check or radio indicator
"indicator-spacing"Read/WriteThe spacing around the check or radio indicator

Description

A gtk.CheckButton +

gtk.CheckButton Style Properties

gtk.Widget Style Properties

gtk.Button Style Properties

"indicator-size"Read/WriteThe size of the check or radio indicator
"indicator-spacing"Read/WriteThe spacing around the check or radio indicator

Description

A gtk.CheckButton places a discrete gtk.ToggleButton next to a widget, (usually a gtk.Label). See the section on gtk.ToggleButton diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkcheckmenuitem.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkcheckmenuitem.html --- pygtk-2.14.1/docs/html/class-gtkcheckmenuitem.html 2009-03-05 22:48:24.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkcheckmenuitem.html 2009-05-24 23:11:30.000000000 +0100 @@ -1,5 +1,5 @@ -gtk.CheckMenuItem

gtk.CheckMenuItem

gtk.CheckMenuItem — a menu item with a check box.

Synopsis

class gtk.CheckMenuItem(gtk.MenuItem):
-    gtk.CheckMenuItem(label=None, use_underline=True)
def set_active(is_active)
def get_active()
def toggled()
def set_inconsistent(setting)
def get_inconsistent()
def set_draw_as_radio(draw_as_radio)
def get_draw_as_radio()

Ancestry

+-- gobject.GObject
+gtk.CheckMenuItem

gtk.CheckMenuItem

gtk.CheckMenuItem — a menu item with a check box.

Synopsis

class gtk.CheckMenuItem(gtk.MenuItem):
+    gtk.CheckMenuItem(label=None, use_underline=True)
def set_active(is_active)
def get_active()
def toggled()
def set_inconsistent(setting)
def get_inconsistent()
def set_draw_as_radio(draw_as_radio)
def get_draw_as_radio()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
@@ -7,14 +7,14 @@
           +-- gtk.Item
             +-- gtk.MenuItem
               +-- gtk.CheckMenuItem
-

Implemented Interfaces

+

Implemented Interfaces

gtk.CheckMenuItem implements gtk.Buildable

gtk.CheckMenuItem Properties

gtk.Object Properties

gtk.Widget Properties

gtk.Container Properties

"active"Read/WriteIf True, the menu item is checked.
"inconsistent"Read/WriteIf True, display an "inconsistent" state.
"draw-as-radio"Read/WriteIf True, display like a radio menu item. -GTK+ 2.4 and above.

gtk.CheckMenuItem Style Properties

gtk.Widget Style Properties

gtk.MenuItem Style Properties

"indicator-size"ReadThe size of the check or radio indicator.

Attributes

"active"ReadIf True, the menu item is -checked.

gtk.CheckMenuItem Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

gtk.Item Signal Prototypes

gtk.MenuItem Signal Prototypes

"toggled"

def callback(checkmenuitem, user_param1, ...)

Description

A gtk.CheckMenuItem +GTK+ 2.4 and above.

gtk.CheckMenuItem Style Properties

gtk.Widget Style Properties

gtk.MenuItem Style Properties

"indicator-size"ReadThe size of the check or radio indicator.

Attributes

"active"ReadIf True, the menu item is +checked.

gtk.CheckMenuItem Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

gtk.Item Signal Prototypes

gtk.MenuItem Signal Prototypes

"toggled"

def callback(checkmenuitem, user_param1, ...)

Description

A gtk.CheckMenuItem is a menu item that maintains the state of a boolean value in addition to a gtk.MenuItem's usual role in activating application code. A check box indicating the state @@ -33,7 +33,7 @@ accelerator.

In PyGTK 2.4 and above the use_underline parameter is available and defaults to True. If use_underline is set to False the -label text will not be parsed for mnemonic characters.

Methods

gtk.CheckMenuItem.set_active

    def set_active(is_active)

is_active :

If True set the check box +label text will not be parsed for mnemonic characters.

Methods

gtk.CheckMenuItem.set_active

    def set_active(is_active)

is_active :

If True set the check box active

The set_active() method sets the active state of the menu item's check box according to the value of is_active.

gtk.CheckMenuItem.get_active

    def get_active()

Returns :

True if the menu item is @@ -60,7 +60,7 @@ menu item is displayed as normal.

gtk.CheckMenuItem.get_draw_as_radio

    def get_draw_as_radio()

Returns :

True if the checkmenuitem should be displayed like a radio menu item.

Note

This method is available in PyGTK 2.4 and above.

The get_draw_as_radio() method retrieves the value set by the set_draw_as_radio() -method.

Signals

The "toggled" gtk.CheckMenuItem Signal

    def callback(checkmenuitem, user_param1, ...)

checkmenuitem :

the checkmenuitem that received the +method.

Signals

The "toggled" gtk.CheckMenuItem Signal

    def callback(checkmenuitem, user_param1, ...)

checkmenuitem :

the checkmenuitem that received the signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkclipboard.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkclipboard.html --- pygtk-2.14.1/docs/html/class-gtkclipboard.html 2009-03-05 22:48:25.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkclipboard.html 2009-05-24 23:11:31.000000000 +0100 @@ -1,11 +1,11 @@ gtk.Clipboard

gtk.Clipboard

gtk.Clipboard — an object to store data to - and retrieve data from (new in PyGTK 2.2)

Synopsis

class gtk.Clipboard(gobject.GObject):
+    and retrieve data from (new in PyGTK 2.2)

Synopsis

class gtk.Clipboard(gobject.GObject):
     gtk.Clipboard(display=gtk.gdk.display_get_default(), selection="CLIPBOARD")
def get_display()
def set_with_data(targets, get_func, clear_func, user_data)
def get_owner()
def clear()
def set_text(text, len=-1)
def request_contents(target, callback, user_data=None)
def request_text(callback, user_data=None)
def request_targets(callback, user_data=None)
def wait_for_contents(target)
def wait_for_text()
def wait_is_text_available()
def wait_for_targets()
def wait_is_target_available(target)
def set_can_store(targets)
def store()
def request_image(callback, user_data=None)
def wait_for_image()
def set_image(pixbuf)
def wait_is_image_available()
def request_rich_text(buffer, callback, user_data=None)
def wait_for_rich_text(buffer)
def wait_is_rich_text_available(buffer)
def wait_is_uris_available()
 Functions
 
-    def gtk.clipboard_get(selection="CLIPBOARD")

Ancestry

+-- gobject.GObject
+    def gtk.clipboard_get(selection="CLIPBOARD")

Ancestry

+-- gobject.GObject
   +-- gtk.Clipboard
-

gtk.Clipboard Signal Prototypes

gobject.GObject Signal Prototypes

"owner-change

def callback(clipboard, event, user_param1, ...)

Description

Note

This object is available in PyGTK 2.2 and above.

The gtk.Clipboard +

gtk.Clipboard Signal Prototypes

gobject.GObject Signal Prototypes

"owner-change

def callback(clipboard, event, user_param1, ...)

Description

Note

This object is available in PyGTK 2.2 and above.

The gtk.Clipboard object represents a clipboard of data shared between different processes or between different widgets in the same process. Each clipboard is identified by a name encoded as a gtk.gdk.Atom. The @@ -58,7 +58,7 @@ argument is optional and defaults to the default display returned from the gtk.gdk.display_get_default() function.

In PyGTK 2.4 and above, the selection -argument is optional and defaults to "CLIPBOARD".

Methods

gtk.Clipboard.get_display

    def get_display()

Returns :

the gtk.gdk.Display +argument is optional and defaults to "CLIPBOARD".

Methods

gtk.Clipboard.get_display

    def get_display()

Returns :

the gtk.gdk.Display associated with the clipboard

Note

This method is available in PyGTK 2.2 and above.

The get_display() method returns the gtk.gdk.Display associated with the clipboard.

gtk.Clipboard.set_with_data

    def set_with_data(targets, get_func, clear_func, user_data)

targets :

a list of 3-tuples containing information about @@ -283,7 +283,7 @@ is done by requesting the TARGETS atom and checking if it contains the URI targets. This function waits for the data to be received using the main loop, so events, timeouts, etc, may be dispatched during the wait. -

Functions

gtk.clipboard_get

    def gtk.clipboard_get(selection="CLIPBOARD")

selection :

a string specifying a gtk.Clipboard. If +

Functions

gtk.clipboard_get

    def gtk.clipboard_get(selection="CLIPBOARD")

selection :

a string specifying a gtk.Clipboard. If not specified it defaults to "CLIPBOARD".

Returns :

the appropriate clipboard object or if no clipboard already exists, a new one will be created. Once a clipboard object has been created, it is persistent for all time and @@ -291,7 +291,7 @@ the gtk.Clipboard specified by selection for the default gtk.gdk.Display. See the gtk.Clipboard -constructor for more information.

Signals

The "owner-change" gtk.Clipboard Signal

    def callback(clipboard, event, user_param1, ...)

clipboard :

the object that received the signal.

event :

the event marking the ownership +constructor for more information.

Signals

The "owner-change" gtk.Clipboard Signal

    def callback(clipboard, event, user_param1, ...)

clipboard :

the object that received the signal.

event :

the event marking the ownership change.

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if any)

Note

This signal is available in GTK+ 2.8 and above.

The "owner-changed" signal is emitted when the owner of the diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkcolorbutton.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkcolorbutton.html --- pygtk-2.14.1/docs/html/class-gtkcolorbutton.html 2009-03-05 22:48:25.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkcolorbutton.html 2009-05-24 23:11:31.000000000 +0100 @@ -1,13 +1,13 @@ gtk.ColorButton

gtk.ColorButton

gtk.ColorButton — a button to launch a - color selection dialog (new in PyGTK 2.4)

Synopsis

class gtk.ColorButton(gtk.Button):
-    gtk.ColorButton(color=gtk.gdk.Color(0,0,0))
def set_color(color)
def get_color()
def set_alpha(alpha)
def get_alpha()
def set_use_alpha(use_alpha)
def get_use_alpha()
def set_title(title)
def get_title()

Ancestry

+-- gobject.GObject
+    color selection dialog (new in PyGTK 2.4)

Synopsis

class gtk.ColorButton(gtk.Button):
+    gtk.ColorButton(color=gtk.gdk.Color(0,0,0))
def set_color(color)
def get_color()
def set_alpha(alpha)
def get_alpha()
def set_use_alpha(use_alpha)
def get_use_alpha()
def set_title(title)
def get_title()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Bin
           +-- gtk.Button
             +-- gtk.ColorButton
-

Implemented Interfaces

+

Implemented Interfaces

gtk.ColorButton implements gtk.Buildable @@ -16,7 +16,7 @@ GTK+ 2.4 and above.

"use-alpha"Read-WriteIf True, the color swatch on the button is rendered against a checkerboard background to show its opacity and the opacity slider is displayed in the color - selection dialog. Available in GTK+ 2.4 and above.

gtk.ColorButton Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

gtk.Button Signal Prototypes

"color-set"

def callback(colorbutton, user_param1, ...)

Description

The gtk.ColorButton + selection dialog. Available in GTK+ 2.4 and above.

gtk.ColorButton Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

gtk.Button Signal Prototypes

"color-set"

def callback(colorbutton, user_param1, ...)

Description

The gtk.ColorButton is a button that displays the currently selected color and, when clicked, opens a gtk.ColorSelectionDialog to change the color. It's a suitable widget for selecting a color in a @@ -27,7 +27,7 @@ swatch representing the current selected color. When the button is clicked, a gtk.ColorSelectionDialog will open, allowing the user to select a color. The swatch will be updated -to reflect the new color the user selects.

Methods

gtk.ColorButton.set_color

    def set_color(color)

color :

A gtk.gdk.Color to set the current color with.

Note

This method is available in PyGTK 2.4 and above.

The set_color() method sets the current +to reflect the new color the user selects.

Methods

gtk.ColorButton.set_color

    def set_color(color)

color :

A gtk.gdk.Color to set the current color with.

Note

This method is available in PyGTK 2.4 and above.

The set_color() method sets the current color (and the "color" property) to the color specified by the gtk.gdk.Color color.

gtk.ColorButton.get_color

    def get_color()

Returns :

a gtk.gdk.Color specifying the current color.

Note

This method is available in PyGTK 2.4 and above.

The get_color() method returns the @@ -52,7 +52,7 @@ for the color selection dialog to the string contained in title. The "title" property is also set.

gtk.ColorButton.get_title

    def get_title()

Returns :

the title of the gtk.ColorSelectionDialog

Note

This method is available in PyGTK 2.4 and above.

The get_title() method returns the value of the "title" property that contains the title of the color - selection dialog.

Signals

The "color-set" gtk.ColorButton Signal

    def callback(colorbutton, user_param1, ...)

colorbutton :

the colorbutton that received the + selection dialog.

Signals

The "color-set" gtk.ColorButton Signal

    def callback(colorbutton, user_param1, ...)

colorbutton :

the colorbutton that received the signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkcolorselectiondialog.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkcolorselectiondialog.html --- pygtk-2.14.1/docs/html/class-gtkcolorselectiondialog.html 2009-03-05 22:48:26.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkcolorselectiondialog.html 2009-05-24 23:11:32.000000000 +0100 @@ -1,5 +1,5 @@ -gtk.ColorSelectionDialog

gtk.ColorSelectionDialog

gtk.ColorSelectionDialog — a standard dialog for selecting a color.

Synopsis

class gtk.ColorSelectionDialog(gtk.Dialog):
-    gtk.ColorSelectionDialog(title)
def get_color_selection()

Ancestry

+-- gobject.GObject
+gtk.ColorSelectionDialog

gtk.ColorSelectionDialog

gtk.ColorSelectionDialog — a standard dialog for selecting a color.

Synopsis

class gtk.ColorSelectionDialog(gtk.Dialog):
+    gtk.ColorSelectionDialog(title)
def get_color_selection()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
@@ -7,12 +7,12 @@
           +-- gtk.Window
             +-- gtk.Dialog
               +-- gtk.ColorSelectionDialog
-

Implemented Interfaces

+

Implemented Interfaces

gtk.ColorSelectionDialog implements gtk.Buildable -

gtk.ColorSelectionDialog Style Properties

gtk.Widget Style Properties

gtk.Dialog Style Properties

Attributes

"colorsel"ReadThe gtk.ColorSelection -widget contained in the dialog.
"ok_button"ReadThe "OK" button contained in the dialog.
"cancel_button"ReadThe "Cancel" button contained in the dialog.
"help_button"ReadThe "Help" button contained in the dialog.

Description

The gtk.ColorSelectionDialog +

gtk.ColorSelectionDialog Style Properties

gtk.Widget Style Properties

gtk.Dialog Style Properties

Attributes

"colorsel"ReadThe gtk.ColorSelection +widget contained in the dialog.
"ok_button"ReadThe "OK" button contained in the dialog.
"cancel_button"ReadThe "Cancel" button contained in the dialog.
"help_button"ReadThe "Help" button contained in the dialog.

Description

The gtk.ColorSelectionDialog provides a standard dialog that allows a user to select a color. The gtk.ColorSelectionDialog uses an embedded gtk.ColorSelection to provide color selection capability.

Use the attributes (ok_button, cancel_button and help_button) of @@ -24,7 +24,7 @@ method.

Constructor

    gtk.ColorSelectionDialog(title)

title :

a string to be used as the dialog title.

Returns :

a new colorselectiondialog

Creates a new gtk.ColorSelectionDialog using the string contained in title as the text for -the dialog title.

Methods

gtk.Frame.get_color_selection

    def get_color_selection()

Returns :

the embedded +the dialog title.

Methods

gtk.Frame.get_color_selection

    def get_color_selection()

Returns :

the embedded gtk.ColorSelection.

Note

This method is available in PyGTK 2.14 and above.

The get_color_selection() method retrieves the gtk.ColorSelection diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkcolorselection.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkcolorselection.html --- pygtk-2.14.1/docs/html/class-gtkcolorselection.html 2009-03-05 22:48:26.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkcolorselection.html 2009-05-24 23:11:32.000000000 +0100 @@ -1,21 +1,21 @@ -gtk.ColorSelection

gtk.ColorSelection

gtk.ColorSelection — a widget used to select a color.

Synopsis

class gtk.ColorSelection(gtk.VBox):
+gtk.ColorSelection

gtk.ColorSelection

gtk.ColorSelection — a widget used to select a color.

Ancestry

+-- gobject.GObject
+    def gtk.color_selection_palette_from_string(str)
def gtk.color_selection_palette_to_string(colors)

Ancestry

+-- gobject.GObject
   +--gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Box
           +-- gtk.VBox
             +-- gtk.ColorSelection
-

Implemented Interfaces

+

Implemented Interfaces

gtk.ColorSelection implements gtk.Buildable

gtk.ColorSelection Properties

gtk.Object Properties

gtk.Widget Properties

gtk.Container Properties

gtk.Box Properties

"current-alpha"Read/WriteThe current opacity value (0 fully transparent, 65535 fully opaque)
"current-color"Read/WriteThe current color as a gtk.gdk.Color
"has-opacity-control"Read/WriteIf True, the color selector should allow - setting opacity
"has-palette"Read/WriteIf True, a palette should be used

gtk.ColorSelection Style Properties

gtk.Widget Style Properties

gtk.ColorSelection Child Properties

gtk.Box Child Properties

gtk.ColorSelection Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

"color-changed"

def callback(colorselection, user_param1, ...)

Description

The gtk.ColorSelection + setting opacity

"has-palette"Read/WriteIf True, a palette should be used

gtk.ColorSelection Style Properties

gtk.Widget Style Properties

gtk.ColorSelection Child Properties

gtk.Box Child Properties

gtk.ColorSelection Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

"color-changed"

def callback(colorselection, user_param1, ...)

Description

The gtk.ColorSelection is a widget that is used to select a color. It consists of a color wheel and entry boxes for color parameters such as hue, saturation, value, red, green, blue, and color name and optionally an opacity control and/or a color @@ -24,7 +24,7 @@ made in the entry boxes. The new color is displayed next to the previous color. An eyedropper button is available to allow the selection of a color from a pixel location on the display.

Constructor

    gtk.ColorSelection()

Returns :

a new gtk.ColorSelection

Creates a new gtk.ColorSelection -widget.

Methods

gtk.ColorSelection.get_has_opacity_control

    def get_has_opacity_control()

Returns :

True if the +widget.

Methods

gtk.ColorSelection.get_has_opacity_control

    def get_has_opacity_control()

Returns :

True if the colorsel has an opacity control; False if it doesn't.

The get_opacity() method determines whether the colorselection is displaying an opacity control.

gtk.ColorSelection.set_has_opacity_control

    def set_has_opacity_control(has_opacity)

has_opacity :

If True the colorselection @@ -69,7 +69,7 @@ currently dragging a color around, and False if the selection has stopped.

The is_adjusting() method retrieves the current state of the colorselection. If True the user is in the process of -changing the current color.

Functions

gtk.color_selection_palette_from_string

    def gtk.color_selection_palette_from_string(str)

str :

the string containing the list of +changing the current color.

Functions

gtk.color_selection_palette_from_string

    def gtk.color_selection_palette_from_string(str)

str :

the string containing the list of colors

Returns :

a list of gtk.gdk.Color objects or None if the conversion fails

The gtk.color_selection_palette_from_string() function @@ -88,7 +88,7 @@ as a string that can later be used by calling the gobject.set_property() method to set the "gtk-color-palette" property on the default gtk.Settings returned from the gtk.settings_get_default()) -function.

Signals

The "color-changed" gtk.ColorSelection Signal

    def callback(colorselection, user_param1, ...)

colorselection :

the colorselection that received the +function.

Signals

The "color-changed" gtk.ColorSelection Signal

    def callback(colorselection, user_param1, ...)

colorselection :

the colorselection that received the signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkcomboboxentry.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkcomboboxentry.html --- pygtk-2.14.1/docs/html/class-gtkcomboboxentry.html 2009-03-05 22:48:28.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkcomboboxentry.html 2009-05-24 23:11:34.000000000 +0100 @@ -1,22 +1,22 @@ gtk.ComboBoxEntry

gtk.ComboBoxEntry

gtk.ComboBoxEntry — a text entry field with - a dropdown list (new in PyGTK 2.4)

Synopsis

class gtk.ComboBoxEntry(gtk.ComboBox, gtk.CellLayout):
+    a dropdown list (new in PyGTK 2.4)

Synopsis

class gtk.ComboBoxEntry(gtk.ComboBox, gtk.CellLayout):
     gtk.ComboBoxEntry(model=None, column=-1)
def set_text_column(text_column)
def get_text_column()
 Functions
 
-    def gtk.combo_box_entry_new_text()

Ancestry

+-- gobject.GObject
+    def gtk.combo_box_entry_new_text()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Bin
           +-- gtk.ComboBox
             +-- gtk.ComboBoxEntry
-

Implemented Interfaces

+

Implemented Interfaces

gtk.ComboBoxEntry implements gtk.Buildable gtk.CellLayout

gtk.ComboBoxEntry Properties

gtk.Object Properties

gtk.Widget Properties

gtk.Container Properties

gtk.ComboBox Properties

"text-column"Read-WriteThe column in the gtk.TreeModel - to get the strings from.

Description

Note

This widget is available in GTK+ 2.4 and PyGTK 2.4 and + to get the strings from.

Description

Note

This widget is available in GTK+ 2.4 and PyGTK 2.4 and above.

The gtk.ComboBoxEntry is a replacement for the gtk.Combo. The gtk.ComboBoxEntry is subclassed from gtk.ComboBox and @@ -66,7 +66,7 @@ set_text_column() method it cannot be changed. A ValueError exception is thrown if column is outside the range of column numbers for -model.

Methods

gtk.ComboBoxEntry.set_text_column

    def set_text_column(text_column)

text_column :

A column in the associated gtk.TreeModel +model.

Methods

gtk.ComboBoxEntry.set_text_column

    def set_text_column(text_column)

text_column :

A column in the associated gtk.TreeModel to use as the data source for the strings.

Note

This method is available in PyGTK 2.4 and above.

The set_text_column() method sets the "text-column" property to the value of tree_column only if the text column has not been set (that is, "text-column" is -1). The @@ -78,7 +78,7 @@ entry.

Note

This method is available in PyGTK 2.4 and above.

The get_text_column() method returns the number of the gtk.TreeModel column that is used as the data source for the strings of the combo box -entry.

Functions

gtk.combo_box_entry_new_text

    def gtk.combo_box_entry_new_text()

Returns :

A new gtk.ComboBoxEntry +entry.

Functions

gtk.combo_box_entry_new_text

    def gtk.combo_box_entry_new_text()

Returns :

A new gtk.ComboBoxEntry widget.

Note

This function is available in PyGTK 2.4 and above.

The gtk.combo_box_entry_new_text() function is a convenience function which constructs a new gtk.ComboBoxEntry, just displaying strings. If you use this function to create a combo box diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkcombobox.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkcombobox.html --- pygtk-2.14.1/docs/html/class-gtkcombobox.html 2009-03-05 22:48:28.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkcombobox.html 2009-05-24 23:11:34.000000000 +0100 @@ -1,15 +1,15 @@ gtk.ComboBox

gtk.ComboBox

gtk.ComboBox — a widget used to choose from - a list of items (new in PyGTK 2.4)

Synopsis

class gtk.ComboBox(gtk.Bin, gtk.CellLayout):
+    a list of items (new in PyGTK 2.4)

Synopsis

class gtk.ComboBox(gtk.Bin, gtk.CellLayout):
     gtk.ComboBox(model=None)
def get_wrap_width()
def set_wrap_width(width)
def get_row_span_column()
def set_row_span_column(row_span)
def get_column_span_column()
def set_column_span_column(column_span)
def get_button_sensitivity()
def set_button_sensitivity(sensitivity)
def get_active()
def set_active(index)
def get_active_iter()
def set_active_iter(iter)
def set_model(model=None)
def get_model()
def append_text(text)
def insert_text(position, text)
def prepend_text(text)
def remove_text(position)
def get_active_text()
def popup()
def popdown()
def get_popup_accessible()
def set_row_separator_func(func=None, data=None)
def get_add_tearoffs()
def set_add_tearoffs(add_tearoffs)
def get_focus_on_click()
def set_focus_on_click(focus_on_click)
def get_title()
def set_title(title)
 Functions
 
-    def gtk.combo_box_new_text()

Ancestry

+-- gobject.GObject
+    def gtk.combo_box_new_text()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Bin
           +-- gtk.ComboBox
-

Implemented Interfaces

+

Implemented Interfaces

gtk.ComboBox implements gtk.Buildable @@ -49,7 +49,7 @@ Allowed values: >= 0. Default value: 15. Available in GTK+ 2.12 and above.

"shadow-type"Read-WriteWhich kind of shadow to draw around the combo box. Default value: gtk.SHADOW_NONE. - This property is available in GTK+ 2.12 and above.

gtk.ComboBox Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

gtk.CellEditable Signal Prototypes

"changed"

def callback(combobox, user_param1, ...)

"move-active"

def callback(combobox, scroll_type, user_param1, ...)

"popdown"

def callback(combobox, user_param1, ...)

"popup"

def callback(combobox, user_param1, ...)

Description

Note

This widget is available in GTK+ 2.4 and PyGTK 2.4 and above.

The gtk.ComboBox + This property is available in GTK+ 2.12 and above.

gtk.ComboBox Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

gtk.CellEditable Signal Prototypes

"changed"

def callback(combobox, user_param1, ...)

"move-active"

def callback(combobox, scroll_type, user_param1, ...)

"popdown"

def callback(combobox, user_param1, ...)

"popup"

def callback(combobox, user_param1, ...)

Description

Note

This widget is available in GTK+ 2.4 and PyGTK 2.4 and above.

The gtk.ComboBox is a replacement for the gtk.OptionMenu. The gtk.ComboBox implements the gtk.CellLayout @@ -81,7 +81,7 @@ associated with the optional gtk.TreeModel specified by model. If model is not specified the combo box will not - have an associated tree model.

Methods

gtk.ComboBox.get_wrap_width

    def get_wrap_width()

Returns :

The wrap width.

Note

This method is available in PyGTK 2.6 and above.

The get_wrap_width() method returns the + have an associated tree model.

Methods

gtk.ComboBox.get_wrap_width

    def get_wrap_width()

Returns :

The wrap width.

Note

This method is available in PyGTK 2.6 and above.

The get_wrap_width() method returns the value of the "wrap-width" property of the combo box as set by the set_wrap_width() method. The wrap width is basically the preferred number of columns to use to lay out the popup i.e. lays out the popup items in a table with @@ -225,7 +225,7 @@ mode.

Note

This method is available in PyGTK 2.10 and above.

The set_title() method sets the "tearoff-title" property to the value of title. The "tearoff-title" property contains - the menu's title in tearoff mode.

Functions

gtk.combo_box_new_text

    def gtk.combo_box_new_text()

Returns :

A new gtk.ComboBox + the menu's title in tearoff mode.

Functions

gtk.combo_box_new_text

    def gtk.combo_box_new_text()

Returns :

A new gtk.ComboBox for text items.

Note

This function is available in PyGTK 2.4 and above.

The gtk.combo_box_new_text() function is a convenience function that constructs a new text combo box, which is a gtk.ComboBox just displaying strings. If you use this function to create a text combo box, you @@ -233,7 +233,7 @@ methods: append_text(), insert_text(), prepend_text() -and remove_text().

Signals

The "changed" gtk.ComboBox Signal

    def callback(combobox, user_param1, ...)

combobox :

the combo box that received the +and remove_text().

Signals

The "changed" gtk.ComboBox Signal

    def callback(combobox, user_param1, ...)

combobox :

the combo box that received the signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkcombo.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkcombo.html --- pygtk-2.14.1/docs/html/class-gtkcombo.html 2009-03-05 22:48:26.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkcombo.html 2009-05-24 23:11:32.000000000 +0100 @@ -1,12 +1,12 @@ -gtk.Combo

gtk.Combo

gtk.Combo — a text entry field with a dropdown list.

Synopsis

class gtk.Combo(gtk.HBox):
-    gtk.Combo()
def set_value_in_list(val, ok_if_empty)
def set_use_arrows(val)
def set_use_arrows_always(val)
def set_case_sensitive(val)
def set_item_string(item, item_value)
def set_popdown_strings(strings)
def disable_activate()

Ancestry

+-- gobject.GObject
+gtk.Combo

gtk.Combo

gtk.Combo — a text entry field with a dropdown list.

Synopsis

class gtk.Combo(gtk.HBox):
+    gtk.Combo()
def set_value_in_list(val, ok_if_empty)
def set_use_arrows(val)
def set_use_arrows_always(val)
def set_case_sensitive(val)
def set_item_string(item, item_value)
def set_popdown_strings(strings)
def disable_activate()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Box
           +-- gtk.HBox
             +-- gtk.Combo
-

Implemented Interfaces

+

Implemented Interfaces

gtk.Combo implements gtk.Buildable @@ -15,7 +15,7 @@ sensitive

"enable-arrow-keys"Read/WriteIf True, the arrow keys move through the list of items
"enable-arrows-always"Read/WriteIf True, the arrow keys work, even if the entry contents are not in the list
"value-in-list"Read/WriteIf True, entered values must already be - present in the list

gtk.Combo Style Properties

gtk.Widget Style Properties

gtk.Combo Child Properties

gtk.Box Child Properties

Attributes

"entry"Readthe text entry widget
"list"Readthe list shown in the drop-down window

gtk.Combo Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

Description

Note

The gtk.Combo is + present in the list

gtk.Combo Style Properties

gtk.Widget Style Properties

gtk.Combo Child Properties

gtk.Box Child Properties

Attributes

"entry"Readthe text entry widget
"list"Readthe list shown in the drop-down window

gtk.Combo Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

Description

Note

The gtk.Combo is deprecated in GTK+ 2.4 and PyGTK 2.4 in favor of the gtk.ComboBox.

The gtk.Combo widget consists of a single-line text entry field and a drop-down list. The drop-down list is displayed when the user clicks on a small arrow button to @@ -39,7 +39,7 @@ in the list, respectively.

Note the list attribute references a gtk.List which is a deprecated widget so the combo widget may be changed or deprecated in the future.

Constructor

    gtk.Combo()

Returns :

a combo object*

Creates an new gtk.Combo -object.

Methods

gtk.Combo.set_value_in_list

    def set_value_in_list(val, ok_if_empty)

val :

If True the value entered must match one of the +object.

Methods

gtk.Combo.set_value_in_list

    def set_value_in_list(val, ok_if_empty)

val :

If True the value entered must match one of the values in the list.

ok_if_empty :

If True an empty value is considered valid.

The set_value_in_list() method specifies whether the value entered in the text entry field must match one diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkcontainer.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkcontainer.html --- pygtk-2.14.1/docs/html/class-gtkcontainer.html 2009-03-05 22:48:29.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkcontainer.html 2009-05-24 23:11:35.000000000 +0100 @@ -1,14 +1,14 @@ gtk.Container

gtk.Container

gtk.Container — a base class for widgets that contain other -widgets

Synopsis

class gtk.Container(gtk.Widget):
+widgets

Synopsis

class gtk.Container(gtk.Widget):
     def set_border_width(border_width)
def get_border_width()
def add(widget)
def remove(widget)
def set_resize_mode(resize_mode)
def get_resize_mode()
def check_resize()
def forall(callback, callback_data)
def foreach(callback, callback_data)
def get_children()
def propagate_expose(child, event)
def set_focus_chain(focusable_widgets)
def get_focus_chain()
def unset_focus_chain()
def set_reallocate_redraws(needs_redraws)
def set_focus_child(child)
def get_focus_child()
def set_focus_vadjustment(adjustment)
def get_focus_vadjustment()
def set_focus_hadjustment(adjustment)
def get_focus_hadjustment()
def resize_children()
def child_type()
def add_with_properties(widget, first_prop_name, first_prop_value, ...)
def child_set(child, first_prop_name, first_prop_value, ...)
def child_get(child, first_prop_name, ...)
def child_set_property(child, property_name, value)
def child_get_property(child, property_name)
 Class Methods
     def install_child_property(property_id, pspec)
def list_child_properties()
 Functions
-    def gtk.container_class_install_child_property(klass, property_id, pspec)
def gtk.container_class_list_child_properties(klass)

Ancestry

+-- gobject.GObject
+    def gtk.container_class_install_child_property(klass, property_id, pspec)
def gtk.container_class_list_child_properties(klass)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
-

Implemented Interfaces

+

Implemented Interfaces

gtk.Container implements gtk.Buildable @@ -16,12 +16,12 @@ children.

"child"WriteThe child widget in the container
"resize-mode"Read/WriteSpecify how resize events are handled. One of: gtk.RESIZE_PARENT, gtk.RESIZE_QUEUE or - gtk.RESIZE_IMMEDIATE

gtk.Container Style Properties

gtk.Widget Style Properties

Attributes

"border_width"ReadThe width of the empty border outside the containers + gtk.RESIZE_IMMEDIATE

gtk.Container Style Properties

gtk.Widget Style Properties

Attributes

"border_width"ReadThe width of the empty border outside the containers children.
"resize_mode"ReadSpecify how resize events are handled. One of: gtk.RESIZE_PARENT, gtk.RESIZE_QUEUE or gtk.RESIZE_IMMEDIATE
"focus_child"ReadThe child widget that has the focus
"need_resize"ReadIf True the container needs resizing
"reallocate_redraws"Readif True redraw the container when a child gets reallocated
"has_focus_chain"ReadIf True the container had its focus chain explicitly -set

gtk.Container Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

"add"

def callback(container, widget, user_param1, ...)

"check-resize"

def callback(container, user_param1, ...)

"remove"

def callback(container, widget, user_param1, ...)

"set-focus-child"

def callback(container, widget, user_param1, ...)

Description

The gtk.Container +set

gtk.Container Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

"add"

def callback(container, widget, user_param1, ...)

"check-resize"

def callback(container, user_param1, ...)

"remove"

def callback(container, widget, user_param1, ...)

"set-focus-child"

def callback(container, widget, user_param1, ...)

Description

The gtk.Container class provides common attributes and methods for a large number of widget subclasses that manage the layout of other widgets within the area of a window.

A PyGTK user interface is constructed by @@ -83,7 +83,7 @@ methods. To obtain the value of a child property, use the child_get_property(), or child_get() methods. To emit notification about child property changes, use the gtk.Widget.child_notify() -method.

Methods

gtk.Container.set_border_width

    def set_border_width(border_width)

border_width :

The amount of blank space to leave +method.

Methods

gtk.Container.set_border_width

    def set_border_width(border_width)

border_width :

The amount of blank space to leave outside the container. Valid values are in the range 0-65535 pixels.

The set_border_width() method sets the "border-width" property of the container. The border width of a container is @@ -206,7 +206,7 @@ widget

The child_get_property() method retrieves the value of the child property specified by property_name for the widget -child.

Class Methods

gtk.Container.install_child_property

    def install_child_property(property_id, pspec)

property_id :

an integer property ID

pspec :

a tuple containing a parameter +child.

Class Methods

gtk.Container.install_child_property

    def install_child_property(property_id, pspec)

property_id :

an integer property ID

pspec :

a tuple containing a parameter specifications

Note

This method is available in PyGTK 2.10 and above.

The install_child_property() method installs a child property for the container class using the integer ID specified by @@ -221,7 +221,7 @@ type:

gobject.TYPE_CHAR

minimum, maximum and default values

gobject.TYPE_CHAR

minimum, maximum and default values

gobject.TYPE_BOOLEAN

default value

gobject.TYPE_INT

minimum, maximum and default values

gobject.TYPE_UINT

minimum, maximum and default values

gobject.TYPE_LONG

minimum, maximum and default values

gobject.TYPE_ULONG

minimum, maximum and default values

gobject.TYPE_INT64

minimum, maximum and default values

gobject.TYPE_UINT64

minimum, maximum and default values

gobject.TYPE_ENUM

default value

gobject.TYPE_FLAGS

default value

gobject.TYPE_FLOAT

minimum, maximum and default values

gobject.TYPE_DOUBLE

minimum, maximum and default values

gobject.TYPE_STRING

default value

gobject.TYPE_PARAM

Not applicable

gobject.TYPE_BOXED

Not applicable

gobject.TYPE_POINTER

Not applicable

gobject.TYPE_OBJECT

Not applicable

gtk.Container.list_child_properties

    def list_child_properties()

Returns :

the list of child properties

Note

This method is available in PyGTK 2.10 and above.

The list_child_properties() method returns a list containing the child properties of the container class. See the install_child_property() - method for more information.

Functions

gtk.container_class_install_child_property

    def gtk.container_class_install_child_property(klass, property_id, pspec)

klass :

a gtk.Container + method for more information.

Functions

gtk.container_class_install_child_property

    def gtk.container_class_install_child_property(klass, property_id, pspec)

klass :

a gtk.Container class or instance.

property_id :

an integer property ID

pspec :

a tuple containing a parameter specification

Note

This function is available in PyGTK 2.4 and above.

Warning

This function is deprecated in PyGTK 2.10 and above.

The gtk.container_class_install_child_property() @@ -239,7 +239,7 @@ class or instance.

Returns :

a tuple containing the list of child properties

Note

This function is available in PyGTK 2.4 and above.

Warning

This function is deprecated in PyGTK 2.10 and above.

The gtk.container_class_list_child_properties() function returns a tuple containing the child properties of the - container class specified by klass.

Signals

The "add" gtk.Container Signal

    def callback(container, widget, user_param1, ...)

container :

the container that received the + container class specified by klass.

Signals

The "add" gtk.Container Signal

    def callback(container, widget, user_param1, ...)

container :

the container that received the signal

widget :

the child widget

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkcurve.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkcurve.html --- pygtk-2.14.1/docs/html/class-gtkcurve.html 2009-03-05 22:48:30.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkcurve.html 2009-05-24 23:11:36.000000000 +0100 @@ -1,17 +1,17 @@ -gtk.Curve

gtk.Curve

gtk.Curve — allows direct editing of a curve.

Synopsis

class gtk.Curve(gtk.DrawingArea):
-    gtk.Curve()
def reset()
def set_gamma(gamma)
def set_range(min_x, max_x, min_y, max_y)
def get_vector(size=-1)
def set_vector(vector)
def set_curve_type(type)

Ancestry

+-- gobject.GObject
+gtk.Curve

gtk.Curve

gtk.Curve — allows direct editing of a curve.

Synopsis

class gtk.Curve(gtk.DrawingArea):
+    gtk.Curve()
def reset()
def set_gamma(gamma)
def set_range(min_x, max_x, min_y, max_y)
def get_vector(size=-1)
def set_vector(vector)
def set_curve_type(type)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.DrawingArea
         +-- gtk.Curve
-

Implemented Interfaces

+

Implemented Interfaces

gtk.Curve implements gtk.Buildable

gtk.Curve Properties

gtk.Object Properties

gtk.Widget Properties

"curve-type"Read/WriteThe curve type. One of linear (gtk.CURVE_TYPE_LINEAR), spline interpolated (gtk.CURVE_TYPE_SPLINE), or free-form -(gtk.CURVE_TYPE_FREE).
"max-x"Read/WriteThe maximum possible value for X
"max-y"Read/WriteThe maximum possible value for Y
"min-x"Read/WriteThe minimum possible value for X
"min-y"Read/WriteThe minimum possible value for Y

gtk.Curve Style Properties

gtk.Widget Style Properties

gtk.Curve Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

"curve-type-changed"

def callback(curve, widget, user_param1, ...)

Description

Note

This widget is considered too specialized or little-used for +(gtk.CURVE_TYPE_FREE).

"max-x"Read/WriteThe maximum possible value for X
"max-y"Read/WriteThe maximum possible value for Y
"min-x"Read/WriteThe minimum possible value for X
"min-y"Read/WriteThe minimum possible value for Y

gtk.Curve Style Properties

gtk.Widget Style Properties

gtk.Curve Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

"curve-type-changed"

def callback(curve, widget, user_param1, ...)

Description

Note

This widget is considered too specialized or little-used for PyGTK, and will in the future be moved to some other package. If your application needs this widget, feel free to use it, as the widget does work and is useful in some applications; it's just not of general interest. @@ -24,7 +24,7 @@ smooth curve. In linear mode the user places points on the curve which are connected by straight lines. In free mode the user can draw the points of the curve freely, and they are not connected at all.

Constructor

    gtk.Curve()

Returns :

a new gtk.Curve object

Creates a new gtk.Curve -object

Methods

gtk.Curve.reset

    def reset()

The reset() method resets the curve to +object

Methods

gtk.Curve.reset

    def reset()

The reset() method resets the curve to a straight line from the minimum x and y values to the maximum x and y values (i.e. from the bottom-left to the top-right corners). The curve type is not changed.

gtk.Curve.set_gamma

    def set_gamma(gamma)

gamma :

the gamma value

The set_gamma() method recomputes the @@ -53,7 +53,7 @@ gtk.CURVE_TYPE_SPLINE or gtk.CURVE_TYPE_FREE. The curve will remain unchanged except when changing from a free curve to a linear or spline curve, in which -case the curve will be changed as little as possible.

Signals

The "curve-type-changed" gtk.Curve Signal

    def callback(curve, user_param1, ...)

curve :

the curve that received the +case the curve will be changed as little as possible.

Signals

The "curve-type-changed" gtk.Curve Signal

    def callback(curve, user_param1, ...)

curve :

the curve that received the signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkdialog.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkdialog.html --- pygtk-2.14.1/docs/html/class-gtkdialog.html 2009-03-05 22:48:30.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkdialog.html 2009-05-24 23:11:36.000000000 +0100 @@ -1,25 +1,25 @@ -gtk.Dialog

gtk.Dialog

gtk.Dialog — popup windows for user information and action

Synopsis

class gtk.Dialog(gtk.Window):
+gtk.Dialog

gtk.Dialog

gtk.Dialog — popup windows for user information and action

Synopsis

class gtk.Dialog(gtk.Window):
     gtk.Dialog(title=None, parent=None, flags=0, buttons=None)
def add_action_widget(child, response_id)
def add_button(button_text, response_id)
def add_buttons(...)
def set_response_sensitive(response_id, setting)
def set_default_response(response_id)
def set_has_separator(setting)
def get_has_separator()
def response(response_id)
def run()
def set_alternative_button_order(new_order)
def get_response_for_widget(widget)
def get_action_area()
def get_content_area()
 Functions
 
-    def gtk.alternative_dialog_button_order(screen=None)

Ancestry

+-- gobject.GObject
+    def gtk.alternative_dialog_button_order(screen=None)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Bin
           +-- gtk.Window
             +-- gtk.Dialog
-

Implemented Interfaces

+

Implemented Interfaces

gtk.Dialog implements gtk.Buildable

gtk.Dialog Properties

gtk.Object Properties

gtk.Widget Properties

gtk.Container Properties

gtk.Window Properties

"has-separator"Read/WriteIf True, the dialog has a separator bar above its buttons

gtk.Dialog Style Properties

gtk.Widget Style Properties

"action-area-border"ReadThe width of the vborder around the button area in pixels.
"button-spacing"ReadThe spacing between buttons in pixels.
"content-area-border"ReadThe width of the border around the main dialog area in -pixels.

Attributes

"vbox"ReadA gtk.VBox that is the +pixels.

Attributes

"vbox"ReadA gtk.VBox that is the main container of the dialog - all the other widgets are packed in it.
"action_area"ReadA gtk.HBox that contains -the buttons of the dialog.

gtk.Dialog Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

gtk.Window Signal Prototypes

"close"

def callback(dialog, user_param1, ...)

"response"

def callback(dialog, response_id, user_param1, ...)

Description

Dialog boxes are a convenient way to prompt the user for a small +the buttons of the dialog.

gtk.Dialog Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

gtk.Window Signal Prototypes

"close"

def callback(dialog, user_param1, ...)

"response"

def callback(dialog, response_id, user_param1, ...)

Description

Dialog boxes are a convenient way to prompt the user for a small amount of input, e.g. to display a message, ask a question, or anything else that does not require extensive effort on the user's part. Dialogs are organized as a window split vertically. The top section is a gtk.VBox, and is @@ -82,7 +82,7 @@ gtk.DIALOG_MODAL | gtk.DIALOG_DESTROY_WITH_PARENT, (gtk.STOCK_CANCEL, gtk.RESPONSE_REJECT, gtk.STOCK_OK, gtk.RESPONSE_ACCEPT)) -

Methods

gtk.Dialog.add_action_widget

    def add_action_widget(child, response_id)

child :

an activatable widget

response_id :

a response ID

The add_action_widget() method adds an +

Methods

gtk.Dialog.add_action_widget

    def add_action_widget(child, response_id)

child :

an activatable widget

response_id :

a response ID

The add_action_widget() method adds an activatable widget to the action area of a gtk.Dialog, connecting a signal handler that will emit the "response" signal on the dialog when the widget is activated. The widget is appended to the end of @@ -179,14 +179,14 @@ gtk.VBox.

Note

This method is available in PyGTK 2.14 and above.

The get_content_area() method returns the content area of dialog. -

Functions

gtk.alternative_dialog_button_order

    def gtk.alternative_dialog_button_order(screen=None)

screen :

the gtk.gdk.Screen or +

Functions

gtk.alternative_dialog_button_order

    def gtk.alternative_dialog_button_order(screen=None)

screen :

the gtk.gdk.Screen or None to use the default screen

Returns :

True if the alternative button order should be used

Note

This function is available in PyGTK 2.10 and above.

The gtk.alternative_dialog_button_order() returns True if the alternative button order should be used for the gtk.gdk.Screen specified by screen. If screen is None the default gtk.gdk.Screen is -used.

Signals

The "close" gtk.Dialog Signal

    def callback(dialog, user_param1, ...)

dialog :

the dialog that received the +used.

Signals

The "close" gtk.Dialog Signal

    def callback(dialog, user_param1, ...)

dialog :

the dialog that received the signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkdrawingarea.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkdrawingarea.html --- pygtk-2.14.1/docs/html/class-gtkdrawingarea.html 2009-03-05 22:48:31.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkdrawingarea.html 2009-05-24 23:11:37.000000000 +0100 @@ -1,13 +1,13 @@ -gtk.DrawingArea

gtk.DrawingArea

gtk.DrawingArea — a widget for custom user interface elements.

Synopsis

class gtk.DrawingArea(gtk.Widget):
-    gtk.DrawingArea()

Ancestry

+-- gobject.GObject
+gtk.DrawingArea

gtk.DrawingArea

gtk.DrawingArea — a widget for custom user interface elements.

Synopsis

class gtk.DrawingArea(gtk.Widget):
+    gtk.DrawingArea()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.DrawingArea
-

Implemented Interfaces

+

Implemented Interfaces

gtk.DrawingArea implements gtk.Buildable -

gtk.DrawingArea Style Properties

gtk.Widget Style Properties

gtk.DrawingArea Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

Description

The gtk.DrawingArea +

gtk.DrawingArea Style Properties

gtk.Widget Style Properties

gtk.DrawingArea Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

Description

The gtk.DrawingArea widget is used for creating custom user interface elements. It's essentially a blank widget containing a gtk.gdk.Window that you can draw on. The contained gtk.gdk.Window is diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkeditable.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkeditable.html --- pygtk-2.14.1/docs/html/class-gtkeditable.html 2009-03-05 22:48:31.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkeditable.html 2009-05-24 23:11:37.000000000 +0100 @@ -1,10 +1,10 @@ -gtk.Editable

gtk.Editable

gtk.Editable — an interface for text-editing widgets.

Synopsis

class gtk.Editable(gobject.GInterface):
-    def select_region(start, end)
def get_selection_bounds()
def insert_text(text, position=0)
def delete_text(start_pos, end_pos)
def get_chars(start_pos, end_pos)
def cut_clipboard()
def copy_clipboard()
def paste_clipboard()
def delete_selection()
def set_position(position)
def get_position()
def set_editable(is_editable)
def get_editable()

gtk.Editable Signal Prototypes

"changed"

def callback(editable, user_param1, ...)

"delete-text"

def callback(editable, start, end, user_param1, ...)

"insert-text"

def callback(editable, new_text, new_text_length, position, user_param1, ...)

Description

gtk.Editable +gtk.Editable

gtk.Editable

gtk.Editable — an interface for text-editing widgets.

Synopsis

class gtk.Editable(gobject.GInterface):
+    def select_region(start, end)
def get_selection_bounds()
def insert_text(text, position=0)
def delete_text(start_pos, end_pos)
def get_chars(start_pos, end_pos)
def cut_clipboard()
def copy_clipboard()
def paste_clipboard()
def delete_selection()
def set_position(position)
def get_position()
def set_editable(is_editable)
def get_editable()

gtk.Editable Signal Prototypes

"changed"

def callback(editable, user_param1, ...)

"delete-text"

def callback(editable, start, end, user_param1, ...)

"insert-text"

def callback(editable, new_text, new_text_length, position, user_param1, ...)

Description

gtk.Editable is an interface for text editing widgets, such as gtk.Entry. The editable class contains methods for generically manipulating an editable widget, a large number of action signals used for key bindings, and several signals that an application can connect to to modify the - behavior of a widget.

Methods

gtk.Editable.select_region

    def select_region(start, end)

start :

the new start position of the + behavior of a widget.

Methods

gtk.Editable.select_region

    def select_region(start, end)

start :

the new start position of the selection

end :

the new end position of the selection

The select_region() method selects a region of text from start up to, but not including @@ -52,7 +52,7 @@ the text cannot be edited.

gtk.Editable.get_editable

    def get_editable()

Returns :

True if the text is editable.

The get_editable() method retrieves the value of the widget "editable" attribute that specifies whether the text is -editable. See set_editable().

Signals

The "changed" gtk.Editable Signal

    def callback(editable, user_param1, ...)

editable :

the editable that received the +editable. See set_editable().

Signals

The "changed" gtk.Editable Signal

    def callback(editable, user_param1, ...)

editable :

the editable that received the signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkentrycompletion.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkentrycompletion.html --- pygtk-2.14.1/docs/html/class-gtkentrycompletion.html 2009-03-05 22:48:33.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkentrycompletion.html 2009-05-24 23:11:39.000000000 +0100 @@ -1,9 +1,9 @@ gtk.EntryCompletion

gtk.EntryCompletion

gtk.EntryCompletion — completion functionality for gtk.Entry (new in - PyGTK 2.4)

Synopsis

class gtk.EntryCompletion(gobject.GObject, gtk.CellLayout):
-    gtk.EntryCompletion()
def get_entry()
def set_model(model=None)
def get_model()
def set_match_func(func, func_data)
def set_minimum_key_length(length)
def get_minimum_key_length()
def complete()
def insert_action_text(index, text)
def insert_action_markup(index, markup)
def delete_action(index)
def insert_prefix()
def set_text_column(column)
def get_text_column()
def set_inline_completion(inline_completion)
def get_inline_completion()
def set_inline_selection(inline_selection)
def get_inline_selection()
def set_popup_completion(popup_completion)
def get_popup_completion()
def set_popup_set_width(popup_set_width)
def get_popup_set_width()
def set_popup_single_match(popup_single_match)
def get_popup_single_match()

Ancestry

+-- gobject.GObject
+    PyGTK 2.4)

Synopsis

class gtk.EntryCompletion(gobject.GObject, gtk.CellLayout):
+    gtk.EntryCompletion()
def get_entry()
def set_model(model=None)
def get_model()
def set_match_func(func, func_data)
def set_minimum_key_length(length)
def get_minimum_key_length()
def complete()
def insert_action_text(index, text)
def insert_action_markup(index, markup)
def delete_action(index)
def insert_prefix()
def set_text_column(column)
def get_text_column()
def set_inline_completion(inline_completion)
def get_inline_completion()
def set_inline_selection(inline_selection)
def get_inline_selection()
def set_popup_completion(popup_completion)
def get_popup_completion()
def set_popup_set_width(popup_set_width)
def get_popup_set_width()
def set_popup_single_match(popup_single_match)
def get_popup_single_match()

Ancestry

+-- gobject.GObject
   +-- gtk.EntryCompletion
-

Implemented Interfaces

+

Implemented Interfaces

gtk.EntryCompletion implements gtk.Buildable @@ -26,7 +26,7 @@ True. Available in GTK+ 2.8 and above.

"text-column"Read-WriteThe column of the model containing the strings. Allowed values: >= -1. Default value: -1. Available in GTK+ 2.6 and - above.

gtk.EntryCompletion Signal Prototypes

gobject.GObject Signal Prototypes

"action-activated"

def callback(completion, index, user_param1, ...)

"cursor_on_match"

def callback(completion, model, iter, user_param1, ...)

"insert-prefix"

def callback(completion, prefix, user_param1, ...)

"match-selected"

def callback(completion, model, iter, user_param1, ...)

Description

Note

This widget is available in PyGTK 2.4 and above.

gtk.EntryCompletion + above.

gtk.EntryCompletion Signal Prototypes

gobject.GObject Signal Prototypes

"action-activated"

def callback(completion, index, user_param1, ...)

"cursor_on_match"

def callback(completion, model, iter, user_param1, ...)

"insert-prefix"

def callback(completion, prefix, user_param1, ...)

"match-selected"

def callback(completion, model, iter, user_param1, ...)

Description

Note

This widget is available in PyGTK 2.4 and above.

gtk.EntryCompletion is an auxiliary object to be used in conjunction with gtk.Entry to provide completion functionality. It implements the gtk.CellLayout interface, to allow the user to add extra cells to the popup display of @@ -70,7 +70,7 @@ insert_action_markup() and delete_action() methods.

Constructor

    gtk.EntryCompletion()

Returns :

A newly created gtk.EntryCompletion object.

Note

This constructor is available in PyGTK 2.4 and above.

Creates a new gtk.EntryCompletion -object.

Methods

gtk.EntryCompletion.get_entry

    def get_entry()

Returns :

The gtk.Entry +object.

Methods

gtk.EntryCompletion.get_entry

    def get_entry()

Returns :

The gtk.Entry that the completion is attached to.

Note

This method is available in PyGTK 2.4 and above.

The get_entry() method retrieves the gtk.Entry that the entry completion is attached to.

gtk.EntryCompletion.set_model

    def set_model(model=None)

model :

The gtk.TreeModel @@ -195,7 +195,7 @@ window should appear even for a single match.

Note

This method is available in PyGTK 2.8 and above.

The get_popup_single_match() method returns the value of the "popup-single-match" property. If the value of "popup-single-match" property is True the completions -popup window should appear even for a single match.

Signals

The "action-activated" gtk.EntryCompletion Signal

    def callback(completion, index, user_param1, ...)

completion :

the entry completion that received the +popup window should appear even for a single match.

Signals

The "action-activated" gtk.EntryCompletion Signal

    def callback(completion, index, user_param1, ...)

completion :

the entry completion that received the signal

index :

the index of the action item that was activated.

user_param1 :

the first user parameter (if any) specified with the connect() diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkentry.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkentry.html --- pygtk-2.14.1/docs/html/class-gtkentry.html 2009-03-05 22:48:32.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkentry.html 2009-05-24 23:11:38.000000000 +0100 @@ -1,9 +1,9 @@ -gtk.Entry

gtk.Entry

gtk.Entry — a single line text entry field.

Synopsis

class gtk.Entry(gtk.Widget, gtk.Editable, gtk.CellEditable):
-    gtk.Entry(max=0)
def set_visibility(visible)
def get_visibility()
def set_invisible_char(ch)
def get_invisible_char()
def set_has_frame(setting)
def get_has_frame()
def set_max_length(max)
def get_max_length()
def set_activates_default(setting)
def get_activates_default()
def set_width_chars(n_chars)
def get_width_chars()
def set_text(text)
def get_text()
def get_layout()
def get_layout_offsets()
def set_alignment(xalign)
def get_alignment()
def set_completion(width_chars)
def get_completion()
def set_inner_border(border)
def get_inner_border()
def get_cursor_hadjustment()
def set_cursor_hadjustment(adjustment)
def get_override_mode()
def set_override_mode(override)
def get_text_length()

Ancestry

+-- gobject.GObject
+gtk.Entry

gtk.Entry

gtk.Entry — a single line text entry field.

Synopsis

class gtk.Entry(gtk.Widget, gtk.Editable, gtk.CellEditable):
+    gtk.Entry(max=0)
def set_visibility(visible)
def get_visibility()
def set_invisible_char(ch)
def get_invisible_char()
def set_has_frame(setting)
def get_has_frame()
def set_max_length(max)
def get_max_length()
def set_activates_default(setting)
def get_activates_default()
def set_width_chars(n_chars)
def get_width_chars()
def set_text(text)
def get_text()
def get_layout()
def get_layout_offsets()
def set_alignment(xalign)
def get_alignment()
def set_completion(width_chars)
def get_completion()
def set_inner_border(border)
def get_inner_border()
def get_cursor_hadjustment()
def set_cursor_hadjustment(adjustment)
def get_override_mode()
def set_override_mode(override)
def get_text_length()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Entry
-

Implemented Interfaces

+

Implemented Interfaces

gtk.Entry implements gtk.Buildable @@ -41,14 +41,14 @@ representing the fraction of freespace to the left (right for RTL layouts) of the text. Available in GTK+ 2.4 and above.

gtk.Entry Style Properties

gtk.Widget Style Properties

"inner-border"ReadSets the text area's border between the text and the frame - This property is available in GTK+ 2.10 and above.

gtk.Entry Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Editable Signal Prototypes

gtk.CellEditable Signal Prototypes

"activate"

def callback(entry, user_param1, ...)

"backspace

def callback(entry, user_param1, ...)

"copy-clipboard"

def callback(entry, user_param1, ...)

"cut-clipboard"

def callback(entry, user_param1, ...)

"delete-from-cursor"

def callback(entry, delete_type, count, user_param1, ...)

"insert-at-cursor"

def callback(entry, string, user_param1, ...)

"move-cursor"

def callback(entry, step_size, count, extend_selection, user_param1, ...)

"paste-clipboard"

def callback(entry, user_param1, ...)

"populate-popup"

def callback(entry, menu, user_param1, ...)

"toggle-overwrite"

def callback(entry, user_param1, ...)

Description

The gtk.Entry widget + This property is available in GTK+ 2.10 and above.

gtk.Entry Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Editable Signal Prototypes

gtk.CellEditable Signal Prototypes

"activate"

def callback(entry, user_param1, ...)

"backspace

def callback(entry, user_param1, ...)

"copy-clipboard"

def callback(entry, user_param1, ...)

"cut-clipboard"

def callback(entry, user_param1, ...)

"delete-from-cursor"

def callback(entry, delete_type, count, user_param1, ...)

"insert-at-cursor"

def callback(entry, string, user_param1, ...)

"move-cursor"

def callback(entry, step_size, count, extend_selection, user_param1, ...)

"paste-clipboard"

def callback(entry, user_param1, ...)

"populate-popup"

def callback(entry, menu, user_param1, ...)

"toggle-overwrite"

def callback(entry, user_param1, ...)

Description

The gtk.Entry widget is a single line text entry widget. A fairly large set of key bindings are supported by default. If the entered text is longer than the allocation of the widget, the widget will scroll so that the cursor position is visible.

Constructor

    gtk.Entry(max=0)

max :

the maximum length of the entry, or 0 for no maximum. (other than the maximum length of entries.) The value passed in will be limited to the range 0-65536.

Returns :

a new gtk.Entry.

Creates a new gtk.Entry widget - with the maximum length specified by max.

Methods

gtk.Entry.set_visibility

    def set_visibility(visible)

visible :

If False the contents are obscured using the + with the maximum length specified by max.

Methods

gtk.Entry.set_visibility

    def set_visibility(visible)

visible :

If False the contents are obscured using the "invisible-char"

The set_visibility() method sets the "visibility" property to the value of visible. If visible is True @@ -193,7 +193,7 @@ gtk.Entry.set_override_mode().

gtk.Entry.get_text_length

    def get_text_length()

Returns :

the current number of characters in GtkEntry, or 0 if there are none.

Note

This method is available in PyGTK 2.14 and above.

The get_text_length() method retrieves the current length of the text in entry. -

Signals

The "activate" gtk.Entry Signal

    def callback(entry, user_param1, ...)

entry :

the entry that received the +

Signals

The "activate" gtk.Entry Signal

    def callback(entry, user_param1, ...)

entry :

the entry that received the signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkeventbox.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkeventbox.html --- pygtk-2.14.1/docs/html/class-gtkeventbox.html 2009-03-05 22:48:33.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkeventbox.html 2009-05-24 23:11:39.000000000 +0100 @@ -1,12 +1,12 @@ gtk.EventBox

gtk.EventBox

gtk.EventBox — a widget used to catch events for widgets which do not have -their own window.

Synopsis

class gtk.EventBox(gtk.Bin):
-    gtk.EventBox()
def get_visible_window()
def set_visible_window(visible_window)
def get_above_child()
def set_above_child(above_child)

Ancestry

+-- gobject.GObject
+their own window.

Synopsis

class gtk.EventBox(gtk.Bin):
+    gtk.EventBox()
def get_visible_window()
def set_visible_window(visible_window)
def get_above_child()
def set_above_child(above_child)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Bin
           +-- gtk.EventBox
-

Implemented Interfaces

+

Implemented Interfaces

gtk.EventBox implements gtk.Buildable @@ -14,13 +14,13 @@ of the eventbox is above the window of the child widget as opposed to below it. Available in GTK+ 2.4 and above.

"visible-window"Read-WriteIf True, the event box is visible, as opposed to invisible and only used to trap - events. Available in GTK+ 2.4 and above.

gtk.EventBox Style Properties

gtk.Widget Style Properties

gtk.EventBox Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

Description

The gtk.EventBox + events. Available in GTK+ 2.4 and above.

gtk.EventBox Style Properties

gtk.Widget Style Properties

gtk.EventBox Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

Description

The gtk.EventBox widget is an invisible container widget that provides a window for widgets that do not have their own window. In GTK, widgets must have a window to be able to receive event signals. Those widgets that are "windowless" can use a gtk.EventBox to receive event signals.

Constructor

    gtk.EventBox()

Returns :

an eventbox widget

Creates a new gtk.EventBox -widget.

Methods

gtk.EventBox.get_visible_window

    def get_visible_window()

Returns :

True if the event box window is +widget.

Methods

gtk.EventBox.get_visible_window

    def get_visible_window()

Returns :

True if the event box window is visible.

Note

This method is available in PyGTK 2.4 and above.

The gtk_visible_window() method returns True if the event box has a visible window. See the set_visible_window() method for details.

gtk.EventBox.set_visible_window

    def set_visible_window(visible_window)

visible_window :

if True the event box window is diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkexpander.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkexpander.html --- pygtk-2.14.1/docs/html/class-gtkexpander.html 2009-03-05 22:48:34.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkexpander.html 2009-05-24 23:11:40.000000000 +0100 @@ -1,15 +1,15 @@ gtk.Expander

gtk.Expander

gtk.Expander — a container that can hide - its child (new in PyGTK 2.4)

Synopsis

class gtk.Expander(gtk.Bin):
+    its child (new in PyGTK 2.4)

Synopsis

class gtk.Expander(gtk.Bin):
     gtk.Expander(label=None)
def set_expanded(expanded)
def get_expanded()
def set_spacing(spacing)
def get_spacing()
def set_label(label)
def get_label()
def set_use_underline(use_underline)
def get_use_underline()
def set_use_markup(use_markup)
def get_use_markup()
def set_label_widget(label_widget)
def get_label_widget()
 Functions
 
-    def gtk.expander_new_with_mnemonic(label=None)

Ancestry

+-- gobject.GObject
+    def gtk.expander_new_with_mnemonic(label=None)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Bin
           +-- gtk.Expander
-

Implemented Interfaces

+

Implemented Interfaces

gtk.Expander implements gtk.Buildable @@ -19,7 +19,7 @@ includes Pango markup. See the pango.parse_markup() function.

"use-underline"Read-WriteIf True, n underline in the text indicates the next character should be used for the mnemonic accelerator -key.

gtk.Expander Style Properties

gtk.Widget Style Properties

"expander-size"ReadThe size of the expander arrow.
"expander-spacing"ReadThe spacing around expander arrow.

gtk.Expander Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

"activate"

def callback(expander, user_param1, ...)

Description

Note

This widget is available in PyGTK 2.4 and above.

A gtk.Expander +key.

gtk.Expander Style Properties

gtk.Widget Style Properties

"expander-size"ReadThe size of the expander arrow.
"expander-spacing"ReadThe spacing around expander arrow.

gtk.Expander Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

"activate"

def callback(expander, user_param1, ...)

Description

Note

This widget is available in PyGTK 2.4 and above.

A gtk.Expander allows the user to hide or show its child by clicking on an expander triangle similar to the triangles used in a gtk.TreeView.

Normally you use an expander as you would use any other descendant of gtk.Bin; @@ -47,7 +47,7 @@ have to be reversed.

Constructor

    gtk.Expander(label=None)

label :

the text of the label or None

Returns :

a new gtk.Expander widget.

Note

This constructor is available in PyGTK 2.4 and above.

Creates a new expander using label as the text of the label. If label is -None or not specified, no label will be created.

Methods

gtk.Expander.set_expanded

    def set_expanded(expanded)

expanded :

if True, the child widget is +None or not specified, no label will be created.

Methods

gtk.Expander.set_expanded

    def set_expanded(expanded)

expanded :

if True, the child widget is revealed

Note

This method is available in PyGTK 2.4 and above.

The set_expanded() method sets the "expanded" property to the value of expanded. If expanded is True, the child widget @@ -101,7 +101,7 @@ will have no label.

gtk.Expander.get_label_widget

    def get_label_widget()

Returns :

the label widget, or None if there is none.

Note

This method is available in PyGTK 2.4 and above.

The get_label_widget() method retrieves the expander's label widget. See the set_label_widget() -method.

Functions

gtk.expander_new_with_mnemonic

    def gtk.expander_new_with_mnemonic(label=None)

label :

the text of the label with an underscore in +method.

Functions

gtk.expander_new_with_mnemonic

    def gtk.expander_new_with_mnemonic(label=None)

label :

the text of the label with an underscore in front of the mnemonic character or None

Returns :

a new gtk.Expander widget.

Note

This function is available in PyGTK 2.4 and above.

The gtk.expander_new_with_mnemonic() function creates a new gtk.Expander using label as the text of the label. If characters in @@ -110,7 +110,7 @@ (two underscores). The first underlined character represents a keyboard accelerator called a mnemonic. Pressing Alt with that key activates the button. If label is -None the expander will have no label.

Signals

The "activate" gtk.Expander Signal

    def callback(expander, user_param1, ...)

expander :

the expander that received the +None the expander will have no label.

Signals

The "activate" gtk.Expander Signal

    def callback(expander, user_param1, ...)

expander :

the expander that received the signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkfilechooserbutton.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkfilechooserbutton.html --- pygtk-2.14.1/docs/html/class-gtkfilechooserbutton.html 2009-03-05 22:48:36.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkfilechooserbutton.html 2009-05-24 23:11:42.000000000 +0100 @@ -1,12 +1,12 @@ gtk.FileChooserButton

gtk.FileChooserButton

gtk.FileChooserButton — a button to launch a gtk.FileChooserDialog -(new in PyGTK 2.6)

Synopsis

class gtk.FileChooserButton(gtk.HBox):
-    gtk.FileChooserButton(title, backend=None)
gtk.FileChooserButton(dialog)
def get_title()
def set_title(title)
def get_width_chars()
def set_width_chars(n_chars)
def get_focus_on_click()
def set_focus_on_click(focus_on_click)

Ancestry

+-- gobject.GObject
+(new in PyGTK 2.6)

Synopsis

class gtk.FileChooserButton(gtk.HBox):
+    gtk.FileChooserButton(title, backend=None)
gtk.FileChooserButton(dialog)
def get_title()
def set_title(title)
def get_width_chars()
def set_width_chars(n_chars)
def get_focus_on_click()
def set_focus_on_click(focus_on_click)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Box
            +-- gtk.HBox
-             +-- gtk.FileChooserButton (implements gtk.FileChooser)

Implemented Interfaces

+ +-- gtk.FileChooserButton (implements gtk.FileChooser)

Implemented Interfaces

gtk.FileChooserButton implements gtk.Buildable @@ -18,7 +18,7 @@ associated with the button. Default value: "Select A File". Available in GTK+ 2.6.

"width-chars"Read-WriteThe width of the entry and label inside the button, in characters. Allowed values: >= -1. Default value: - -1. Available in GTK+ 2.6.

gtk.FileChooserButton Style Properties

gtk.Widget Style Properties

gtk.FileChooserButton Child Properties

gtk.Box Child Properties

Description

Note

This widget is available in PyGTK 2.6 and above.

The gtk.FileChooserButton + -1. Available in GTK+ 2.6.

gtk.FileChooserButton Style Properties

gtk.Widget Style Properties

gtk.FileChooserButton Child Properties

gtk.Box Child Properties

gtk.FileChooserButton Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

gtk.FileChooser Signal Prototypes

"file-set"

def callback(filechooserbutton, user_param1, ...)

Description

Note

This widget is available in PyGTK 2.6 and above.

The gtk.FileChooserButton is a widget that lets the user select a file. It implements the gtk.FileChooser interface. Visually, it is a file name with a button to bring up a gtk.FileChooserDialog. The user can then use that dialog to change the file associated with that @@ -35,13 +35,13 @@ space. To give the button more space, you should call the gtk.Widget.size_request() method, the set_width_chars() method, or pack the button in such a way that other interface elements - give space to the widget.

Constructor

gtk.FileChooserButton

    gtk.FileChooserButton(title, backend=None)

title :

the title of the browse dialog

backend :

the name of a file system backend or + give space to the widget.

Constructor

gtk.FileChooserButton

    gtk.FileChooserButton(title, backend=None)

title :

the title of the browse dialog

backend :

the name of a file system backend or None

Returns :

a new gtk.FileChooserButton

Note

This constructor is available in PyGTK 2.6 and above.

Creates a new button widget that opens a gtk.FileChooserDialog when clicked. The title of the gtk.FileChooserDialog is specified by title. If backend is specified it is the name of a file system backend.

gtk.FileChooserButton

    gtk.FileChooserButton(dialog)

dialog :

a gtk.FileChooserDialog

Returns :

a new gtk.FileChooserButton

Note

This constructor is available in PyGTK 2.6 and above.

Creates a new button widget that opens a gtk.FileChooserDialog -specified by dialog when clicked.

Methods

gtk.FileChooserButton.get_title

    def get_title()

Returns :

the title of the gtk.FileChooserDialog

Note

This method is available in PyGTK 2.6 and above.

The get_title() method returns the +specified by dialog when clicked.

Methods

gtk.FileChooserButton.get_title

    def get_title()

Returns :

the title of the gtk.FileChooserDialog

Note

This method is available in PyGTK 2.6 and above.

The get_title() method returns the value of the "title" property which contains the title of the associated gtk.FileChooserDialog.

gtk.FileChooserButton.set_title

    def set_title(title)

title :

a string to use as the title of the associated gtk.FileChooserDialog.

Note

This method is available in PyGTK 2.6 and above.

The set_title() method sets the "title" @@ -66,4 +66,10 @@ button will grab focus when it is clicked with the mouse. Making mouse clicks not grab focus is useful in places like toolbars where you don't want the keyboard focus removed from the main area of the - application.

+ application.

Signals

The "file-set" gtk.FileChooserButton Signal

    def callback(filechooserbutton, user_param1, ...)

filechooserbutton :

the filechooserbutton that received the signal

user_param1 :

the first user parameter (if any) specified with the + connect() + method

... :

additional user parameters (if any)

Note

This signal is available in GTK+ 2.12 and above.

+ The "file-set" signal is emitted when the user selects a file. +

+ Note that this signal is only emitted when the user changes the file. +

diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkfilechooserdialog.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkfilechooserdialog.html --- pygtk-2.14.1/docs/html/class-gtkfilechooserdialog.html 2009-03-05 22:48:36.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkfilechooserdialog.html 2009-05-24 23:11:42.000000000 +0100 @@ -1,7 +1,7 @@ gtk.FileChooserDialog

gtk.FileChooserDialog

gtk.FileChooserDialog — a file chooser dialog, suitable for "File/Open" or "File/Save" commands(new in PyGTK - 2.4)

Synopsis

class gtk.FileChooserDialog(gtk.Dialog, gtk.FileChooser):
-    gtk.FileChooserDialog(title=None, parent=None, action=gtk.FILE_CHOOSER_ACTION_OPEN, buttons=None, backend=None)

Ancestry

+-- gobject.GObject
+    2.4)

Synopsis

class gtk.FileChooserDialog(gtk.Dialog, gtk.FileChooser):
+    gtk.FileChooserDialog(title=None, parent=None, action=gtk.FILE_CHOOSER_ACTION_OPEN, buttons=None, backend=None)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
@@ -9,12 +9,12 @@
           +-- gtk.Window
             +-- gtk.Dialog
               +-- gtk.FileChooserDialog
-

Implemented Interfaces

+

Implemented Interfaces

gtk.FileChooserDialog implements gtk.Buildable gtk.FileChooser -

gtk.FileChooserDialog Style Properties

gtk.Widget Style Properties

gtk.Dialog Style Properties

Description

Note

This widget is available in PyGTK 2.4 and above.

gtk.FileChooserDialog +

gtk.FileChooserDialog Style Properties

gtk.Widget Style Properties

gtk.Dialog Style Properties

Description

Note

This widget is available in PyGTK 2.4 and above.

gtk.FileChooserDialog is a dialog box suitable for use with "File/Open" or "File/Save as" commands. This widget works by putting a gtk.FileChooserWidget inside a gtk.Dialog. It diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkfilechooser.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkfilechooser.html --- pygtk-2.14.1/docs/html/class-gtkfilechooser.html 2009-03-05 22:48:36.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkfilechooser.html 2009-05-24 23:11:41.000000000 +0100 @@ -1,6 +1,6 @@ gtk.FileChooser

gtk.FileChooser

gtk.FileChooser — an interface for choosing files used by gtk.FileChooserWidget and gtk.FileChooserDialog - (new in PyGTK 2.4)

Synopsis

class gtk.FileChooser(gobject.GInterface):
+    (new in PyGTK 2.4)

Synopsis

class gtk.FileChooser(gobject.GInterface):
     def set_action(action)
def get_action()
def set_local_only(local_only)
def get_local_only()
def set_select_multiple(select_multiple)
def get_select_multiple()
def set_current_name(name)
def get_filename()
def set_filename(filename)
def select_filename(filename)
def unselect_filename(filename)
def select_all()
def unselect_all()
def get_filenames()
def set_current_folder(filename)
def get_current_folder()
def get_uri()
def set_uri(uri)
def select_uri(uri)
def unselect_uri(uri)
def get_uris()
def set_current_folder_uri(uri)
def get_current_folder_uri()
def set_preview_widget(preview_widget)
def get_preview_widget()
def set_preview_widget_active(active)
def get_preview_widget_active()
def set_use_preview_label(use_label)
def get_use_preview_label()
def get_preview_filename()
def get_preview_uri()
def set_extra_widget(extra_widget)
def get_extra_widget()
def add_filter(filter)
def remove_filter(filter)
def list_filters()
def set_filter(filter)
def get_filter()
def add_shortcut_folder(folder)
def remove_shortcut_folder(folder)
def list_shortcut_folders()
def add_shortcut_folder_uri(uri)
def remove_shortcut_folder_uri(uri)
def list_shortcut_folder_uris()
def set_show_hidden(show_hidden)
def get_show_hidden()
def set_do_overwrite_confirmation(do_overwrite_confirmation)
def get_do_overwrite_confirmation()
def get_current_folder_file()
def get_file()
def get_preview_file()
def select_file(file)
def set_current_folder_file(file)
def set_file(file)
def unselect_file(file)

gtk.FileChooser Properties

"action"Read-WriteThe type of operation that the file selector is performing - one of the GTK FileChooser Action Constants. Default value: gtk.FILE_CHOOSER_ACTION_OPEN
"do-overwrite-confirmation"Read-WriteIf True a file chooser in @@ -20,7 +20,7 @@ "action" property. Default value: False
"show-hidden"Read-WriteIf True, hidden files and folders should be displayed. Default value: False
"use-preview-label"Read-WriteIf True, display a stock label with -the name of the previewed file. Default value: True

gtk.FileChooser Signal Prototypes

"confirm-overwrite"

def callback(filechooser, user_param1, ...)

"current-folder-changed"

def callback(filechooser, user_param1, ...)

"file-activated"

def callback(filechooser, user_param1, ...)

"selection-changed"

def callback(filechooser, user_param1, ...)

"update-preview"

def callback(filechooser, user_param1, ...)

Description

Note

This interface is available in PyGTK 2.4 and above.

gtk.FileChooser +the name of the previewed file. Default value: True

gtk.FileChooser Signal Prototypes

"confirm-overwrite"

def callback(filechooser, user_param1, ...)

"current-folder-changed"

def callback(filechooser, user_param1, ...)

"file-activated"

def callback(filechooser, user_param1, ...)

"selection-changed"

def callback(filechooser, user_param1, ...)

"update-preview"

def callback(filechooser, user_param1, ...)

Description

Note

This interface is available in PyGTK 2.4 and above.

gtk.FileChooser is an interface that can be implemented by file selection widgets. In PyGTK, the main objects that implement this interface are gtk.FileChooserWidget and gtk.FileChooserDialog. You @@ -78,7 +78,7 @@ file_chooser.set_preview_widget_active(have_preview) return ... -

Adding Extra Widgets

You can add extra widgets to a file chooser to provide options +

Adding Extra Widgets

You can add extra widgets to a file chooser to provide options that are not present in the default design. For example, you can add a gtk.ToggleButton to give the user the option to open a file in read-only mode. You can use the set_extra_widget() @@ -88,7 +88,7 @@ my_file_chooser.set_extra_widget(toggle)

If you want to set more than one extra widget in the file chooser, you can use a container such as a gtk.VBox or a gtk.Table to hold -your widgets; then set the container as the whole extra widget.

Key Bindings

The gtk.FileChooserDialog +your widgets; then set the container as the whole extra widget.

Key Bindings

The gtk.FileChooserDialog uses the private GtkFileChooserDefaultClass that has several key bindings and their associated signals. This section describes the available key binding signals.

The default keys that activate the key-binding signals in GtkFileChooserDefaultClass are as follows:

Signal nameKey
location-popupControl-L
up-folderAlt-Up
down-folderAlt-Down
home-folderAlt-Home

To change these defaults to something else, you could include @@ -140,7 +140,7 @@ def home_folder_cb(filechooser, user_data):

where filechooser is the object that received the signal and user_data is the user data -set when the signal handler was connected.

Methods

gtk.FileChooser.set_action

    def set_action(action)

action :

the file selection action - one of: +set when the signal handler was connected.

Methods

gtk.FileChooser.set_action

    def set_action(action)

action :

the file selection action - one of: gtk.FILE_CHOOSER_ACTION_OPEN, gtk.FILE_CHOOSER_ACTION_SAVE, gtk.FILE_CHOOSER_ACTION_SELECT_FOLDER or @@ -498,7 +498,7 @@ The unselect_file() method unselects the file referred to by file. If the file is not in the current directory, does not exist, or is otherwise not currently selected, does nothing. -

Signals

The "confirm-overwrite" gtk.FileChooser Signal

    def callback(filechooser, user_param1, ...)

filechooser :

the filechooser widget that received the +

Signals

The "confirm-overwrite" gtk.FileChooser Signal

    def callback(filechooser, user_param1, ...)

filechooser :

the filechooser widget that received the signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkfilechooserwidget.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkfilechooserwidget.html --- pygtk-2.14.1/docs/html/class-gtkfilechooserwidget.html 2009-03-05 22:48:37.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkfilechooserwidget.html 2009-05-24 23:11:42.000000000 +0100 @@ -1,19 +1,19 @@ gtk.FileChooserWidget

gtk.FileChooserWidget

gtk.FileChooserWidget — a file chooser widget that can be embedded in other widgets(new in PyGTK - 2.4)

Synopsis

class gtk.FileChooserWidget(gtk.VBox, gtk.FileChooser):
-    gtk.FileChooserWidget(action=gtk.FILE_CHOOSER_ACTION_OPEN, backend=None)

Ancestry

+-- gobject.GObject
+    2.4)

Synopsis

class gtk.FileChooserWidget(gtk.VBox, gtk.FileChooser):
+    gtk.FileChooserWidget(action=gtk.FILE_CHOOSER_ACTION_OPEN, backend=None)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Box
           +-- gtk.VBox
             +-- gtk.FileChooserWidget
-

Implemented Interfaces

+

Implemented Interfaces

gtk.Bin implements gtk.Buildable gtk.FileChooser -

gtk.FileChooserWidget Style Properties

gtk.Widget Style Properties

gtk.FileChooserWidget Child Properties

gtk.Box Child Properties

Description

Note

This widget is available in PyGTK 2.4 and above.

The gtk.FileChooserWidget +

gtk.FileChooserWidget Style Properties

gtk.Widget Style Properties

gtk.FileChooserWidget Child Properties

gtk.Box Child Properties

Description

Note

This widget is available in PyGTK 2.4 and above.

The gtk.FileChooserWidget is a widget suitable for selecting files. It is the main building block of a gtk.FileChooserDialog. Most applications will only need to use the latter; you can use gtk.FileChooserWidget diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkfilefilter.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkfilefilter.html --- pygtk-2.14.1/docs/html/class-gtkfilefilter.html 2009-03-05 22:48:37.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkfilefilter.html 2009-05-24 23:11:43.000000000 +0100 @@ -1,9 +1,9 @@ gtk.FileFilter

gtk.FileFilter

gtk.FileFilter — a filter for selecting a file subset (new in PyGTK - 2.4)

Synopsis

class gtk.FileFilter(gtk.Object):
-    gtk.FileFilter()
def set_name(name)
def get_name()
def add_mime_type(mime_type)
def add_pattern(pattern)
def add_custom(needed, func, data)
def get_needed()
def filter(filter_info)
def add_pixbuf_formats()

Ancestry

+-- gobject.GObject
+    2.4)

Synopsis

class gtk.FileFilter(gtk.Object):
+    gtk.FileFilter()
def set_name(name)
def get_name()
def add_mime_type(mime_type)
def add_pattern(pattern)
def add_custom(needed, func, data)
def get_needed()
def filter(filter_info)
def add_pixbuf_formats()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.FileFilter
-

gtk.FileFilter Properties

gtk.Object Properties

gtk.FileFilter Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

Description

Note

This widget is available in PyGTK 2.4 and above.

A gtk.FileFilter +

gtk.FileFilter Properties

gtk.Object Properties

gtk.FileFilter Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

Description

Note

This widget is available in PyGTK 2.4 and above.

A gtk.FileFilter is an object that filters files based on a set of rules that it contains. The categories of information that gtk.FileFilter uses to accept or reject the file are given by the GTK FileFilter Flags Constants:

gtk.FILE_FILTER_FILENAME

The full path name of the file.

gtk.FILE_FILTER_URI

The URI of the file.

gtk.FILE_FILTER_DISPLAY_NAME

The simple name of the file as displayed in a file @@ -33,7 +33,7 @@ methods. To create a filter that accepts any file, use:

   filter = gtk.FileFilter()
   filter.add_pattern("*")
-

Methods

gtk.FileFilter.set_name

    def set_name(name)

name :

the human-readable-name for the +

Methods

gtk.FileFilter.set_name

    def set_name(name)

name :

the human-readable-name for the filter.

Note

This method is available in PyGTK 2.4 and above.

The set_name() method sets the human-readable name of the filter to the string in name. The string in name will diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkfileselection.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkfileselection.html --- pygtk-2.14.1/docs/html/class-gtkfileselection.html 2009-03-05 22:48:37.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkfileselection.html 2009-05-24 23:11:43.000000000 +0100 @@ -1,6 +1,6 @@ gtk.FileSelection

gtk.FileSelection

gtk.FileSelection — a dialog used to prompt the user for a file or directory - name

Synopsis

class gtk.FileSelection(gtk.Dialog):
-    gtk.FileSelection(title=None)
def set_filename(filename)
def get_filename()
def complete(pattern)
def show_fileop_buttons()
def hide_fileop_buttons()
def get_selections()
def set_select_multiple(select_multiple)
def get_select_multiple()

Ancestry

+-- gobject.GObject
+    name

Synopsis

class gtk.FileSelection(gtk.Dialog):
+    gtk.FileSelection(title=None)
def set_filename(filename)
def get_filename()
def complete(pattern)
def show_fileop_buttons()
def hide_fileop_buttons()
def get_selections()
def set_select_multiple(select_multiple)
def get_select_multiple()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
@@ -8,13 +8,13 @@
           +-- gtk.Window
             +-- gtk.Dialog
               +-- gtk.FileSelection
-

Implemented Interfaces

+

Implemented Interfaces

gtk.FileSelection implements gtk.Buildable

gtk.FileSelection Properties

gtk.Object Properties

gtk.Widget Properties

gtk.Container Properties

gtk.Window Properties

gtk.Dialog Properties

"filename"Read/WriteThe currently selected filename.
"select-multiple"Read/WriteIf True allow multiple files to be selected.
"show-fileops"Read/WriteIf True display the buttons for creating - and manipulating files.

Attributes

"dir_list"ReadThe gtk.TreeView + and manipulating files.

Attributes

"dir_list"ReadThe gtk.TreeView widget used to display the directories
"file_list"ReadThe gtk.TreeView widget used to display the files.
"selection_entry"ReadThe gtk.Entry widget used to display the current file selection
"selection_text"ReadThe gtk.Label associated @@ -29,7 +29,7 @@ fileops dialog that is created when one of the fileops buttons is clicked.
"fileop_file"ReadThe name of the file to be operated on by the fileops
"fileop_c_dir"ReadThe "New Folder" fileops button.
"fileop_del_file"ReadThe "Delete File" fileops button
"fileop_ren_file"ReadThe "Rename File" fileops button
"button_area"ReadThe fileops gtk.ButtonBox.
"action_area"ReadA gtk.HBox that can be -used by the application to add buttons, etc.

Description

The gtk.FileSelection +used by the application to add buttons, etc.

Description

The gtk.FileSelection should be used to retrieve file or directory names from the user. It will create a new dialog window containing a directory list, and a file list corresponding to the current working directory. The filesystem can be @@ -51,7 +51,7 @@ gtk.TreeViews displaying the application's current working directory, and its file listing. File operation buttons that allow the user to create a directory, -delete files and rename files, are also present.

Methods

gtk.FileSelection.set_filename

    def set_filename(filename)

filename :

a string to set as the default file +delete files and rename files, are also present.

Methods

gtk.FileSelection.set_filename

    def set_filename(filename)

filename :

a string to set as the default file name.

The set_filename() method sets a default path for the file requester. If filename includes a directory path, then the fileselection will open with that path diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkfixed.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkfixed.html --- pygtk-2.14.1/docs/html/class-gtkfixed.html 2009-03-05 22:48:38.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkfixed.html 2009-05-24 23:11:44.000000000 +0100 @@ -1,15 +1,15 @@ gtk.Fixed

gtk.Fixed

gtk.Fixed — a container which allows you to position widgets at fixed -coordinates

Synopsis

class gtk.Fixed(gtk.Container):
-    gtk.Fixed()
def put(widget, x, y)
def move(widget, x, y)
def set_has_window(has_window)
def get_has_window()

Ancestry

+-- gobject.GObject
+coordinates

Synopsis

class gtk.Fixed(gtk.Container):
+    gtk.Fixed()
def put(widget, x, y)
def move(widget, x, y)
def set_has_window(has_window)
def get_has_window()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Fixed
-

Implemented Interfaces

+

Implemented Interfaces

gtk.Fixed implements gtk.Buildable -

gtk.Fixed Style Properties

gtk.Widget Style Properties

gtk.Fixed Child Properties

"x"Read/WriteThe x position of the child widget.
"y"Read/WriteThe y position of the child widget.

gtk.Fixed Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

Description

The gtk.Fixed widget is a +

gtk.Fixed Style Properties

gtk.Widget Style Properties

gtk.Fixed Child Properties

"x"Read/WriteThe x position of the child widget.
"y"Read/WriteThe y position of the child widget.

gtk.Fixed Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

Description

The gtk.Fixed widget is a container that can place child widgets at fixed positions and with fixed sizes, given in pixels. gtk.Fixed performs no automatic layout management. For most applications, you should not use this @@ -32,7 +32,7 @@ maintenance problem for your application. If you know none of these things are an issue for your application, and prefer the simplicity of gtk.Fixed, by all means use the widget. But you should be aware of the tradeoffs.

Constructor

    gtk.Fixed()

Returns :

a new fixed widget

Creates a new gtk.Fixed -widget

Methods

gtk.Fixed.put

    def put(widget, x, y)

widget :

the child widget being +widget

Methods

gtk.Fixed.put

    def put(widget, x, y)

widget :

the child widget being added*

x :

the x position of the widget location

y :

the y position of the widget location

The put() method adds the child widget diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkfontbutton.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkfontbutton.html --- pygtk-2.14.1/docs/html/class-gtkfontbutton.html 2009-03-05 22:48:38.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkfontbutton.html 2009-05-24 23:11:44.000000000 +0100 @@ -1,13 +1,13 @@ gtk.FontButton

gtk.FontButton

gtk.FontButton — a button to launch a font - selection dialog (new in PyGTK 2.4)

Synopsis

class gtk.FontButton(gtk.Button):
-    gtk.FontButton(fontname=None)
def get_title()
def set_title(title)
def get_use_font()
def set_use_font(use_font)
def get_use_size()
def set_use_size(use_size)
def get_font_name()
def set_font_name(fontname)
def get_show_style()
def set_show_style(show_style)
def get_show_size()
def set_show_size(show_size)

Ancestry

+-- gobject.GObject
+    selection dialog (new in PyGTK 2.4)

Synopsis

class gtk.FontButton(gtk.Button):
+    gtk.FontButton(fontname=None)
def get_title()
def set_title(title)
def get_use_font()
def set_use_font(use_font)
def get_use_size()
def set_use_size(use_size)
def get_font_name()
def set_font_name(fontname)
def get_show_style()
def set_show_style(show_style)
def get_show_size()
def set_show_size(show_size)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Bin
           +-- gtk.Button
             +-- gtk.FontButton
-

Implemented Interfaces

+

Implemented Interfaces

gtk.FontButton implements gtk.Buildable @@ -18,7 +18,7 @@ to show the selected style, see the "use-font" property.

"title"Read-WriteThe title of the font selection dialog.
"use-font"Read-WriteIf True, the label will be drawn in the selected font
"use-size"Read-WriteIf True, the label will be drawn - with the selected font size.

gtk.FontButton Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

gtk.Button Signal Prototypes

"font-set"

def callback(fontbutton, user_param1, ...)

Description

Note

This widget is available in PyGTK 2.4 and above.

The gtk.FontButton + with the selected font size.

gtk.FontButton Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

gtk.Button Signal Prototypes

"font-set"

def callback(fontbutton, user_param1, ...)

Description

Note

This widget is available in PyGTK 2.4 and above.

The gtk.FontButton is a button that displays the currently selected font and, when clicked, opens a gtk.FontSelectionDialog to change the font. A gtk.FontButton @@ -26,7 +26,7 @@ selection dialog

Returns :

a new font button widget

Note

This constructor is available in PyGTK 2.4 and above.

Creates a new gtk.FontButton that displays the font specified by fontname or the currently selected font if fontname is -None or not specified.

Methods

gtk.FontButton.get_title

    def get_title()

Returns :

the title string

Note

This method is available in PyGTK 2.4 and above.

The get_title() method returns the +None or not specified.

Methods

gtk.FontButton.get_title

    def get_title()

Returns :

the title string

Note

This method is available in PyGTK 2.4 and above.

The get_title() method returns the value of the "title" property that contains the title of the font selection dialog.

gtk.FontButton.set_title

    def set_title(title)

title :

a string containing the font selection dialog title

Note

This method is available in PyGTK 2.4 and above.

The set_title() method sets the "title" @@ -75,7 +75,7 @@ "show-size" property to to the value of show_size. If show_size is True, the font size will be displayed along with the name of the selected font in the font -button label.

Signals

The "font-set" gtk.FontButton Signal

    def callback(fontbutton, user_param1, ...)

fontbutton :

the fontbutton that received the +button label.

Signals

The "font-set" gtk.FontButton Signal

    def callback(fontbutton, user_param1, ...)

fontbutton :

the fontbutton that received the signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkfontselectiondialog.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkfontselectiondialog.html --- pygtk-2.14.1/docs/html/class-gtkfontselectiondialog.html 2009-03-05 22:48:39.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkfontselectiondialog.html 2009-05-24 23:11:45.000000000 +0100 @@ -1,5 +1,5 @@ -gtk.FontSelectionDialog

gtk.FontSelectionDialog

gtk.FontSelectionDialog — a dialog for selecting fonts.

Synopsis

class gtk.FontSelectionDialog(gtk.Dialog):
-    gtk.FontSelectionDialog(title)
def get_font_name()
def set_font_name(fontname)
def get_preview_text()
def set_preview_text(text)
def get_apply_button()
def get_cancel_button()
def get_ok_button()

Ancestry

+-- gobject.GObject
+gtk.FontSelectionDialog

gtk.FontSelectionDialog

gtk.FontSelectionDialog — a dialog for selecting fonts.

Synopsis

class gtk.FontSelectionDialog(gtk.Dialog):
+    gtk.FontSelectionDialog(title)
def get_font_name()
def set_font_name(fontname)
def get_preview_text()
def set_preview_text(text)
def get_apply_button()
def get_cancel_button()
def get_ok_button()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
@@ -7,14 +7,14 @@
           +-- gtk.Window
             +-- gtk.Dialog
               +-- gtk.FontSelectionDialog
-

Implemented Interfaces

+

Implemented Interfaces

gtk.FontSelectionDialog implements gtk.Buildable -

gtk.FontSelectionDialog Style Properties

gtk.Widget Style Properties

gtk.Dialog Style Properties

Attributes

"fontsel"ReadThe gtk.FontSelection +

gtk.FontSelectionDialog Style Properties

gtk.Widget Style Properties

gtk.Dialog Style Properties

Attributes

"fontsel"ReadThe gtk.FontSelection widget in the dialog.
"main_vbox"ReadThe gtk.VBox that contains all the dialog widgets
"action_area"ReadThe gtk.HBox containing -the action buttons
"ok_button"ReadThe OK button
"apply_button"ReadThe Apply button
"cancel_button"ReadThe Cancel button

Description

The gtk.FontSelectionDialog +the action buttons

"ok_button"ReadThe OK button
"apply_button"ReadThe Apply button
"cancel_button"ReadThe Cancel button

Description

The gtk.FontSelectionDialog is a dialog box containing a gtk.FontSelection widget that the user can use to select a font according to the desired family, style and size.

The set_font_name() @@ -36,7 +36,7 @@ does not have filters, a Reset Filter button or a Filter page.

Constructor

    gtk.FontSelectionDialog(title)

title :

a string to be used as the dialog title

Returns :

a new font selection dialog

Creates a new gtk.FontSelectionDialog -with the title specified by title.

Methods

gtk.FontSelectionDialog.get_font_name

    def get_font_name()

Returns :

the currently selected font name or None if no +with the title specified by title.

Methods

gtk.FontSelectionDialog.get_font_name

    def get_font_name()

Returns :

the currently selected font name or None if no font is selected.

The get_font_name() method returns a string containing the currently selected font name or None if no font name is selected.

gtk.FontSelectionDialog.set_font_name

    def set_font_name(fontname)

fontname :

a string containing the font name to be diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkfontselection.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkfontselection.html --- pygtk-2.14.1/docs/html/class-gtkfontselection.html 2009-03-05 22:48:39.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkfontselection.html 2009-05-24 23:11:45.000000000 +0100 @@ -1,19 +1,19 @@ -gtk.FontSelection

gtk.FontSelection

gtk.FontSelection — a widget for selecting fonts.

Synopsis

class gtk.FontSelection(gtk.VBox):
-    gtk.FontSelection()
def get_font_name()
def set_font_name(fontname)
def get_preview_text()
def set_preview_text(text)
def get_face()
def get_face_list()
def get_family()
def get_family_list()
def get_preview_entry()
def get_size()
def get_size_entry()
def get_size_list()

Ancestry

+-- gobject.GObject
+gtk.FontSelection

gtk.FontSelection

gtk.FontSelection — a widget for selecting fonts.

Synopsis

class gtk.FontSelection(gtk.VBox):
+    gtk.FontSelection()
def get_font_name()
def set_font_name(fontname)
def get_preview_text()
def set_preview_text(text)
def get_face()
def get_face_list()
def get_family()
def get_family_list()
def get_preview_entry()
def get_size()
def get_size_entry()
def get_size_list()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Box
           +-- gtk.VBox
             +-- gtk.FontSelection
-

Implemented Interfaces

+

Implemented Interfaces

gtk.FontSelection implements gtk.Buildable

gtk.FontSelection Properties

gtk.Object Properties

gtk.Widget Properties

gtk.Container Properties

gtk.Box Properties

"font"ReadThe gtk.gdk.Font that is currently selected. This property is deprecated.
"font-name"Read/WriteThe string that names the font
"preview-text"Read/WriteThe text to display in order to demonstrate the selected font. -

gtk.FontSelection Style Properties

gtk.Widget Style Properties

gtk.FontSelection Child Properties

gtk.Box Child Properties

gtk.FontSelection Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

Description

The gtk.FontSelection +

gtk.FontSelection Style Properties

gtk.Widget Style Properties

gtk.FontSelection Child Properties

gtk.Box Child Properties

gtk.FontSelection Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

Description

The gtk.FontSelection widget lists the available fonts, styles and sizes, allowing the user to select a font. It is used in the gtk.FontSelectionDialog widget to provide a dialog box for selecting fonts. The set_font_name() @@ -32,7 +32,7 @@ by the user, by using the Reset Filter button or changing the options on the Filter page of the widget.

Constructor

    gtk.FontSelection()

Returns :

a new fontselection widget

Creates a new gtk.FontSelection -widget.

Methods

gtk.FontSelection.get_font_name

    def get_font_name()

Returns :

a string containing the selected font +widget.

Methods

gtk.FontSelection.get_font_name

    def get_font_name()

Returns :

a string containing the selected font name

The get_font_name() method returns the name of the currently selected font.

gtk.FontSelection.set_font_name

    def set_font_name(fontname)

fontname :

a string containing the name of a font

Returns :

True if the font could be diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkframe.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkframe.html --- pygtk-2.14.1/docs/html/class-gtkframe.html 2009-03-05 22:48:39.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkframe.html 2009-05-24 23:11:45.000000000 +0100 @@ -1,12 +1,12 @@ gtk.Frame

gtk.Frame

gtk.Frame — a bin with a decorative frame and optional -label.

Synopsis

class gtk.Frame(gtk.Bin):
-    gtk.Frame(label=None)
def set_label(label)
def get_label()
def set_label_widget(label_widget)
def get_label_widget()
def set_label_align(xalign, yalign)
def get_label_align()
def set_shadow_type(type)
def get_shadow_type()

Ancestry

+-- gobject.GObject
+label.

Synopsis

class gtk.Frame(gtk.Bin):
+    gtk.Frame(label=None)
def set_label(label)
def get_label()
def set_label_widget(label_widget)
def get_label_widget()
def set_label_align(xalign, yalign)
def get_label_align()
def set_shadow_type(type)
def get_shadow_type()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Bin
           +-- gtk.Frame
-

Implemented Interfaces

+

Implemented Interfaces

gtk.Frame implements gtk.Buildable @@ -16,7 +16,7 @@ label widget height in the range of 0.0 to 1.0

"shadow-type"Read-WriteThe style of the frame's border; one of: gtk.SHADOW_NONE, gtk.SHADOW_IN, gtk.SHADOW_OUT, gtk.SHADOW_ETCHED_IN, -gtk.SHADOW_ETCHED_OUT

gtk.Frame Style Properties

gtk.Widget Style Properties

gtk.Frame Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

Description

The gtk.Frame widget is a +gtk.SHADOW_ETCHED_OUT

gtk.Frame Style Properties

gtk.Widget Style Properties

gtk.Frame Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

Description

The gtk.Frame widget is a gtk.Bin that surrounds its child with a decorative frame and an optional label. If present, the label is drawn in a gap in the top side of the frame. The @@ -24,7 +24,7 @@ label is required.

Returns :

a new frame widget

Creates a new gtk.Frame widget with the label text specified by label. If label is None no label is -created.

Methods

gtk.Frame.set_label

    def set_label(label)

label :

a string to be used as the label +created.

Methods

gtk.Frame.set_label

    def set_label(label)

label :

a string to be used as the label text

The set_label() method sets the text of the label as specified by label. If label is None the current label is diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkgammacurve.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkgammacurve.html --- pygtk-2.14.1/docs/html/class-gtkgammacurve.html 2009-03-05 22:48:40.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkgammacurve.html 2009-05-24 23:11:46.000000000 +0100 @@ -1,22 +1,22 @@ gtk.GammaCurve

gtk.GammaCurve

gtk.GammaCurve — subclass of gtk.Curve for editing -gamma curves.

Synopsis

class gtk.GammaCurve(gtk.VBox):
-    gtk.GammaCurve()

Ancestry

+-- gobject.GObject
+gamma curves.

Synopsis

class gtk.GammaCurve(gtk.VBox):
+    gtk.GammaCurve()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Box
           +-- gtk.VBox
             +-- gtk.GammaCurve
-

Implemented Interfaces

+

Implemented Interfaces

gtk.GammaCurve implements gtk.Buildable -

gtk.GammaCurve Style Properties

gtk.Widget Style Properties

gtk.GammaCurve Child Properties

gtk.Box Child Properties

Attributes

"table"ReadThe gtk.Table +

gtk.GammaCurve Style Properties

gtk.Widget Style Properties

gtk.GammaCurve Child Properties

gtk.Box Child Properties

Attributes

"table"ReadThe gtk.Table containing the gtk.GammaCurve widgets.
"curve"ReadThe gtk.Curve widget.
"gamma"ReadThe gamma value (float)
"gamma_dialog"ReadThe gtk.Dialog that prompts for the gamma value.
"gamma_text"ReadThe gtk.Entry -containing the gamma value in the gamma dialog

gtk.GammaCurve Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

Description

Note

This widget is considered too specialized or little-used for +containing the gamma value in the gamma dialog

gtk.GammaCurve Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

Description

Note

This widget is considered too specialized or little-used for PyGTK, and will in the future be moved to some other package. If your application needs this widget, feel free to use it, as the widget does work and is useful in some applications; it's just not of general interest. diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkhandlebox.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkhandlebox.html --- pygtk-2.14.1/docs/html/class-gtkhandlebox.html 2009-03-05 22:48:41.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkhandlebox.html 2009-05-24 23:11:46.000000000 +0100 @@ -1,11 +1,11 @@ -gtk.HandleBox

gtk.HandleBox

gtk.HandleBox — a widget for detachable window portions.

Synopsis

class gtk.HandleBox(gtk.Bin):
-    gtk.HandleBox()
def set_shadow_type(type)
def get_shadow_type()
def set_handle_position(position)
def get_handle_position()
def set_snap_edge(edge)
def get_snap_edge()
def get_child_detached()

Ancestry

+-- gobject.GObject
+gtk.HandleBox

gtk.HandleBox

gtk.HandleBox — a widget for detachable window portions.

Synopsis

class gtk.HandleBox(gtk.Bin):
+    gtk.HandleBox()
def set_shadow_type(type)
def get_shadow_type()
def set_handle_position(position)
def get_handle_position()
def set_snap_edge(edge)
def get_snap_edge()
def get_child_detached()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Bin
           +-- gtk.HandleBox
-

Implemented Interfaces

+

Implemented Interfaces

gtk.HandleBox implements gtk.Buildable @@ -13,7 +13,7 @@ widget; one of the GTK Position Type Constants.

"shadow-type"Read-WriteThe type of shadow; one of the GTK Shadow Type Constants.
"snap-edge"Read-WriteThe side of the handlebox that's lined up with the docking point to dock the handlebox; one of the GTK Position Type Constants.
"snap-edge-set"Read-WriteIf True, use the value from "snap-edge"; otherwise, use a value derived from - "handle-position". Available in GTK+ 2.2 and above.

gtk.HandleBox Style Properties

gtk.Widget Style Properties

gtk.HandleBox Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

"child-attached"

def callback(handlebox, widget, user_param1, ...)

"child-detached"

def callback(handlebox, widget, user_param1, ...)

Description

The gtk.HandleBox + "handle-position". Available in GTK+ 2.2 and above.

gtk.HandleBox Style Properties

gtk.Widget Style Properties

gtk.HandleBox Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

"child-attached"

def callback(handlebox, widget, user_param1, ...)

"child-detached"

def callback(handlebox, widget, user_param1, ...)

Description

The gtk.HandleBox widget allows a portion of a window to be "torn off". It is a bin widget which displays its child and a handle that the user can drag to tear off into a separate floating window containing the child widget. A thin ghost is @@ -32,7 +32,7 @@ the handlebox is detached, the bottom edge of the handlebox's allocation will remain fixed as the height of the handlebox shrinks, so the snap edge should be set to gtk.POS_BOTTOM.

Constructor

    gtk.HandleBox()

Returns :

a new handlebox widget

Creates a new gtk.HandleBox -widget.

Methods

gtk.HandleBox.set_shadow_type

    def set_shadow_type(type)

type :

the shadow type: +widget.

Methods

gtk.HandleBox.set_shadow_type

    def set_shadow_type(type)

type :

the shadow type: gtk.SHADOW_NONE, gtk.SHADOW_IN, gtk.SHADOW_OUT, gtk.SHADOW_ETCHED_IN, gtk.SHADOW_ETCHED_OUT

The set_shadow_type() method sets the @@ -81,7 +81,7 @@ otherwise False

Note

This method is available in PyGTK 2.14 and above.

The get_child_detached() method gets whether the handlebox's child is currently detached. -

Signals

The "child-attached" gtk.HandleBox Signal

    def callback(handlebox, widget, user_param1, ...)

handlebox :

the widget that received the +

Signals

The "child-attached" gtk.HandleBox Signal

    def callback(handlebox, widget, user_param1, ...)

handlebox :

the widget that received the signal

widget :

the child widget

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkhbox.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkhbox.html --- pygtk-2.14.1/docs/html/class-gtkhbox.html 2009-03-05 22:48:41.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkhbox.html 2009-05-24 23:11:47.000000000 +0100 @@ -1,15 +1,15 @@ -gtk.HBox

gtk.HBox

gtk.HBox — a horizontal container box

Synopsis

class gtk.HBox(gtk.Box):
-    gtk.HBox(homogeneous=False, spacing=0)

Ancestry

+-- gobject.GObject
+gtk.HBox

gtk.HBox

gtk.HBox — a horizontal container box

Synopsis

class gtk.HBox(gtk.Box):
+    gtk.HBox(homogeneous=False, spacing=0)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Box
           +-- gtk.HBox
-

Implemented Interfaces

+

Implemented Interfaces

gtk.HBox implements gtk.Buildable -

gtk.HBox Style Properties

gtk.Widget Style Properties

gtk.HBox Child Properties

gtk.Box Child Properties

gtk.HBox Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

Description

The gtk.HBox is a +

gtk.HBox Style Properties

gtk.Widget Style Properties

gtk.HBox Child Properties

gtk.Box Child Properties

gtk.HBox Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

Description

The gtk.HBox is a container subclassed from gtk.Box that organizes its child widgets into a single horizontal row. The gtk.Box methods are used to manage the order, spacing, width and alignment of the child widgets diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkhbuttonbox.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkhbuttonbox.html --- pygtk-2.14.1/docs/html/class-gtkhbuttonbox.html 2009-03-05 22:48:41.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkhbuttonbox.html 2009-05-24 23:11:47.000000000 +0100 @@ -1,16 +1,16 @@ -gtk.HButtonBox

gtk.HButtonBox

gtk.HButtonBox — a container for arranging buttons horizontally.

Synopsis

class gtk.HButtonBox(gtk.ButtonBox):
-    gtk.HButtonBox()

Ancestry

+-- gobject.GObject
+gtk.HButtonBox

gtk.HButtonBox

gtk.HButtonBox — a container for arranging buttons horizontally.

Synopsis

class gtk.HButtonBox(gtk.ButtonBox):
+    gtk.HButtonBox()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Box
           +-- gtk.ButtonBox
             +-- gtk.HButtonBox
-

Implemented Interfaces

+

Implemented Interfaces

gtk.HButtonBox implements gtk.Buildable -

gtk.HButtonBox Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

Description

The gtk.HButtonBox +

gtk.HButtonBox Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

Description

The gtk.HButtonBox is a container subclassed from gtk.ButtonBox that is optimized for the horizontal layout of buttons. The gtk.HButtonBox helps provide a consistent layout of buttons in an application by providing diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkhpaned.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkhpaned.html --- pygtk-2.14.1/docs/html/class-gtkhpaned.html 2009-03-05 22:48:41.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkhpaned.html 2009-05-24 23:11:47.000000000 +0100 @@ -1,16 +1,16 @@ gtk.HPaned

gtk.HPaned

gtk.HPaned — a container with two panes arranged -horizontally.

Synopsis

class gtk.HPaned(gtk.Paned):
-    gtk.HPaned()

Ancestry

+-- gobject.GObject
+horizontally.

Synopsis

class gtk.HPaned(gtk.Paned):
+    gtk.HPaned()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Paned
           +-- gtk.HPaned
-

Implemented Interfaces

+

Implemented Interfaces

gtk.HPaned implements gtk.Buildable -

gtk.HPaned Child Properties

gtk.Paned Child Properties

Description

The gtk.HPaned is a +

gtk.HPaned Child Properties

gtk.Paned Child Properties

Description

The gtk.HPaned is a container widget subclassed from gtk.Paned with two children arranged horizontally. The division between the children can be adjusted by the user by dragging a handle. See the gtk.Paned description diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkhruler.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkhruler.html --- pygtk-2.14.1/docs/html/class-gtkhruler.html 2009-03-05 22:48:41.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkhruler.html 2009-05-24 23:11:47.000000000 +0100 @@ -1,14 +1,14 @@ -gtk.HRuler

gtk.HRuler

gtk.HRuler — a horizontal ruler.

Synopsis

class gtk.HRuler(gtk.Ruler):
-    gtk.HRuler()

Ancestry

+-- gobject.GObject
+gtk.HRuler

gtk.HRuler

gtk.HRuler — a horizontal ruler.

Synopsis

class gtk.HRuler(gtk.Ruler):
+    gtk.HRuler()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Ruler
         +-- gtk.HRuler
-

Implemented Interfaces

+

Implemented Interfaces

gtk.HRuler implements gtk.Buildable -

gtk.HRuler Style Properties

gtk.Widget Style Properties

gtk.HRuler Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

Description

Note

This widget is considered too specialized or little-used for +

gtk.HRuler Style Properties

gtk.Widget Style Properties

gtk.HRuler Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

Description

Note

This widget is considered too specialized or little-used for PyGTK, and will in the future be moved to some other package. If your application needs this widget, feel free to use it, as the widget does work and is useful in some applications; it's just not of general interest. diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkhscale.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkhscale.html --- pygtk-2.14.1/docs/html/class-gtkhscale.html 2009-03-05 22:48:42.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkhscale.html 2009-05-24 23:11:47.000000000 +0100 @@ -1,16 +1,16 @@ gtk.HScale

gtk.HScale

gtk.HScale — a horizontal slider widget for selecting a value from a -range.

Synopsis

class gtk.HScale(gtk.Scale):
-    gtk.HScale(adjustment=None)

Ancestry

+-- gobject.GObject
+range.

Synopsis

class gtk.HScale(gtk.Scale):
+    gtk.HScale(adjustment=None)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Range
         +-- gtk.Scale
           +-- gtk.HScale
-

Implemented Interfaces

+

Implemented Interfaces

gtk.HScale implements gtk.Buildable -

Description

The gtk.HScale is +

Description

The gtk.HScale is subclassed from gtk.Scale to provide a widget that allows a user to select a value using a horizontal slider. See the gtk.Scale diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkhscrollbar.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkhscrollbar.html --- pygtk-2.14.1/docs/html/class-gtkhscrollbar.html 2009-03-05 22:48:42.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkhscrollbar.html 2009-05-24 23:11:48.000000000 +0100 @@ -1,15 +1,15 @@ -gtk.HScrollbar

gtk.HScrollbar

gtk.HScrollbar — a horizontal scrollbar widget

Synopsis

class gtk.HScrollbar(gtk.Scrollbar):
-    gtk.HScrollbar(adjustment=None)

Ancestry

+-- gobject.GObject
+gtk.HScrollbar

gtk.HScrollbar

gtk.HScrollbar — a horizontal scrollbar widget

Synopsis

class gtk.HScrollbar(gtk.Scrollbar):
+    gtk.HScrollbar(adjustment=None)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Range
         +-- gtk.Scrollbar
           +-- gtk.HScrollbar
-

Implemented Interfaces

+

Implemented Interfaces

gtk.HScrollbar implements gtk.Buildable -

gtk.HScrollbar Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Range Signal Prototypes

Description

The gtk.HScrollbar +

gtk.HScrollbar Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Range Signal Prototypes

Description

The gtk.HScrollbar widget is subclassed from gtk.Scrollbar to provide a horizontal scrollbar. See gtk.Scrollbar for details on the methods available for managing scrollbars. A gtk.Adjustment diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkhseparator.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkhseparator.html --- pygtk-2.14.1/docs/html/class-gtkhseparator.html 2009-03-05 22:48:42.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkhseparator.html 2009-05-24 23:11:48.000000000 +0100 @@ -1,14 +1,14 @@ -gtk.HSeparator

gtk.HSeparator

gtk.HSeparator — a horizontal separator.

Synopsis

class gtk.HSeparator(gtk.Separator):
-    gtk.HSeparator()

Ancestry

+-- gobject.GObject
+gtk.HSeparator

gtk.HSeparator

gtk.HSeparator — a horizontal separator.

Synopsis

class gtk.HSeparator(gtk.Separator):
+    gtk.HSeparator()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Separator
         +-- gtk.HSeparator
-

Implemented Interfaces

+

Implemented Interfaces

gtk.HSeparator implements gtk.Buildable -

gtk.HSeparator Style Properties

gtk.Widget Style Properties

gtk.HSeparator Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

Description

The gtk.HSeparator +

gtk.HSeparator Style Properties

gtk.Widget Style Properties

gtk.HSeparator Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

Description

The gtk.HSeparator widget is a horizontal separator, used to visibly separate the widgets within a window. It displays a horizontal line with a shadow to make it appear sunken into the interface.

Note

The gtk.HSeparator diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkiconfactory.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkiconfactory.html --- pygtk-2.14.1/docs/html/class-gtkiconfactory.html 2009-03-05 22:48:42.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkiconfactory.html 2009-05-24 23:11:48.000000000 +0100 @@ -1,10 +1,10 @@ -gtk.IconFactory

gtk.IconFactory

gtk.IconFactory — an object that manages a group of icon sets.

Synopsis

class gtk.IconFactory(gobject.GObject):
+gtk.IconFactory

gtk.IconFactory

gtk.IconFactory — an object that manages a group of icon sets.

Synopsis

class gtk.IconFactory(gobject.GObject):
     gtk.IconFactory()
def add(stock_id, icon_set)
def lookup(stock_id)
def add_default()
def remove_default()
 Functions
 
-    def gtk.icon_factory_lookup_default(stock_id)

Ancestry

+-- gobject.GObject
+    def gtk.icon_factory_lookup_default(stock_id)

Ancestry

+-- gobject.GObject
   +-- gtk.IconFactory
-

gtk.IconFactory Signal Prototypes

gobject.GObject Signal Prototypes

Description

A gtk.IconFactory +

gtk.IconFactory Signal Prototypes

gobject.GObject Signal Prototypes

Description

A gtk.IconFactory manages a group of gtk.IconSets that manage a set of variants (for different sizes and states) of a specific icon. Icons in an icon factory are named by a stock ID, which is a simple @@ -21,7 +21,7 @@ on the widget that will display the icon, or the convenience function gtk.Widget.render_icon(). These functions take the theme into account when looking up the icon to use for a given stock ID.

Constructor

    gtk.IconFactory()

Returns :

a new gtk.IconFactory -object

Creates a new gtk.IconFactory.

Methods

gtk.IconFactory.add

    def add(stock_id, icon_set)

stock_id :

an icon name

icon_set :

an icon set

The add() method adds the specified +object

Creates a new gtk.IconFactory.

Methods

gtk.IconFactory.add

    def add(stock_id, icon_set)

stock_id :

an icon name

icon_set :

an icon set

The add() method adds the specified icon_set to the icon factory, under the name stock_id. the stock_id string should include the name of your application, e.g. "myapp-whatever-icon". @@ -47,7 +47,7 @@ The default icon factories can be overridden by themes.

gtk.IconFactory.remove_default

    def remove_default()

The remove_default() method removes an icon factory from the list of default icon factories. Not normally used though you might use it for a library that can be unloaded or shut -down.

Functions

gtk.icon_factory_lookup_default

    def gtk.icon_factory_lookup_default(stock_id)

stock_id :

the stock ID to lookup

Returns :

the icon set matching +down.

Functions

gtk.icon_factory_lookup_default

    def gtk.icon_factory_lookup_default(stock_id)

stock_id :

the stock ID to lookup

Returns :

the icon set matching stock_id or None if no icon set matches

The gtk.icon_factory_lookup_default() function returns the gtk.IconSet that diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkiconinfo.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkiconinfo.html --- pygtk-2.14.1/docs/html/class-gtkiconinfo.html 2009-03-05 22:48:43.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkiconinfo.html 2009-05-24 23:11:48.000000000 +0100 @@ -1,8 +1,8 @@ gtk.IconInfo

gtk.IconInfo

gtk.IconInfo — object containing - information about and icon in an icon theme (new in PyGTK 2.4)

Synopsis

class gtk.IconInfo(gobject.GBoxed):
+    information about and icon in an icon theme (new in PyGTK 2.4)

Synopsis

class gtk.IconInfo(gobject.GBoxed):
     def copy()
def free()
def get_base_size()
def get_filename()
def get_builtin_pixbuf()
def load_icon()
def set_raw_coordinates(raw_coordinates)
def get_embedded_rect()
def get_attach_points()
def get_display_name()
 Functions
-    def gtk.icon_info_new_from_pixbuf(pixbuf)

Description

Note

This object is available in PyGTK 2.4 and above.

A gtk.IconInfo + def gtk.icon_info_new_from_pixbuf(pixbuf)

Description

Note

This object is available in PyGTK 2.4 and above.

A gtk.IconInfo object contains information about an icon in a gtk.IconTheme. A gtk.IconInfo object is created using the gtk.IconTheme.lookup_icon() @@ -11,7 +11,7 @@ method. If you just want to load the pixbuf of an icon you can use the gtk.IconTheme.load_icon() method that combines the gtk.IconTheme.lookup_icon() method and the load_icon() -method.

Methods

gtk.IconInfo.copy

    def copy()

Returns :

the new gtk.IconInfo

Note

This method is available in PyGTK 2.4 and above.

The copy() method returns a copy of the +method.

Methods

gtk.IconInfo.copy

    def copy()

Returns :

the new gtk.IconInfo

Note

This method is available in PyGTK 2.4 and above.

The copy() method returns a copy of the icon info object.

gtk.IconInfo.free

    def free()

Note

This method is available in PyGTK 2.4 and above.

Warning

This method is deprecated and should not be used since it can crash your application.

The free() method frees the icon info and its associated information

gtk.IconInfo.get_base_size

    def get_base_size()

Returns :

the base size, or 0, if no base @@ -73,7 +73,7 @@ attaching emblems or overlays to the icon.

gtk.IconInfo.get_display_name

    def get_display_name()

Returns :

the display name for the icon or None, if the icon doesn't have a specified display name.

Note

This method is available in PyGTK 2.4 and above.

The get_display_name() method returns the display name for an icon. A display name is a string to be used in place of the icon name in a user -visible context like a list of icons.

Functions

gtk.icon_info_new_from_pixbuf

    def gtk.icon_info_new_from_pixbuf(pixbuf)

pixbuf :

the gtk.Pixbuf +visible context like a list of icons.

Functions

gtk.icon_info_new_from_pixbuf

    def gtk.icon_info_new_from_pixbuf(pixbuf)

pixbuf :

the gtk.Pixbuf to wrap in a gtk.IconInfo.

Note

This function is available in PyGTK 2.14 and above.

Creates a gtk.IconInfo diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkiconset.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkiconset.html --- pygtk-2.14.1/docs/html/class-gtkiconset.html 2009-03-05 22:48:43.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkiconset.html 2009-05-24 23:11:49.000000000 +0100 @@ -1,5 +1,5 @@ -gtk.IconSet

gtk.IconSet

gtk.IconSet — contains a set of variants for an icon

Synopsis

class gtk.IconSet(gobject.GBoxed):
-    gtk.IconSet(pixbuf=None)
def copy()
def render_icon(style, direction, state, size, widget, detail)
def add_source(source)
def get_sizes()

Description

A gtk.IconSet +gtk.IconSet

gtk.IconSet

gtk.IconSet — contains a set of variants for an icon

Synopsis

class gtk.IconSet(gobject.GBoxed):
+    gtk.IconSet(pixbuf=None)
def copy()
def render_icon(style, direction, state, size, widget, detail)
def add_source(source)
def get_sizes()

Description

A gtk.IconSet contains a set of variants for a single icon. The variants provide icons of different sizes and for different widget states. The variants can be added with the add_source() @@ -9,7 +9,7 @@ fallback source image. If you don't add any additional gtk.IconSources to the icon set, all variants of the icon will be created from pixbuf, using scaling, pixelation, etc. as required -to adjust the icon size or make the icon look insensitive/prelighted.

Methods

gtk.IconSet.copy

    def copy()

Returns :

a new gtk.IconSet +to adjust the icon size or make the icon look insensitive/prelighted.

Methods

gtk.IconSet.copy

    def copy()

Returns :

a new gtk.IconSet identical to the first.

The copy() method returns a copy of the icon set.

gtk.IconSet.render_icon

    def render_icon(style, direction, state, size, widget, detail)

style :

a gtk.Style associated with widget, or diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkiconsource.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkiconsource.html --- pygtk-2.14.1/docs/html/class-gtkiconsource.html 2009-03-05 22:48:43.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkiconsource.html 2009-05-24 23:11:49.000000000 +0100 @@ -1,8 +1,8 @@ -gtk.IconSource

gtk.IconSource

gtk.IconSource — a source for icon variants

Synopsis

class gtk.IconSource(gobject.GBoxed):
+gtk.IconSource

gtk.IconSource

gtk.IconSource — a source for icon variants

Synopsis

class gtk.IconSource(gobject.GBoxed):
     gtk.IconSource()
def copy()
def free()
def set_filename(filename)
def set_pixbuf(pixbuf)
def get_filename()
def get_pixbuf()
def set_direction_wildcarded(setting)
def set_state_wildcarded(setting)
def set_size_wildcarded(setting)
def get_size_wildcarded()
def get_state_wildcarded()
def get_direction_wildcarded()
def set_direction(direction)
def set_state(state)
def set_size(size)
def get_direction()
def get_state()
def get_size()
def set_icon_name(icon_name)
def get_icon_name()
 Functions
 
-    def gtk.icon_size_lookup(icon_size)
def gtk.icon_size_lookup_for_settings(settings, icon_size)
def gtk.icon_size_register(name, width, height)
def gtk.icon_size_register_alias(alias, target)
def gtk.icon_size_from_name(name)
def gtk.icon_size_get_name(size)

Description

A gtk.IconSource + def gtk.icon_size_lookup(icon_size)
def gtk.icon_size_lookup_for_settings(settings, icon_size)
def gtk.icon_size_register(name, width, height)
def gtk.icon_size_register_alias(alias, target)
def gtk.icon_size_from_name(name)
def gtk.icon_size_get_name(size)

Description

A gtk.IconSource contains a gtk.gdk.Pixbuf (or an image filename) that serves as the base image for one or more of the icons in a gtk.IconSet, along @@ -17,7 +17,7 @@ with a specification for which icons in the icon set will be based on that pixbuf or image file. By default, the icon source has all parameters wildcarded. That is, the icon source will be used as the base icon for any -desired text direction, widget state, or icon size.

Methods

gtk.IconSource.copy

    def copy()

Returns :

a new gtk.IconSource

The copy() method creates a copy of the +desired text direction, widget state, or icon size.

Methods

gtk.IconSource.copy

    def copy()

Returns :

a new gtk.IconSource

The copy() method creates a copy of the icon source.

gtk.IconSource.free

    def free()

Warning

This method is deprecated and should not be used. Use of this method may cause your application to crash.

The free() method frees a dynamically-allocated icon source, along with its filename, size, and pixbuf @@ -127,7 +127,7 @@ gtk.IconSet.

In PyGTK 2.10 and above, icon_name may be None to unset the icon name.

gtk.IconSource.get_icon_name

    def get_icon_name()

Returns :

the icon name or None if no name is set.

Note

This method is available in PyGTK 2.4 and above.

The get_icon() method returns the - source icon name, or None if no name is set.

Functions

gtk.icon_size_lookup

    def gtk.icon_size_lookup(icon_size)

icon_size :

an icon size

Returns :

a 2-tuple containing the width and height of + source icon name, or None if no name is set.

Functions

gtk.icon_size_lookup

    def gtk.icon_size_lookup(icon_size)

icon_size :

an icon size

Returns :

a 2-tuple containing the width and height of the specified icon_size

The gtk.icon_size_lookup() function returns a 2-tuple containing the width and height of the icon size specified by icon_size. The value of diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkicontheme.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkicontheme.html --- pygtk-2.14.1/docs/html/class-gtkicontheme.html 2009-03-05 22:48:44.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkicontheme.html 2009-05-24 23:11:50.000000000 +0100 @@ -1,11 +1,11 @@ -gtk.IconTheme

gtk.IconTheme

gtk.IconTheme — look up icons by name and size (new in PyGTK 2.4)

Synopsis

class gtk.IconTheme(gobject.GObject):
+gtk.IconTheme

gtk.IconTheme

gtk.IconTheme — look up icons by name and size (new in PyGTK 2.4)

Synopsis

class gtk.IconTheme(gobject.GObject):
     gtk.IconTheme()
def set_screen(screen)
def set_search_path(path)
def get_search_path()
def append_search_path(path)
def prepend_search_path(path)
def set_custom_theme(theme_name)
def has_icon(icon_name)
def lookup_icon(icon_name, size, flags)
def load_icon(icon_name, size, flags)
def choose_icon(icon_names, size, flags)
def list_contexts()
def list_icons(context=None)
def get_example_icon_name()
def rescan_if_needed()
def get_icon_sizes(icon_name)
def lookup_by_gicon(icon, size, flags)
 Functions
 
     def gtk.icon_theme_get_default()
def gtk.icon_theme_get_for_screen(screen)
def gtk.icon_theme_add_builtin_icon(icon_name, size, pixbuf) -

Ancestry

+-- gobject.GObject
+

Ancestry

+-- gobject.GObject
   +-- gtk.IconTheme
-

gtk.IconTheme Signal Prototypes

gobject.GObject Signal Prototypes

"changed"

def callback(icontheme, user_param1, ...)

Description

Note

This object is available in PyGTK 2.4 and above.

gtk.IconTheme +

gtk.IconTheme Signal Prototypes

gobject.GObject Signal Prototypes

"changed"

def callback(icontheme, user_param1, ...)

Description

Note

This object is available in PyGTK 2.4 and above.

gtk.IconTheme provides a facility for looking up icons by name and size. The main reason for using a name rather than simply providing a filename is to allow different icons to be used depending on what icon theme is selected by the @@ -52,7 +52,7 @@ lookup up an icon by name in a particular icon theme. Usually, you'll want to use the gtk.icon_theme_get_default() or gtk.icon_theme_get_for_screen() -functions rather than creating a new icon theme object from scratch.

Methods

gtk.IconTheme.set_screen

    def set_screen(screen)

screen :

a gtk.gdk.Screen

Note

This method is available in PyGTK 2.4 and above.

The set_screen() method sets the gtk.gdk.Screen for +functions rather than creating a new icon theme object from scratch.

Methods

gtk.IconTheme.set_screen

    def set_screen(screen)

screen :

a gtk.gdk.Screen

Note

This method is available in PyGTK 2.4 and above.

The set_screen() method sets the gtk.gdk.Screen for an icon theme to screen. The screen is used to track the user's currently configured icon theme, which might be different for different screens.

gtk.IconTheme.set_search_path

    def set_search_path(path)

path :

a list or tuple of directories that are @@ -165,7 +165,7 @@ and returns a structure containing information such as the filename of the icon. The icon can then be rendered into a pixbuf using gtk.IconInfo.load_icon(). -

Functions

gtk.icon_theme_get_default

    def gtk.icon_theme_get_default()

Returns :

A unique gtk.IconTheme +

Functions

gtk.icon_theme_get_default

    def gtk.icon_theme_get_default()

Returns :

A unique gtk.IconTheme associated with the default gtk.gdk.Screen. This icon theme is associated with the screen and can be used as long as the screen is open.

Note

This function is available in PyGTK 2.4 and above.

The gtk.icon_them_get_default() function @@ -200,7 +200,7 @@ install the icon in the icon theme, so that the icon is generally available. This function will generally be used with pixbufs loaded via the gtk.gdk.pixbuf_new_from_inline() -function.

Signals

The "changed" gtk.IconTheme Signal

    def callback(icontheme, user_param1, ...)

icontheme :

the icontheme that received the +function.

Signals

The "changed" gtk.IconTheme Signal

    def callback(icontheme, user_param1, ...)

icontheme :

the icontheme that received the signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkiconview.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkiconview.html --- pygtk-2.14.1/docs/html/class-gtkiconview.html 2009-03-05 22:48:46.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkiconview.html 2009-05-24 23:11:52.000000000 +0100 @@ -1,10 +1,10 @@ gtk.IconView

gtk.IconView

gtk.IconView — a widget which displays a list of icons in a grid (new in -PyGTK 2.6)

Synopsis

class gtk.IconView(gtk.Container, gtk.CellLayout):
-    gtk.IconView(model=None)
def set_model(model=None)
def get_model()
def set_text_column(column)
def get_text_column()
def set_markup_column(column)
def get_markup_column()
def set_pixbuf_column(column)
def get_pixbuf_column()
def get_path_at_pos(x, y)
def get_item_at_pos(x, y)
def set_cursor(path, cell=None, start_editing=False)
def get_cursor()
def selected_foreach(func, data)
def set_selection_mode(mode)
def get_selection_mode()
def set_orientation(orientation)
def get_orientation()
def set_columns(columns)
def get_columns()
def set_item_width(item_width)
def get_item_width()
def set_spacing(spacing)
def get_spacing()
def set_row_spacing(row_spacing)
def get_row_spacing()
def set_column_spacing(column_spacing)
def get_column_spacing()
def set_margin(margin)
def get_margin()
def select_path(path)
def unselect_path(path)
def path_is_selected(path)
def get_selected_items()
def select_all()
def unselect_all()
def item_activated(path)
def scroll_to_path(path, use_align, row_align, col_align)
def get_visible_range()
def enable_model_drag_source(start_button_mask, targets, actons)
def enable_model_drag_dest(targets, actions)
def unset_model_drag_source()
def unset_model_drag_dest()
def set_reorderable(reorderable)
def get_reorderable()
def set_drag_dest_item(path, pos)
def get_drag_dest_item()
def get_dest_item_at_pos(drag_x, drag_y)
def create_drag_icon(path)
def convert_widget_to_bin_window_coords(widget_x, widget_y)
def set_tooltip_cell(tooltip, path, cell)
def set_tooltip_column(column)
def get_tooltip_column()
def set_tooltip_item(tooltip, path)

Ancestry

+-- gobject.GObject
+PyGTK 2.6)

Synopsis

class gtk.IconView(gtk.Container, gtk.CellLayout):
+    gtk.IconView(model=None)
def set_model(model=None)
def get_model()
def set_text_column(column)
def get_text_column()
def set_markup_column(column)
def get_markup_column()
def set_pixbuf_column(column)
def get_pixbuf_column()
def get_path_at_pos(x, y)
def get_item_at_pos(x, y)
def set_cursor(path, cell=None, start_editing=False)
def get_cursor()
def selected_foreach(func, data)
def set_selection_mode(mode)
def get_selection_mode()
def set_orientation(orientation)
def get_orientation()
def set_columns(columns)
def get_columns()
def set_item_width(item_width)
def get_item_width()
def set_spacing(spacing)
def get_spacing()
def set_row_spacing(row_spacing)
def get_row_spacing()
def set_column_spacing(column_spacing)
def get_column_spacing()
def set_margin(margin)
def get_margin()
def select_path(path)
def unselect_path(path)
def path_is_selected(path)
def get_selected_items()
def select_all()
def unselect_all()
def item_activated(path)
def scroll_to_path(path, use_align, row_align, col_align)
def get_visible_range()
def enable_model_drag_source(start_button_mask, targets, actons)
def enable_model_drag_dest(targets, actions)
def unset_model_drag_source()
def unset_model_drag_dest()
def set_reorderable(reorderable)
def get_reorderable()
def set_drag_dest_item(path, pos)
def get_drag_dest_item()
def get_dest_item_at_pos(drag_x, drag_y)
def create_drag_icon(path)
def convert_widget_to_bin_window_coords(widget_x, widget_y)
def set_tooltip_cell(tooltip, path, cell)
def set_tooltip_column(column)
def get_tooltip_column()
def set_tooltip_item(tooltip, path)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
-        +-- gtk.IconView (implements gtk.CellLayout)

Implemented Interfaces

+ +-- gtk.IconView (implements gtk.CellLayout)

Implemented Interfaces

gtk.IconView implements gtk.Buildable @@ -43,7 +43,7 @@ to -1, no text is displayed. Allowed values: >= -1. Default value: -1. Available in GTK+ 2.6 and above.

gtk.IconView Style Properties

gtk.Widget Style Properties

"selection-box-alpha"ReadThe opacity of the selection box. Default value: 64. Available in GTK+ 2.6 and above.
"selection-box-color"ReadThe color of the selection box. Available in GTK+ 2.6 -and above.

gtk.IconView Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

"activate-cursor-item"

def callback(iconview, user_param1, ...)

"item-activated"

def callback(iconview, path, user_param1, ...)

"move-cursor"

def callback(iconview, step, number, user_param1, ...)

"select-all"

def callback(iconview, user_param1, ...)

"select-cursor-item"

def callback(iconview, user_param1, ...)

"selection-changed"

def callback(iconview, user_param1, ...)

"set-scroll-adjustments"

def callback(iconview, hadj, vadj, user_param1, ...)

"toggle-cursor-item"

def callback(iconview, user_param1, ...)

"unselect-all"

def callback(iconview, user_param1, ...)

Description

Note

This widget is available in PyGTK 2.6 and above.

The gtk.IconView +and above.

gtk.IconView Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

"activate-cursor-item"

def callback(iconview, user_param1, ...)

"item-activated"

def callback(iconview, path, user_param1, ...)

"move-cursor"

def callback(iconview, step, number, user_param1, ...)

"select-all"

def callback(iconview, user_param1, ...)

"select-cursor-item"

def callback(iconview, user_param1, ...)

"selection-changed"

def callback(iconview, user_param1, ...)

"set-scroll-adjustments"

def callback(iconview, hadj, vadj, user_param1, ...)

"toggle-cursor-item"

def callback(iconview, user_param1, ...)

"unselect-all"

def callback(iconview, user_param1, ...)

Description

Note

This widget is available in PyGTK 2.6 and above.

The gtk.IconView widget provides an alternative view of a gtk.ListStore model. It displays the model as a grid of icons with labels. Like gtk.TreeView, you can select one or multiple items (depending on the selection mode, see the @@ -56,7 +56,7 @@ widget.

Note

This constructor is available in PyGTK 2.6 and above.

Creates a new gtk.IconView widget. If model is specified and not None it should specify a gtk.TreeModel to -be used as the model.

Methods

gtk.IconView.set_model

    def set_model(model=None)

model :

a gtk.TreeModel +be used as the model.

Methods

gtk.IconView.set_model

    def set_model(model=None)

model :

a gtk.TreeModel or None

Note

This method is available in PyGTK 2.6 and above.

The set_model() method sets the "model" property to the gtk.TreeModel specified by model. If model @@ -318,7 +318,7 @@ tooltip to be the area covered by the item at path. See also gtk.Tooltip.set_tip_area(). -

Signals

The "activate-cursor-item" gtk.IconView Signal

    def callback(iconview, user_param1, ...)

iconview :

the widget that received the +

Signals

The "activate-cursor-item" gtk.IconView Signal

    def callback(iconview, user_param1, ...)

iconview :

the widget that received the signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkimage.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkimage.html --- pygtk-2.14.1/docs/html/class-gtkimage.html 2009-03-05 22:48:48.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkimage.html 2009-05-24 23:11:53.000000000 +0100 @@ -1,14 +1,14 @@ gtk.Image

gtk.Image

gtk.Image — A widget displaying an image -

Synopsis

class gtk.Image(gtk.Misc):
+

Synopsis

class gtk.Image(gtk.Misc):
     gtk.Image()
def set_from_pixmap(pixmap, mask)
def set_from_image(gdk_image, mask)
def set_from_file(filename)
def set_from_pixbuf(pixbuf)
def set_from_stock(stock_id, size)
def set_from_icon_set(icon_set, size)
def set_from_animation(animation)
def get_storage_type()
def get_pixmap()
def get_image()
def get_pixbuf()
def get_stock()
def get_icon_set()
def get_animation()
def get_icon_name()
def set_from_icon_name(icon_name, size)
def set_pixel_size(pixel_size)
def get_pixel_size()
def clear()
def set_from_gicon(gicon, size)
 Functions
 
-    def gtk.image_new_from_stock(stock_id, size)
def gtk.image_new_from_icon_set(icon_set, size)
def gtk.image_new_from_animation(animation)
def gtk.image_new_from_icon_name(icon_name, size)
def gtk.image_new_from_pixmap(pixmap, mask)
def gtk.image_new_from_image(image, mask)
def gtk.image_new_from_file(filename)
def gtk.image_new_from_pixbuf(pixbuf)
def gtk.image_new_from_gicon(gicon, size)

Ancestry

+-- gobject.GObject
+    def gtk.image_new_from_stock(stock_id, size)
def gtk.image_new_from_icon_set(icon_set, size)
def gtk.image_new_from_animation(animation)
def gtk.image_new_from_icon_name(icon_name, size)
def gtk.image_new_from_pixmap(pixmap, mask)
def gtk.image_new_from_image(image, mask)
def gtk.image_new_from_file(filename)
def gtk.image_new_from_pixbuf(pixbuf)
def gtk.image_new_from_gicon(gicon, size)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Misc
         +-- gtk.Image
-

Implemented Interfaces

+

Implemented Interfaces

gtk.Image implements gtk.Buildable @@ -32,7 +32,7 @@ gtk.IMAGE_EMPTY, gtk.IMAGE_PIXMAP, gtk.IMAGE_IMAGE, gtk.IMAGE_PIXBUF, gtk.IMAGE_STOCK, gtk.IMAGE_ICON_SET or -gtk.IMAGE_ANIMATION

gtk.Image Style Properties

gtk.Widget Style Properties

gtk.Image Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

Description

The gtk.Image widget +gtk.IMAGE_ANIMATION

gtk.Image Style Properties

gtk.Widget Style Properties

gtk.Image Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

Description

The gtk.Image widget displays an image. Various kinds of objects can be displayed as an image; usually, you would load a gtk.gdk.Pixbuf ("pixel buffer") from a file, and then display it. The convenience method @@ -76,7 +76,7 @@ directly with the gtk.gdk.pixbuf_new_from_inline() function to create a pixbuf that can be used in a gtk.Image.

Constructor

    gtk.Image()

Returns :

a newly created gtk.Image widget.

Creates a new empty gtk.Image -widget.

Methods

gtk.Image.set_from_pixmap

    def set_from_pixmap(pixmap, mask)

pixmap :

a gtk.gdk.Pixmap

mask :

a bitmap gtk.gdk.Pixmap or +widget.

Methods

gtk.Image.set_from_pixmap

    def set_from_pixmap(pixmap, mask)

pixmap :

a gtk.gdk.Pixmap

mask :

a bitmap gtk.gdk.Pixmap or None

The set_from_pixmap() method sets the image data from pixmap using mask.

gtk.Image.set_from_image

    def set_from_image(gdk_image, mask)

gdk_image :

a gtk.gdk.Image or @@ -217,7 +217,7 @@ For the set_from_gicon() method see gtk.image_new_from_gicon() for details. -

Functions

gtk.image_new_from_stock

    def gtk.image_new_from_stock(stock_id, size)

stock_id :

a stock icon name

size :

an integer representing an icon +

Functions

gtk.image_new_from_stock

    def gtk.image_new_from_stock(stock_id, size)

stock_id :

a stock icon name

size :

an integer representing an icon size

Returns :

a new gtk.Image displaying the stock icon

The gtk.image_new_from_stock() function returns a new gtk.Image displaying diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkimagemenuitem.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkimagemenuitem.html --- pygtk-2.14.1/docs/html/class-gtkimagemenuitem.html 2009-03-05 22:48:48.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkimagemenuitem.html 2009-05-24 23:11:54.000000000 +0100 @@ -1,6 +1,6 @@ gtk.ImageMenuItem

gtk.ImageMenuItem

gtk.ImageMenuItem — a menuitem that displays an image with an accel -label

Synopsis

class gtk.ImageMenuItem(gtk.MenuItem):
-    gtk.ImageMenuItem(stock_id=None, accel_group=None)
def set_image(image)
def get_image()

Ancestry

+-- gobject.GObject
+label

Synopsis

class gtk.ImageMenuItem(gtk.MenuItem):
+    gtk.ImageMenuItem(stock_id=None, accel_group=None)
def set_image(image)
def get_image()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
@@ -8,12 +8,12 @@
           +-- gtk.Item
             +-- gtk.MenuItem
               +-- gtk.ImageMenuItem
-

Implemented Interfaces

+

Implemented Interfaces

gtk.ImageMenuItem implements gtk.Buildable

gtk.ImageMenuItem Properties

gtk.Object Properties

gtk.Widget Properties

gtk.Container Properties

"image"Read-Writethe child widget that is next to the text in the menu -item

Description

The gtk.ImageMenuItem +item

Description

The gtk.ImageMenuItem widget is a subclass of gtk.MenuItem that contains an image widget and a gtk.AccelLabel though a gtk.ImageMenuItem @@ -28,7 +28,7 @@ underscore characters to indicate the mnemonic character for the accelerator.

If stock_id specifies a stock item and accel_group specifies a gtk.AccelGroup -the accelerator is added to accel_group.

Methods

gtk.ImageMenuItem.set_image

    def set_image(image)

image :

a widget to set as the image for the menu +the accelerator is added to accel_group.

Methods

gtk.ImageMenuItem.set_image

    def set_image(image)

image :

a widget to set as the image for the menu item.

The set_image() method sets the image of the image menu item to the widget specified in image.

gtk.ImageMenuItem.get_image

    def get_image()

Returns :

the image in the image menu diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkimcontext.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkimcontext.html --- pygtk-2.14.1/docs/html/class-gtkimcontext.html 2009-03-05 22:48:48.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkimcontext.html 2009-05-24 23:11:54.000000000 +0100 @@ -1,9 +1,9 @@ gtk.IMContext

gtk.IMContext

gtk.IMContext — an abstract base class defining a generic input method -interface

Synopsis

class gtk.IMContext(gtk.Object):
-    def set_client_window(window)
def get_preedit_string()
def filter_keypress(key)
def focus_in()
def focus_out()
def reset()
def set_cursor_location(area)
def set_use_preedit(use_preedit)
def set_surrounding(text, len, cursor_index)
def get_surrounding()
def delete_surrounding(offset, n_chars)

Ancestry

+-- gobject.GObject
+interface

Synopsis

class gtk.IMContext(gtk.Object):
+    def set_client_window(window)
def get_preedit_string()
def filter_keypress(key)
def focus_in()
def focus_out()
def reset()
def set_cursor_location(area)
def set_use_preedit(use_preedit)
def set_surrounding(text, len, cursor_index)
def get_surrounding()
def delete_surrounding(offset, n_chars)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.IMContext
-

gtk.IMContext Signal Prototypes

"commit"

def callback(imcontext, string, user_param1, ...)

"delete-surrounding"

def callback(imcontext, offset, n_chars, user_param1, ...)

"preedit-changed"

def callback(imcontext, user_param1, ...)

"preedit-end"

def callback(imcontext, user_param1, ...)

"preedit-start"

def callback(imcontext, user_param1, ...)

"retrieve-surrounding"

def callback(imcontext, user_param1, ...)

Description

The gtk.IMContext is +

gtk.IMContext Signal Prototypes

"commit"

def callback(imcontext, string, user_param1, ...)

"delete-surrounding"

def callback(imcontext, offset, n_chars, user_param1, ...)

"preedit-changed"

def callback(imcontext, user_param1, ...)

"preedit-end"

def callback(imcontext, user_param1, ...)

"preedit-start"

def callback(imcontext, user_param1, ...)

"retrieve-surrounding"

def callback(imcontext, user_param1, ...)

Description

The gtk.IMContext is an abstract base class used to provide objects to manage the context for input methods used to support text input in various natural languages. The character input for some languages (e.g. Chinese, Japanese and Korean) @@ -16,7 +16,7 @@ widgets.

The gtk.IMContext manages the context of the text surrounding the cursor and the preedit text that provides feedback about the in-process multiple character -composition.

Methods

gtk.IMContext.set_client_window

    def set_client_window(window)

window :

the client window. This may be +composition.

Methods

gtk.IMContext.set_client_window

    def set_client_window(window)

window :

the client window. This may be None to indicate that the previous client window no longer exists.

The set_client_window() method set the client window for the input context; this is the gtk.gdk.Window in @@ -86,7 +86,7 @@ the fact that even if the signal was handled, the input context might not have deleted all the characters that were requested to be deleted.

This function is used by an input method that wants to make substitutions in the existing text in response to new input. It is not useful -for applications.

Signals

The "commit" gtk.IMContext Signal

    def callback(imcontext, string, user_param1, ...)

imcontext :

the imcontext that received the +for applications.

Signals

The "commit" gtk.IMContext Signal

    def callback(imcontext, string, user_param1, ...)

imcontext :

the imcontext that received the signal

string :

the text to be committed

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkimcontextsimple.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkimcontextsimple.html --- pygtk-2.14.1/docs/html/class-gtkimcontextsimple.html 2009-03-05 22:48:48.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkimcontextsimple.html 2009-05-24 23:11:54.000000000 +0100 @@ -1,12 +1,12 @@ gtk.IMContextSimple

gtk.IMContextSimple

gtk.IMContextSimple — an input method context object that supports "simple" input -methods

Synopsis

class gtk.IMContextSimple(gtk.IMContext):
-    gtk.IMContextSimple()

Ancestry

+-- gobject.GObject
+methods

Synopsis

class gtk.IMContextSimple(gtk.IMContext):
+    gtk.IMContextSimple()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.IMContext
       +-- gtk.IMContextSimple
-

gtk.IMContextSimple Signal Prototypes

gobject.GObject Signal Prototypes

gtk.IMContext Signal Prototypes

Description

The gtk.IMContextSimple +

gtk.IMContextSimple Signal Prototypes

gobject.GObject Signal Prototypes

gtk.IMContext Signal Prototypes

Description

The gtk.IMContextSimple class is a subclass of gtk.IMContext that provides context support for "simple" input methods. gtk.IMContextSimple does direct keysym to unicode translation and table-driven composition.

Constructor

    gtk.IMContextSimple()

Returns :

a new gtk.IMContextSimple.

Creates a new gtk.IMContextSimple -object.

Methods

+object.

Methods

diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkimmulticontext.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkimmulticontext.html --- pygtk-2.14.1/docs/html/class-gtkimmulticontext.html 2009-03-05 22:48:48.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkimmulticontext.html 2009-05-24 23:11:54.000000000 +0100 @@ -1,17 +1,17 @@ gtk.IMMulticontext

gtk.IMMulticontext

gtk.IMMulticontext — an input method context object that manages the use of -multiple input method contexts for a widget

Synopsis

class gtk.IMMulticontext(gtk.IMContext):
-    gtk.IMMulticontext()
def append_menuitems(menushell)

Ancestry

+-- gobject.GObject
+multiple input method contexts for a widget

Synopsis

class gtk.IMMulticontext(gtk.IMContext):
+    gtk.IMMulticontext()
def append_menuitems(menushell)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.IMContext
       +-- gtk.IMMulticontext
-

gtk.IMMulticontext Signal Prototypes

gobject.GObject Signal Prototypes

gtk.IMContext Signal Prototypes

Description

The gtk.IMMulticontext +

gtk.IMMulticontext Signal Prototypes

gobject.GObject Signal Prototypes

gtk.IMContext Signal Prototypes

Description

The gtk.IMMulticontext class is a subclass of gtk.IMContext that manages the use of multiple input method contexts for a widget including the ability to switch between contexts on the fly. A gtk.IMMulticontext object will proxy the method calls and signals to and from the object implementing the input method.

Constructor

    gtk.IMMulticontext()

Returns :

a new gtk.IMMulticontext object.

Creates a new gtk.IMMulticontext -object.

Methods

gtk.IMMulticontext.append_menuitems

    def append_menuitems(menushell)

menushell :

a gtk.MenuShell +object.

Methods

gtk.IMMulticontext.append_menuitems

    def append_menuitems(menushell)

menushell :

a gtk.MenuShell widget

The append_menuitems() method adds menuitems for various available input methods to a menu; the menuitems, when selected, will switch the input method for the context and the global diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkinputdialog.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkinputdialog.html --- pygtk-2.14.1/docs/html/class-gtkinputdialog.html 2009-03-05 22:48:49.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkinputdialog.html 2009-05-24 23:11:54.000000000 +0100 @@ -1,6 +1,6 @@ gtk.InputDialog

gtk.InputDialog

gtk.InputDialog — a dialog for configuring devices for the XInput -extension.

Synopsis

class gtk.InputDialog(gtk.Dialog):
-    gtk.InputDialog()

Ancestry

+-- gobject.GObject
+extension.

Synopsis

class gtk.InputDialog(gtk.Dialog):
+    gtk.InputDialog()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
@@ -8,11 +8,11 @@
           +-- gtk.Window
             +-- gtk.Dialog
               +-- gtk.InputDialog
-

Implemented Interfaces

+

Implemented Interfaces

gtk.InputDialog implements gtk.Buildable -

gtk.InputDialog Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

gtk.Window Signal Prototypes

gtk.Dialog Signal Prototypes

"disable-device"

def callback(inputdialog, deviceid, user_param1, ...)

"enable-device"

def callback(inputdialog, deviceid, user_param1, ...)

Description

Note

This widget is considered too specialized or little-used for +

gtk.InputDialog Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

gtk.Window Signal Prototypes

gtk.Dialog Signal Prototypes

"disable-device"

def callback(inputdialog, deviceid, user_param1, ...)

"enable-device"

def callback(inputdialog, deviceid, user_param1, ...)

Description

Note

This widget is considered too specialized or little-used for PyGTK, and will in the future be moved to some other package. If your application needs this widget, feel free to use it, as the widget does work and is useful in some applications; it's just not of general interest. @@ -24,7 +24,7 @@ contains two buttons to which the application can connect; one for closing the dialog, and one for saving the changes. No actions are bound to these by default. The changes that the user makes take effect immediately.

Constructor

    gtk.InputDialog()

Returns :

a new gtk.InputDialog -widget

Creates a new gtk.InputDialog.

Signals

The "disable-device" gtk.InputDialog Signal

    def callback(inputdialog, deviceid, user_param1, ...)

inputdialog :

the inputdialog that received the +widget

Creates a new gtk.InputDialog.

Signals

The "disable-device" gtk.InputDialog Signal

    def callback(inputdialog, deviceid, user_param1, ...)

inputdialog :

the inputdialog that received the signal

deviceid :

the ID of the newly disabled device.

user_param1 :

the first user parameter (if any) specified with the connect() diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkinvisible.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkinvisible.html --- pygtk-2.14.1/docs/html/class-gtkinvisible.html 2009-03-05 22:48:49.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkinvisible.html 2009-05-24 23:11:55.000000000 +0100 @@ -1,18 +1,18 @@ -gtk.Invisible

gtk.Invisible

gtk.Invisible — internally-used widget which is not displayed.

Synopsis

class gtk.Invisible(gtk.Widget):
-    gtk.Invisible()
def set_screen(screen)
def get_screen()

Ancestry

+-- gobject.GObject
+gtk.Invisible

gtk.Invisible

gtk.Invisible — internally-used widget which is not displayed.

Synopsis

class gtk.Invisible(gtk.Widget):
+    gtk.Invisible()
def set_screen(screen)
def get_screen()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Invisible
-

Implemented Interfaces

+

Implemented Interfaces

gtk.Invisible implements gtk.Buildable -

gtk.Invisible Properties

gtk.Object Properties

gtk.Widget Properties

"screen"Read-WriteThe screen where this window will be displayed.

gtk.Invisible Style Properties

gtk.Widget Style Properties

gtk.Invisible Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

Description

The gtk.Invisible +

gtk.Invisible Properties

gtk.Object Properties

gtk.Widget Properties

"screen"Read-WriteThe screen where this window will be displayed.

gtk.Invisible Style Properties

gtk.Widget Style Properties

gtk.Invisible Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

Description

The gtk.Invisible widget is used internally in GTK, and is probably not useful for application developers. It is used for reliable pointer grabs and selection handling in the code for drag-and-drop.

Constructor

    gtk.Invisible()

Returns :

a new gtk.Invisible widget

Creates a new gtk.Invisible -widget.

Methods

gtk.Invisible.set_screen

    def set_screen(screen)

screen :

a gtk.gdk.Screen +widget.

Methods

gtk.Invisible.set_screen

    def set_screen(screen)

screen :

a gtk.gdk.Screen object

Note

This method is available in PyGTK 2.2 and above.

The set_screen() method sets the gtk.gdk.Screen (specified by screen) where the gtk.Invisible object will be displayed.

gtk.Invisible.get_screen

    def get_screen()

Returns :,  :

the diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkitemfactory.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkitemfactory.html --- pygtk-2.14.1/docs/html/class-gtkitemfactory.html 2009-03-05 22:48:50.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkitemfactory.html 2009-05-24 23:11:55.000000000 +0100 @@ -1,12 +1,12 @@ gtk.ItemFactory

gtk.ItemFactory

gtk.ItemFactory — creates menus, menubars and option menus from a data -description.

Synopsis

class gtk.ItemFactory(gtk.Object):
+description.

Synopsis

class gtk.ItemFactory(gtk.Object):
     gtk.ItemFactory(container_type, path, accel_group=None)
def construct(container_type, path, accel_group)
def get_item(path)
def get_widget(path)
def get_widget_by_action(action)
def get_item_by_action(action)
def create_items(entries, callback_data=None)
def delete_item(path)
def popup(x, y, mouse_button, time=GDK_CURRENT_TIME)
 Functions
 
-    def gtk.item_factory_from_widget(widget)
def gtk.item_factory_path_from_widget(widget)

Ancestry

+-- gobject.GObject
+    def gtk.item_factory_from_widget(widget)
def gtk.item_factory_path_from_widget(widget)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.ItemFactory
-

gtk.ItemFactory Properties

gtk.Object Properties

gtk.ItemFactory Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

Description

gtk.ItemFactory Properties

gtk.Object Properties

gtk.ItemFactory Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

Description

Warning

gtk.ItemFactory is deprecated in PyGTK 2.4 and above. The gtk.UIManager should be used instead.

The gtk.ItemFactory provides a convenient way to create and manage menus, menubars and option @@ -41,7 +41,7 @@ form "<name>"

accel_group :

a gtk.AccelGroup to which the accelerators for the menu items will be added, or None to create a new one

Returns :

a new gtk.ItemFactory

Creates a new gtk.ItemFactory -object.

Methods

gtk.ItemFactory.construct

    def construct(container_type, path, accel_group)

container_type :

the kind of menu to create; one of: gtk.MenuBar, gtk.Menu or gtk.OptionMenu.

path :

the path of the item factory, a string of the +object.

Methods

gtk.ItemFactory.construct

    def construct(container_type, path, accel_group)

container_type :

the kind of menu to create; one of: gtk.MenuBar, gtk.Menu or gtk.OptionMenu.

path :

the path of the item factory, a string of the form "<name>"

accel_group :

a gtk.AccelGroup to which the accelerators for the menu items will be added, or None to create a new one

The construct() method initializes an @@ -82,7 +82,7 @@ constructed from the item factory at the specified location (x, y). This method is generally invoked in response to a "button_press_event" so the arguments are -retrieved from the event information.

Functions

gtk.item_factory_from_widget

    def gtk.item_factory_from_widget(widget)

widget :

a gtk.Widget +retrieved from the event information.

Functions

gtk.item_factory_from_widget

    def gtk.item_factory_from_widget(widget)

widget :

a gtk.Widget object

Returns :

the gtk.ItemFactory that created widget

The gtk.item_factory_from_widget() function returns the gtk.ItemFactory diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkitem.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkitem.html --- pygtk-2.14.1/docs/html/class-gtkitem.html 2009-03-05 22:48:49.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkitem.html 2009-05-24 23:11:55.000000000 +0100 @@ -1,19 +1,19 @@ -gtk.Item

gtk.Item

gtk.Item — abstract base class for gtk.MenuItem

Synopsis

class gtk.Item(gtk.Bin):
-    def select()
def deselect()
def toggle()

Ancestry

+-- gobject.GObject
+gtk.Item

gtk.Item

gtk.Item — abstract base class for gtk.MenuItem

Synopsis

class gtk.Item(gtk.Bin):
+    def select()
def deselect()
def toggle()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Bin
           +-- gtk.Item
-

Implemented Interfaces

+

Implemented Interfaces

gtk.Item implements gtk.Buildable -

gtk.Item Style Properties

gtk.Widget Style Properties

gtk.Item Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

"deselect"

def callback(item, user_param1, ...)

"select"

def callback(item, user_param1, ...)

"toggle"

def callback(item, user_param1, ...)

Description

The gtk.Item widget is an -abstract base class for gtk.MenuItem.

Methods

gtk.Item.select

    def select()

The select() method emits the "select" +

gtk.Item Style Properties

gtk.Widget Style Properties

gtk.Item Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

"deselect"

def callback(item, user_param1, ...)

"select"

def callback(item, user_param1, ...)

"toggle"

def callback(item, user_param1, ...)

Description

The gtk.Item widget is an +abstract base class for gtk.MenuItem.

Methods

gtk.Item.select

    def select()

The select() method emits the "select" signal on the item.

gtk.Item.deselect

    def deselect()

The deselect() method emits the "deselect" signal on the item.

gtk.Item.toggle

    def toggle()

The toggle() method emits the "toggle" -signal on the item.

Signals

The "deselect" gtk.Item Signal

    def callback(item, user_param1, ...)

item :

the item that received the +signal on the item.

Signals

The "deselect" gtk.Item Signal

    def callback(item, user_param1, ...)

item :

the item that received the signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtklabel.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtklabel.html --- pygtk-2.14.1/docs/html/class-gtklabel.html 2009-03-05 22:48:51.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtklabel.html 2009-05-24 23:11:57.000000000 +0100 @@ -1,11 +1,11 @@ gtk.Label

gtk.Label

gtk.Label — a widget that displays a limited amount of read-only -text

Synopsis

class gtk.Label(gtk.Misc):
-    gtk.Label(str=None)
def set_text(str)
def get_text()
def set_attributes(attrs)
def get_attributes()
def set_label(str)
def get_label()
def set_markup(str)
def set_use_markup(setting)
def get_use_markup()
def set_use_underline(setting)
def get_use_underline()
def set_markup_with_mnemonic(str)
def get_mnemonic_keyval()
def set_mnemonic_widget(widget)
def get_mnemonic_widget()
def set_text_with_mnemonic(str)
def set_justify(jtype)
def get_justify()
def set_pattern(pattern)
def set_line_wrap(wrap)
def get_line_wrap()
def set_selectable(setting)
def get_selectable()
def select_region(start_offset, end_offset)
def get_selection_bounds()
def get_layout()
def get_layout_offsets()
def set_ellipsize(mode)
def get_ellipsize()
def set_width_chars(n_chars)
def get_width_chars()
def set_single_line_mode(single_line_mode)
def get_single_line_mode()
def get_max_width_chars()
def set_max_width_chars(n_chars)
def get_angle()
def set_angle(angle)

Ancestry

+-- gobject.GObject
+text

Synopsis

class gtk.Label(gtk.Misc):
+    gtk.Label(str=None)
def set_text(str)
def get_text()
def set_attributes(attrs)
def get_attributes()
def set_label(str)
def get_label()
def set_markup(str)
def set_use_markup(setting)
def get_use_markup()
def set_use_underline(setting)
def get_use_underline()
def set_markup_with_mnemonic(str)
def get_mnemonic_keyval()
def set_mnemonic_widget(widget)
def get_mnemonic_widget()
def set_text_with_mnemonic(str)
def set_justify(jtype)
def get_justify()
def set_pattern(pattern)
def set_line_wrap(wrap)
def get_line_wrap()
def set_selectable(setting)
def get_selectable()
def select_region(start_offset, end_offset)
def get_selection_bounds()
def get_layout()
def get_layout_offsets()
def set_ellipsize(mode)
def get_ellipsize()
def set_width_chars(n_chars)
def get_width_chars()
def set_single_line_mode(single_line_mode)
def get_single_line_mode()
def get_max_width_chars()
def set_max_width_chars(n_chars)
def get_angle()
def set_angle(angle)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Misc
         +-- gtk.Label
-

Implemented Interfaces

+

Implemented Interfaces

gtk.Label implements gtk.Buildable @@ -56,7 +56,7 @@ the label will request either 3 characters or the property value, whichever is greater. Allowed values: >= -1. Default value: -1. Available in GTK+ 2.6 and above.

"wrap"Read-WriteIf True, wrap lines if the text -becomes too wide. Default value: False

gtk.Label Style Properties

gtk.Widget Style Properties

gtk.Label Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

"copy-clipboard"

def callback(label, user_param1, ...)

"move-cursor"

def callback(label, step, count, extend_selection, user_param1, ...)

"populate-popup"

def callback(label, menu, user_param1, ...)

Description

The gtk.Label is a widget +becomes too wide. Default value: False

gtk.Label Style Properties

gtk.Widget Style Properties

gtk.Label Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

"copy-clipboard"

def callback(label, user_param1, ...)

"move-cursor"

def callback(label, step, count, extend_selection, user_param1, ...)

"populate-popup"

def callback(label, menu, user_param1, ...)

Description

The gtk.Label is a widget class that displays a limited amount of read-only text. Labels are used by several widgets (e.g. gtk.Button, and its subclasses, gtk.MenuItem, @@ -67,7 +67,7 @@ a "windowless" object which means that it cannot receive events directly. A gtk.EventBox can be used to provide event handling capabilities to a gtk.Label widget if -needed.

Mnemonics

Label text may be specified with embedded underscore characters +needed.

Mnemonics

Label text may be specified with embedded underscore characters that are used to indicate that the following character should be underlined and used as the mnemonic accelerator (if it's the first underlined character). The set_text_with_mnemonic() @@ -95,7 +95,7 @@ label = gtk.Label("_Hello") label.set_use_underline(True) label.set_mnemonic_widget(entry) -

Markup (styled text)

To make it easy to format text in a label (changing colors, fonts, +

Markup (styled text)

To make it easy to format text in a label (changing colors, fonts, etc.), the label text can be provided in the Pango markup format which is a simple XML markup format. The gtk.Label.set_markup() method sets the label using text in valid markup format (e.g. '<', '>' @@ -116,10 +116,10 @@ attributes to the entire string because specifying the start_index and end_index for a pango.Attribute requires knowledge of the exact string being displayed, so translations will -cause problems.

Selectable labels

Labels can be made selectable with the set_selectable() +cause problems.

Selectable labels

Labels can be made selectable with the set_selectable() method. Selectable labels allow the user to copy the label contents to the clipboard. Only labels that contain useful-to-copy information such as error -messages should be made selectable.

Text layout

A label can contain any number of paragraphs, but will have +messages should be made selectable.

Text layout

A label can contain any number of paragraphs, but will have performance problems if it contains more than a small number. Paragraphs are separated by newlines or other paragraph separators understood by Pango.

Labels can automatically wrap text if you call the set_line_wrap() @@ -130,7 +130,7 @@ for a blank label

Returns :

the new gtk.Label widget

Creates a new gtk.Label with the text specified by str inside it. You can pass -None to get a blank label.

Methods

gtk.Label.set_text

    def set_text(str)

str :

The new text for the +None to get a blank label.

Methods

gtk.Label.set_text

    def set_text(str)

str :

The new text for the label.

The set_text() method sets the text within the gtk.Label widget. It replaces any text that was there before and will clear any previously set @@ -303,7 +303,7 @@ angle of 270, from top to bottom. The angle setting for the label is ignored if the label is selectable, wrapped, or ellipsized.

gtk.Label.get_angle

    def get_angle()

Returns :

Note

This method is available in PyGTK 2.6 and above.

The get_angle() method returns the value of the "angle" property. See the set_angle() -method for more information.

Signals

The "copy-clipboard" gtk.Label Signal

    def callback(label, user_param1, ...)

label :

the label that received the +method for more information.

Signals

The "copy-clipboard" gtk.Label Signal

    def callback(label, user_param1, ...)

label :

the label that received the signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtklayout.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtklayout.html --- pygtk-2.14.1/docs/html/class-gtklayout.html 2009-03-05 22:48:51.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtklayout.html 2009-05-24 23:11:57.000000000 +0100 @@ -1,17 +1,17 @@ gtk.Layout

gtk.Layout

gtk.Layout — infinite scrollable area containing child widgets and custom -drawing

Synopsis

class gtk.Layout(gtk.Container):
-    gtk.Layout(hadjustment=None, vadjustment=None)
def put(child_widget, x, y)
def move(child_widget, x, y)
def set_size(width, height)
def get_size()
def get_hadjustment()
def get_vadjustment()
def set_hadjustment(adjustment)
def set_vadjustment(adjustment)
def get_bin_window()

Ancestry

+-- gobject.GObject
+drawing

Synopsis

class gtk.Layout(gtk.Container):
+    gtk.Layout(hadjustment=None, vadjustment=None)
def put(child_widget, x, y)
def move(child_widget, x, y)
def set_size(width, height)
def get_size()
def get_hadjustment()
def get_vadjustment()
def set_hadjustment(adjustment)
def set_vadjustment(adjustment)
def get_bin_window()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Layout
-

Implemented Interfaces

+

Implemented Interfaces

gtk.Layout implements gtk.Buildable

gtk.Layout Properties

gtk.Object Properties

gtk.Widget Properties

gtk.Container Properties

"hadjustment"Read-WriteThe gtk.Adjustment for the horizontal position.
"height"Read-Writethe layout height
"vadjustment"Read-WriteThe gtk.Adjustment -for the vertical position.
"width"Read-Writethe layout width

gtk.Layout Style Properties

gtk.Widget Style Properties

gtk.Layout Child Properties

"x"Read-Writethe X position of the child
"y"Read-Writethe Y position of the child

Attributes

"bin_window"Readthe window of a layout to draw into

gtk.Layout Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

"set-scroll-adjustments"

def callback(layout, hadjustment, vadjustment, user_param1, ...)

Description

The gtk.Layout is a +for the vertical position.

"width"Read-Writethe layout width

gtk.Layout Style Properties

gtk.Widget Style Properties

gtk.Layout Child Properties

"x"Read-Writethe X position of the child
"y"Read-Writethe Y position of the child

Attributes

"bin_window"Readthe window of a layout to draw into

gtk.Layout Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

"set-scroll-adjustments"

def callback(layout, hadjustment, vadjustment, user_param1, ...)

Description

The gtk.Layout is a simple container widget similar to the gtk.Fixed container widget. Like the gtk.Fixed the gtk.Layout places a child widget at a specific position within the container. The gtk.Layout offers @@ -28,7 +28,7 @@ the hadjustment and vadjustment arguments are not specified or are specified as None, so that new adjustments are -created.

Methods

gtk.Layout.put

    def put(child_widget, x, y)

child_widget :

the child widget

x :

the X position of child +created.

Methods

gtk.Layout.put

    def put(child_widget, x, y)

child_widget :

the child widget

x :

the X position of child widget

y :

the Y position of child widget

The put() method adds child_widget to the layout and places its upper, left @@ -75,7 +75,7 @@

Note

This method is available in PyGTK 2.14 and above.

The get_bin_window() method retrieve the bin window of the layout used for drawing operations. -

Signals

The "set-scroll-adjustments" gtk.Layout Signal

    def callback(layout, hadjustment, vadjustment, user_param1, ...)

layout :

the layout that received the +

Signals

The "set-scroll-adjustments" gtk.Layout Signal

    def callback(layout, hadjustment, vadjustment, user_param1, ...)

layout :

the layout that received the signal

hadjustment :

the horizontal adjustment associated with the layout.

vadjustment :

the horizontal adjustment associated with the layout.

user_param1 :

the first user parameter (if any) specified diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtklinkbutton.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtklinkbutton.html --- pygtk-2.14.1/docs/html/class-gtklinkbutton.html 2009-03-05 22:48:52.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtklinkbutton.html 2009-05-24 23:11:57.000000000 +0100 @@ -1,22 +1,22 @@ -gtk.LinkButton

gtk.LinkButton

gtk.LinkButton — a button bound to a URL (new in PyGTK 2.10)

Synopsis

class gtk.LinkButton(gtk.Button):
+gtk.LinkButton

gtk.LinkButton

gtk.LinkButton — a button bound to a URL (new in PyGTK 2.10)

Synopsis

class gtk.LinkButton(gtk.Button):
     gtk.LinkButton(uri, label=None)
def get_uri()
def get_visited()
def set_uri(uri)
def set_visited(visited)
 Functions
 
-    def gtk.link_button_set_uri_hook(func, data=None)

Ancestry

+-- gobject.GObject
+    def gtk.link_button_set_uri_hook(func, data=None)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Bin
           +-- gtk.Button
             +-- gtk.LinkButton
-

Implemented Interfaces

+

Implemented Interfaces

gtk.LinkButton implements gtk.Buildable

gtk.LinkButton Properties

gtk.Object Properties

gtk.Widget Properties

gtk.Container Properties

gtk.Button Properties

"uri"Read-WriteThe URI bound to this button. Available in GTK+ 2.10.
"visited"Read-WriteThe 'visited' state of this button. A visited link is drawn in a different color. Default value: False. - Available in GTK+ 2.14.

Description

Note

The gtk.LinkButton + Available in GTK+ 2.14.

Description

Note

The gtk.LinkButton is available in PyGTK 2.10 and above.

A gtk.LinkButton is a gtk.Button with a hyperlink, similar to the one used by web browsers, that triggers an @@ -29,12 +29,12 @@ method.

gtk.LinkButton offers a global hook, which is called when the used clicks on it: see the gtk.link_button_set_uri_hook() - function.

Constructor

gtk.LinkButton

    gtk.LinkButton(uri, label=None)

uri :

a valid URI

label :

the text of the button or + function.

Constructor

gtk.LinkButton

    gtk.LinkButton(uri, label=None)

uri :

a valid URI

label :

the text of the button or None

Returns :

a new link button widget.

Note

This constructor is available in PyGTK 2.10 and above.

Creates a new gtk.LinkButton with the URI specified by uri as its text if label is None. If label is not None, it is - used as the text of the button.

Methods

gtk.LinkButton.get_uri

    def get_uri()

Returns :

the associated URI.

Note

This method is available in PyGTK 2.10 and above.

The get_uri() method returns the URI + used as the text of the button.

Methods

gtk.LinkButton.get_uri

    def get_uri()

Returns :

the associated URI.

Note

This method is available in PyGTK 2.10 and above.

The get_uri() method returns the URI set using the gtk.LinkButton.set_uri() method or the gtk.LinkButton() constructor.

gtk.LinkButton.get_visited

    def get_visited()

Returns :

True if the link has been visited, @@ -52,7 +52,7 @@ points. See gtk.LinkButton.get_visited() for more details. -

Functions

gtk.link_button_set_uri_hook

    def gtk.link_button_set_uri_hook(func, data=None)

func :

a function called each time a gtk.LinkButton +

Functions

gtk.link_button_set_uri_hook

    def gtk.link_button_set_uri_hook(func, data=None)

func :

a function called each time a gtk.LinkButton is clicked, or None

data :

user data to be passed to func

Note

This function is available in PyGTK 2.10 and above.

The gtk.link_button_set_uri_hook() function sets func as the function that should be diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkliststore.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkliststore.html --- pygtk-2.14.1/docs/html/class-gtkliststore.html 2009-03-05 22:48:53.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkliststore.html 2009-05-24 23:11:58.000000000 +0100 @@ -1,7 +1,7 @@ -gtk.ListStore

gtk.ListStore

gtk.ListStore — a list model to use with a gtk.TreeView

Synopsis

class gtk.ListStore(gobject.GObject, gtk.TreeModel, gtk.TreeDragSource, gtk.TreeDragDest, gtk.TreeSortable):
-    gtk.ListStore(column_type, ...)
def set_column_types(type, ...)
def set_value(iter, column, value)
def set(iter, column_num, value, ...)
def remove(iter)
def insert(position, row=None)
def insert_before(sibling, row=None)
def insert_after(sibling, row=None)
def prepend(row=None)
def append(row=None)
def clear()
def iter_is_valid(iter)
def reorder(new_order)
def swap(a, b)
def move_after(iter, position)
def move_before(iter, position)

Ancestry

+-- gobject.GObject
+gtk.ListStore

gtk.ListStore

gtk.ListStore — a list model to use with a gtk.TreeView

Synopsis

class gtk.ListStore(gobject.GObject, gtk.TreeModel, gtk.TreeDragSource, gtk.TreeDragDest, gtk.TreeSortable):
+    gtk.ListStore(column_type, ...)
def set_column_types(type, ...)
def set_value(iter, column, value)
def set(iter, column_num, value, ...)
def remove(iter)
def insert(position, row=None)
def insert_before(sibling, row=None)
def insert_after(sibling, row=None)
def prepend(row=None)
def append(row=None)
def clear()
def iter_is_valid(iter)
def reorder(new_order)
def swap(a, b)
def move_after(iter, position)
def move_before(iter, position)

Ancestry

+-- gobject.GObject
   +-- gtk.ListStore
-

Implemented Interfaces

+

Implemented Interfaces

gtk.Bin implements gtk.Buildable @@ -9,7 +9,7 @@ gtk.TreeDragSource gtk.TreeDragDest gtk.TreeSortable -

gtk.ListStore Signal Prototypes

gobject.GObject Signal Prototypes

gtk.TreeModel Signal Prototypes

gtk.TreeSortable Signal Prototypes

Description

The gtk.ListStore +

gtk.ListStore Signal Prototypes

gobject.GObject Signal Prototypes

gtk.TreeModel Signal Prototypes

gtk.TreeSortable Signal Prototypes

Description

The gtk.ListStore object is a list model for use with a gtk.TreeView widget. It implements the gtk.TreeModel interface, the gtk.TreeSortable @@ -26,7 +26,7 @@ respectively. The built-in GObject types are:

  • gobject.TYPE_BOOLEAN
  • gobject.TYPE_BOXED
  • gobject.TYPE_CHAR
  • gobject.TYPE_DOUBLE
  • gobject.TYPE_ENUM
  • gobject.TYPE_FLAGS
  • gobject.TYPE_FLOAT
  • gobject.TYPE_INT
  • gobject.TYPE_INT64
  • gobject.TYPE_INTERFACE
  • gobject.TYPE_INVALID
  • gobject.TYPE_LONG
  • gobject.TYPE_NONE
  • gobject.TYPE_OBJECT
  • gobject.TYPE_PARAM
  • gobject.TYPE_POINTER
  • gobject.TYPE_PYOBJECT
  • gobject.TYPE_STRING
  • gobject.TYPE_UCHAR
  • gobject.TYPE_UINT
  • gobject.TYPE_UINT64
  • gobject.TYPE_ULONG

The column types can be any GObject type including those that are PyGTK objects or application defined objects that are -subclassed from the GObject class.

Methods

gtk.ListStore.set_column_types

    def set_column_types(type, ...)

type :

the type of the first column

... :

zero or more type specifications

Note

This method is available in PyGTK 2.2 and above.

The set_column_types() method sets the +subclassed from the GObject class.

Methods

gtk.ListStore.set_column_types

    def set_column_types(type, ...)

type :

the type of the first column

... :

zero or more type specifications

Note

This method is available in PyGTK 2.2 and above.

The set_column_types() method sets the liststore columns to the types specified by type and any additional type parameters. This method is meant primarily for classes that inherit from gtk.ListStore, diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkmenubar.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkmenubar.html --- pygtk-2.14.1/docs/html/class-gtkmenubar.html 2009-03-05 22:48:54.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkmenubar.html 2009-05-24 23:11:59.000000000 +0100 @@ -1,12 +1,12 @@ gtk.MenuBar

gtk.MenuBar

gtk.MenuBar — a widget that displays gtk.MenuItem -widgets horizontally

Synopsis

class gtk.MenuBar(gtk.MenuShell):
-    gtk.MenuBar()
def set_pack_direction(pack_dir)
def get_pack_direction()
def set_child_pack_direction(child_pack_dir)
def get_child_pack_direction()

Ancestry

+-- gobject.GObject
+widgets horizontally

Synopsis

class gtk.MenuBar(gtk.MenuShell):
+    gtk.MenuBar()
def set_pack_direction(pack_dir)
def get_pack_direction()
def set_child_pack_direction(child_pack_dir)
def get_child_pack_direction()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.MenuShell
           +-- gtk.MenuBar
-

Implemented Interfaces

+

Implemented Interfaces

gtk.MenuBar implements gtk.Buildable @@ -17,14 +17,14 @@ menuitems are arranged in the menubar. Default value: gtk.PACK_DIRECTION_LTR. Available in GTK+ 2.8 and above.

gtk.MenuBar Style Properties

gtk.Widget Style Properties

"internal-padding"ReadAmount of border space between the menubar shadow and -the menu items
"shadow-type"ReadThe style of bevel around the menubar

Description

The gtk.MenuBar is a +the menu items

"shadow-type"ReadThe style of bevel around the menubar

Description

The gtk.MenuBar is a subclass of gtk.MenuShell which contains one or more gtk.MenuItem widgets. A gtk.MenuBar displays the menu items horizontally in an application window or dialog.

Constructor

    gtk.MenuBar()

Returns :

a new gtk.MenuBar widget

Creates a new gtk.MenuBar -widget.

Methods

gtk.MenuBar.set_pack_direction

    def set_pack_direction(pack_dir)

pack_dir :

one of the GTK Pack Direction Constants.

Note

This method is available in PyGTK 2.8 and above.

The set_pack_direction() sets the +widget.

Methods

gtk.MenuBar.set_pack_direction

    def set_pack_direction(pack_dir)

pack_dir :

one of the GTK Pack Direction Constants.

Note

This method is available in PyGTK 2.8 and above.

The set_pack_direction() sets the "pack-direction" property to the value of pack_dir. pack_dir must be one of the GTK Pack Direction Constants that specify how diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkmenu.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkmenu.html --- pygtk-2.14.1/docs/html/class-gtkmenu.html 2009-03-05 22:48:53.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkmenu.html 2009-05-24 23:11:59.000000000 +0100 @@ -1,11 +1,11 @@ -gtk.Menu

gtk.Menu

gtk.Menu — a drop down menu widget.

Synopsis

class gtk.Menu(gtk.MenuShell):
-    gtk.Menu()
def popup(parent_menu_shell, parent_menu_item, func, button, activate_time, data=None)
def reposition()
def popdown()
def get_active()
def set_active(index)
def set_accel_group(accel_group)
def get_accel_group()
def set_accel_path(accel_path)
def get_accel_path()
def attach_to_widget(attach_widget, detach_func)
def detach()
def get_attach_widget()
def set_tearoff_state(torn_off)
def get_tearoff_state()
def set_title(title)
def get_title()
def reorder_child(child, position)
def set_screen(screen)
def attach(child, left_attach, right_attach, top_attach, bottom_attach)
def set_monitor(monitor_num)
def get_monitor()

Ancestry

+-- gobject.GObject
+gtk.Menu

gtk.Menu

gtk.Menu — a drop down menu widget.

Synopsis

class gtk.Menu(gtk.MenuShell):
+    gtk.Menu()
def popup(parent_menu_shell, parent_menu_item, func, button, activate_time, data=None)
def reposition()
def popdown()
def get_active()
def set_active(index)
def set_accel_group(accel_group)
def get_accel_group()
def set_accel_path(accel_path)
def get_accel_path()
def attach_to_widget(attach_widget, detach_func)
def detach()
def get_attach_widget()
def set_tearoff_state(torn_off)
def get_tearoff_state()
def set_title(title)
def get_title()
def reorder_child(child, position)
def set_screen(screen)
def attach(child, left_attach, right_attach, top_attach, bottom_attach)
def set_monitor(monitor_num)
def get_monitor()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.MenuShell
           +-- gtk.Menu
-

Implemented Interfaces

+

Implemented Interfaces

gtk.Menu implements gtk.Buildable @@ -27,7 +27,7 @@ to. Allowed values: >= -1. Default value: -1.

"left-attach"Read-WriteThe column number to attach the left side of the child to. Allowed values: >= -1. Default value: -1.
"right-attach"Read-WriteThe column number to attach the right side of the child to. Allowed values: >= -1. Default value: -1.
"top-attach"Read-WriteThe row number to attach the top of the child to. Allowed -values: >= -1. Default value: -1.

gtk.Menu Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

gtk.MenuShell Signal Prototypes

"move-scroll"

def callback(menu, type, user_param1, ...)

Description

A gtk.Menu is a gtk.MenuShell +values: >= -1. Default value: -1.

gtk.Menu Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

gtk.MenuShell Signal Prototypes

"move-scroll"

def callback(menu, type, user_param1, ...)

Description

A gtk.Menu is a gtk.MenuShell that implements a drop down menu consisting of a list of gtk.MenuItem objects which can be navigated and activated by the user to perform application functions. A gtk.Menu is most @@ -42,7 +42,7 @@ menu by calling the popup() method.

Constructor

    gtk.Menu()

Returns :

a gtk.Menu widget

Creates a new gtk.Menu -widget.

Methods

gtk.Menu.popup

    def popup(parent_menu_shell, parent_menu_item, func, button, activate_time, data=None)

parent_menu_shell :

the menu shell containing the triggering menu +widget.

Methods

gtk.Menu.popup

    def popup(parent_menu_shell, parent_menu_item, func, button, activate_time, data=None)

parent_menu_shell :

the menu shell containing the triggering menu item or None.

parent_menu_item :

the menu item whose activation triggered the popup or None.

func :

a user supplied function used to position the menu or None.

button :

the mouse button which was pressed to initiate @@ -170,7 +170,7 @@ be popped up or -1, if no monitor has been set

Note

This method is available in PyGTK 2.14 and above.

The get_monitor() method returns the number of the monitor on which to show the menu. -

Signals

The "move_scroll" gtk.Menu Signal

    def callback(menu, type, user_param1, ...)

menu :

the menu that received the +

Signals

The "move_scroll" gtk.Menu Signal

    def callback(menu, type, user_param1, ...)

menu :

the menu that received the signal

type :

the type of scroll that is requested

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkmenuitem.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkmenuitem.html --- pygtk-2.14.1/docs/html/class-gtkmenuitem.html 2009-03-05 22:48:54.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkmenuitem.html 2009-05-24 23:12:00.000000000 +0100 @@ -1,12 +1,12 @@ -gtk.MenuItem

gtk.MenuItem

gtk.MenuItem — the widget used for an item in menus

Synopsis

class gtk.MenuItem(gtk.Item):
-    gtk.MenuItem(label=None, use_underline=True)
def set_submenu(submenu)
def get_submenu()
def remove_submenu()
def select()
def deselect()
def activate()
def toggle_size_request()
def toggle_size_allocate(allocation)
def set_right_justified(right_justified)
def get_right_justified()
def set_accel_path(accel_path)
def get_accel_path()

Ancestry

+-- gobject.GObject
+gtk.MenuItem

gtk.MenuItem

gtk.MenuItem — the widget used for an item in menus

Synopsis

class gtk.MenuItem(gtk.Item):
+    gtk.MenuItem(label=None, use_underline=True)
def set_submenu(submenu)
def get_submenu()
def remove_submenu()
def select()
def deselect()
def activate()
def toggle_size_request()
def toggle_size_allocate(allocation)
def set_right_justified(right_justified)
def get_right_justified()
def set_accel_path(accel_path)
def get_accel_path()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Bin
           +-- gtk.Item
             +-- gtk.MenuItem
-

Implemented Interfaces

+

Implemented Interfaces

gtk.MenuItem implements gtk.Buildable @@ -29,7 +29,7 @@ Default value: 5

"width-chars"ReadThe minimum desired width of the menu item in characters. Allowed values: >= 0. Default value: 12. Available in GTK+ 2.14. -

gtk.MenuItem Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

gtk.Item Signal Prototypes

"activate"

def callback(menuitem, user_param1, ...)

"activate-item"

def callback(menuitem, user_param1, ...)

"toggle-size-allocate"

def callback(menuitem, allocation, user_param1, ...)

"toggle-size-request"

def callback(menuitem, requisition, user_param1, ...)

Description

The gtk.MenuItem +

gtk.MenuItem Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

gtk.Item Signal Prototypes

"activate"

def callback(menuitem, user_param1, ...)

"activate-item"

def callback(menuitem, user_param1, ...)

"toggle-size-allocate"

def callback(menuitem, allocation, user_param1, ...)

"toggle-size-request"

def callback(menuitem, requisition, user_param1, ...)

Description

The gtk.MenuItem widget implements the appearance and behavior of menu items. The gtk.MenuItem and its derived widget subclasses are the only valid children of menus.

When menu items are selected and activated by a user they can:

  • display a popup menu if they have an associated @@ -48,7 +48,7 @@ character is a mnemonic accelerator.

    In PyGTK 2.4 and above the use_underline parameter is available and defaults to True. If use_underline is set to False the -label text will not be parsed for mnemonic characters.

Methods

gtk.MenuItem.set_submenu

    def set_submenu(submenu)

submenu :

the menu to use as the +label text will not be parsed for mnemonic characters.

Methods

gtk.MenuItem.set_submenu

    def set_submenu(submenu)

submenu :

the menu to use as the submenu

The set_submenu() method sets the menu specified by submenu as the submenu for the menu item.

gtk.MenuItem.get_submenu

    def get_submenu()

Returns :

the submenu for this menu item, or @@ -83,7 +83,7 @@ item's functionality, or None if not set

The get_accel_path() method gets the accelerator path that was previously set on menu_item. -

Signals

The "activate" gtk.MenuItem Signal

    def callback(menuitem, user_param1, ...)

menuitem :

the menuitem that received the +

Signals

The "activate" gtk.MenuItem Signal

    def callback(menuitem, user_param1, ...)

menuitem :

the menuitem that received the signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkmenushell.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkmenushell.html --- pygtk-2.14.1/docs/html/class-gtkmenushell.html 2009-03-05 22:48:55.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkmenushell.html 2009-05-24 23:12:00.000000000 +0100 @@ -1,23 +1,23 @@ -gtk.MenuShell

gtk.MenuShell

gtk.MenuShell — a base class for menu objects.

Synopsis

class gtk.MenuShell(gtk.Container):
-    def append(child)
def prepend(child)
def insert(child, position)
def deactivate()
def select_item(menu_item)
def deselect()
def activate_item(menu_item, force_deactivate)
def select_first(search_sensitive)
def cancel()
def set_take_focus(take_focus)
def get_take_focus()

Ancestry

+-- gobject.GObject
+gtk.MenuShell

gtk.MenuShell

gtk.MenuShell — a base class for menu objects.

Synopsis

class gtk.MenuShell(gtk.Container):
+    def append(child)
def prepend(child)
def insert(child, position)
def deactivate()
def select_item(menu_item)
def deselect()
def activate_item(menu_item, force_deactivate)
def select_first(search_sensitive)
def cancel()
def set_take_focus(take_focus)
def get_take_focus()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.MenuShell
-

Implemented Interfaces

+

Implemented Interfaces

gtk.MenuShell implements gtk.Buildable

gtk.MenuShell Properties

gtk.Object Properties

gtk.Widget Properties

gtk.Container Properties

"take-focus"Read-WriteIf True the menu and its submenus grab the keyboard focus on popup. Default value: True. -Available in GTK+ 2.8 and above.

gtk.MenuShell Style Properties

gtk.Widget Style Properties

gtk.MenuShell Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

"activate-current"

def callback(menushell, force_hide, user_param1, ...)

"cancel"

def callback(menushell, user_param1, ...)

"cycle-focus"

def callback(menushell, direction, user_param1, ...)

"deactivate"

def callback(menushell, user_param1, ...)

"move-current"

def callback(menushell, direction, user_param1, ...)

"move-selected"

def callback(menushell, distance, user_param1, ...)

"selection-done"

def callback(menushell, user_param1, ...)

Description

A gtk.MenuShell is +Available in GTK+ 2.8 and above.

gtk.MenuShell Style Properties

gtk.Widget Style Properties

gtk.MenuShell Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

"activate-current"

def callback(menushell, force_hide, user_param1, ...)

"cancel"

def callback(menushell, user_param1, ...)

"cycle-focus"

def callback(menushell, direction, user_param1, ...)

"deactivate"

def callback(menushell, user_param1, ...)

"move-current"

def callback(menushell, direction, user_param1, ...)

"move-selected"

def callback(menushell, distance, user_param1, ...)

"selection-done"

def callback(menushell, user_param1, ...)

Description

A gtk.MenuShell is the abstract base class used to derive the gtk.Menu and gtk.MenuBar subclasses. A gtk.MenuShell is a container of gtk.MenuItem objects arranged in a list which can be navigated, selected, and activated by the user to perform application functions. A gtk.MenuItem can have a submenu associated with it, allowing for nested hierarchical -menus.

Methods

gtk.MenuShell.append

    def append(child)

child :

The gtk.MenuItem to +menus.

Methods

gtk.MenuShell.append

    def append(child)

child :

The gtk.MenuItem to add.

The append() method adds a new gtk.MenuItem specified by child to the end of the menu shell's item list.

gtk.MenuShell.prepend

    def prepend(child)

child :

The gtk.MenuItem to @@ -71,7 +71,7 @@ function for more information.

gtk.MenuShell.get_take_focus

    def get_take_focus()

Returns :

True if the men shell will take keyboard foucs on popup.

Note

This method is available in PyGTK 2.8 and above.

The get_take_focus() method returns the value of the "take-focus" property. See the set_take_focus() -method for more information.

Signals

The "activate-current" gtk.MenuShell Signal

    def callback(menushell, force_hide, user_param1, ...)

menushell :

the menushell that received the +method for more information.

Signals

The "activate-current" gtk.MenuShell Signal

    def callback(menushell, force_hide, user_param1, ...)

menushell :

the menushell that received the signal

force_hide :

if True, hide the menu after activating the menu item.

user_param1 :

the first user parameter (if any) specified with the connect() diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkmenutoolbutton.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkmenutoolbutton.html --- pygtk-2.14.1/docs/html/class-gtkmenutoolbutton.html 2009-03-05 22:48:55.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkmenutoolbutton.html 2009-05-24 23:12:01.000000000 +0100 @@ -1,7 +1,7 @@ gtk.MenuToolButton

gtk.MenuToolButton

gtk.MenuToolButton — A gtk.ToolItem containing a button with an additional dropdown menu (new in PyGTK -2.6)

Synopsis

class gtk.MenuToolButton(gtk.ToolButton):
-    gtk.MenuToolButton(stock_id)
gtk.MenuToolButton(icon_widget, label)
def set_menu(menu)
def get_menu()
def set_arrow_tooltip(tooltips, tip_text, tip_private=None)
def set_arrow_tooltip_markup(markup)
def set_arrow_tooltip_text(text)

Ancestry

+-- gobject.GObject
+2.6)

Synopsis

class gtk.MenuToolButton(gtk.ToolButton):
+    gtk.MenuToolButton(stock_id)
gtk.MenuToolButton(icon_widget, label)
def set_menu(menu)
def get_menu()
def set_arrow_tooltip(tooltips, tip_text, tip_private=None)
def set_arrow_tooltip_markup(markup)
def set_arrow_tooltip_text(text)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
@@ -9,14 +9,14 @@
           +-- gtk.ToolItem
             +-- gtk.ToolButton
               +-- gtk.MenuToolButton
-

Implemented Interfaces

+

Implemented Interfaces

gtk.MenuToolButton implements gtk.Buildable -

gtk.MenuToolButton Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

gtk.ToolItem Signal Prototypes

gtk.ToolButton Signal Prototypes

"show-menu"

def callback(menutoolbutton, user_param1, ...)

Description

Note

This widget is available in PyGTK 2.6 and above.

A gtk.MenuToolButton +

gtk.MenuToolButton Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

gtk.ToolItem Signal Prototypes

gtk.ToolButton Signal Prototypes

"show-menu"

def callback(menutoolbutton, user_param1, ...)

Description

Note

This widget is available in PyGTK 2.6 and above.

A gtk.MenuToolButton is a gtk.ToolItem that contains a button and a small additional button with an arrow. When clicked, -the arrow button pops up a dropdown menu.

Constructor

gtk.MenuToolButton

    gtk.MenuToolButton(stock_id)

stock_id :

Returns :

a new gtk.MenuToolButton

Note

This constructor is available in PyGTK 2.6 and above.

Creates a new gtk.MenuToolButton +the arrow button pops up a dropdown menu.

Constructor

gtk.MenuToolButton

    gtk.MenuToolButton(stock_id)

stock_id :

Returns :

a new gtk.MenuToolButton

Note

This constructor is available in PyGTK 2.6 and above.

Creates a new gtk.MenuToolButton using from the stock item specified by stock_id. The new gtk.MenuToolButton will contain the icon and label associated with @@ -24,7 +24,7 @@ or None

label :

a string that will be used as label, or None

Returns :

a new gtk.MenuToolButton

Note

This constructor is available in PyGTK 2.6 and above.

Creates a new gtk.MenuToolButton using the icon specified by icon_widget and the label -specified by label.

Methods

gtk.MenuToolButton.set_menu

    def set_menu(menu)

menu :

a gtk.Menu

Note

This method is available in PyGTK 2.6 and above.

The set_menu() method sets the "menu" +specified by label.

Methods

gtk.MenuToolButton.set_menu

    def set_menu(menu)

menu :

a gtk.Menu

Note

This method is available in PyGTK 2.6 and above.

The set_menu() method sets the "menu" property to the gtk.Menu specified by menu.

gtk.MenuToolButton.get_menu

    def get_menu()

Returns :

the associated gtk.Menu

Note

This method is available in PyGTK 2.6 and above.

The get_menu() method returns the value of the "menu" property that contains the associated gtk.Menu.

gtk.MenuToolButton.set_arrow_tooltip

    def set_arrow_tooltip(tooltips, tip_text, tip_private=None)

tooltips :

A gtk.Tooltips @@ -48,7 +48,7 @@ gtk.ToolItem.set_tooltip() for setting a tooltip on the whole gtk.MenuToolButton. -

Signals

The "show-menu" gtk.MenuToolButton Signal

    def callback(menutoolbutton, user_param1, ...)

menutoolbutton :

the menutoolbutton that received the +

Signals

The "show-menu" gtk.MenuToolButton Signal

    def callback(menutoolbutton, user_param1, ...)

menutoolbutton :

the menutoolbutton that received the signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkmessagedialog.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkmessagedialog.html --- pygtk-2.14.1/docs/html/class-gtkmessagedialog.html 2009-03-05 22:48:56.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkmessagedialog.html 2009-05-24 23:12:01.000000000 +0100 @@ -1,5 +1,5 @@ -gtk.MessageDialog

gtk.MessageDialog

gtk.MessageDialog — a convenient message window

Synopsis

class gtk.MessageDialog(gtk.Dialog):
-    gtk.MessageDialog(parent=None, flags=0, type=gtk.MESSAGE_INFO, buttons=gtk.BUTTONS_NONE, message_format=None)
def set_markup(str)
def format_secondary_text(message_format)
def format_secondary_markup(message_format)
def set_image(image)
def get_image()

Ancestry

+-- gobject.GObject
+gtk.MessageDialog

gtk.MessageDialog

gtk.MessageDialog — a convenient message window

Synopsis

class gtk.MessageDialog(gtk.Dialog):
+    gtk.MessageDialog(parent=None, flags=0, type=gtk.MESSAGE_INFO, buttons=gtk.BUTTONS_NONE, message_format=None)
def set_markup(str)
def format_secondary_text(message_format)
def format_secondary_markup(message_format)
def set_image(image)
def get_image()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
@@ -7,7 +7,7 @@
           +-- gtk.Window
             +-- gtk.Dialog
               +-- gtk.MessageDialog
-

Implemented Interfaces

+

Implemented Interfaces

gtk.MessageDialog implements gtk.Buildable @@ -39,8 +39,8 @@ in GTK+ 2.10.

gtk.MessageDialog Style Properties

gtk.Widget Style Properties

gtk.Dialog Style Properties

"message-border"Read-WriteThe width of border around the label and image in the message dialog. Allowed values: >= 0. Default value: 12.
"use-separator"ReadIf True draw a separator line between the message label and the buttons in the dialog. This property is - available in GTK+ 2.4 and above.

Attributes

"image"ReadThe stock ID image
"label"ReadThe label widget that contains the message -text.

Description

The gtk.MessageDialog + available in GTK+ 2.4 and above.

Attributes

"image"ReadThe stock ID image
"label"ReadThe label widget that contains the message +text.

Description

The gtk.MessageDialog presents a dialog with an image representing the type of message (Error, Question, etc.) alongside some message text. It's simply a convenience widget; you could construct the equivalent of gtk.MessageDialog @@ -77,7 +77,7 @@ gtk.BUTTONS_CLOSE, gtk.BUTTONS_CANCEL, gtk.BUTTONS_YES_NO, gtk.BUTTONS_OK_CANCEL. See gtk.Dialog for more -details.

Methods

gtk.MessageDialog.set_markup

    def set_markup(str)

str :

a markup string (see the Pango markup language +details.

Methods

gtk.MessageDialog.set_markup

    def set_markup(str)

str :

a markup string (see the Pango markup language reference)

Note

This method is available in PyGTK 2.4 and above.

The set_markup() method sets the text of the message dialog to the contents of str. If str contains text marked up with Pango markup (see diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkmisc.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkmisc.html --- pygtk-2.14.1/docs/html/class-gtkmisc.html 2009-03-05 22:48:56.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkmisc.html 2009-05-24 23:12:01.000000000 +0100 @@ -1,16 +1,16 @@ gtk.Misc

gtk.Misc

gtk.Misc — a base class for widgets with alignments and -padding.

Synopsis

class gtk.Misc(gtk.Widget):
-    def set_alignment(xalign, yalign)
def get_alignment()
def set_padding(xpad, ypad)
def get_padding()

Ancestry

+-- gobject.GObject
+padding.

Synopsis

class gtk.Misc(gtk.Widget):
+    def set_alignment(xalign, yalign)
def get_alignment()
def set_padding(xpad, ypad)
def get_padding()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Misc
-

Implemented Interfaces

+

Implemented Interfaces

gtk.Misc implements gtk.Buildable

gtk.Misc Properties

gtk.Object Properties

gtk.Widget Properties

"xalign"Read-WriteThe horizontal alignment, from 0.0 to 1.0
"xpad"Read-WriteThe amount of space to add on the left and right of the widget, in pixels
"yalign"Read-WriteThe vertical alignment, from 0.0 to 1.0
"ypad"Read-WriteThe amount of space to add above and below the widget, -in pixels

gtk.Misc Style Properties

gtk.Widget Style Properties

gtk.Misc Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

Description

The gtk.Misc widget is an +in pixels

gtk.Misc Style Properties

gtk.Widget Style Properties

gtk.Misc Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

Description

The gtk.Misc widget is an abstract widget used to derive subclasses which have alignment and padding attributes. The horizontal and vertical padding attributes allow extra space to be added around the widget. The horizontal and vertical alignment @@ -19,7 +19,7 @@ minus the widget size) to place to the left or above the widget for x and y alignment respectively. Note that if the widget is added to a container in such a way that it expands automatically to fill its allocated area, the -alignment settings will have no effect.

Methods

gtk.Misc.set_alignment

    def set_alignment(xalign, yalign)

xalign :

the horizontal alignment

yalign :

the vertical alignment

The set_alignment() method sets the +alignment settings will have no effect.

Methods

gtk.Misc.set_alignment

    def set_alignment(xalign, yalign)

xalign :

the horizontal alignment

yalign :

the vertical alignment

The set_alignment() method sets the alignment of the widget in its allocated space. xalign sets the fraction (0.0-1.0) of free space (horizontal allocation minus widget width) to place to the left of the widget. diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkmountoperation.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkmountoperation.html --- pygtk-2.14.1/docs/html/class-gtkmountoperation.html 2009-03-05 22:48:56.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkmountoperation.html 2009-05-24 23:12:02.000000000 +0100 @@ -1,11 +1,11 @@ -gtk.MountOperation

gtk.MountOperation

gtk.MountOperation — Functions for working with GIO (new in PyGTK 2.14)

Synopsis

class gtk.MountOperation(gio.MountOperation):
+gtk.MountOperation

gtk.MountOperation

gtk.MountOperation — Functions for working with GIO (new in PyGTK 2.14)

Synopsis

class gtk.MountOperation(gio.MountOperation):
     def get_parent()
def get_screen()
def is_showing()
def set_parent(parent)
def set_screen(screen)
 Functions
  
-    def gtk.show_uri(screen, uri, timestamp)

Ancestry

+-- gobject.GObject
+    def gtk.show_uri(screen, uri, timestamp)

Ancestry

+-- gobject.GObject
   +-- gio.MountOperation
     +-- gtk.MountOperation
-

gtk.MountOperation Properties

"is-showing"ReadAre we showing a dialog. Default value: False.
"parent"Read/WriteThe parent window.
"screen"Read/WriteThe screen where this window will be displayed.

Description

+

gtk.MountOperation Properties

"is-showing"ReadAre we showing a dialog. Default value: False.
"parent"Read/WriteThe parent window.
"screen"Read/WriteThe screen where this window will be displayed.

Description

The functions and objects described here make working with GTK+ and GIO more convenient. gtk.MountOperation is needed when mounting volumes and @@ -19,7 +19,7 @@ gtk.MountOperation.

Note

This method is available in PyGTK 2.14 and above.

Creates a new gtk.MountOperation. -

Methods

gtk.MountOperation.get_parent

    def get_parent()

Returns :

a new +

Methods

gtk.MountOperation.get_parent

    def get_parent()

Returns :

a new gtk.MountOperation.

Note

This method is available in PyGTK 2.14 and above.

The get_parent() method gets the transient @@ -48,7 +48,7 @@ on which windows of the gtk.MountOperation will be shown. -

Functions

gtk.show_uri

    def show_uri(screen, uri, timestamp)

screen :

A +

Functions

gtk.show_uri

    def show_uri(screen, uri, timestamp)

screen :

A gtk.gdk.Screen to show the uri on or None for the default screen.

uri :

the uri to show.

timestamp :

a timestamp to prevent focus stealing. diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtknotebook.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtknotebook.html --- pygtk-2.14.1/docs/html/class-gtknotebook.html 2009-03-05 22:48:58.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtknotebook.html 2009-05-24 23:12:04.000000000 +0100 @@ -1,13 +1,13 @@ -gtk.Notebook

gtk.Notebook

gtk.Notebook — a tabbed notebook container.

Synopsis

class gtk.Notebook(gtk.Container):
+gtk.Notebook

gtk.Notebook

gtk.Notebook — a tabbed notebook container.

Synopsis

class gtk.Notebook(gtk.Container):
     gtk.Notebook()
def append_page(child, tab_label=None)
def append_page_menu(child, tab_label=None, menu_label=None)
def prepend_page(child, tab_label=None)
def prepend_page_menu(child, tab_label=None, menu_label=None)
def insert_page(child, tab_label=None, position=-1)
def insert_page_menu(child, tab_label=None, menu_label=None, position=-1)
def remove_page(page_num)
def get_current_page()
def get_nth_page(page_num)
def get_n_pages()
def page_num(child)
def set_current_page(page_num)
def next_page()
def prev_page()
def set_show_border(show_border)
def get_show_border()
def set_show_tabs(show_tabs)
def get_show_tabs()
def set_tab_pos(pos)
def get_tab_pos()
def set_scrollable(scrollable)
def get_scrollable()
def popup_enable()
def popup_disable()
def get_tab_label(child)
def set_tab_label(child, tab_label=None)
def set_tab_label_text(child, tab_text)
def get_tab_label_text(child)
def get_menu_label(child)
def set_menu_label(child, menu_label=None)
def set_menu_label_text(child, menu_text)
def get_menu_label_text(child)
def query_tab_label_packing(child)
def set_tab_label_packing(child, expand, fill, pack_type)
def reorder_child(child, position)
def set_group_id(group_id)
def get_group_id()
def get_tab_reorderable(child)
def set_tab_reorderable(child, reorderable)
def get_tab_detachable(child)
def set_tab_detachable(child, detachable)
 Functions
  
-    def gtk.notebook_set_window_creation_hook(func, data)

Ancestry

+-- gobject.GObject
+    def gtk.notebook_set_window_creation_hook(func, data)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Notebook
-

Implemented Interfaces

+

Implemented Interfaces

gtk.Notebook implements gtk.Buildable @@ -57,9 +57,9 @@ reference to the start or end of the parent - one of the GTK Pack Type Constants: gtk.PACK_START or gtk.PACK_END. Default value: - gtk.PACK_START.

Attributes

"tab_pos"ReadThe side of the notebook that holds the tabs: + gtk.PACK_START.

Attributes

"tab_pos"ReadThe side of the notebook that holds the tabs: gtk.POS_LEFT, gtk.POS_RIGHT, -gtk.POS_TOP or gtk.POS_BOTTOM

gtk.Notebook Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

"change-current-page"

def callback(notebook, offset, user_param1, ...)

"create-window"

def callback(notebook, page, x, y, user_param1, ...)

"focus-tab"

def callback(notebook, type, user_param1, ...)

"move-focus-out"

def callback(notebook, direction_type, user_param1, ...)

"page-added"

def callback(notebook, child, page_num, user_param1, ...)

"page-removed"

def callback(notebook, child, page_num, user_param1, ...)

"page-reordered"

def callback(notebook, child, page_num, user_param1, ...)

"select-page"

def callback(notebook, move_focus, user_param1, ...)

"switch-page"

def callback(notebook, page, page_num, user_param1, ...)

Description

The gtk.Notebook +gtk.POS_TOP or gtk.POS_BOTTOM

gtk.Notebook Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

"change-current-page"

def callback(notebook, offset, user_param1, ...)

"create-window"

def callback(notebook, page, x, y, user_param1, ...)

"focus-tab"

def callback(notebook, type, user_param1, ...)

"move-focus-out"

def callback(notebook, direction_type, user_param1, ...)

"page-added"

def callback(notebook, child, page_num, user_param1, ...)

"page-removed"

def callback(notebook, child, page_num, user_param1, ...)

"page-reordered"

def callback(notebook, child, page_num, user_param1, ...)

"select-page"

def callback(notebook, move_focus, user_param1, ...)

"switch-page"

def callback(notebook, page, page_num, user_param1, ...)

Description

The gtk.Notebook widget is a gtk.Container whose children are overlapping pages that can be switched between by using tab labels along one edge. There are many configuration options for the @@ -103,7 +103,7 @@ the parent object, while a custom element in an <object> element gets parsed by the custom tag handler of the object.

Constructor

    gtk.Notebook()

Returns :

the newly created gtk.Notebook

Creates a new gtk.Notebook -widget with no pages.

Methods

gtk.Notebook.append_page

    def append_page(child, tab_label=None)

child :

the gtk.Widget to use as +widget with no pages.

Methods

gtk.Notebook.append_page

    def append_page(child, tab_label=None)

child :

the gtk.Widget to use as the contents of the page.

tab_label :

the gtk.Widget to be used as the label for the page.

Returns :

in PyGTK 2.0 and 2.2 returns None. In PyGTK 2.4 and above returns the index @@ -384,7 +384,7 @@ destination and accept the target 'GTK_NOTEBOOK_TAB'. The notebook will fill the selection with a reference to the child widget that corresponds to the dropped tab.

If you want a notebook to accept drags from other widgets, you - will have to set your own DnD code to do it.

Functions

gtk.notebook_set_window_creation_hook

    def gtk.notebook_set_window_creation_hook(func, data)

func :

a function to call when a tab is dropped + will have to set your own DnD code to do it.

Functions

gtk.notebook_set_window_creation_hook

    def gtk.notebook_set_window_creation_hook(func, data)

func :

a function to call when a tab is dropped in an empty area.

data :

data to pass to func

Note

This function is available in PyGTK 2.10 and above.

The gtk.notebook_set_window_creation_hook function installs a global function (specified by @@ -408,7 +408,7 @@ This function will also be responsible of moving/resizing the window and adding the necessary properties to the notebook (i.e.: group-id). If the function returns None, the drag will be cancelled. -

Signals

The "change-current-page" gtk.Notebook Signal

    def callback(notebook, offset, user_param1, ...)

notebook :

the notebook that received the +

Signals

The "change-current-page" gtk.Notebook Signal

    def callback(notebook, offset, user_param1, ...)

notebook :

the notebook that received the signal

offset :

the count of pages to move (negative count is backward)

user_param1 :

the first user parameter (if any) specified with the connect() diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkobject.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkobject.html --- pygtk-2.14.1/docs/html/class-gtkobject.html 2009-03-05 22:48:59.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkobject.html 2009-05-24 23:12:04.000000000 +0100 @@ -1,10 +1,10 @@ -gtk.Object

gtk.Object

gtk.Object — the base class of the PyGTK type hierarchy.

Synopsis

class gtk.Object(gobject.GObject):
+gtk.Object

gtk.Object

gtk.Object — the base class of the PyGTK type hierarchy.

Synopsis

class gtk.Object(gobject.GObject):
     def flags()
def set_flags(flags)
def unset_flags(flags)
def destroy()
 Functions
 
-    def gtk.bindings_activate(object, keyval, modifiers)
def gtk.bindings_activate_event(object, event)
def gtk.binding_entry_add_signal(object, keyval, modifiers, signal_name, ...)
def gtk.binding_entry_remove(class_type, keyval, modifiers)

Ancestry

+-- gobject.GObject
+    def gtk.bindings_activate(object, keyval, modifiers)
def gtk.bindings_activate_event(object, event)
def gtk.binding_entry_add_signal(object, keyval, modifiers, signal_name, ...)
def gtk.binding_entry_remove(class_type, keyval, modifiers)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
-

gtk.Object Properties

"user-data"Read-WriteAnonymous User Data Pointer

gtk.Object Signal Prototypes

gobject.GObject Signal Prototypes

"destroy"

def callback(object, user_param1, ...)

Description

gtk.Object is the +

gtk.Object Properties

"user-data"Read-WriteAnonymous User Data Pointer

gtk.Object Signal Prototypes

gobject.GObject Signal Prototypes

"destroy"

def callback(object, user_param1, ...)

Description

gtk.Object is the base class for all widgets, and for a few non-widget objects such as gtk.Adjustment. gtk.Object predates GObject; non-widgets @@ -33,7 +33,7 @@ destroyed using the destroy() method, it will be removed from its container and unmapped and unrealized but it will not be finalized because the Python wrapper object will still -exist and hold a reference.

Methods

gtk.Object.flags

    def flags()

Returns :

the flags set for the +exist and hold a reference.

Methods

gtk.Object.flags

    def flags()

Returns :

the flags set for the object

The flags() method returns the value of the flags for the object. The flags returned will include both the gtk.Object flags and the gtk.Widget @@ -70,7 +70,7 @@ for a description of the gtk.Object and gtk.Widget flags that can be unset.

gtk.Object.destroy

    def destroy()

The destroy() method emits the "destroy" signal notifying all reference holders that they should release -the gtk.Object.

Functions

gtk.bindings_activate

    def gtk.bindings_activate(object, keyval, modifiers)

object :

the gtk.Object to +the gtk.Object.

Functions

gtk.bindings_activate

    def gtk.bindings_activate(object, keyval, modifiers)

object :

the gtk.Object to activate the bindings on

keyval :

a key value

modifiers :

a modifier mask

 :

Returns :

True if the binding could be activated

The gtk.bindings_activate() function activates the bindings associated with the gtk.Object specified @@ -94,7 +94,7 @@ class the binding entry will be removed from

keyval :

the key value

modifiers :

the modifier mask

Note

This function is available in PyGTK 2.2 and above.

The gtk.binding_entry_remove() function removes the binding (specified by keyval and modifiers) from the binding set of the object class -specified by class_type.

Signals

The "destroy" gtk.Object Signal

    def callback(object, user_param1, ...)

object :

the object that received the +specified by class_type.

Signals

The "destroy" gtk.Object Signal

    def callback(object, user_param1, ...)

object :

the object that received the signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkoptionmenu.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkoptionmenu.html --- pygtk-2.14.1/docs/html/class-gtkoptionmenu.html 2009-03-05 22:48:59.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkoptionmenu.html 2009-05-24 23:12:04.000000000 +0100 @@ -1,16 +1,16 @@ -gtk.OptionMenu

gtk.OptionMenu

gtk.OptionMenu — a widget used to provide a list of valid choices.

Synopsis

class gtk.OptionMenu(gtk.Button):
-    gtk.OptionMenu()
def get_menu()
def set_menu(menu)
def remove_menu()
def get_history()
def set_history(index)

Ancestry

+-- gobject.GObject
+gtk.OptionMenu

gtk.OptionMenu

gtk.OptionMenu — a widget used to provide a list of valid choices.

Synopsis

class gtk.OptionMenu(gtk.Button):
+    gtk.OptionMenu()
def get_menu()
def set_menu(menu)
def remove_menu()
def get_history()
def set_history(index)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Bin
           +-- gtk.Button
             +-- gtk.OptionMenu
-

Implemented Interfaces

+

Implemented Interfaces

gtk.OptionMenu implements gtk.Buildable -

gtk.OptionMenu Properties

gtk.Object Properties

gtk.Widget Properties

gtk.Container Properties

gtk.Button Properties

"menu"Read-WriteThe menu of options.

gtk.OptionMenu Style Properties

gtk.Widget Style Properties

gtk.Button Style Properties

"indicator-size"ReadThe size of the dropdown indicator
"indicator-spacing"ReadThe spacing around the indicator.

gtk.OptionMenu Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

gtk.Button Signal Prototypes

"changed"

def callback(optionmenu, user_param1, ...)

Description

Warning

gtk.OptionMenu +

gtk.OptionMenu Properties

gtk.Object Properties

gtk.Widget Properties

gtk.Container Properties

gtk.Button Properties

"menu"Read-WriteThe menu of options.

gtk.OptionMenu Style Properties

gtk.Widget Style Properties

gtk.Button Style Properties

"indicator-size"ReadThe size of the dropdown indicator
"indicator-spacing"ReadThe spacing around the indicator.

gtk.OptionMenu Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

gtk.Button Signal Prototypes

"changed"

def callback(optionmenu, user_param1, ...)

Description

Warning

gtk.OptionMenu is deprecated in PyGTK 2.4; use the gtk.ComboBox instead.

A gtk.OptionMenu is a widget allows the user to choose from a list of valid choices from an @@ -20,7 +20,7 @@ the user to make a new choice. Using a gtk.OptionMenu is simple:

Constructor

    gtk.OptionMenu()

Returns :

a new optionmenu widget

Creates a new gtk.OptionMenu -widget.

Methods

gtk.OptionMenu.get_menu

    def get_menu()

Returns :

a menu widget or None if no +widget.

Methods

gtk.OptionMenu.get_menu

    def get_menu()

Returns :

a menu widget or None if no menu is associated

The get_menu() method returns the menu that is associated with the optionmenu or None if no menu is associated.

gtk.OptionMenu.set_menu

    def set_menu(menu)

menu :

a menu to be associated with the @@ -35,7 +35,7 @@ The menu items are numbered from top to bottom, starting with 0.

gtk.OptionMenu.set_history

    def set_history(index)

index :

the index of the menu item to display as the selected optionmenu choice

The set_history() method selects the menu item specified by index as the displayed -optionmenu choice.

Signals

The "changed" gtk.OptionMenu Signal

    def callback(optionmenu, user_param1, ...)

optionmenu :

the optionmenu that received the +optionmenu choice.

Signals

The "changed" gtk.OptionMenu Signal

    def callback(optionmenu, user_param1, ...)

optionmenu :

the optionmenu that received the signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkpagesetup.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkpagesetup.html --- pygtk-2.14.1/docs/html/class-gtkpagesetup.html 2009-03-05 22:49:00.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkpagesetup.html 2009-05-24 23:12:05.000000000 +0100 @@ -1,11 +1,11 @@ gtk.PageSetup

gtk.PageSetup

gtk.PageSetup — an object that stores page setup information (new in PyGTK - 2.10)

Synopsis

class gtk.PageSetup(gobject.GObject):
+      2.10)

Synopsis

class gtk.PageSetup(gobject.GObject):
     gtk.PageSetup()
def copy()
def get_orientation()
def set_orientation(orientation)
def get_paper_size()
def set_paper_size(size)
def get_top_margin(unit)
def set_top_margin(margin, unit)
def get_bottom_margin(unit)
def set_bottom_margin(margin, unit)
def get_left_margin(unit)
def set_left_margin(margin, unit)
def get_right_margin(unit)
def set_right_margin(margin, unit)
def set_paper_size_and_default_margins(size)
def get_paper_width(unit)
def get_paper_height(unit)
def get_page_width(unit)
def get_page_height(unit)
def to_file(file_name)
def load_file(file_name)
 Functions
 
-    def gtk.print_run_page_setup_dialog(parent, page_setup, settings)
def gtk.page_setup_new_from_file(file_name)

Ancestry

+-- gobject.GObject
+    def gtk.print_run_page_setup_dialog(parent, page_setup, settings)
def gtk.page_setup_new_from_file(file_name)

Ancestry

+-- gobject.GObject
   +-- gtk.PageSetup
-

gtk.PageSetup Signal Prototypes

gobject.GObject Signal Prototypes

Description

Note

This class is available in PyGTK 2.10 and above.

A gtk.PageSetup +

gtk.PageSetup Signal Prototypes

gobject.GObject Signal Prototypes

Description

Note

This class is available in PyGTK 2.10 and above.

A gtk.PageSetup object stores the page size, orientation and margins. The idea is that you can get one of these from the page setup dialog and then pass it to the gtk.PrintOperation @@ -26,7 +26,7 @@ page_setup = gtk.print_run_page_setup_dialog(main_window, page_setup, settings) -

Constructor

gtk.PageSetup

    gtk.PageSetup()

Returns :

a new gtk.PageSetup.

Note

This constructor is available in PyGTK 2.10 and above.

Creates a new gtk.PageSetup.

Methods

gtk.PageSetup.copy

    def copy()

Returns :

a copy of this page setup

Note

This method is available in PyGTK 2.10 and above.

The copy() method copies this gtk.PageSetup.

gtk.PageSetup.get_orientation

    def get_orientation()

Returns :

the page orientation

Note

This method is available in PyGTK 2.10 and above.

The get_orientation() method returns +

Constructor

gtk.PageSetup

    gtk.PageSetup()

Returns :

a new gtk.PageSetup.

Note

This constructor is available in PyGTK 2.10 and above.

Creates a new gtk.PageSetup.

Methods

gtk.PageSetup.copy

    def copy()

Returns :

a copy of this page setup

Note

This method is available in PyGTK 2.10 and above.

The copy() method copies this gtk.PageSetup.

gtk.PageSetup.get_orientation

    def get_orientation()

Returns :

the page orientation

Note

This method is available in PyGTK 2.10 and above.

The get_orientation() method returns the page orientation of the gtk.PageSetup. The return value must be one of the GTK Page Orientation Constants.

gtk.PageSetup.set_orientation

    def set_orientation(orientation)

orientation :

one of the GTK Page Orientation Constants

Note

This method is available in PyGTK 2.10 and above.

The set_orientation() method sets the page orientation of the gtk.PageSetup @@ -88,7 +88,7 @@ The load_file() method Reads the page setup from the file file_name. See to_file. -

Functions

gtk.print_run_page_setup_dialog

    def gtk.print_run_page_setup_dialog(parent, page_setup, settings)

parent :

transient parent, or +

Functions

gtk.print_run_page_setup_dialog

    def gtk.print_run_page_setup_dialog(parent, page_setup, settings)

parent :

transient parent, or None

page_setup :

an existing gtk.PageSetup, or None

settings :

a gtk.PrintSettings

Returns :

a new gtk.PageSetup

Runs a page setup dialog, letting the user modify the values from page_setup. If the user cancels the dialog, the returned gtk.PageSetup diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkpagesetupunixdialog.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkpagesetupunixdialog.html --- pygtk-2.14.1/docs/html/class-gtkpagesetupunixdialog.html 2009-03-05 22:50:36.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkpagesetupunixdialog.html 2009-05-24 23:13:35.000000000 +0100 @@ -1,6 +1,6 @@ gtkunixprint.PageSetupUnixDialog

gtkunixprint.PageSetupUnixDialog

gtkunixprint.PageSetupUnixDialog — a dialog for setting up a printer page on Unix (new in - PyGTK 2.10)

Synopsis

class gtkunixprint.PageSetupUnixDialog(gtk.Dialog):
-    gtkunixprint.PageSetupUnixDialog(title=None, parent=None)
def set_page_setup(page_setup)
def get_page_setup()
def set_print_settings(print_settings)
def get_print_settings()

Ancestry

+-- gobject.GObject
+      PyGTK 2.10)

Synopsis

class gtkunixprint.PageSetupUnixDialog(gtk.Dialog):
+    gtkunixprint.PageSetupUnixDialog(title=None, parent=None)
def set_page_setup(page_setup)
def get_page_setup()
def set_print_settings(print_settings)
def get_print_settings()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
@@ -8,21 +8,21 @@
           +-- gtk.Window
             +-- gtk.Dialog
               +-- gtkunixprint.PageSetupUnixDialog
-

Implemented Interfaces

+

Implemented Interfaces

gtk.PageSetupUnixDialog implements gtk.Buildable -

gtkunixprint.PageSetupUnixDialog Style Properties

gtk.Widget Style Properties

gtk.Dialog Style Properties

Description

Note

This class is available for Unix systems in PyGTK 2.10 and +

gtkunixprint.PageSetupUnixDialog Style Properties

gtk.Widget Style Properties

gtk.Dialog Style Properties

Description

Note

This class is available for Unix systems in PyGTK 2.10 and above.

The gtkunixprint.PageSetupUnixDialog object implements a page setup dialog for platforms, like Unix, that don't provide a native page setup dialog. It can be used very much like any other PyGTK dialog, at the cost of the portability offered by the - high-level printing API.

Constructor

gtkunixprint.PageSetupUnixDialog

    gtkunixprint.PageSetupUnixDialog(title=None, parent=None)

title :

the title of the dialog, or + high-level printing API.

Constructor

gtkunixprint.PageSetupUnixDialog

    gtkunixprint.PageSetupUnixDialog(title=None, parent=None)

title :

the title of the dialog, or None

parent :

the transient parent of the dialog, or None

Returns :

the new gtkunixprint.PageSetupUnixDialog

Note

This constructor is available in PyGTK 2.10 and above.

Creates a new page setup dialog with the optional title specified by title and optionally using the gtk.Window - specified by parent.

Methods

gtkunixprint.PageSetupUnixDialog.set_page_setup

    def set_page_setup(page_setup)

page_setup :

a gtk.PageSetup

Note

This method is available in PyGTK 2.10 and above.

The set_page_setup() method uses the + specified by parent.

Methods

gtkunixprint.PageSetupUnixDialog.set_page_setup

    def set_page_setup(page_setup)

page_setup :

a gtk.PageSetup

Note

This method is available in PyGTK 2.10 and above.

The set_page_setup() method uses the gtk.PageSetup specified by page_setup to set the page setup values for the dialog.

gtkunixprint.PageSetupUnixDialog.get_page_setup

    def get_page_setup()

Returns :

the current page setup

Note

This method is available in PyGTK 2.10 and above.

The get_page_setup() method returns the diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkpaned.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkpaned.html --- pygtk-2.14.1/docs/html/class-gtkpaned.html 2009-03-05 22:49:01.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkpaned.html 2009-05-24 23:12:06.000000000 +0100 @@ -1,11 +1,11 @@ gtk.Paned

gtk.Paned

gtk.Paned — a base class for widgets with two adjustable -panes

Synopsis

class gtk.Paned(gtk.Container):
-    def add1(child)
def add2(child)
def pack1(child, resize=False, shrink=True)
def pack2(child, resize=True, shrink=True)
def get_position()
def set_position(position)
def compute_position(allocation, child1_req, child2_req)
def get_child1()
def get_child2()

Ancestry

+-- gobject.GObject
+panes

Synopsis

class gtk.Paned(gtk.Container):
+    def add1(child)
def add2(child)
def pack1(child, resize=False, shrink=True)
def pack2(child, resize=True, shrink=True)
def get_position()
def set_position(position)
def compute_position(allocation, child1_req, child2_req)
def get_child1()
def get_child2()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Paned
-

Implemented Interfaces

+

Implemented Interfaces

gtk.Paned implements gtk.Buildable @@ -17,7 +17,7 @@ all the way to the left or top).

"position-set"Read-WriteIf True, the "position" property is valid.

gtk.Paned Child Properties

"resize"Read-WriteIf True, the child expands and shrinks along with the paned widget. Available in GTK+ 2.4 and above.
"shrink"Read-WriteIf True, the child can be made -smaller than its requisition. Available in GTK+ 2.4 and above.

gtk.Paned Style Properties

gtk.Widget Style Properties

"handle-size"ReadThe width of the handle

gtk.Paned Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

"accept-position"

def callback(paned, user_param1, ...)

"cancel-position"

def callback(paned, user_param1, ...)

"cycle-child-focus"

def callback(paned, reversed, user_param1, ...)

"cycle-handle-focus"

def callback(paned, reversed, user_param1, ...)

"move-handle"

def callback(paned, scrolltype, user_param1, ...)

"toggle-handle-focus"

def callback(paned, user_param1, ...)

Description

gtk.Paned is the base +smaller than its requisition. Available in GTK+ 2.4 and above.

gtk.Paned Style Properties

gtk.Widget Style Properties

"handle-size"ReadThe width of the handle

gtk.Paned Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

"accept-position"

def callback(paned, user_param1, ...)

"cancel-position"

def callback(paned, user_param1, ...)

"cycle-child-focus"

def callback(paned, reversed, user_param1, ...)

"cycle-handle-focus"

def callback(paned, reversed, user_param1, ...)

"move-handle"

def callback(paned, scrolltype, user_param1, ...)

"toggle-handle-focus"

def callback(paned, user_param1, ...)

Description

gtk.Paned is the base class for widgets with two panes, arranged either horizontally (gtk.HPaned) or vertically (gtk.VPaned). Child widgets are added to the panes of the widget with the pack1() and @@ -38,7 +38,7 @@ both children, the resizing behaves as if resize is True for both children. The application can set the position of the slider by calling the set_position() -method.

Methods

gtk.Paned.add1

    def add1(child)

child :

the widget to add

The add1() method adds the widget +method.

Methods

gtk.Paned.add1

    def add1(child)

child :

the widget to add

The add1() method adds the widget specified by child to the top or left pane with the default packing parameters (resize is False and shrink is True). See the pack1() @@ -98,7 +98,7 @@ positions.

gtk.Paned.get_child1

    def get_child1()

Returns :

the first child, orNone

Note

This method is available in PyGTK 2.4 and above.

The get_child1() method returns the first child of the paned widget.

gtk.Paned.get_child2

    def get_child2()

Returns :

the second child, or None

Note

This method is available in PyGTK 2.4 and above.

The get_child2() method returns -the second child of the paned widget.

Signals

The "accept-position" gtk.Paned Signal

    def callback(paned, user_param1, ...)

paned :

the paned that received the +the second child of the paned widget.

Signals

The "accept-position" gtk.Paned Signal

    def callback(paned, user_param1, ...)

paned :

the paned that received the signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkpapersize.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkpapersize.html --- pygtk-2.14.1/docs/html/class-gtkpapersize.html 2009-03-05 22:49:01.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkpapersize.html 2009-05-24 23:12:06.000000000 +0100 @@ -1,9 +1,9 @@ gtk.PaperSize

gtk.PaperSize

gtk.PaperSize — an object providing support for named paper sizes (new in - PyGTK 2.10)

Synopsis

class gtk.PaperSize(gobject.GBoxed):
+      PyGTK 2.10)

Synopsis

class gtk.PaperSize(gobject.GBoxed):
     gtk.PaperSize(name=None)
def copy()
def is_equal(size2)
def get_name()
def get_display_name()
def get_ppd_name()
def get_width(unit)
def get_height(unit)
def is_custom()
def set_size(width, height, unit)
def get_default_top_margin(unit)
def get_default_bottom_margin(unit)
def get_default_left_margin(unit)
def get_default_right_margin(unit)
 Functions
 
-    def gtk.paper_size_new_from_ppd(ppd_name, ppd_display_name, width, height)
def gtk.paper_size_new_cutom(name, display_name, width, height, unit)
def gtk.paper_size_get_default()

Description

Note

This class is available in PyGTK 2.10 and above.

A gtk.PaperSize + def gtk.paper_size_new_from_ppd(ppd_name, ppd_display_name, width, height)
def gtk.paper_size_new_cutom(name, display_name, width, height, unit)
def gtk.paper_size_get_default()

Description

Note

This class is available in PyGTK 2.10 and above.

A gtk.PaperSize handles paper sizes. It uses the standard called "PWG 5101.1-2002 PWG: Standard for Media Standardized Names" to name the paper sizes (and to get the data for the page sizes). The common standard paper sizes are @@ -11,10 +11,10 @@ standard paper sizes, gtk.PaperSize allows to construct custom paper sizes with arbitrary dimensions.

The gtk.PaperSize object stores not only the dimensions (width and height) of a paper size - and its name, it also provides default print margins.

Constructor

gtk.PaperSize

    gtk.PaperSize(name=None)

name :

a paper size name, or None

Returns :

a new gtk.PaperSize.

Note

This constructor is available in PyGTK 2.10 and above.

Creates a new gtk.PaperSize + and its name, it also provides default print margins.

Constructor

gtk.PaperSize

    gtk.PaperSize(name=None)

name :

a paper size name, or None

Returns :

a new gtk.PaperSize.

Note

This constructor is available in PyGTK 2.10 and above.

Creates a new gtk.PaperSize object by parsing a PWG 5101.1-2002 PWG paper name.

If name is None, the default paper size is returned, see - paper_size_get_default().

Methods

gtk.PaperSize.copy

    def copy()

Returns :

a copy of other

Note

This method is available in PyGTK 2.10 and above.

The copy() method copies an existing gtk.PaperSize.

gtk.PaperSize.is_equal

    def is_equal(size2)

size2 :

another gtk.PaperSize + paper_size_get_default().

Methods

gtk.PaperSize.copy

    def copy()

Returns :

a copy of other

Note

This method is available in PyGTK 2.10 and above.

The copy() method copies an existing gtk.PaperSize.

gtk.PaperSize.is_equal

    def is_equal(size2)

size2 :

another gtk.PaperSize object

Returns :

True, if this paper size and size2 represent the same paper size

Note

This method is available in PyGTK 2.10 and above.

The is_equal() method returns the @@ -48,7 +48,7 @@ GTK Unit Constants.

Returns :

the default left margin

Note

This method is available in PyGTK 2.10 and above.

The get_default_left_margin() method gets the default left margin for the paper size.

gtk.PaperSize.get_default_right_margin

    def get_default_right_margin(unit)

unit :

the unit for the return value - one of the GTK Unit Constants.

Returns :

the default right margin

Note

This method is available in PyGTK 2.10 and above.

The get_default_right_margin() method - gets the default right margin for the paper size.

Functions

gtk.paper_size_new_from_ppd

    def gtk.paper_size_new_from_ppd(ppd_name, ppd_display_name, width, height)

>ppd_name :

a PPD paper name

ppd_display_name :

the corresponding human-readable + gets the default right margin for the paper size.

Functions

gtk.paper_size_new_from_ppd

    def gtk.paper_size_new_from_ppd(ppd_name, ppd_display_name, width, height)

>ppd_name :

a PPD paper name

ppd_display_name :

the corresponding human-readable name

width :

the paper width, in points

height :

the paper height in points

Returns :

a new gtk.PaperSize

Note

This function is available in PyGTK 2.10 and above.

The paper_size new__from_ppd() function creates a new gtk.PaperSize object by using PPD information. If ppd_name diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkplug.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkplug.html --- pygtk-2.14.1/docs/html/class-gtkplug.html 2009-03-05 22:49:01.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkplug.html 2009-05-24 23:12:07.000000000 +0100 @@ -1,9 +1,9 @@ gtk.Plug

gtk.Plug

gtk.Plug — A toplevel window for embedding into other -processes.

Synopsis

class gtk.Plug(gtk.Window):
+processes.

Synopsis

class gtk.Plug(gtk.Window):
     gtk.Plug(socket_id)
def construct(socket_id)
def get_id()
def get_embedded()
def get_socket_window()
 Functions
 
-    def gtk.plug_new_for_display(display, socket_id)

Ancestry

+-- gobject.GObject
+    def gtk.plug_new_for_display(display, socket_id)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
@@ -14,7 +14,7 @@
                     Default value: False
                     Available in GTK+ 2.12.
"socket-window"ReadThe window of the socket the plug is embedded in. Available in GTK+ 2.14. -

gtk.Plug Style Properties

gtk.Widget Style Properties

gtk.Plug Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

gtk.Window Signal Prototypes

"embedded"

def callback(plug, user_param1, ...)

Description

Together with gtk.Socket, gtk.Plug provides the +

gtk.Plug Style Properties

gtk.Widget Style Properties

gtk.Plug Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

gtk.Window Signal Prototypes

"embedded"

def callback(plug, user_param1, ...)

Description

Together with gtk.Socket, gtk.Plug provides the ability to embed widgets from one process into another process in a fashion that is transparent to the user. One process creates a gtk.Socket widget and, passes the ID of that widgets window to the other process, which then @@ -27,7 +27,7 @@ socket_id is 0, the plug is left "unplugged" and can later be plugged into a gtk.Socket by the gtk.Socket.add_id() -method.

Methods

gtk.Plug.construct

    def construct(socket_id)

socket_id :

the window ID of the +method.

Methods

gtk.Plug.construct

    def construct(socket_id)

socket_id :

the window ID of the socket

Warning

This method is not available in PyGTK 2.2 and above.

The construct() method finishes the initialization of plug for the gtk.Socket @@ -43,14 +43,14 @@ None.

Note

This method is available in PyGTK 2.14 and above.

The get_socket_window() method retrieves the socket the plug is embedded in. -

Functions

gtk.plug_new_for_display

    def gtk.plug_new_for_display(display, socket_id)

display :

the gtk.gdk.Display +

Functions

gtk.plug_new_for_display

    def gtk.plug_new_for_display(display, socket_id)

display :

the gtk.gdk.Display associated with socket_id's.

socket_id :

the window ID of the socket's window.

Returns :

a gtk.Plug object

Note

This function is available in PyGTK 2.2 and above.

The gtk.plug_new_for_display() function creates a new plug widget inside the gtk.Socket specified by socket_id on the gtk.gdk.Display -specified by display.

Signals

The "embedded" gtk.Plug Signal

    def callback(plug, user_param1, ...)

plug :

the plug that received the +specified by display.

Signals

The "embedded" gtk.Plug Signal

    def callback(plug, user_param1, ...)

plug :

the plug that received the signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkprintcontext.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkprintcontext.html --- pygtk-2.14.1/docs/html/class-gtkprintcontext.html 2009-03-05 22:49:02.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkprintcontext.html 2009-05-24 23:12:07.000000000 +0100 @@ -1,14 +1,14 @@ -gtk.PrintContext

gtk.PrintContext

gtk.PrintContext — Encapsulates context for drawing pages (new in PyGTK 2.10)

Synopsis

class gtk.PrintContext(gobject.GObject):
-    def get_cairo_context()
def get_page_setup()
def get_width()
def get_height()
def get_dpi_x()
def get_dpi_y()
def get_pango_fontmap()
def create_pango_context()
def create_pango_layout()
def set_cairo_context(cr, dpi_x, dpi_y)

Ancestry

+-- gobject.GObject
+gtk.PrintContext

gtk.PrintContext

gtk.PrintContext — Encapsulates context for drawing pages (new in PyGTK 2.10)

Synopsis

class gtk.PrintContext(gobject.GObject):
+    def get_cairo_context()
def get_page_setup()
def get_width()
def get_height()
def get_dpi_x()
def get_dpi_y()
def get_pango_fontmap()
def create_pango_context()
def create_pango_layout()
def set_cairo_context(cr, dpi_x, dpi_y)

Ancestry

+-- gobject.GObject
   +-- gtk.PrintContext
-

gtk.PrintContext Signal Prototypes

gobject.GObject Signal Prototypes

Description

A gtk.PrintContext +

gtk.PrintContext Signal Prototypes

gobject.GObject Signal Prototypes

Description

A gtk.PrintContext encapsulates context information that is required when drawing pages for printing, such as the cairo context and important parameters like page size and resolution. It also lets you easily create pango.Layout and pango.Context objects that match the font metrics of the cairo surface.

gtk.PrintContext objects gets passed to the "begin-print", "end-print", - "request-page-setup" and "draw-page" signals on the gtk.PrintOperation.

Example 2. Using gtk.PrintContext + "request-page-setup" and "draw-page" signals on the gtk.PrintOperation.

Example 2. Using gtk.PrintContext in a "draw-page" callback

 def draw_page(operation, context, page_nr):
   cr = context.get_cairo_context()
@@ -49,7 +49,7 @@
   # Font Fill
   cr.set_source_rgb(0, 0.0, 1.0)
   cr.fill()
-

Printing support was added in GTK+ 2.10.

Methods

gtk.PrintContext.get_cairo_context

    def get_cairo_context()

Returns :

the cairo context

Note

This method is available in PyGTK 2.10 and above.

The get_cairo_context() method returns +


Printing support was added in GTK+ 2.10.

Methods

gtk.PrintContext.get_cairo_context

    def get_cairo_context()

Returns :

the cairo context

Note

This method is available in PyGTK 2.10 and above.

The get_cairo_context() method returns the cairo context that is associated with the gtk.PrintContext.

gtk.PrintContext.get_page_setup

    def get_page_setup()

Returns :

the page setup

Note

This method is available in PyGTK 2.10 and above.

The get_page_setup() method returns the gtk.PageSetup that determines the page dimensions of the gtk.PrintContext.

gtk.PrintContext.get_width

    def get_width()

Returns :

the width

Note

This method is available in PyGTK 2.10 and above.

The get_width() method returns the width diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkprinter.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkprinter.html --- pygtk-2.14.1/docs/html/class-gtkprinter.html 2009-03-05 22:50:36.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkprinter.html 2009-05-24 23:13:36.000000000 +0100 @@ -1,6 +1,6 @@ gtkunixprint.Printer

gtkunixprint.Printer

gtkunixprint.Printer — an object representing a print in Unix (new in PyGTK - 2.10)

Synopsis

class gtkunixprint.Printer(gobject.GObject):
-    def get_name()
def get_state_message()
def get_capabilities()
def get_description()
def get_location()
def get_icon_name()
def get_job_count()
def has_details()
def request_details()
def is_accepting_jobs()
def is_active()
def is_default()
def is_paused()
def is_virtual()
def compare(b)
def accepts_pdf()
def accepts_ps()

Ancestry

+-- gobject.GObject
+      2.10)

Synopsis

class gtkunixprint.Printer(gobject.GObject):
+    def get_name()
def get_state_message()
def get_capabilities()
def get_description()
def get_location()
def get_icon_name()
def get_job_count()
def has_details()
def request_details()
def is_accepting_jobs()
def is_active()
def is_default()
def is_paused()
def is_virtual()
def compare(b)
def accepts_pdf()
def accepts_ps()

Ancestry

+-- gobject.GObject
   +-- gtkunixprint.Printer
 

gtkunixprint.Printer Properties

"accepting-jobs"ReadThis property is True if the printer is accepting jobs. Default value: True. @@ -19,7 +19,7 @@ Default value: False Available in GTK+ 2.14.
"state-message"ReadA string giving the current state of the printer. Default value: None. Available in GTK+ - 2.10.

gtkunixprint.Printer Signal Prototypes

gobject.GObject Signal Prototypes

"details-acquired"

def callback(printer, success, user_param1, ...)

Description

Note

This class is available in PyGTK 2.10 and above.

A gtkunixprint.Printer + 2.10.

gtkunixprint.Printer Signal Prototypes

gobject.GObject Signal Prototypes

"details-acquired"

def callback(printer, success, user_param1, ...)

Description

Note

This class is available in PyGTK 2.10 and above.

A gtkunixprint.Printer object represents a printer. You only need to deal directly with printers if you use the non-portable gtkunixprint.PrintUnixDialog API.

A gtkunixprint.Printer @@ -27,7 +27,7 @@ description, its location, the number of queued jobs, etc. Most importantly, a gtkunixprint.Printer object can be used to create a gtkunixprint.PrintJob - object, that lets you print to the printer.

Methods

gtkunixprint.Printer.get_name

    def get_name()

Returns :

the name of the printer

Note

This method is available in PyGTK 2.10 and above.

The get_name() method returns the name + object, that lets you print to the printer.

Methods

gtkunixprint.Printer.get_name

    def get_name()

Returns :

the name of the printer

Note

This method is available in PyGTK 2.10 and above.

The get_name() method returns the name of the printer.

gtkunixprint.Printer.get_state_message

    def get_state_message()

Returns :

the state message of the printer

Note

This method is available in PyGTK 2.10 and above.

The get_state_message() method returns the state message describing the current state of the printer.

gtkunixprint.Printer.get_description

    def get_description()

Returns :

the description of the @@ -65,7 +65,7 @@ than the name of b.

gtkunixprint.Printer.accepts_pdf

    def accepts_pdf()

Returns :

True if the printer accepts PDF

Note

This method is available in PyGTK 2.10 and above.

Returns whether the printer accepts input in PDF format.

gtkunixprint.Printer.accepts_ps

    def accepts_ps()

Returns :

True if the printer accepts PostScript

Note

This method is available in PyGTK 2.10 and above.

Returns whether the printer accepts input in PostScript - format.

Signals

The "details-acquired" Signal

    def callback(printer, success, user_param1, ...)

printer :

the printer that received the + format.

Signals

The "details-acquired" Signal

    def callback(printer, success, user_param1, ...)

printer :

the printer that received the signal

success :

True if the details were successfully acquired

user_param1 :

the first user parameter (if any) specified with the connect() diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkprintjob.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkprintjob.html --- pygtk-2.14.1/docs/html/class-gtkprintjob.html 2009-03-05 22:50:36.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkprintjob.html 2009-05-24 23:13:36.000000000 +0100 @@ -1,13 +1,13 @@ gtkunixprint.PrintJob

gtkunixprint.PrintJob

gtkunixprint.PrintJob — an object that represents a print job (new in PyGTK - 2.10)

Synopsis

class gtkunixprint.PrintJob(gobject.GObject):
-    gtkunixprint.PrintJob(title, printer, settings, page_setup)
def get_settings()
def get_printer()
def get_title()
def get_status()
def set_source_file(filename)
def get_surface()
def set_track_print_status(track_status)
def get_track_print_status()
def send(callback, user_data=None)

Ancestry

+-- gobject.GObject
+      2.10)

Synopsis

class gtkunixprint.PrintJob(gobject.GObject):
+    gtkunixprint.PrintJob(title, printer, settings, page_setup)
def get_settings()
def get_printer()
def get_title()
def get_status()
def set_source_file(filename)
def get_surface()
def set_track_print_status(track_status)
def get_track_print_status()
def send(callback, user_data=None)

Ancestry

+-- gobject.GObject
   +-- gtkunixprint.PrintJob
 

gtkunixprint.PrintJob Properties

"page-setup"Read-Write-Construct OnlyThe Page Setup. Available in GTK+ 2.10.
"printer"Read-Write-Construct OnlyThe Printer to print the job to. Available in GTK+ 2.10.
"settings"Read-Write-Construct OnlyThe Printer Settings. Available in GTK+ 2.10.
"title"Read-Write-Construct OnlyTitle of the print job. Default value: None. Available in GTK+ 2.10.
"track-print-status"Read-Writeif True the print job will continue to emit status-changed signals after the print data has been sent to the printer or print server. Available in GTK+ - 2.10.

gtkunixprint.PrintJob Signal Prototypes

gobject.GObject Signal Prototypes

"status-changed"

def callback(printjob, user_param1, ...)

Description

Note

This class is available in PyGTK 2.10 and above.

A gtkunixprint.PrintJob + 2.10.

gtkunixprint.PrintJob Signal Prototypes

gobject.GObject Signal Prototypes

"status-changed"

def callback(printjob, user_param1, ...)

Description

Note

This class is available in PyGTK 2.10 and above.

A gtkunixprint.PrintJob object represents a job that is sent to a printer. You only need to deal directly with print jobs if you use the non-portable gtkunixprint.PrintUnixDialog API.

Use the get_surface() @@ -16,7 +16,7 @@ method to send the finished job to the printer. If you don't use cairo gtkunixprint.PrintJob also supports printing of manually generated postscript, via the set_source_file() - method.

Constructor

gtkunixprint.PrintJob

    gtkunixprint.PrintJob(title, printer, settings, page_setup)

title :

the job title

printer :

a gtkunixprint.Printer

settings :

a gtk.PrintSettings

page_setup :

a gtk.PageSetup

Returns :

a new gtkunixprint.PrintJob

Note

This constructor is available in PyGTK 2.10 and above.

Creates a new gtkunixprint.PrintJob.

Methods

gtkunixprint.PrintJob.get_settings

    def get_settings()

Returns :

the settings of the print + method.

Constructor

gtkunixprint.PrintJob

    gtkunixprint.PrintJob(title, printer, settings, page_setup)

title :

the job title

printer :

a gtkunixprint.Printer

settings :

a gtk.PrintSettings

page_setup :

a gtk.PageSetup

Returns :

a new gtkunixprint.PrintJob

Note

This constructor is available in PyGTK 2.10 and above.

Creates a new gtkunixprint.PrintJob.

Methods

gtkunixprint.PrintJob.get_settings

    def get_settings()

Returns :

the settings of the print job

Note

This method is available in PyGTK 2.10 and above.

The get_settings() method returns the gtk.PrintSettings of the print job.

gtkunixprint.PrintJob.get_printer

    def get_printer()

Returns :

the printer of the print @@ -58,7 +58,7 @@

where data is user_data and errormsg is a message indicating what problem has occurred or - None if no error has occurred.

Signals

The "status-changed" Signal

    def callback(gtkprintjob, user_param1, ...)

gtkprintjob :

the gtkprintjob that received the + None if no error has occurred.

Signals

The "status-changed" Signal

    def callback(gtkprintjob, user_param1, ...)

gtkprintjob :

the gtkprintjob that received the signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkprintoperation.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkprintoperation.html --- pygtk-2.14.1/docs/html/class-gtkprintoperation.html 2009-03-05 22:49:03.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkprintoperation.html 2009-05-24 23:12:08.000000000 +0100 @@ -1,5 +1,5 @@ -gtk.PrintOperation

gtk.PrintOperation

gtk.PrintOperation — a high-level printing API (new in PyGTK 2.10)

Synopsis

class gtk.PrintOperation(gobject.GObject, gtk.PrintOperationPreview):
-    gtk.PrintOperation()
def set_default_page_setup(default_page_setup=None)
def get_default_page_setup()
def set_print_settings(print_settings=None)
def get_print_settings()
def set_job_name(job_name)
def set_n_pages(n_pages)
def set_current_page(current_page)
def set_use_full_page(full_page)
def set_unit(unit)
def set_export_filename(filename)
def set_track_print_status(track_status)
def set_show_progress(show_progress)
def set_allow_async(allow_async)
def set_custom_tab_label(label)
def run(action, parent=None)
def get_error()
def get_status()
def get_status_string()
def is_finished()
def cancel()

Ancestry

+-- gobject.GObject
+gtk.PrintOperation

gtk.PrintOperation

gtk.PrintOperation — a high-level printing API (new in PyGTK 2.10)

Synopsis

class gtk.PrintOperation(gobject.GObject, gtk.PrintOperationPreview):
+    gtk.PrintOperation()
def set_default_page_setup(default_page_setup=None)
def get_default_page_setup()
def set_print_settings(print_settings=None)
def get_print_settings()
def set_job_name(job_name)
def set_n_pages(n_pages)
def set_current_page(current_page)
def set_use_full_page(full_page)
def set_unit(unit)
def set_export_filename(filename)
def set_track_print_status(track_status)
def set_show_progress(show_progress)
def set_allow_async(allow_async)
def set_custom_tab_label(label)
def run(action, parent=None)
def get_error()
def get_status()
def get_status_string()
def is_finished()
def cancel()

Ancestry

+-- gobject.GObject
   +-- gtk.PrintOperation (implements gtk.PrintOperationPreview)
 

gtk.PrintOperation Properties

"allow-async"Read-WriteIf True the print operation may run asynchronously or not. Some systems don't support asynchronous @@ -62,7 +62,7 @@ and the number of pages per sheet). Otherwise, the origin is at the top left corner of the imageable area (i.e. inside the margins). This property is available in GTK+ 2.10 and - above.

gtk.PrintOperation Signal Prototypes

gobject.GObject Signal Prototypes

gtk.PrintOperationPreview Signal Prototypes

"begin-print

def callback(operation, context, user_param1, ...)

"create-custom-widget

def callback(operation, user_param1, ...)

"custom-widget-apply

def callback(operation, widget, user_param1, ...)

"done

def callback(operation, result, user_param1, ...)

"draw-page

def callback(operation, context, page_nr, user_param1, ...)

"end-print

def callback(operation, context, user_param1, ...)

"paginate

def callback(printoperation, context, user_param1, ...)

"preview

def callback(operation, preview, context, parent, user_param1, ...)

"request-page-setup

def callback(operation, context, page_nr, setup, user_param1, ...)

"status-changed

def callback(operation, printoperation, user_param1, ...)

Description

gtk.PrintOperation + above.

gtk.PrintOperation Signal Prototypes

gobject.GObject Signal Prototypes

gtk.PrintOperationPreview Signal Prototypes

"begin-print

def callback(operation, context, user_param1, ...)

"create-custom-widget

def callback(operation, user_param1, ...)

"custom-widget-apply

def callback(operation, widget, user_param1, ...)

"done

def callback(operation, result, user_param1, ...)

"draw-page

def callback(operation, context, page_nr, user_param1, ...)

"end-print

def callback(operation, context, user_param1, ...)

"paginate

def callback(printoperation, context, user_param1, ...)

"preview

def callback(operation, preview, context, parent, user_param1, ...)

"request-page-setup

def callback(operation, context, page_nr, setup, user_param1, ...)

"status-changed

def callback(operation, printoperation, user_param1, ...)

Description

gtk.PrintOperation is the high-level, portable printing API. It looks a bit different than other GTK+ dialogs such as the gtk.FileChooser, since some platforms don't expose enough infrastructure to implement a @@ -80,7 +80,7 @@ emitted on the gtk.PrintOperation, the main one being "draw-page", which you are supposed to catch and render the page on the provided gtk.PrintContext - using Cairo.

Example 3. The high-level printing API

+    using Cairo.

Example 3. The high-level printing API

 settings = None
 
 def do_print():
@@ -96,7 +96,7 @@
 
   if res == gtk.PRINT_OPERATION_RESULT_APPLY:
       settings = print_op.get_print_settings()
-

Printing support was added in GTK+ 2.10.

Constructor

gtk.PrintOperation

    gtk.PrintOperation()

Returns :

a new gtk.PrintOperation

Note

This constructor is available in PyGTK 2.10 and above.

Creates a new gtk.PrintOperation.

Methods

gtk.PrintOperation.set_default_page_setup

    def set_default_page_setup(default_page_setup=None)

default_page_setup :

a gtk.PageSetup, +

Printing support was added in GTK+ 2.10.

Constructor

gtk.PrintOperation

    gtk.PrintOperation()

Returns :

a new gtk.PrintOperation

Note

This constructor is available in PyGTK 2.10 and above.

Creates a new gtk.PrintOperation.

Methods

gtk.PrintOperation.set_default_page_setup

    def set_default_page_setup(default_page_setup=None)

default_page_setup :

a gtk.PageSetup, or None

Note

This method is available in PyGTK 2.10 and above.

The set_default_page_setup() method makes default_page_setup the default page setup.

This page setup will be used by the gtk.PrintOperation.run() @@ -231,7 +231,7 @@ printer.

gtk.PrintOperation.cancel

    def cancel()

Note

This method is available in PyGTK 2.10 and above.

The cancel() method cancels a running print operation. This method may be called from a "begin-print", "paginate" or "draw-page" signal handler to stop the currently running - print operation.

Signals

The "begin-print" gtk.PrintOperation Signal

    def callback(operation, context, user_param1, ...)

operation :

the gtk.PrintOperation + print operation.

Signals

The "begin-print" gtk.PrintOperation Signal

    def callback(operation, context, user_param1, ...)

operation :

the gtk.PrintOperation on which the signal was emitted

context :

the gtk.PrintContext for the current operation

user_param1 :

the first user parameter (if any) specified with the connect() diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkprintoperationpreview.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkprintoperationpreview.html --- pygtk-2.14.1/docs/html/class-gtkprintoperationpreview.html 2009-03-05 22:49:03.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkprintoperationpreview.html 2009-05-24 23:12:08.000000000 +0100 @@ -1,13 +1,13 @@ gtk.PrintOperationPreview

gtk.PrintOperationPreview

gtk.PrintOperationPreview — an interface for printing preview (new in PyGTK - 2.10)

Synopsis

class gtk.PrintOperationPreview(gobject.GInterface):
-    def render_page(page_nr)
def end_preview()
def is_selected(page_nr)

gtk.PrintOperationPreview Signal Prototypes

"got-page-size

def callback(printoperationpreview, printcontext, user_param1, ...)

"ready

def callback(printoperationpreview, printcontext, pagesetup, user_param1, ...)

Description

gtk.PrintOperationPreview + 2.10)

Synopsis

class gtk.PrintOperationPreview(gobject.GInterface):
+    def render_page(page_nr)
def end_preview()
def is_selected(page_nr)

gtk.PrintOperationPreview Signal Prototypes

"got-page-size

def callback(printoperationpreview, printcontext, user_param1, ...)

"ready

def callback(printoperationpreview, printcontext, pagesetup, user_param1, ...)

Description

gtk.PrintOperationPreview is an interface implemented by gtk.PrintOperation - for previewing pages before printing.

Methods

gtk.PrintOperationPreview.render_page

    def render_page(page_nr)

page_nr :

the number of the page to be + for previewing pages before printing.

Methods

gtk.PrintOperationPreview.render_page

    def render_page(page_nr)

page_nr :

the number of the page to be previewed

Note

This method is available in PyGTK 2.10 and above.

gtk.PrintOperationPreview.end_preview

    def end_preview()

Note

This method is available in PyGTK 2.10 and above.

gtk.PrintOperationPreview.is_selected

    def is_selected(page_nr)

page_nr :

Returns :

True if page_nr is the currently selected page

Note

This method is available in PyGTK 2.10 and above.

Returns True if the page with the number specified by page_nr is currently - selected.

Signals

The "got-page-size" gtk.PrintOperationPreview Signal

    def callback(printoperationpreview, printcontext, user_param1, ...)

printoperationpreview :

printcontext :

the print context

user_param1 :

the first user parameter (if any) specified + selected.

Signals

The "got-page-size" gtk.PrintOperationPreview Signal

    def callback(printoperationpreview, printcontext, user_param1, ...)

printoperationpreview :

printcontext :

the print context

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if any)

Note

This signal is available in GTK+ 2.10 and above.

The "ready" gtk.PrintOperationPreview Signal

    def callback(printoperationpreview, printcontext, pagesetup, user_param1, ...)

printoperationpreview :

printcontext :

the print context

pagesetup :

the page setup

user_param1 :

the first user parameter (if any) specified with the connect() diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkprintsettings.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkprintsettings.html --- pygtk-2.14.1/docs/html/class-gtkprintsettings.html 2009-03-05 22:49:04.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkprintsettings.html 2009-05-24 23:12:10.000000000 +0100 @@ -1,10 +1,10 @@ -gtk.PrintSettings

gtk.PrintSettings

gtk.PrintSettings — Stores print settings (new in PyGTK 2.10)

Synopsis

class gtk.PrintSettings(gobject.GObject):
+gtk.PrintSettings

gtk.PrintSettings

gtk.PrintSettings — Stores print settings (new in PyGTK 2.10)

Synopsis

class gtk.PrintSettings(gobject.GObject):
     gtk.PrintSettings()
def copy()
def has_key(key)
def get(key)
def set(key, value)
def unset(key)
def foreach(func, user_data=None)
def get_bool(key)
def set_bool(key, value)
def get_double(key)
def get_double_with_default(key, def)
def set_double(key, value)
def get_length(key, unit)
def set_length(key, value, unit)
def get_int(key)
def get_int_with_default(key, def)
def set_int(key, value)
def get_printer()
def set_printer(printer)
def get_orientation()
def set_orientation(orientation)
def get_paper_size()
def set_paper_size(paper_size)
def get_paper_width(unit)
def set_paper_width(width, unit)
def get_paper_height(unit)
def set_paper_height(height, unit)
def get_use_color()
def set_use_color(use_color)
def get_collate()
def set_collate(collate)
def get_reverse()
def set_reverse(reverse)
def get_duplex()
def set_duplex(duplex)
def get_quality()
def set_quality(quality)
def get_n_copies()
def set_n_copies(num_copies)
def get_number_up()
def set_number_up(number_up)
def get_resolution()
def set_resolution(resolution)
def get_scale()
def set_scale(scale)
def get_print_pages()
def set_print_pages(pages)
def get_page_ranges(num_ranges)
def set_page_ranges(page_ranges, num_ranges)
def get_page_set()
def set_page_set(page_set)
def get_default_source()
def set_default_source(default_source)
def get_media_type()
def set_media_type(media_type)
def get_dither()
def set_dither(dither)
def get_finishings()
def set_finishings(finishings)
def get_output_bin()
def set_output_bin(output_bin)
def to_file(file_name)
def get_number_up_layout()
def set_number_up_layout(number_up_layout)
def load_file(file_name)
 Functions
 
-    def gtk.print_settings_new_from_file(file_name)

Ancestry

+-- gobject.GObject
+    def gtk.print_settings_new_from_file(file_name)

Ancestry

+-- gobject.GObject
   +-- gtk.PrintSettings
-

gtk.PrintSettings Signal Prototypes

gobject.GObject Signal Prototypes

Description

A gtk.PrintSettings +

gtk.PrintSettings Signal Prototypes

gobject.GObject Signal Prototypes

Description

A gtk.PrintSettings object represents the settings of a print dialog in a system-independent way. The main use for this object is that once you've printed you can get a settings object that represents the settings the user chose, and @@ -13,9 +13,9 @@ save the settings for the next time your app runs, or even store them in a document. The predefined keys try to use shared values as much as possible so that moving such a document between systems still - works.

Printing support was added in GTK+ 2.10.

Constructor

gtk.PrintSettings

    gtk.PrintSettings()

Returns :

a new gtk.PrintSettings + works.

Printing support was added in GTK+ 2.10.

Constructor

gtk.PrintSettings

    gtk.PrintSettings()

Returns :

a new gtk.PrintSettings object

Note

This constructor is available in PyGTK 2.10 and above.

Creates a new gtk.PrintSettings - object.

Methods

gtk.PrintSettings.copy

    def copy()

Returns :

a newly allocated copy of the print + object.

Methods

gtk.PrintSettings.copy

    def copy()

Returns :

a newly allocated copy of the print settings

Note

This method is available in PyGTK 2.10 and above.

Returns a copy of this gtk.PrintSettings object.

gtk.PrintSettings.has_key

    def has_key(key)

key :

a key

Returns :

True, if key has a value

Note

This method is available in PyGTK 2.10 and above.

Returns True, if a value is associated with @@ -104,7 +104,7 @@ constant value.

Note

This method is available in PyGTK 2.16 and above.

Sets the value of GtkNumberUpLayout.

gtk.PrintSettings.load_file

    def load_file(file_name)

file_name :

the filename to read the settings from.

Returns :

True on success.

Note

This method is available in PyGTK 2.16 and above.

Reads the print settings from file_name. See gtk.PrintSettings.to_file. -

Functions

gtk.print_settings_new_from_file

    def gtk.print_settings_new_from_file(file_name)

file_name :

the filename to read the settings from.

Returns :

the restored +

Functions

gtk.print_settings_new_from_file

    def gtk.print_settings_new_from_file(file_name)

file_name :

the filename to read the settings from.

Returns :

the restored gtk.PrintSettings

Note

This function is available in PyGTK 2.12 and above.

Reads the print settings from filename. Returns a new gtk.PrintSettings diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkprintunixdialog.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkprintunixdialog.html --- pygtk-2.14.1/docs/html/class-gtkprintunixdialog.html 2009-03-05 22:50:37.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkprintunixdialog.html 2009-05-24 23:13:36.000000000 +0100 @@ -1,6 +1,6 @@ gtkunixprint.PrintUnixDialog

gtkunixprint.PrintUnixDialog

gtkunixprint.PrintUnixDialog — an dialog for selecting a printer in Unix (new in PyGTK - 2.10)

Synopsis

class gtkunixprint.PrintUnixDialog(gtk.Dialog):
-    gtkunixprint.PrintUnixDialog(title=None, parent=None)
def set_page_setup(page_setup)
def get_page_setup()
def set_current_page(current_page)
def get_current_page()
def set_settings(settings=None)
def get_settings()
def get_selected_printer()
def add_custom_tab(child, tab_label)
def set_manual_capabilities(capabilities)

Ancestry

+-- gobject.GObject
+      2.10)

Synopsis

class gtkunixprint.PrintUnixDialog(gtk.Dialog):
+    gtkunixprint.PrintUnixDialog(title=None, parent=None)
def set_page_setup(page_setup)
def get_page_setup()
def set_current_page(current_page)
def get_current_page()
def set_settings(settings=None)
def get_settings()
def get_selected_printer()
def add_custom_tab(child, tab_label)
def set_manual_capabilities(capabilities)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
@@ -8,7 +8,7 @@
           +-- gtk.Window
             +-- gtk.Dialog
               +-- gtkunixprint.PrintUnixDialog
-

Implemented Interfaces

+

Implemented Interfaces

gtk.PrintUnixDialog implements gtk.Buildable @@ -17,9 +17,9 @@ to use. Available in GTK+ 2.10.

"print-settings"Read-WriteThe gtk.PrintSettings used for initializing the dialog. Available in GTK+ 2.10.
"selected-printer"Read-WriteThe gtkunixprint.Printer - that is selected. Available in GTK+ 2.10.

gtkunixprint.PrintUnixDialog Style Properties

gtk.Widget Style Properties

gtk.Dialog Style Properties

Description

Constructor

gtkunixprint.PrintUnixDialog

    gtkunixprint.PrintUnixDialog(title=None, parent=None)

title :

The title of the dialog, or + that is selected. Available in GTK+ 2.10.

gtkunixprint.PrintUnixDialog Style Properties

gtk.Widget Style Properties

gtk.Dialog Style Properties

Description

Constructor

gtkunixprint.PrintUnixDialog

    gtkunixprint.PrintUnixDialog(title=None, parent=None)

title :

The title of the dialog, or None

parent :

The transient parent of the dialog, or - None

Returns :

a new gtkunixprint.PrintUnixDialog

Note

This constructor is available in PyGTK 2.10 and above.

Creates a new gtkunixprint.PrintUnixDialog.

Methods

gtkunixprint.PrintUnixDialog.set_page_setup

    def set_page_setup(page_setup)

page_setup :

a gtk.PageSetup

Note

This method is available in PyGTK 2.10 and above.

The set_page_setup() method sets the + None

Returns :

a new gtkunixprint.PrintUnixDialog

Note

This constructor is available in PyGTK 2.10 and above.

Creates a new gtkunixprint.PrintUnixDialog.

Methods

gtkunixprint.PrintUnixDialog.set_page_setup

    def set_page_setup(page_setup)

page_setup :

a gtk.PageSetup

Note

This method is available in PyGTK 2.10 and above.

The set_page_setup() method sets the "page-setup" property to the gtk.PageSetup specified by page_setup.

gtkunixprint.PrintUnixDialog.get_page_setup

    def get_page_setup()

Returns :

the page setup of the dialog.

Note

This method is available in PyGTK 2.10 and above.

The get_page_setup() method returns the diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkprogressbar.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkprogressbar.html --- pygtk-2.14.1/docs/html/class-gtkprogressbar.html 2009-03-05 22:49:05.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkprogressbar.html 2009-05-24 23:12:10.000000000 +0100 @@ -1,10 +1,10 @@ -gtk.ProgressBar

gtk.ProgressBar

gtk.ProgressBar — a widget which indicates progress visually.

Synopsis

class gtk.ProgressBar(gtk.Progress):
-    gtk.ProgressBar()
def pulse()
def set_text(text)
def set_fraction(fraction)
def set_pulse_step(fraction)
def set_orientation(orientation)
def get_text()
def get_fraction()
def get_pulse_step()
def get_orientation()
def set_ellipsize(mode)
def get_ellipsize()

Ancestry

+-- gobject.GObject
+gtk.ProgressBar

gtk.ProgressBar

gtk.ProgressBar — a widget which indicates progress visually.

Synopsis

class gtk.ProgressBar(gtk.Progress):
+    gtk.ProgressBar()
def pulse()
def set_text(text)
def set_fraction(fraction)
def set_pulse_step(fraction)
def set_orientation(orientation)
def get_text()
def get_fraction()
def get_pulse_step()
def get_orientation()
def set_ellipsize(mode)
def get_ellipsize()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Progress
         +-- gtk.ProgressBar
-

Implemented Interfaces

+

Implemented Interfaces

gtk.ProgressBar implements gtk.Buildable @@ -44,7 +44,7 @@

"yspacing"Read Extra spacing applied to the width of a progress bar. Allowed values: >= 0. Default value: 7. -

gtk.ProgressBar Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

Description

The gtk.ProgressBar +

gtk.ProgressBar Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

Description

The gtk.ProgressBar is typically used to display the progress of a long running operation. It provides a visual clue that processing is underway. The gtk.ProgressBar can be used in two different modes: percentage mode and activity @@ -65,7 +65,7 @@ can be displayed along with the bar, and the step size used in activity mode can be set.

Constructor

    gtk.ProgressBar()

Returns :

a new gtk.ProgressBar widget

Creates a new gtk.Progressbar -widget.

Methods

gtk.ProgressBar.pulse

    def pulse()

The pulse() method nudges the +widget.

Methods

gtk.ProgressBar.pulse

    def pulse()

The pulse() method nudges the progressbar to indicate that some progress has been made, but you don't know how much. This method also changes progress bar mode to "activity mode," where a block bounces back and forth. Each call to the pulse() diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkradioaction.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkradioaction.html --- pygtk-2.14.1/docs/html/class-gtkradioaction.html 2009-03-05 22:49:05.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkradioaction.html 2009-05-24 23:12:10.000000000 +0100 @@ -1,10 +1,10 @@ gtk.RadioAction

gtk.RadioAction

gtk.RadioAction — an action that can be grouped so that only one can be - active (new in PyGTK 2.4)

Synopsis

class gtk.RadioAction(gtk.ToggleAction):
-    gtk.RadioAction(name, label, tooltip, stock_id, value)
def set_group(group)
def get_group()
def get_current_value()

Ancestry

+-- gobject.GObject
+    active (new in PyGTK 2.4)

Synopsis

class gtk.RadioAction(gtk.ToggleAction):
+    gtk.RadioAction(name, label, tooltip, stock_id, value)
def set_group(group)
def get_group()
def get_current_value()

Ancestry

+-- gobject.GObject
   +-- gtk.Action
     +-- gtk.ToggleAction
       +-- gtk.RadioAction
-

Implemented Interfaces

+

Implemented Interfaces

gtk.RadioAction implements gtk.Buildable @@ -17,7 +17,7 @@ handler. See the get_current_value() and the gtk.ActionGroup.add_radio_actions() methods for convenient ways to get and set this property. This - property is available in GTK+ 2.4 and above

gtk.RadioAction Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Action Signal Prototypes

gtk.ToggleAction Signal Prototypes

"changed"

def callback(radioaction, current, user_param1, ...)

Description

Note

This object is available in PyGTK 2.4 and above.

A gtk.RadioAction + property is available in GTK+ 2.4 and above

gtk.RadioAction Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Action Signal Prototypes

gtk.ToggleAction Signal Prototypes

"changed"

def callback(radioaction, current, user_param1, ...)

Description

Note

This object is available in PyGTK 2.4 and above.

A gtk.RadioAction is a subclass of gtk.ToggleAction and similar to gtk.RadioMenuItem. A number of radio actions can be linked together so that only one may be @@ -29,7 +29,7 @@ label, tooltip, stock_id and value. To add the action to a gtk.ActionGroup -and set the accelerator for the action, call the gtk.ActionGroup.add_action_with_accel().

Methods

gtk.RadioAction.set_group

    def set_group(group)

group :

another gtk.RadioAction or None

Note

This method is available in PyGTK 2.4 and above.

The set_group() method sets the radio +and set the accelerator for the action, call the gtk.ActionGroup.add_action_with_accel().

Methods

gtk.RadioAction.set_group

    def set_group(group)

group :

another gtk.RadioAction or None

Note

This method is available in PyGTK 2.4 and above.

The set_group() method sets the radio group for the radio action to the same group as the gtk.RadioAction specified by group i.e. the radio action joins the group.

In PyGTK 2.6.2 and above, if group is @@ -40,7 +40,7 @@ None if the radio action is not part of a group.

gtk.RadioAction.get_current_value

    def get_current_value()

Returns :

The value of the currently active group member

Note

This method is available in PyGTK 2.4 and above.

The get_current_value() method returns the "value" property of the the currently active member of the group that -the radio action belongs to.

Signals

The "changed" gtk.RadioAction Signal

    def callback(radioaction, current, user_param1, ...)

radioaction :

the radioaction that received the +the radio action belongs to.

Signals

The "changed" gtk.RadioAction Signal

    def callback(radioaction, current, user_param1, ...)

radioaction :

the radioaction that received the signal

current :

the currently active gtk.RadioAction in the group

user_param1 :

the first user parameter (if any) specified with the connect() diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkradiobutton.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkradiobutton.html --- pygtk-2.14.1/docs/html/class-gtkradiobutton.html 2009-03-05 22:49:06.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkradiobutton.html 2009-05-24 23:12:11.000000000 +0100 @@ -1,5 +1,5 @@ -gtk.RadioButton

gtk.RadioButton

gtk.RadioButton — a choice of one of multiple check buttons.

Synopsis

class gtk.RadioButton(gtk.CheckButton):
-    gtk.RadioButton(group=None, label=None, use_underline=True)
def get_group()
def set_group(group)

Ancestry

+-- gobject.GObject
+gtk.RadioButton

gtk.RadioButton

gtk.RadioButton — a choice of one of multiple check buttons.

Synopsis

class gtk.RadioButton(gtk.CheckButton):
+    gtk.RadioButton(group=None, label=None, use_underline=True)
def get_group()
def set_group(group)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
@@ -8,11 +8,11 @@
             +-- gtk.ToggleButton
               +-- gtk.CheckButton
                 +-- gtk.RadioButton
-

Implemented Interfaces

+

Implemented Interfaces

gtk.RadioButton implements gtk.Buildable -

gtk.RadioButton Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

gtk.Button Signal Prototypes

gtk.ToggleButton Signal Prototypes

"group-changed"

def callback(radiobutton, user_param1, ...)

Description

A single gtk.RadioButton +

gtk.RadioButton Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

gtk.Button Signal Prototypes

gtk.ToggleButton Signal Prototypes

"group-changed"

def callback(radiobutton, user_param1, ...)

Description

A single gtk.RadioButton performs the same basic function as a gtk.CheckButton, as it's position in the object hierarchy reflects. It is only when multiple radio buttons are grouped together that they become a different user @@ -49,7 +49,7 @@ becomes the first member of a new radiobutton group.

In PyGTK 2.4 and above the use_underline parameter is available and defaults to True. If use_underline is set to False the -label text will not be parsed for mnemonic characters.

Methods

gtk.RadioButton.get_group

    def get_group()

Returns :

the list of radiobuttons in the same group that +label text will not be parsed for mnemonic characters.

Methods

gtk.RadioButton.get_group

    def get_group()

Returns :

the list of radiobuttons in the same group that contains the radiobutton or None

The get_group() method returns the list of radiobuttons that are in the same group as the radiobutton or None if the radiobutton is not in a group.

gtk.RadioButton.set_group

    def set_group(group)

group :

a gtk.RadioButton @@ -58,7 +58,7 @@ radiobutton to the group of the radiobutton specified by group.

In PyGTK 2.6.2 and above, if group is None the radiobutton is removed from its current -group.

Signals

The "group-changed" gtk.RadioButton Signal

    def callback(radiobutton, user_param1, ...)

radiobutton :

the radiobutton that received the +group.

Signals

The "group-changed" gtk.RadioButton Signal

    def callback(radiobutton, user_param1, ...)

radiobutton :

the radiobutton that received the signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkradiomenuitem.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkradiomenuitem.html --- pygtk-2.14.1/docs/html/class-gtkradiomenuitem.html 2009-03-05 22:49:06.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkradiomenuitem.html 2009-05-24 23:12:11.000000000 +0100 @@ -1,5 +1,5 @@ -gtk.RadioMenuItem

gtk.RadioMenuItem

gtk.RadioMenuItem — a choice from multiple check menu items.

Synopsis

class gtk.RadioMenuItem(gtk.CheckMenuItem):
-    gtk.RadioMenuItem(group=None, label=None, use_underline=True)
def get_group()
def set_group(group)

Ancestry

+-- gobject.GObject
+gtk.RadioMenuItem

gtk.RadioMenuItem

gtk.RadioMenuItem — a choice from multiple check menu items.

Synopsis

class gtk.RadioMenuItem(gtk.CheckMenuItem):
+    gtk.RadioMenuItem(group=None, label=None, use_underline=True)
def get_group()
def set_group(group)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
@@ -8,12 +8,12 @@
             +-- gtk.MenuItem
               +-- gtk.CheckMenuItem
                 +-- gtk.RadioMenuItem
-

Implemented Interfaces

+

Implemented Interfaces

gtk.RadioMenuItem implements gtk.Buildable

gtk.RadioMenuItem Properties

gtk.Object Properties

gtk.Widget Properties

gtk.Container Properties

gtk.CheckMenuItem Properties

"group"WriteThe radio menu item whose group this widget belongs to. - This property is available in GTK+ 2.8 and above.

Description

A gtk.RadioMenuItem + This property is available in GTK+ 2.8 and above.

Description

A gtk.RadioMenuItem widget is a check menu item that belongs to a group. Only one of the radio menu items in a group can be selected.

Constructor

    gtk.RadioMenuItem(group=None, label=None, use_underline=True)

group :

a gtk.RadioMenuItem whose group the new radiomenuitem should be added to, or @@ -34,7 +34,7 @@ the radiomenuitem is created without a label.

In PyGTK 2.4 and above the use_underline parameter is available and defaults to True. If use_underline is set to False the -label text will not be parsed for mnemonic characters.

Methods

gtk.RadioMenuItem.get_group

    def get_group()

Returns :

the list of radiomenuitems in the same group +label text will not be parsed for mnemonic characters.

Methods

gtk.RadioMenuItem.get_group

    def get_group()

Returns :

the list of radiomenuitems in the same group that contains the radiomenuitem

or None

The get_group() method returns the list of gtk.RadioMenuItems @@ -45,7 +45,7 @@ radiomenuitem to the group of the gtk.RadioMenuItem specified by group.

In PyGTK 2.6.2 and above, if group is None the radiomenuitem will be removed from its current -group.

Signals

The "group-changed" gtk.RadioMenuItem Signal

    def callback(radiomenuitem, user_param1, ...)

radiomenuitem :

the radiomenuitem that received the +group.

Signals

The "group-changed" gtk.RadioMenuItem Signal

    def callback(radiomenuitem, user_param1, ...)

radiomenuitem :

the radiomenuitem that received the signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkradiotoolbutton.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkradiotoolbutton.html --- pygtk-2.14.1/docs/html/class-gtkradiotoolbutton.html 2009-03-05 22:49:06.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkradiotoolbutton.html 2009-05-24 23:12:11.000000000 +0100 @@ -1,6 +1,6 @@ gtk.RadioToolButton

gtk.RadioToolButton

gtk.RadioToolButton — a toolbar item that - contains a radio button (new in PyGTK 2.4)

Synopsis

class gtk.RadioToolButton(gtk.ToggleToolButton):
-    gtk.RadioToolButton(group=None, stock_id=None)
def set_group(group)
def get_group()

Ancestry

+-- gobject.GObject
+    contains a radio button (new in PyGTK 2.4)

Synopsis

class gtk.RadioToolButton(gtk.ToggleToolButton):
+    gtk.RadioToolButton(group=None, stock_id=None)
def set_group(group)
def get_group()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
@@ -9,12 +9,12 @@
             +-- gtk.ToolButton
               +-- gtk.ToggleToolButton
                 +-- gtk.RadioToolButton
-

Implemented Interfaces

+

Implemented Interfaces

gtk.RadioToolButton implements gtk.Buildable

gtk.RadioToolButton Properties

gtk.Object Properties

gtk.Widget Properties

gtk.Container Properties

gtk.ToolItem Properties

gtk.ToolButton Properties

gtk.ToggleToolButton Properties

"group"WriteSets a new group for a radio tool button. This property - is available in GTK+ 2.4 and above.

Description

Note

This widget is available in PyGTK 2.4 and above.

A gtk.RadioToolButton + is available in GTK+ 2.4 and above.

Description

Note

This widget is available in PyGTK 2.4 and above.

A gtk.RadioToolButton is a gtk.ToolItem that contains a radio button, that is, a button that is part of a group of toggle buttons where only one button can be active at a time. Use the gtk.RadioToolButton() @@ -23,7 +23,7 @@ specified by group if it is not None. The new gtk.RadioToolButton will contain an icon and label from the stock item specified by -stock_id if it is not None.

Methods

gtk.RadioToolButton.set_group

    def set_group(group)

group :

an existing gtk.RadioToolButton or None.

Note

This method is available in PyGTK 2.4 and above.

The set_group() method adds the radio +stock_id if it is not None.

Methods

gtk.RadioToolButton.set_group

    def set_group(group)

group :

an existing gtk.RadioToolButton or None.

Note

This method is available in PyGTK 2.4 and above.

The set_group() method adds the radio tool button to the same group as the gtk.RadioToolButton specified by group.

In PyGTK 2.6.2 and above, if group is None the radiotoolbutton will be removed from its current diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkrange.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkrange.html --- pygtk-2.14.1/docs/html/class-gtkrange.html 2009-03-05 22:49:07.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkrange.html 2009-05-24 23:12:12.000000000 +0100 @@ -1,10 +1,10 @@ gtk.Range

gtk.Range

gtk.Range — a base class for widgets that allow a user to set a value in -a range.

Synopsis

class gtk.Range(gtk.Widget):
-    def set_update_policy(policy)
def get_update_policy()
def set_adjustment(adjustment)
def get_adjustment()
def set_inverted(setting)
def get_inverted()
def set_increments(step, page)
def set_range(min, max)
def set_value(value)
def get_value()
def get_fill_level()
def set_fill_level(fill_level)
def get_restrict_to_fill_level()
def set_restrict_to_fill_level(restrict_to_fill_level)
def get_show_fill_level()
def set_show_fill_level(show_fill_level)

Ancestry

+-- gobject.GObject
+a range.

Synopsis

class gtk.Range(gtk.Widget):
+    def set_update_policy(policy)
def get_update_policy()
def set_adjustment(adjustment)
def get_adjustment()
def set_inverted(setting)
def get_inverted()
def set_increments(step, page)
def set_range(min, max)
def set_value(value)
def get_value()
def get_fill_level()
def set_fill_level(fill_level)
def get_restrict_to_fill_level()
def set_restrict_to_fill_level(restrict_to_fill_level)
def get_show_fill_level()
def set_show_fill_level(show_fill_level)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Range
-

Implemented Interfaces

+

Implemented Interfaces

gtk.Range implements gtk.Buildable @@ -33,13 +33,13 @@ spacing. Note that setting the "stepper-spacing" style property to any value > 0 will automatically enable "trough-under-steppers" too. This property is available in - GTK+ 2.10 and above.

gtk.Range Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

"adjust-bounds"

def callback(range, value, user_param1, ...)

"change-value

def callback(range, scroll, value, arg1, arg2, user_param1, ...)

"move-slider"

def callback(range, scrolltype, user_param1, ...)

"value-changed"

def callback(range, user_param1, ...)

Description

The gtk.Range is the base + GTK+ 2.10 and above.

gtk.Range Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

"adjust-bounds"

def callback(range, value, user_param1, ...)

"change-value

def callback(range, scroll, value, arg1, arg2, user_param1, ...)

"move-slider"

def callback(range, scrolltype, user_param1, ...)

"value-changed"

def callback(range, user_param1, ...)

Description

The gtk.Range is the base class for the gtk.Scale and gtk.Scrollbar widgets. The gtk.Range provides the common functionality for these widgets that allow a user to set a value in a range of values. The gtk.Scale works in conjunction with a gtk.Adjustment -which provides the range information.

Methods

gtk.Range.set_update_policy

    def set_update_policy(policy)

policy :

the update policy: +which provides the range information.

Methods

gtk.Range.set_update_policy

    def set_update_policy(policy)

policy :

the update policy: gtk.UPDATE_CONTINUOUS, gtk.UPDATE_DISCONTINUOUS, gtk.UPDATE_DELAYED

The set_update_policy() method sets the @@ -133,7 +133,7 @@ fill level.

The get_show_fill_level() method gets whether the range displays the fill level graphically. -

Signals

The "adjust-bounds" gtk.Range Signal

    def callback(range, value, user_param1, ...)

range :

the range that received the +

Signals

The "adjust-bounds" gtk.Range Signal

    def callback(range, value, user_param1, ...)

range :

the range that received the signal

value :

the value

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkrcstyle.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkrcstyle.html --- pygtk-2.14.1/docs/html/class-gtkrcstyle.html 2009-03-05 22:49:08.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkrcstyle.html 2009-05-24 23:12:13.000000000 +0100 @@ -1,10 +1,23 @@ -gtk.RcStyle

gtk.RcStyle

gtk.RcStyle — an object holding resource styles

Synopsis

class gtk.RcStyle(gobject.GObject):
+gtk.RcStyle

gtk.RcStyle

gtk.RcStyle — an object holding resource styles

Synopsis

class gtk.RcStyle(gobject.GObject):
     def copy()
 Functions
 
-    def gtk.rc_add_default_file(filename)
def gtk.rc_set_default_files(filenames)
def gtk.rc_get_default_files()
def gtk.rc_get_style_by_paths(settings, widget_path, class_path, type)
def gtk.rc_reparse_all_for_settings(settings, force_load)
def gtk.rc_reset_styles(settings)
def gtk.rc_parse(filename)
def gtk.rc_parse_string(rc_string)
def gtk.rc_reparse_all()
def gtk.rc_find_module_in_path(module_file)
def gtk.rc_get_theme_dir()
def gtk.rc_get_module_dir()
def gtk.rc_get_im_module_path()
def gtk.rc_get_im_module_file()

Ancestry

+-- gobject.GObject
+    def gtk.rc_add_default_file(filename)
def gtk.rc_set_default_files(filenames)
def gtk.rc_get_default_files()
def gtk.rc_get_style_by_paths(settings, widget_path, class_path, type)
def gtk.rc_reparse_all_for_settings(settings, force_load)
def gtk.rc_reset_styles(settings)
def gtk.rc_parse(filename)
def gtk.rc_parse_string(rc_string)
def gtk.rc_reparse_all()
def gtk.rc_find_module_in_path(module_file)
def gtk.rc_get_theme_dir()
def gtk.rc_get_module_dir()
def gtk.rc_get_im_module_path()
def gtk.rc_get_im_module_file()

Ancestry

+-- gobject.GObject
   +-- gtk.RcStyle
-

gtk.RcStyle Signal Prototypes

gobject.GObject Signal Prototypes

Description

PyGTK via GTK+ provides +

Attributes

Note

Available in PyGTK 2.16 and above.

Note

Some of the following attributes are arrays + of gtk.gdk.Color or + strings. Array objects themselves are read-only but individual elements are + read-write.

"name"Read-WriteName of the style.
"bg_pixmap_name"ReadAn array of names of pixmap files to be used as the background in + each widget state.
"font_desc"Read-WriteA pango.FontDescription used as the default + text font.
"fg"ReadAn array + of gtk.gdk.Colors + to be used for the foreground colors in each widget state.
"bg"ReadAn array + of gtk.gdk.Colors + to be used for the background colors in each widget state.
"text"ReadAn array + of gtk.gdk.Colors + to be used for the text colors in each widget state.
"base"ReadAn array + of gtk.gdk.Colors + to be used for the base colors in each widget state.
"xthickness"Read-WriteThe thickness of lines drawn vertically.
"ythickness"Read-WriteThe thickness of lines drawn horizontally.

gtk.RcStyle Signal Prototypes

gobject.GObject Signal Prototypes

Description

PyGTK via GTK+ provides resource file mechanism for configuring various aspects of the operation of a program at runtime.

An application can cause GTK+ to parse a specific RC file by calling the gtk.rc_parse() @@ -178,10 +191,10 @@ file, theme is the default for bindings read from theme RC files, application should be used for bindings an application sets up, and gtk is used for bindings that -GTK+ creates internally.

Methods

gtk.RcStyle.copy

    def copy()

Returns :

a new gtk.RcStyle that is +GTK+ creates internally.

Methods

gtk.RcStyle.copy

    def copy()

Returns :

a new gtk.RcStyle that is a copy of the rcstyle

The copy() method returns a new gtk.RcStyle that is a copy of the RC style. This method will correctly copy an RC style that is -a member of a class derived from gtk.RcStyle.

Functions

gtk.rc_add_default_file

    def gtk.rc_add_default_file(filename)

filename :

the name of a file containing resource +a member of a class derived from gtk.RcStyle.

Functions

gtk.rc_add_default_file

    def gtk.rc_add_default_file(filename)

filename :

the name of a file containing resource data

The gtk.rc_add_default_file() function adds the file specified by filename to the list of files to be parsed for resource data.

gtk.rc_set_default_files

    def gtk.rc_set_default_files(filenames)

filenames :

a list of filenames

The gtk.rc_set_default_files() function diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkrecentaction.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkrecentaction.html --- pygtk-2.14.1/docs/html/class-gtkrecentaction.html 2009-03-05 22:49:08.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkrecentaction.html 2009-05-24 23:12:13.000000000 +0100 @@ -1,11 +1,11 @@ -gtk.RecentAction

gtk.RecentAction

gtk.RecentAction — An action of which represents a list of recently used files (new in PyGTK 2.12)

Synopsis

class gtk.RecentAction(gtk.Action):
+gtk.RecentAction

gtk.RecentAction

gtk.RecentAction — An action of which represents a list of recently used files (new in PyGTK 2.12)

Synopsis

class gtk.RecentAction(gtk.Action):
     gtk.RecentAction(name, label, tooltip, stock_id)
def get_show_numbers()
def set_show_numbers(show_numbers)
 Functions
  
-    def gtk.recent_action_new_for_manager(name, label, tooltip, stock_id, manager)

Ancestry

+-- gobject.GObject
+    def gtk.recent_action_new_for_manager(name, label, tooltip, stock_id, manager)

Ancestry

+-- gobject.GObject
   +-- gtk.Action
     +-- gtk.RecentAction
-

Description

+

Description

A gtk.RecentAction represents a list of recently used files, which can be shown by widgets such as gtk.RecentChooserDialog or @@ -17,7 +17,7 @@ the recently used files in the popup menu, use a gtk.RecentAction as the action for a <toolitem> element. -

Constructor

gtk.RecentAction

    gtk.RecentAction(name, label, tooltip, stock_id)

name :

a unique name for the action

label :

the label displayed in menu items and on buttons, or None.

tooltip :

a tooltip for the action, or None.

stock_id :

the stock icon to display in widgets representing the action, or None.

Returns :

a new +

Constructor

gtk.RecentAction

    gtk.RecentAction(name, label, tooltip, stock_id)

name :

a unique name for the action

label :

the label displayed in menu items and on buttons, or None.

tooltip :

a tooltip for the action, or None.

stock_id :

the stock icon to display in widgets representing the action, or None.

Returns :

a new gtk.RecentAction

Note

This constructor is available in PyGTK 2.12 and above.

Creates a new @@ -26,7 +26,7 @@ gtk.ActionGroup and set the accelerator for the action, call gtk.ActionGroup.add_action_with_accel(). -

Methods

gtk.RecentAction.get_show_numbers

    def get_show_numbers()

Returns :

True if numbers should be shown.

Note

This method is available in PyGTK 2.12 and above.

+

Methods

gtk.RecentAction.get_show_numbers

    def get_show_numbers()

Returns :

True if numbers should be shown.

Note

This method is available in PyGTK 2.12 and above.

The get_show_numbers() method returns the value set by gtk.RecentAction.set_show_numbers().

gtk.RecentAction.set_show_numbers

    def set_show_numbers(show_numbers)

show_numbers :

True if the shown items should be numbered.

Note

This method is available in PyGTK 2.12 and above.

@@ -34,7 +34,7 @@ should be added to the items shown by the widgets representing action. The numbers are shown to provide a unique character for a mnemonic to be used inside the menu item's label. Only the first ten items get a number to avoid clashes. -

Functions

gtk.recent_action_new_for_manager

    def recent_action_new_for_manager(name, label, tooltip, stock_id, manager)

name :

a unique name for the action

label :

the label displayed in menu items and on buttons, or None.

tooltip :

a tooltip for the action, or None.

stock_id :

the stock icon to display in widgets representing the action, or None.

manager :

a gtk.RecentManager, or +

Functions

gtk.recent_action_new_for_manager

    def recent_action_new_for_manager(name, label, tooltip, stock_id, manager)

name :

a unique name for the action

label :

the label displayed in menu items and on buttons, or None.

tooltip :

a tooltip for the action, or None.

stock_id :

the stock icon to display in widgets representing the action, or None.

manager :

a gtk.RecentManager, or None for using the default gtk.RecentManager

Note

This function is available in PyGTK 2.12 and above.

The recent_action_new_for_manager() function creates a new diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkrecentchooserdialog.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkrecentchooserdialog.html --- pygtk-2.14.1/docs/html/class-gtkrecentchooserdialog.html 2009-03-05 22:49:08.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkrecentchooserdialog.html 2009-05-24 23:12:13.000000000 +0100 @@ -1,6 +1,6 @@ gtk.RecentChooserDialog

gtk.RecentChooserDialog

gtk.RecentChooserDialog — Displays recently used files in a dialog (new in PyGTK - 2.10)

Synopsis

class gtk.RecentChooserDialog(gtk.Dialog, gtk.RecentChooser):
-    gtk.RecentChooserDialog(title=None, parent=None, manager=None, buttons=None)

Ancestry

+-- gobject.GObject
+      2.10)

Synopsis

class gtk.RecentChooserDialog(gtk.Dialog, gtk.RecentChooser):
+    gtk.RecentChooserDialog(title=None, parent=None, manager=None, buttons=None)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
@@ -8,12 +8,12 @@
           +-- gtk.Window
             +-- gtk.Dialog
               +-- gtk.RecentChooserDialog
-

Implemented Interfaces

+

Implemented Interfaces

gtk.RecentChooserDialog implements gtk.Buildable gtk.RecentChooser -

gtk.RecentChooserDialog Style Properties

gtk.Widget Style Properties

gtk.Dialog Style Properties

gtk.RecentChooserDialog Style Properties

gtk.Widget Style Properties

gtk.Dialog Style Properties

Description

gtk.RecentChooserDialog is a dialog box suitable for displaying the recently used documents. This widgets works by putting a gtk.RecentChooserWidget inside a gtk.Dialog. It @@ -32,7 +32,7 @@ info = dialog.get_current_item () open_file(info.get_uri()) dialog.destroy() -


Recently used files are supported since GTK+ 2.10.

Constructor

gtk.RecentChooserDialog

    gtk.RecentChooserDialog(title=None, parent=None, manager=None, buttons=None)

title :

Title of the dialog, or +

Recently used files are supported since GTK+ 2.10.

Constructor

gtk.RecentChooserDialog

    gtk.RecentChooserDialog(title=None, parent=None, manager=None, buttons=None)

title :

Title of the dialog, or None

parent :

Transient parent of the dialog, or None,

manager :

a gtk.RecentManager, or None,

buttons :

a sequence of text-response diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkrecentchooser.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkrecentchooser.html --- pygtk-2.14.1/docs/html/class-gtkrecentchooser.html 2009-03-05 22:49:10.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkrecentchooser.html 2009-05-24 23:12:14.000000000 +0100 @@ -1,8 +1,8 @@ gtk.RecentChooser

gtk.RecentChooser

gtk.RecentChooser — an interface implemented by gtk.RecentChooserWidget, gtk.RecentChooserMenu and gtk.RecentChooserDialog (new in PyGTK 2.10) -

Synopsis

class gtk.RecentChooser:
-    def set_show_private(show_private)
def get_show_private()
def set_show_not_found(show_not_found)
def get_show_not_found()
def set_select_multiple(select_multiple)
def get_select_multiple()
def set_limit(limit)
def get_limit()
def set_local_only(local_only)
def get_local_only()
def set_show_tips(show_tips)
def get_show_tips()
def set_show_numbers(show_numbers)
def get_show_numbers()
def set_show_icons(show_icons)
def get_show_icons()
def set_sort_type(sort_type)
def get_sort_type()
def set_sort_func(sort_func, sort_data=None)
def set_current_uri(uri)
def get_current_uri()
def get_current_item()
def select_uri(uri)
def unselect_uri(uri)
def select_all()
def unselect_all()
def get_items()
def get_uris()
def add_filter(filter)
def remove_filter(filter)
def list_filters()
def set_filter(filter)
def get_filter()

Ancestry

+-- gtk.RecentChooser
+      

Synopsis

class gtk.RecentChooser:
+    def set_show_private(show_private)
def get_show_private()
def set_show_not_found(show_not_found)
def get_show_not_found()
def set_select_multiple(select_multiple)
def get_select_multiple()
def set_limit(limit)
def get_limit()
def set_local_only(local_only)
def get_local_only()
def set_show_tips(show_tips)
def get_show_tips()
def set_show_numbers(show_numbers)
def get_show_numbers()
def set_show_icons(show_icons)
def get_show_icons()
def set_sort_type(sort_type)
def get_sort_type()
def set_sort_func(sort_func, sort_data=None)
def set_current_uri(uri)
def get_current_uri()
def get_current_item()
def select_uri(uri)
def unselect_uri(uri)
def select_all()
def unselect_all()
def get_items()
def get_uris()
def add_filter(filter)
def remove_filter(filter)
def list_filters()
def set_filter(filter)
def get_filter()

Ancestry

+-- gtk.RecentChooser
 

gtk.RecentChooser Properties

"filter"Read-WriteThe current gtk.RecentFilter for selecting which resources are displayed
"limit"Read-WriteThe maximum number of items to be displayed
"local-only"Read-Writeif True the selected resource(s) should be limited to local file: URIs
"recent-manager"Write-Construct OnlyThe RecentManager object to use
"select-multiple"Read-Writeif True allow multiple items to be @@ -10,12 +10,12 @@ item
"show-not-found"Read-Writeif True the items pointing to unavailable resources should be displayed
"show-private"Read-Writeif True the private items should be displayed
"show-tips"Read-Writeif True there should be a tooltip on the - item
"sort-type"Read-WriteThe sorting order of the items displayed - one of the GTK Recent Sort Type Constants

gtk.RecentChooser Signal Prototypes

"item-activated

def callback(chooser, user_param1, ...)

"selection-changed

def callback(chooser, user_param1, ...)

Description

gtk.RecentChooser + item

"sort-type"Read-WriteThe sorting order of the items displayed - one of the GTK Recent Sort Type Constants

gtk.RecentChooser Signal Prototypes

"item-activated

def callback(chooser, user_param1, ...)

"selection-changed

def callback(chooser, user_param1, ...)

Description

gtk.RecentChooser is an interface that can be implemented by widgets displaying the list of recently used files. In PyGTK, the main objects that implement this interface are gtk.RecentChooserWidget, gtk.RecentChooserDialog - and gtk.RecentChooserMenu.

Recently used files are supported since GTK+ 2.10.

Methods

gtk.RecentChooser.set_show_private

    def set_show_private(show_private)

show_private :

if True show private + and gtk.RecentChooserMenu.

Recently used files are supported since GTK+ 2.10.

Methods

gtk.RecentChooser.set_show_private

    def set_show_private(show_private)

show_private :

if True show private items

Note

This method is available in PyGTK 2.10 and above.

Sets the "show-private" property to the value of show_private. If show_private is True show @@ -104,7 +104,7 @@ object used by the recent chooser to filter the displayed recently used resources.

gtk.RecentChooser.get_filter

    def get_filter()

Returns :

a gtk.RecentFilter object.

Note

This method is available in PyGTK 2.10 and above.

Returns the currently used gtk.RecentFilter - object.

Signals

The "item-activated" gtk.RecentChooser Signal

    def callback(chooser, user_param1, ...)

chooser :

the object which received the signal

user_param1 :

the first user parameter (if any) specified + object.

Signals

The "item-activated" gtk.RecentChooser Signal

    def callback(chooser, user_param1, ...)

chooser :

the object which received the signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if any)

Note

This signal is available in GTK+ 2.10 and above.

This signal is emitted when the user "activates" a recent item in the recent chooser. This can happen by double-clicking on an item diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkrecentchoosermenu.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkrecentchoosermenu.html --- pygtk-2.14.1/docs/html/class-gtkrecentchoosermenu.html 2009-03-05 22:49:08.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkrecentchoosermenu.html 2009-05-24 23:12:13.000000000 +0100 @@ -1,19 +1,19 @@ gtk.RecentChooserMenu

gtk.RecentChooserMenu

gtk.RecentChooserMenu — Displays recently used files in a menu (new in PyGTK - 2.10)

Synopsis

class gtk.RecentChooserMenu(gtk.Menu, gtk.RecentChooser):
-    gtk.RecentChooserMenu(manager)
def get_show_numbers()
def set_show_numbers(show_numbers)

Ancestry

+-- gobject.GObject
+      2.10)

Synopsis

class gtk.RecentChooserMenu(gtk.Menu, gtk.RecentChooser):
+    gtk.RecentChooserMenu(manager)
def get_show_numbers()
def set_show_numbers(show_numbers)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.MenuShell
           +-- gtk.Menu
             +-- gtk.RecentChooserMenu (implements gtk.RecentChooser)
-

Implemented Interfaces

+

Implemented Interfaces

gtk.RecentChooserMenu implements gtk.Buildable

gtk.RecentChooserMenu Properties

gtk.RecentChooser Properties

gtk.Object Properties

gtk.Widget Properties

gtk.Container Properties

gtk.MenuShell Properties

gtk.Menu Properties

"show-numbers"Read-WriteWhether the first ten items in the menu should be prepended by a number acting as a unique mnemonic. -This property is available in GTK+ 2.10 and above.

gtk.RecentChooserMenu Style Properties

gtk.Widget Style Properties

gtk.Menu Style Properties

gtk.RecentChooserMenu Child Properties

gtk.Menu Child Properties

Description

+This property is available in GTK+ 2.10 and above.

gtk.RecentChooserMenu Style Properties

gtk.Widget Style Properties

gtk.Menu Style Properties

gtk.RecentChooserMenu Child Properties

gtk.Menu Child Properties

Description

gtk.RecentChooserMenu is a widget suitable for displaying recently used files inside a menu. It can be used to set a sub-menu of a gtk.MenuItem using gtk.MenuItem.set_submenu(), or as the menu of a gtk.MenuToolButton. @@ -22,11 +22,11 @@ you should use the functions that work on a gtk.RecentChooser.

Recently used files are supported since GTK+ 2.10. -

Constructor

gtk.RecentChooserMenu

    gtk.RecentChooserMenu(manager)

manager :

a gtk.RecentManager

Returns :

a new gtk.RecentChooserMenu, bound to manager.

Note

This constructor is available in PyGTK 2.10 and above.

Creates a new gtk.RecentChooserMenu widget using manager as +

Constructor

gtk.RecentChooserMenu

    gtk.RecentChooserMenu(manager)

manager :

a gtk.RecentManager

Returns :

a new gtk.RecentChooserMenu, bound to manager.

Note

This constructor is available in PyGTK 2.10 and above.

Creates a new gtk.RecentChooserMenu widget using manager as the underlying recently used resources manager.

This is useful if you have implemented your own recent manager, or if you have a customized instance of a gtk.RecentManager object or if you wish to share a common gtk.RecentManager object - among multiple gtk.RecentChooser widgets.

Methods

gtk.RecentChooserMenu.get_show_numbers

    def get_show_numbers()

Returns :

True if numbers should be shown.

Note

This method is available in PyGTK 2.10 and above.

Returns the value set by gtk.RecentChooserMenu.set_show_numbers().

gtk.RecentChooserMenu.set_show_numbers

    def set_show_numbers(show_numbers)

show_numbers :

whether to show numbers

Note

This method is available in PyGTK 2.10 and above.

Sets whether a number should be added to the items of menu. The + among multiple gtk.RecentChooser widgets.

Methods

gtk.RecentChooserMenu.get_show_numbers

    def get_show_numbers()

Returns :

True if numbers should be shown.

Note

This method is available in PyGTK 2.10 and above.

Returns the value set by gtk.RecentChooserMenu.set_show_numbers().

gtk.RecentChooserMenu.set_show_numbers

    def set_show_numbers(show_numbers)

show_numbers :

whether to show numbers

Note

This method is available in PyGTK 2.10 and above.

Sets whether a number should be added to the items of menu. The numbers are shown to provide a unique character for a mnemonic to be used inside the menu item's label. Only the first the items get a number to avoid clashes.

diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkrecentchooserwidget.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkrecentchooserwidget.html --- pygtk-2.14.1/docs/html/class-gtkrecentchooserwidget.html 2009-03-05 22:49:09.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkrecentchooserwidget.html 2009-05-24 23:12:14.000000000 +0100 @@ -1,23 +1,23 @@ -gtk.RecentChooserWidget

gtk.RecentChooserWidget

gtk.RecentChooserWidget — Displays recently used files (new in PyGTK 2.10)

Synopsis

class gtk.RecentChooserWidget(gtk.VBox, gtk.RecentChooser):
-    gtk.RecentChooserWidget(manager=None)

Ancestry

+-- gobject.GObject
+gtk.RecentChooserWidget

gtk.RecentChooserWidget

gtk.RecentChooserWidget — Displays recently used files (new in PyGTK 2.10)

Synopsis

class gtk.RecentChooserWidget(gtk.VBox, gtk.RecentChooser):
+    gtk.RecentChooserWidget(manager=None)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Box
           +-- gtk.VBox
             +-- gtk.RecentChooserWidget
-

Implemented Interfaces

+

Implemented Interfaces

gtk.Bin implements gtk.Buildable gtk.RecentChooser -

gtk.RecentChooserWidget Style Properties

gtk.Widget Style Properties

gtk.RecentChooserWidget Child Properties

gtk.Box Child Properties

gtk.RecentChooserWidget Style Properties

gtk.Widget Style Properties

gtk.RecentChooserWidget Child Properties

gtk.Box Child Properties

Description

gtk.RecentChooserWidget is a widget suitable for selecting recently used files. It is the main building block of a gtk.RecentChooserDialog. Most applications will only need to use the latter; you can use gtk.RecentChooserWidget as part of a larger window if you have special needs.

Note that gtk.RecentChooserWidget does not have any methods of its own. Instead, you should use the - methods that work on a gtk.RecentChooser.

Recently used files are supported since GTK+ 2.10.

Constructor

gtk.RecentChooserWidget

    gtk.RecentChooserWidget(manager=None)

manager :

a gtk.RecentManager

Returns :

a new gtk.RecentChooserWidget

Note

This constructor is available in PyGTK 2.10 and above.

Creates a new gtk.RecentChooserWidget + methods that work on a gtk.RecentChooser.

Recently used files are supported since GTK+ 2.10.

Constructor

gtk.RecentChooserWidget

    gtk.RecentChooserWidget(manager=None)

manager :

a gtk.RecentManager

Returns :

a new gtk.RecentChooserWidget

Note

This constructor is available in PyGTK 2.10 and above.

Creates a new gtk.RecentChooserWidget with an optional gtk.RecentManager.

This is useful if you have implemented your own recent manager, or if you have a customized instance of a gtk.RecentManager object.

diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkrecentfilter.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkrecentfilter.html --- pygtk-2.14.1/docs/html/class-gtkrecentfilter.html 2009-03-05 22:49:10.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkrecentfilter.html 2009-05-24 23:12:15.000000000 +0100 @@ -1,9 +1,9 @@ gtk.RecentFilter

gtk.RecentFilter

gtk.RecentFilter — A filter for selecting a subset of recently used files - (new in PyGTK 2.10)

Synopsis

class gtk.RecentFilter(gtk.Object):
-    gtk.RecentFilter()
def set_name(name)
def get_name()
def add_mime_type(mime_type)
def add_pattern(pattern)
def add_pixbuf_formats()
def add_application(application)
def add_group(group)
def add_age(days)
def add_custom(needed, func, data)
def get_needed()
def filter(filter_info)

Ancestry

+-- gobject.GObject
+      (new in PyGTK 2.10)

Synopsis

class gtk.RecentFilter(gtk.Object):
+    gtk.RecentFilter()
def set_name(name)
def get_name()
def add_mime_type(mime_type)
def add_pattern(pattern)
def add_pixbuf_formats()
def add_application(application)
def add_group(group)
def add_age(days)
def add_custom(needed, func, data)
def get_needed()
def filter(filter_info)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.RecentFilter
-

gtk.RecentFilter Properties

gtk.Object Properties

gtk.RecentFilter Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

Description

A gtk.RecentFilter +

gtk.RecentFilter Properties

gtk.Object Properties

gtk.RecentFilter Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

Description

A gtk.RecentFilter can be used to restrict the files being shown in a gtk.RecentChooser. Files can be filtered based on their name (with the gtk.RecentFilter.add_pattern() method), on their mime type (with the gtk.FileFilter.add_mime_type() @@ -18,7 +18,7 @@ see the gtk.RecentChooser.add_filter() method, but it is also possible to manually use a filter on a file with the gtk.RecentFilter.filter() - method.

Recently used files are supported since GTK+ 2.10.

Constructor

gtk.RecentFilter

    gtk.RecentFilter()

Returns :

a new gtk.RecentFilter

Note

This constructor is available in PyGTK 2.10 and above.

Creates a new gtk.RecentFilter + method.

Recently used files are supported since GTK+ 2.10.

Constructor

gtk.RecentFilter

    gtk.RecentFilter()

Returns :

a new gtk.RecentFilter

Note

This constructor is available in PyGTK 2.10 and above.

Creates a new gtk.RecentFilter with no rules added to it. Such a filter does not accept any recently used resources, so is not particularly useful until you add rules with the gtk.RecentFilter.add_pattern(), @@ -29,7 +29,7 @@ use:

       filter = gtk.RecentFilter()
       filter.add_pattern("*")
-      

Methods

gtk.RecentFilter.set_name

    def set_name(name)

name :

the human readable name

Note

This method is available in PyGTK 2.10 and above.

Sets the human-readable name of the filter; this is the string +

Methods

gtk.RecentFilter.set_name

    def set_name(name)

name :

the human readable name

Note

This method is available in PyGTK 2.10 and above.

Sets the human-readable name of the filter; this is the string that will be displayed in the recently used resources selector user interface if there is a selectable list of filters.

gtk.RecentFilter.get_name

    def get_name()

Returns :

the name of the filter, or None.

Note

This method is available in PyGTK 2.10 and above.

Returns the human-readable name for the filter. See the gtk.RecentFilter.set_name() diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkrecentinfo.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkrecentinfo.html --- pygtk-2.14.1/docs/html/class-gtkrecentinfo.html 2009-03-05 22:49:10.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkrecentinfo.html 2009-05-24 23:12:15.000000000 +0100 @@ -1,7 +1,7 @@ gtk.RecentInfo

gtk.RecentInfo

gtk.RecentInfo — information found when looking up an entry of the recently - used files list. (new in PyGTK 2.10)

Synopsis

class gtk.RecentInfo(gobject.GBoxed):
-    def get_uri()
def get_display_name()
def get_description()
def get_mime_type()
def get_added()
def get_modified()
def get_visited()
def get_private_hint()
def get_application_info(app_name)
def get_applications()
def last_application()
def has_application(app_name)
def get_groups()
def has_group(group_name)
def get_icon(size)
def get_short_name()
def get_uri_display()
def get_age()
def is_local()
def exists()
def match(info_b)

Description

A gtk.RecentInfo - contains the information about an entry in a gtk.RecentManager.

Methods

gtk.RecentInfo.get_uri

    def get_uri()

Returns :

the URI of the resource.

Note

This method is available in PyGTK 2.10 and above.

Returns the URI of the resource.

gtk.RecentInfo.get_display_name

    def get_display_name()

Returns :

the display name of the + used files list. (new in PyGTK 2.10)

Synopsis

class gtk.RecentInfo(gobject.GBoxed):
+    def get_uri()
def get_display_name()
def get_description()
def get_mime_type()
def get_added()
def get_modified()
def get_visited()
def get_private_hint()
def get_application_info(app_name)
def get_applications()
def last_application()
def has_application(app_name)
def get_groups()
def has_group(group_name)
def get_icon(size)
def get_short_name()
def get_uri_display()
def get_age()
def is_local()
def exists()
def match(info_b)

Description

A gtk.RecentInfo + contains the information about an entry in a gtk.RecentManager.

Methods

gtk.RecentInfo.get_uri

    def get_uri()

Returns :

the URI of the resource.

Note

This method is available in PyGTK 2.10 and above.

Returns the URI of the resource.

gtk.RecentInfo.get_display_name

    def get_display_name()

Returns :

the display name of the resource.

Note

This method is available in PyGTK 2.10 and above.

Returns the name of the resource. If none has been defined, the basename of the resource is obtained.

gtk.RecentInfo.get_description

    def get_description()

Returns :

the description of the resource.

Note

This method is available in PyGTK 2.10 and above.

Returns the (short) description of the resource.

gtk.RecentInfo.get_mime_type

    def get_mime_type()

Returns :

the MIME type of the diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkrecentmanager.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkrecentmanager.html --- pygtk-2.14.1/docs/html/class-gtkrecentmanager.html 2009-03-05 22:49:11.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkrecentmanager.html 2009-05-24 23:12:16.000000000 +0100 @@ -1,16 +1,16 @@ gtk.RecentManager

gtk.RecentManager

gtk.RecentManager — manages recently used files (new in PyGTK - 2.10)

Synopsis

class gtk.RecentManager(gobject.GObject):
+      2.10)

Synopsis

class gtk.RecentManager(gobject.GObject):
     gtk.RecentManager()
def set_screen(screen)
def add_item(uri)
def add_full(uri, recent_data)
def remove_item(uri)
def lookup_item(uri)
def has_item(uri)
def move_item(uri, new_uri)
def set_limit(limit)
def get_limit()
def get_items()
def purge_items()
 Functions
 
-    def gtk.recent_manager_get_default()
def gtk.recent_manager_get_for_screen(screen)

Ancestry

+-- gobject.GObject
+    def gtk.recent_manager_get_default()
def gtk.recent_manager_get_for_screen(screen)

Ancestry

+-- gobject.GObject
   +-- gtk.RecentManager
 

gtk.RecentManager Properties

"filename"Read-Write-Construct OnlyThe full path to the file to be used to store and read the recently used resources list This property is available in GTK+ 2.10 and above.
"limit"Read-WriteThe maximum number of items to be returned by the gtk.RecentManager.get_items() function. This property is available in GTK+ 2.10 and above.
"size"ReadThe size of the recently used resources list. This - property is available in GTK+ 2.10 and above.

gtk.RecentManager Signal Prototypes

gobject.GObject Signal Prototypes

"changed

def callback(recent_manager, user_param1, ...)

Description

gtk.RecentManager + property is available in GTK+ 2.10 and above.

gtk.RecentManager Signal Prototypes

gobject.GObject Signal Prototypes

"changed

def callback(recent_manager, user_param1, ...)

Description

gtk.RecentManager provides a facility for adding, removing and looking up recently used files. Each recently used file is identified by its URI, and has meta-data associated to it, like the names and command lines of the @@ -33,7 +33,7 @@ info = manager.lookup_item(file_uri) except gobject.GError: print "Could not find the file: ", file_uri -

Recently used files are supported since GTK+ 2.10.

Constructor

gtk.RecentManager

    gtk.RecentManager()

Returns :

A newly created gtk.RecentManager +

Recently used files are supported since GTK+ 2.10.

Constructor

gtk.RecentManager

    gtk.RecentManager()

Returns :

A newly created gtk.RecentManager object.

Note

This constructor is available in PyGTK 2.10 and above.

Creates a new recent manager object. Recent manager objects are used to handle the list of recently used resources. A gtk.RecentManager object monitors the recently used resources list, and emits the @@ -41,7 +41,7 @@ objects are expansive: be sure to create them only when needed. You should use the gtk.recent_manager_get_for_screen() or the gtk.recent_manager_get_default() - functions instead.

Methods

gtk.RecentManager.set_screen

    def set_screen(screen)

screen :

a gtk.gdk.Screen

Note

This method is available in PyGTK 2.10 and above.

Sets the screen for a recent manager; the screen is used to + functions instead.

Methods

gtk.RecentManager.set_screen

    def set_screen(screen)

screen :

a gtk.gdk.Screen

Note

This method is available in PyGTK 2.10 and above.

Sets the screen for a recent manager; the screen is used to track the user's currently configured recently used documents storage.

gtk.RecentManager.add_item

    def add_item(uri)

uri :

a valid URI

Returns :

True if the new item was successfully added to the recently used resources @@ -94,7 +94,7 @@ objects.

Note

This method is available in PyGTK 2.10 and above.

Returns the list of recently used resources as gtk.RecentInfo objects.

gtk.RecentManager.purge_items

    def purge_items()

Returns :

the number of items that have been removed from the recently used resources list.

Note

This method is available in PyGTK 2.10 and above.

Purges every item from the recently used resources list. Raises - the gobject.GError when an error occurs.

Functions

gtk.recent_manager_get_default

    def gtk.recent_manager_get_default()

Returns :

A unique gtk.RecentManager + the gobject.GError when an error occurs.

Functions

gtk.recent_manager_get_default

    def gtk.recent_manager_get_default()

Returns :

A unique gtk.RecentManager associated with the default screen. This recent manager is associated to the screen and can be used as long as the screen is open.

Note

This function is available in PyGTK 2.10 and above.

Gets the recent manager for the default screen. See the gtk.recent_manager_get_for_screen() @@ -108,7 +108,7 @@ fairly expensive to create, so using this function is usually a better choice than calling the gtk.RecentManager() constructor and setting the screen yourself; by using this function a - single recent manager object will be shared between users.

Signals

The "changed" gtk.RecentManager Signal

    def callback(recent_manager, user_param1, ...)

recent_manager :

the recent manager

user_param1 :

the first user parameter (if any) specified + single recent manager object will be shared between users.

Signals

The "changed" gtk.RecentManager Signal

    def callback(recent_manager, user_param1, ...)

recent_manager :

the recent manager

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if any)

Note

This signal is available in GTK+ 2.10 and above.

Emitted when the current recently used resources manager changes its contents.

diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkrequisition.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkrequisition.html --- pygtk-2.14.1/docs/html/class-gtkrequisition.html 2009-03-05 22:49:11.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkrequisition.html 2009-05-24 23:12:16.000000000 +0100 @@ -1,11 +1,11 @@ gtk.Requisition

gtk.Requisition

gtk.Requisition — an object containing information about the desired space -requirements of a widget.

Synopsis

class gtk.Requisition(gobject.GBoxed):
-    def copy()
def free()

Attributes

"width"Read-Writethe desired width of the widget
"height"Read-Writethe desired height of the widget

Description

A gtk.Requisition +requirements of a widget.

Synopsis

class gtk.Requisition(gobject.GBoxed):
+    def copy()
def free()

Attributes

"width"Read-Writethe desired width of the widget
"height"Read-Writethe desired height of the widget

Description

A gtk.Requisition holds the information about the desired space requirements (width and height) of a widget. A gtk.Requisition object has width and height attributes that can be read and written.

Note

There appears to be no way to create or use a gtk.Requisition -in PyGTK other than as an argument in the handler for the gtk.Widget "size-request" signal.

Methods

gtk.Requisition.copy

    def copy()

Returns :

a copy of the gtk.Requisition

The copy() method returns a copy of the +in PyGTK other than as an argument in the handler for the gtk.Widget "size-request" signal.

Methods

gtk.Requisition.copy

    def copy()

Returns :

a copy of the gtk.Requisition

The copy() method returns a copy of the gtk.Requisition.

gtk.Requisition.free

    def free()

Warning

This method is deprecated and should not be used since it can crash your application.

The free() method frees the resources allocated to the gtk.Requisition.

diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkruler.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkruler.html --- pygtk-2.14.1/docs/html/class-gtkruler.html 2009-03-05 22:49:11.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkruler.html 2009-05-24 23:12:16.000000000 +0100 @@ -1,14 +1,14 @@ -gtk.Ruler

gtk.Ruler

gtk.Ruler — a base class for horizontal or vertical rulers

Synopsis

class gtk.Ruler(gtk.Widget):
-    def set_metric(metric)
def set_range(lower, upper, position, max_size)
def draw_ticks()
def draw_pos()
def get_metric()
def get_range()

Ancestry

+-- gobject.GObject
+gtk.Ruler

gtk.Ruler

gtk.Ruler — a base class for horizontal or vertical rulers

Synopsis

class gtk.Ruler(gtk.Widget):
+    def set_metric(metric)
def set_range(lower, upper, position, max_size)
def draw_ticks()
def draw_pos()
def get_metric()
def get_range()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Ruler
-

Implemented Interfaces

+

Implemented Interfaces

gtk.Ruler implements gtk.Buildable

gtk.Ruler Properties

gtk.Object Properties

gtk.Widget Properties

"lower"Read-Writethe lower limit of the ruler
"max-size"Read-Writethe maximum size of the ruler
"metric"Read-WriteThe metric used for the ruler. This property is available - in GTK+ 2.8 and above.
"position"Read-Writethe position of the mark on the ruler
"upper"Read-Writethe upper limit of the ruler

gtk.Ruler Style Properties

gtk.Widget Style Properties

gtk.Ruler Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

Description

Note

This widget is considered too specialized or little-used for + in GTK+ 2.8 and above.

"position"Read-Writethe position of the mark on the ruler
"upper"Read-Writethe upper limit of the ruler

gtk.Ruler Style Properties

gtk.Widget Style Properties

gtk.Ruler Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

Description

Note

This widget is considered too specialized or little-used for PyGTK and GTK+, and will in the future be moved to some other package. If your application needs this widget, feel free to use it, as the widget does work and is useful in some applications; it's just not of general interest. @@ -19,7 +19,7 @@ indicates the location of the mouse relative to the horizontal or vertical ruler. See gtk.HRuler to learn about horizontal rulers. See gtk.VRuler to learn -about vertical rulers.

Methods

gtk.Ruler.set_metric

    def set_metric(metric)

metric :

the measurement units

The set_metric() method sets the +about vertical rulers.

Methods

gtk.Ruler.set_metric

    def set_metric(metric)

metric :

the measurement units

The set_metric() method sets the measurement units of the ruler to the value specified by metric. Available units are gtk.PIXELS, gtk.INCHES, or diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkscalebutton.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkscalebutton.html --- pygtk-2.14.1/docs/html/class-gtkscalebutton.html 2009-03-05 22:49:12.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkscalebutton.html 2009-05-24 23:12:17.000000000 +0100 @@ -1,12 +1,12 @@ -gtk.ScaleButton

gtk.ScaleButton

gtk.ScaleButton — A button which pops up a scale. (new in PyGTK 2.12)

Synopsis

class gtk.ScaleButton(gtk.Button):
-    gtk.ScaleButton(size, min, max, step, icons=None)
def get_adjustment()
def get_minus_button()
def get_orientation()
def get_plus_button()
def get_popup()
def get_value()
def set_adjustment(adjustment)
def set_icons(icons)
def set_orientation(icons)
def set_value(value)

Ancestry

+-- gobject.GObject
+gtk.ScaleButton

gtk.ScaleButton

gtk.ScaleButton — A button which pops up a scale. (new in PyGTK 2.12)

Synopsis

class gtk.ScaleButton(gtk.Button):
+    gtk.ScaleButton(size, min, max, step, icons=None)
def get_adjustment()
def get_minus_button()
def get_orientation()
def get_plus_button()
def get_popup()
def get_value()
def set_adjustment(adjustment)
def set_icons(icons)
def set_orientation(icons)
def set_value(value)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Bin
           +-- gtk.Button
             +-- gtk.ScaleButton
-

Implemented Interfaces

+

Implemented Interfaces

gtk.ScaleButton implements gtk.Buildable @@ -32,7 +32,7 @@ The icon size. Default value: gtk.ICON_SIZE_SMALL_TOOLBAR.

"value"Read/Write The value of the scale. Default value: 0. -

gtk.ScaleButton Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

gtk.Button Signal Prototypes

"popdown"

def callback(scalebutton, user_param1, ...)

"popup"

def callback(scalebutton, user_param1, ...)

"value-changed"

def callback(scalebutton, value, user_param1, ...)

Description

+

gtk.ScaleButton Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

gtk.Button Signal Prototypes

"popdown"

def callback(scalebutton, user_param1, ...)

"popup"

def callback(scalebutton, user_param1, ...)

"value-changed"

def callback(scalebutton, value, user_param1, ...)

Description

gtk.ScaleButton provides a button which pops up a scale widget. This kind of widget is commonly used for volume controls in multimedia applications, and GTK+ provides a @@ -47,7 +47,7 @@ Creates a gtk.ScaleButton, with a range between min and max, with a stepping of step. -

Methods

gtk.ScaleButton.get_adjustment

    def get_adjustment()

Returns :

The +

Methods

gtk.ScaleButton.get_adjustment

    def get_adjustment()

Returns :

The gtk.Adjustment associated with the scale.

Note

This method is available in PyGTK 2.12 and above.

The get_adjustment() method gets the @@ -109,7 +109,7 @@ if the value is outside the minimum or maximum range values, it will be clamped to fit inside them. The scale button emits the value-changed signal if the value changes. -

Signals

The "popdown" gtk.ScaleButton Signal

    def callback(scalebutton, user_param1, ...)

scalebutton :

the scalebutton that received the "popdown" signal

user_param1 :

the first user parameter (if any) specified +

Signals

The "popdown" gtk.ScaleButton Signal

    def callback(scalebutton, user_param1, ...)

scalebutton :

the scalebutton that received the "popdown" signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if any)

Note

This signal is available in PyGTK 2.12 and above.

diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkscale.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkscale.html --- pygtk-2.14.1/docs/html/class-gtkscale.html 2009-03-05 22:49:12.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkscale.html 2009-05-24 23:12:16.000000000 +0100 @@ -1,10 +1,10 @@ -gtk.Scale

gtk.Scale

gtk.Scale — a base class for the scale widgets.

Synopsis

class gtk.Scale(gtk.Range):
-    def set_digits(digits)
def get_digits()
def set_draw_value(draw_value)
def get_draw_value()
def set_value_pos(pos)
def get_value_pos()
def get_layout()
def get_layout_offsets()

Ancestry

+-- gobject.GObject
+gtk.Scale

gtk.Scale

gtk.Scale — a base class for the scale widgets.

Synopsis

class gtk.Scale(gtk.Range):
+    def set_digits(digits)
def get_digits()
def set_draw_value(draw_value)
def get_draw_value()
def set_value_pos(pos)
def get_value_pos()
def get_layout()
def get_layout_offsets()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Range
         +-- gtk.Scale
-

Implemented Interfaces

+

Implemented Interfaces

gtk.Scale implements gtk.Buildable @@ -13,7 +13,7 @@ displayed as a string next to the slider

"value-pos"Read-WriteThe position in which the current value is displayed: gtk.POS_LEFT, gtk.POS_RIGHT, gtk.POS_TOP or gtk.POS_BOTTOM

gtk.Scale Style Properties

gtk.Widget Style Properties

gtk.Range Style Properties

"slider-length"ReadThe length of scale's slider
"value-spacing"ReadThe space between value text and the slider or trough - area

gtk.Scale Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Range Signal Prototypes

"format-value"

def callback(scale, user_param1, ...)

Description

The gtk.Scale widget is + area

gtk.Scale Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Range Signal Prototypes

"format-value"

def callback(scale, user_param1, ...)

Description

The gtk.Scale widget is an abstract base class, used only for deriving the subclasses gtk.HScale and gtk.VScale. A gtk.Scale is a slider control used to select a numeric value. Since gtk.Scale is a subclass of gtk.Range, see the @@ -21,7 +21,7 @@ methods for additional methods. To set the value of a scale, you would normally use set_value(). To detect changes to the value, you would normally use the "value_changed" -signal.

Methods

gtk.Scale.set_digits

    def set_digits(digits)

digits :

the number of decimal places to +signal.

Methods

gtk.Scale.set_digits

    def set_digits(digits)

digits :

the number of decimal places to display

The set_digits() method sets the "digits" property to the value specified by digits. The value of digits specifies the number of decimal @@ -61,7 +61,7 @@ representing the text in the scale. Remember when using the pango.Layout function you need to convert to and from pixels using the pango.PIXELS() function or pango.SCALE. If the "draw-value" property is -False, the return values are undefined.

Signals

The "format-value" gtk.Scale Signal

    def callback(scale, value, user_param1, ...)

scale :

the scale that received the +False, the return values are undefined.

Signals

The "format-value" gtk.Scale Signal

    def callback(scale, value, user_param1, ...)

scale :

the scale that received the signal

value :

the value to be formatted

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkscrollbar.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkscrollbar.html --- pygtk-2.14.1/docs/html/class-gtkscrollbar.html 2009-03-05 22:49:13.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkscrollbar.html 2009-05-24 23:12:17.000000000 +0100 @@ -1,10 +1,10 @@ -gtk.Scrollbar

gtk.Scrollbar

gtk.Scrollbar — a base class for scrollbar widgets.

Synopsis

class gtk.Scrollbar(gtk.Range):
-

Ancestry

+-- gobject.GObject
+gtk.Scrollbar

gtk.Scrollbar

gtk.Scrollbar — a base class for scrollbar widgets.

Synopsis

class gtk.Scrollbar(gtk.Range):
+

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Range
         +-- gtk.Scrollbar
-

Implemented Interfaces

+

Implemented Interfaces

gtk.Scrollbar implements gtk.Buildable @@ -13,7 +13,7 @@ backward arrow button

"has-forward-stepper"ReadIf True display the standard forward arrow button
"has-secondary-backward-stepper"ReadIf True display a second backward arrow button on the opposite end of the scrollbar
"has-secondary-forward-stepper"ReadIf True display a secondary forward -arrow button on the opposite end of the scrollbar
min-slider-length""ReadThe minimum length of scrollbar slider

gtk.Scrollbar Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Range Signal Prototypes

Description

The gtk.Scrollbar +arrow button on the opposite end of the scrollbar

min-slider-length""ReadThe minimum length of scrollbar slider

gtk.Scrollbar Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Range Signal Prototypes

Description

The gtk.Scrollbar widget is an abstract base class for gtk.HScrollbar and gtk.VScrollbar. The position of the thumb in a scrollbar is controlled by the scroll diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkscrolledwindow.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkscrolledwindow.html --- pygtk-2.14.1/docs/html/class-gtkscrolledwindow.html 2009-03-05 22:49:13.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkscrolledwindow.html 2009-05-24 23:12:18.000000000 +0100 @@ -1,11 +1,11 @@ -gtk.ScrolledWindow

gtk.ScrolledWindow

gtk.ScrolledWindow — adds scrollbars to its child widget.

Synopsis

class gtk.ScrolledWindow(gtk.Bin):
-    gtk.ScrolledWindow(hadjustment=None, vadjustment=None)
def set_hadjustment(hadjustment)
def set_vadjustment(vadjustment)
def get_hadjustment()
def get_vadjustment()
def get_hscrollbar()
def get_vscrollbar()
def set_policy(hscrollbar_policy, vscrollbar_policy)
def get_policy(hscrollbar_policy, vscrollbar_policy)
def set_placement(window_placement)
def get_placement()
def set_shadow_type(type)
def get_shadow_type()
def add_with_viewport(child)

Ancestry

+-- gobject.GObject
+gtk.ScrolledWindow

gtk.ScrolledWindow

gtk.ScrolledWindow — adds scrollbars to its child widget.

Synopsis

class gtk.ScrolledWindow(gtk.Bin):
+    gtk.ScrolledWindow(hadjustment=None, vadjustment=None)
def set_hadjustment(hadjustment)
def set_vadjustment(vadjustment)
def get_hadjustment()
def get_vadjustment()
def get_hscrollbar()
def get_vscrollbar()
def set_policy(hscrollbar_policy, vscrollbar_policy)
def get_policy(hscrollbar_policy, vscrollbar_policy)
def set_placement(window_placement)
def get_placement()
def set_shadow_type(type)
def get_shadow_type()
def add_with_viewport(child)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Bin
           +-- gtk.ScrolledWindow
-

Implemented Interfaces

+

Implemented Interfaces

gtk.ScrolledWindow implements gtk.Buildable @@ -31,7 +31,7 @@ above.

"scrollbar-within-bevel"ReadWhether to place scrollbars within the scrolled window's bevel. Default value: False Available in GTK+ 2.12 and - above.

gtk.ScrolledWindow Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

"move-focus-out"

def callback(scrolledwindow, direction, user_param1, ...)

"scroll-child"

def callback(scrolledwindow, scrolltype, horizontal, user_param1, ...)

Description

A gtk.ScrolledWindow + above.

gtk.ScrolledWindow Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

"move-focus-out"

def callback(scrolledwindow, direction, user_param1, ...)

"scroll-child"

def callback(scrolledwindow, scrolltype, horizontal, user_param1, ...)

Description

A gtk.ScrolledWindow is a subclass of gtk.Bin that adds scrollbars to a single child widget and optionally draws a beveled frame around the child widget. The scrolled window can work in two ways:

  • Some widgets have native scrolling support using "slots" to @@ -75,7 +75,7 @@ the scrollbars and the child widget to keep the bars in sync with the child. If hadjustment and vadjustment are None or not specified the scrolled window will create -them for you.

Methods

gtk.ScrolledWindow.set_hadjustment

    def set_hadjustment(hadjustment)

hadjustment :

the horizontal gtk.Adjustment

The set_hadjustment() method sets the +them for you.

Methods

gtk.ScrolledWindow.set_hadjustment

    def set_hadjustment(hadjustment)

hadjustment :

the horizontal gtk.Adjustment

The set_hadjustment() method sets the horizontal adjustment (and the "hadjustment" property) to the value of hadjustment. hadjustment must be a gtk.Adjustment.

gtk.ScrolledWindow.set_vadjustment

    def set_vadjustment(vadjustment)

vadjustment :

the vertical gtk.Adjustment

The set_vadjustment() method sets the @@ -138,7 +138,7 @@ This will be wrong for most widgets that support native scrolling. For example, if you add a widget such as gtk.TreeView with a viewport, the whole widget will scroll, including the column -headings.

Signals

The "move-focus-out" gtk.ScrolledWindow Signal

    def callback(scrolledwindow, direction, user_param1, ...)

scrolledwindow :

the scrolledwindow that received the +headings.

Signals

The "move-focus-out" gtk.ScrolledWindow Signal

    def callback(scrolledwindow, direction, user_param1, ...)

scrolledwindow :

the scrolledwindow that received the signal

direction :

the direction that the focus is moving either gtk.DIR_TAB_FORWARD or gtk.DIR_TAB_BACKWARD.

user_param1 :

the first user parameter (if any) specified diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkselectiondata.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkselectiondata.html --- pygtk-2.14.1/docs/html/class-gtkselectiondata.html 2009-03-05 22:49:14.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkselectiondata.html 2009-05-24 23:12:19.000000000 +0100 @@ -1,11 +1,11 @@ gtk.SelectionData

gtk.SelectionData

gtk.SelectionData — an object that stores information about a -selection

Synopsis

class gtk.SelectionData(gobject.GBoxed):
+selection

Synopsis

class gtk.SelectionData(gobject.GBoxed):
     def set(type, format, data)
def set_text(str, len)
def get_text()
def get_targets()
def targets_include_text()
def tree_set_row_drag_data(tree_model, path)
def tree_get_row_drag_data()
def set_pixbuf(pixbuf)
def get_pixbuf()
def set_uris(uris)
def get_uris()
def targets_include_image(writable)
def targets_include_rich_text(buffer)
def targets_include_uri()
def get_data_type()
def get_display()
def get_format()
def get_length()
def get_target()
 Functions
 
     def gtk.selection_owner_set_for_display(display, widget, selection, time=0)
def gtk.target_list_add_image_targets(list=None, info=0, writable=False)
def gtk.target_list_add_text_targets(list=None, info=0)
def gtk.target_list_add_uri_targets(list=None, info=0)
def gtk.target_list_add_rich_text_targets(list, info, deserializable, buffer)
def gtk.targets_include_image(targets, writable)
def gtk.targets_include_rich_text(targets, buffer)
def gtk.targets_include_text(targets)
def gtk.targets_include_uri(targets) -

Attributes

"selection"ReadA gtk.gdk.Atom indicating the selection type (e.g. "PRIMARY").
"target"ReadA gtk.gdk.Atom indicating the selection target type (e.g. "TARGETS").
"type"ReadA gtk.gdk.Atom indicating the selection data type (e.g. "STRING").
"format"ReadThe unit length of the data in bits (e.g. 8 for a -string or 32 of an integer).
"data"ReadThe data as a string.

Description

A gtk.SelectionData +

Attributes

"selection"ReadA gtk.gdk.Atom indicating the selection type (e.g. "PRIMARY").
"target"ReadA gtk.gdk.Atom indicating the selection target type (e.g. "TARGETS").
"type"ReadA gtk.gdk.Atom indicating the selection data type (e.g. "STRING").
"format"ReadThe unit length of the data in bits (e.g. 8 for a +string or 32 of an integer).
"data"ReadThe data as a string.

Description

A gtk.SelectionData object is used to store information about a chunk of data associated with a selection. In PyGTK the selection data is always a string so the application will have to provide functions to convert the data to and from a string to @@ -13,7 +13,7 @@ types are directly supported using the set_text(), get_text() and get_targets() -methods.

Methods

gtk.SelectionData.set

    def set(type, format, data)

type :

a gtk.gdk.Atom or string +methods.

Methods

gtk.SelectionData.set

    def set(type, format, data)

type :

a gtk.gdk.Atom or string that specifies a gtk.gdk.Atom

format :

the number of bits in a unit

data :

a string containing the data

The set() method sets the data for a @@ -83,7 +83,7 @@ provide rich text.

gtk.SelectionData.targets_include_uri

    def targets_include_uri()

Returns :

True if a suitable target for uris is included in the selectiondata targets.

Note

This method is available in PyGTK 2.10 and above.

Determines if any of the selectiondata targets can be used to - provide a list of URIs.

gtk.SelectionData.get_data_type

    def get_data_type()

Returns :

the data type of the selection.

Note

This method is available in PyGTK 2.14 and above.

Retrieves the data type of the selection.

gtk.SelectionData.get_display

    def get_display()

Returns :

the display of the selection.

Note

This method is available in PyGTK 2.14 and above.

Retrieves the display of the selection.

gtk.SelectionData.get_format

    def get_format()

Returns :

the format of the selection.

Note

This method is available in PyGTK 2.14 and above.

Retrieves the format of the selection.

gtk.SelectionData.get_length

    def get_length()

Returns :

the length of the data of the selection.

Note

This method is available in PyGTK 2.14 and above.

Retrieves the length of the data of the selection.

gtk.SelectionData.get_targets

    def get_target()

Returns :

the target of the selection.

Note

This method is available in PyGTK 2.14 and above.

Retrieves the target of the selection.

Functions

gtk.selection_owner_set_for_display

    def gtk.selection_owner_set_for_display(display, widget, selection, time=0)

display :

the gtk.gdk.Display + provide a list of URIs.

gtk.SelectionData.get_data_type

    def get_data_type()

Returns :

the data type of the selection.

Note

This method is available in PyGTK 2.14 and above.

Retrieves the data type of the selection.

gtk.SelectionData.get_display

    def get_display()

Returns :

the display of the selection.

Note

This method is available in PyGTK 2.14 and above.

Retrieves the display of the selection.

gtk.SelectionData.get_format

    def get_format()

Returns :

the format of the selection.

Note

This method is available in PyGTK 2.14 and above.

Retrieves the format of the selection.

gtk.SelectionData.get_length

    def get_length()

Returns :

the length of the data of the selection.

Note

This method is available in PyGTK 2.14 and above.

Retrieves the length of the data of the selection.

gtk.SelectionData.get_targets

    def get_target()

Returns :

the target of the selection.

Note

This method is available in PyGTK 2.14 and above.

Retrieves the target of the selection.

Functions

gtk.selection_owner_set_for_display

    def gtk.selection_owner_set_for_display(display, widget, selection, time=0)

display :

the gtk.gdk.Display where the selection is set

widget :

the new selection owner (a gtk.Widget), or None.

selection :

a gtk.gdk.Atom or string representing a selection target

time :

the timestamp used to claim the diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkseparator.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkseparator.html --- pygtk-2.14.1/docs/html/class-gtkseparator.html 2009-03-05 22:49:14.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkseparator.html 2009-05-24 23:12:19.000000000 +0100 @@ -1,13 +1,13 @@ -gtk.Separator

gtk.Separator

gtk.Separator — a base class for visual separator widgets.

Synopsis

class gtk.Separator(gtk.Widget):
-

Ancestry

+-- gobject.GObject
+gtk.Separator

gtk.Separator

gtk.Separator — a base class for visual separator widgets.

Synopsis

class gtk.Separator(gtk.Widget):
+

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Separator
-

Implemented Interfaces

+

Implemented Interfaces

gtk.Separator implements gtk.Buildable -

gtk.Separator Style Properties

gtk.Widget Style Properties

gtk.Separator Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

Description

The gtk.Separator +

gtk.Separator Style Properties

gtk.Widget Style Properties

gtk.Separator Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

Description

The gtk.Separator widget is an abstract base class, used only for deriving the subclasses gtk.HSeparator and gtk.VSeparator. diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkseparatormenuitem.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkseparatormenuitem.html --- pygtk-2.14.1/docs/html/class-gtkseparatormenuitem.html 2009-03-05 22:49:15.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkseparatormenuitem.html 2009-05-24 23:12:19.000000000 +0100 @@ -1,5 +1,5 @@ -gtk.SeparatorMenuItem

gtk.SeparatorMenuItem

gtk.SeparatorMenuItem — a separator used in menus.

Synopsis

class gtk.SeparatorMenuItem(gtk.MenuItem):
-    gtk.SeparatorMenuItem()

Ancestry

+-- gobject.GObject
+gtk.SeparatorMenuItem

gtk.SeparatorMenuItem

gtk.SeparatorMenuItem — a separator used in menus.

Synopsis

class gtk.SeparatorMenuItem(gtk.MenuItem):
+    gtk.SeparatorMenuItem()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
@@ -7,11 +7,11 @@
           +-- gtk.Item
             +-- gtk.MenuItem
               +-- gtk.SeparatorMenuItem
-

Implemented Interfaces

+

Implemented Interfaces

gtk.SeparatorMenuItem implements gtk.Buildable -

gtk.SeparatorMenuItem Style Properties

gtk.Widget Style Properties

gtk.MenuItem Style Properties

Description

The gtk.SeparatorMenuItem +

gtk.SeparatorMenuItem Style Properties

gtk.Widget Style Properties

gtk.MenuItem Style Properties

Description

The gtk.SeparatorMenuItem is a separator used to group items within a menu. It displays a horizontal line with a shadow to make it appear sunken into the interface.

Constructor

    gtk.SeparatorMenuItem()

Returns :

a new gtk.SeparatorMenuItem widget

Creates a new gtk.SeparatorMenuItem diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkseparatortoolitem.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkseparatortoolitem.html --- pygtk-2.14.1/docs/html/class-gtkseparatortoolitem.html 2009-03-05 22:49:15.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkseparatortoolitem.html 2009-05-24 23:12:19.000000000 +0100 @@ -1,18 +1,18 @@ gtk.SeparatorToolItem

gtk.SeparatorToolItem

gtk.SeparatorToolItem — a toolbar item that separates groups of other toolbar -items (new in PyGTK 2.4)

Synopsis

class gtk.SeparatorToolItem(gtk.ToolItem):
-    gtk.SeparatorToolItem()
def get_draw()
def set_draw(draw)

Ancestry

+-- gobject.GObject
+items (new in PyGTK 2.4)

Synopsis

class gtk.SeparatorToolItem(gtk.ToolItem):
+    gtk.SeparatorToolItem()
def get_draw()
def set_draw(draw)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Bin
           +-- gtk.ToolItem
             +-- gtk.SeparatorToolItem
-

Implemented Interfaces

+

Implemented Interfaces

gtk.SeparatorToolItem implements gtk.Buildable

gtk.SeparatorToolItem Properties

gtk.Object Properties

gtk.Widget Properties

gtk.Container Properties

gtk.ToolItem Properties

"draw"Read-WriteIf True, the separator is - drawn. Available in GTK+ 2.4.

gtk.SeparatorToolItem Style Properties

gtk.Widget Style Properties

Description

Note

This widget is available in PyGTK 2.4 and above.

A gtk.SeparatorToolItem + drawn. Available in GTK+ 2.4.

gtk.SeparatorToolItem Style Properties

gtk.Widget Style Properties

Description

Note

This widget is available in PyGTK 2.4 and above.

A gtk.SeparatorToolItem is a gtk.ToolItem that separates groups of other gtk.ToolItem objects. Depending on the theme, a gtk.SeparatorToolItem @@ -22,7 +22,7 @@ will act as a "spring" that forces other items to the ends of the toolbar.

Constructor

    gtk.SeparatorToolItem()

Returns :

the new gtk.SeparatorToolItem -Since: 2.4

Note

This constructor is available in PyGTK 2.4 and above.

Create a new gtk.SeparatorToolItem

Methods

gtk.SeparatorToolItem.get_draw

    def get_draw()

Returns :

True if +Since: 2.4

Note

This constructor is available in PyGTK 2.4 and above.

Create a new gtk.SeparatorToolItem

Methods

gtk.SeparatorToolItem.get_draw

    def get_draw()

Returns :

True if separator_tool_item is drawn as a line, or just blank.

Note

This method is available in PyGTK 2.4 and above.

The get_draw() method returns True if the separator tool item is drawn as a line or diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtksettings.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtksettings.html --- pygtk-2.14.1/docs/html/class-gtksettings.html 2009-03-05 22:49:16.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtksettings.html 2009-05-24 23:12:20.000000000 +0100 @@ -1,10 +1,10 @@ gtk.Settings

gtk.Settings

gtk.Settings — an object that contains the global settings for the -widgets on a gtk.gdk.Screen

Synopsis

class gtk.Settings(gobject.GObject):
+widgets on a gtk.gdk.Screen

Synopsis

class gtk.Settings(gobject.GObject):
     def set_string_property(name, v_string, origin)
def set_long_property(name, v_long, origin)
def set_double_property(name, v_double, origin)
 Functions
 
     def gtk.settings_get_default()
def gtk.settings_get_for_screen(screen) -

Ancestry

+-- gobject.GObject
+

Ancestry

+-- gobject.GObject
   +-- gtk.Settings
 

gtk.Settings Properties

"gtk-alternative-sort-arrows"Read-WriteControls the direction of the sort indicators in sorted list and tree views. By default an arrow pointing down means the column @@ -171,7 +171,7 @@ full. Default value: None. Available in GTK+ 2.4 and above.
"gtk-xft-rgba"Read-WriteType of subpixel antialiasing; none, rgb, bgr, vrgb, vbgr. Default value: None. Available in - GTK+ 2.4 and above.

Description

The gtk.Settings + GTK+ 2.4 and above.

Description

The gtk.Settings object stores the values of the global settings associated with a gtk.gdk.Screen. The gtk.Settings object for the default gtk.gdk.Screen can @@ -179,7 +179,7 @@ function. The gtk.Widget.get_settings() method returns the gtk.Settings object of the gtk.gdk.Screen that -the widget is displayed on.

Methods

gtk.Settings.set_string_property

    def set_string_property(name, v_string, origin)

name :

the name of the property to +the widget is displayed on.

Methods

gtk.Settings.set_string_property

    def set_string_property(name, v_string, origin)

name :

the name of the property to set

v_string :

the string value

origin :

the string value of the origin

The set_string_property() method sets the property named name to the string value specified @@ -200,7 +200,7 @@ by v_long at the string origin specified by origin. origin is an application specified string like "filename:linenumber" or -"myapp:widgetname".

Functions

gtk.settings_get_default

    def gtk.settings_get_default()

Returns :

the singleton gtk.Settings +"myapp:widgetname".

Functions

gtk.settings_get_default

    def gtk.settings_get_default()

Returns :

the singleton gtk.Settings object

The gtk.settings_get_default function returns the singleton gtk.Settings object.

gtk.settings_get_for_screen

    def gtk.settings_get_for_screen(screen)

screen :

a gtk.gdk.Screen diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtksizegroup.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtksizegroup.html --- pygtk-2.14.1/docs/html/class-gtksizegroup.html 2009-03-05 22:49:16.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtksizegroup.html 2009-05-24 23:12:20.000000000 +0100 @@ -1,8 +1,8 @@ gtk.SizeGroup

gtk.SizeGroup

gtk.SizeGroup — an object that groups widgets so they request the same -size

Synopsis

class gtk.SizeGroup(gobject.GObject):
-    gtk.SizeGroup(mode)
def set_mode(mode)
def get_mode()
def set_ignore_hidden(ignore_hidden)
def get_ignore_hidden()
def add_widget(widget)
def remove_widget(widget)

Ancestry

+-- gobject.GObject
+size

Synopsis

class gtk.SizeGroup(gobject.GObject):
+    gtk.SizeGroup(mode)
def set_mode(mode)
def get_mode()
def set_ignore_hidden(ignore_hidden)
def get_ignore_hidden()
def add_widget(widget)
def remove_widget(widget)

Ancestry

+-- gobject.GObject
   +-- gtk.SizeGroup
-

Implemented Interfaces

+

Implemented Interfaces

gtk.SizeGroup implements gtk.Buildable @@ -11,7 +11,7 @@ Default value: False. Available in GTK+ 2.8 and above.

"mode"Read-WriteThe directions in which the size group effects the requested sizes of its component widgets - one of the GTK SizeGroup Mode Constants. -Default value: gtk.SIZE_GROUP_HORIZONTAL.

gtk.SizeGroup Signal Prototypes

gobject.GObject Signal Prototypes

Description

gtk.SizeGroup +Default value: gtk.SIZE_GROUP_HORIZONTAL.

gtk.SizeGroup Signal Prototypes

gobject.GObject Signal Prototypes

Description

gtk.SizeGroup provides a mechanism for grouping a number of widgets together so they all request the same amount of space. This is typically useful when you want a column of widgets to have the same size, but you can't use a gtk.Table widget. The @@ -42,7 +42,7 @@ gtk.SIZE_GROUP_BOTH.

Constructor

    gtk.SizeGroup(mode)

mode :

the mode for the new size group.

Returns :

a new gtk.SizeGroup

Creates a new gtk.SizeGroup with the mode specified by the value of mode which is -one of the GTK SizeGroup Mode Constants.

Methods

gtk.SizeGroup.set_mode

    def set_mode(mode)

mode :

the mode to set for the size +one of the GTK SizeGroup Mode Constants.

Methods

gtk.SizeGroup.set_mode

    def set_mode(mode)

mode :

the mode to set for the size group.

The set_mode() method sets the "mode" property of the size group to the value specified by mode. The "mode" of the size group determines whether diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtksocket.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtksocket.html --- pygtk-2.14.1/docs/html/class-gtksocket.html 2009-03-05 22:49:16.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtksocket.html 2009-05-24 23:12:20.000000000 +0100 @@ -1,14 +1,14 @@ -gtk.Socket

gtk.Socket

gtk.Socket — a container for widgets from other processes.

Synopsis

class gtk.Socket(gtk.Container):
-    gtk.Socket()
def add_id(window_id)
def get_id()
def get_plug_window()

Ancestry

+-- gobject.GObject
+gtk.Socket

gtk.Socket

gtk.Socket — a container for widgets from other processes.

Synopsis

class gtk.Socket(gtk.Container):
+    gtk.Socket()
def add_id(window_id)
def get_id()
def get_plug_window()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Socket
-

Implemented Interfaces

+

Implemented Interfaces

gtk.Socket implements gtk.Buildable -

gtk.Socket Style Properties

gtk.Widget Style Properties

gtk.Socket Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

"plug-added"

def callback(socket, user_param1, ...)

"plug-removed"

def callback(socket, user_param1, ...)

Description

Together with a gtk.Plug, a gtk.Socket provides +

gtk.Socket Style Properties

gtk.Widget Style Properties

gtk.Socket Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

"plug-added"

def callback(socket, user_param1, ...)

"plug-removed"

def callback(socket, user_param1, ...)

Description

Together with a gtk.Plug, a gtk.Socket provides the ability to embed widgets from one process into another process in a fashion that is transparent to the user. One process creates a gtk.Socket widget and, passes the that widget's window ID to the other process, which then @@ -22,7 +22,7 @@ therefore, be prepared for your sockets to be destroyed at any time when the main event loop is running. The communication between a gtk.Socket and a gtk.Plug follows -the XEmbed protocol.

Constructor

    gtk.Socket()

Returns :

the new gtk.Socket.

Creates a new gtk.Socket.

Methods

gtk.Socket.add_id

    def add_id(window_id)

window_id :

the window ID of a client participating in the +the XEmbed protocol.

Constructor

    gtk.Socket()

Returns :

the new gtk.Socket.

Creates a new gtk.Socket.

Methods

gtk.Socket.add_id

    def add_id(window_id)

window_id :

the window ID of a client participating in the XEMBED protocol.

The add_id() method adds an XEMBED client specified by window_id, such as a gtk.Plug, to the gtk.Socket. The client may be in the same process or in a different process.

@@ -47,7 +47,7 @@ The get_plug_window() method retrieves the window of the plug. Use this to check if the plug has been created inside of the socket. -

Signals

The "plug-added" gtk.Socket Signal

    def callback(socket, user_param1, ...)

socket :

the socket that received the +

Signals

The "plug-added" gtk.Socket Signal

    def callback(socket, user_param1, ...)

socket :

the socket that received the signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkspinbutton.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkspinbutton.html --- pygtk-2.14.1/docs/html/class-gtkspinbutton.html 2009-03-05 22:49:17.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkspinbutton.html 2009-05-24 23:12:21.000000000 +0100 @@ -1,11 +1,11 @@ gtk.SpinButton

gtk.SpinButton

gtk.SpinButton — retrieve an integer or floating-point number from the -user.

Synopsis

class gtk.SpinButton(gtk.Entry):
-    gtk.SpinButton(adjustment=None, climb_rate=0.0, digits=0)
def configure(adjustment, climb_rate, digits)
def set_adjustment(adjustment)
def get_adjustment()
def set_digits(digits)
def get_digits()
def set_increments(step, page)
def get_increments()
def set_range(min, max)
def get_range()
def get_value()
def get_value_as_int()
def set_value(value)
def set_update_policy(policy)
def get_update_policy()
def set_numeric(numeric)
def get_numeric()
def spin(direction, increment=1.0)
def set_wrap(wrap)
def get_wrap()
def set_snap_to_ticks(snap_to_ticks)
def get_snap_to_ticks()
def update()

Ancestry

+-- gobject.GObject
+user.

Synopsis

class gtk.SpinButton(gtk.Entry):
+    gtk.SpinButton(adjustment=None, climb_rate=0.0, digits=0)
def configure(adjustment, climb_rate, digits)
def set_adjustment(adjustment)
def get_adjustment()
def set_digits(digits)
def get_digits()
def set_increments(step, page)
def get_increments()
def set_range(min, max)
def get_range()
def get_value()
def get_value_as_int()
def set_value(value)
def set_update_policy(policy)
def get_update_policy()
def set_numeric(numeric)
def get_numeric()
def spin(direction, increment=1.0)
def set_wrap(wrap)
def get_wrap()
def set_snap_to_ticks(snap_to_ticks)
def get_snap_to_ticks()
def update()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Entry (implements gtk.Editable, gtk.CellEditable)
         +-- gtk.SpinButton
-

Implemented Interfaces

+

Implemented Interfaces

gtk.SpinButton implements gtk.Buildable @@ -19,7 +19,7 @@ upon reaching its limits

gtk.SpinButton Style Properties

gtk.Widget Style Properties

gtk.Entry Style Properties

"shadow-type"Readthe shadow type of the spinbutton - one of: gtk.SHADOW_NONE, gtk.SHADOW_IN, gtk.SHADOW_OUT, gtk.SHADOW_ETCHED_IN -or gtk.SHADOW_ETCHED_OUT

gtk.SpinButton Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Entry Signal Prototypes

gtk.Editable Signal Prototypes

gtk.CellEditable Signal Prototypes

"change-value"

def callback(spinbutton, scrolltype, user_param1, ...)

"input"

def callback(spinbutton, value_ptr, user_param1, ...)

"output"

def callback(spinbutton, user_param1, ...)

"value-changed"

def callback(spinbutton, user_param1, ...)

"wrapped

def callback(spinbutton, user_param1, ...)

Description

A gtk.SpinButton +or gtk.SHADOW_ETCHED_OUT

gtk.SpinButton Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Entry Signal Prototypes

gtk.Editable Signal Prototypes

gtk.CellEditable Signal Prototypes

"change-value"

def callback(spinbutton, scrolltype, user_param1, ...)

"input"

def callback(spinbutton, value_ptr, user_param1, ...)

"output"

def callback(spinbutton, user_param1, ...)

"value-changed"

def callback(spinbutton, user_param1, ...)

"wrapped

def callback(spinbutton, user_param1, ...)

Description

A gtk.SpinButton is a subclass of gtk.Entry that provides a way for a user to set the value of some numeric attribute within a predefined range. Rather than having to directly type a number into a @@ -41,7 +41,7 @@ specified a new gtk.Adjustment will be created. If climb_rate is not specified it defaults to 0.0. If digits is not specified it -defaults to 0.

Methods

gtk.SpinButton.configure

    def configure(adjustment, climb_rate, digits)

adjustment :

a gtk.Adjustment +defaults to 0.

Methods

gtk.SpinButton.configure

    def configure(adjustment, climb_rate, digits)

adjustment :

a gtk.Adjustment or None to create a new adjustment

climb_rate :

the acceleration factor

digits :

the number of decimal places to display

The configure() method changes the properties of an existing spin button by associating the gtk.Adjustment @@ -138,7 +138,7 @@ is True the input values are corrected to the nearest step. See the set_snap_to_ticks() method.

gtk.SpinButton.update

    def update()

The update() method manually forces an -update of the spin button.

Signals

The "change-value" gtk.SpinButton Signal

    def callback(spinbutton, scrolltype, user_param1, ...)

spinbutton :

the spinbutton that received the +update of the spin button.

Signals

The "change-value" gtk.SpinButton Signal

    def callback(spinbutton, scrolltype, user_param1, ...)

spinbutton :

the spinbutton that received the signal

scrolltype :

the scrolltype: gtk.SCROLL_STEP_UP, gtk.SCROLL_STEP_DOWN, diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkstatusbar.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkstatusbar.html --- pygtk-2.14.1/docs/html/class-gtkstatusbar.html 2009-03-05 22:49:17.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkstatusbar.html 2009-05-24 23:12:22.000000000 +0100 @@ -1,18 +1,18 @@ -gtk.Statusbar

gtk.Statusbar

gtk.Statusbar — report messages of minor importance to the user.

Synopsis

class gtk.Statusbar(gtk.HBox):
-    gtk.Statusbar()
def get_context_id(context_description)
def push(context_id, text)
def pop(context_id)
def remove(context_id, message_id)
def set_has_resize_grip(setting)
def get_has_resize_grip()

Ancestry

+-- gobject.GObject
+gtk.Statusbar

gtk.Statusbar

gtk.Statusbar — report messages of minor importance to the user.

Synopsis

class gtk.Statusbar(gtk.HBox):
+    gtk.Statusbar()
def get_context_id(context_description)
def push(context_id, text)
def pop(context_id)
def remove(context_id, message_id)
def set_has_resize_grip(setting)
def get_has_resize_grip()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Box
           +-- gtk.HBox
             +-- gtk.Statusbar
-

Implemented Interfaces

+

Implemented Interfaces

gtk.Statusbar implements gtk.Buildable

gtk.Statusbar Properties

gtk.Object Properties

gtk.Widget Properties

gtk.Container Properties

gtk.Box Properties

"has-resize-grip"Read-WriteIf True, the statusbar has a grip for resizing the toplevel window. Available in GTK+ 2.4 and - above.

gtk.Statusbar Style Properties

gtk.Widget Style Properties

"shadow-type"ReadThe style of bevel around the statusbar text

gtk.Statusbar Child Properties

gtk.Box Child Properties

gtk.Statusbar Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

"text-popped"

def callback(statusbar, context_id, text, user_param1, ...)

"text-pushed"

def callback(statusbar, context_id, text, user_param1, ...)

Description

A gtk.Statusbar is + above.

gtk.Statusbar Style Properties

gtk.Widget Style Properties

"shadow-type"ReadThe style of bevel around the statusbar text

gtk.Statusbar Child Properties

gtk.Box Child Properties

gtk.Statusbar Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

"text-popped"

def callback(statusbar, context_id, text, user_param1, ...)

"text-pushed"

def callback(statusbar, context_id, text, user_param1, ...)

Description

A gtk.Statusbar is usually placed along the bottom of an application's main gtk.Window. It may provide a regular commentary of the application's status (as is usually the case in a web browser, for example), or may be used to simply output a @@ -31,7 +31,7 @@ message to display, the stack structure is adhered to, regardless of the context identifier of a message.

Constructor

    gtk.Statusbar()

Returns :

a new gtk.Statusbar widget

Creates a new gtk.Statusbar -widget.

Methods

gtk.Statusbar.get_context_id

    def get_context_id(context_description)

context_description :

a string identifying the context for the +widget.

Methods

gtk.Statusbar.get_context_id

    def get_context_id(context_description)

context_description :

a string identifying the context for the message

Returns :

an integer context identifier

The get_context_id() method returns a new or existing context identifier, given a description of the actual @@ -53,7 +53,7 @@ True a resize grip is displayed on the statusbar

gtk.Statusbar.get_has_resize_grip

    def get_has_resize_grip()

Returns :

True if a resize grip is displayed

The get_has_resize_grip() method returns the value of the internal "has_resize_grip" property that determines -if a resize grip is displayed on the statusbar.

Signals

The "text-popped" gtk.Statusbar Signal

    def callback(statusbar, context_id, text, user_param1, ...)

statusbar :

the statusbar that received the +if a resize grip is displayed on the statusbar.

Signals

The "text-popped" gtk.Statusbar Signal

    def callback(statusbar, context_id, text, user_param1, ...)

statusbar :

the statusbar that received the signal

context_id :

the context identifier of the top message

text :

the string containing the top message text

user_param1 :

the first user parameter (if any) specified diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkstatusicon.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkstatusicon.html --- pygtk-2.14.1/docs/html/class-gtkstatusicon.html 2009-03-05 22:49:18.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkstatusicon.html 2009-05-24 23:12:22.000000000 +0100 @@ -1,9 +1,9 @@ gtk.StatusIcon

gtk.StatusIcon

gtk.StatusIcon — display an icon in the system tray (new in PyGTK - 2.10)

Synopsis

class gtk.StatusIcon(gobject.GObject):
+      2.10)

Synopsis

class gtk.StatusIcon(gobject.GObject):
     gtk.StatusIcon()
def get_storage_type()
def get_gicon()
def get_pixbuf()
def get_stock()
def get_icon_name()
def get_size()
def get_x11_window_id()
def set_tooltip(tooltip_text)
def set_visible(visible)
def get_visible()
def set_blinking(blinking)
def get_blinking()
def is_embedded()
def get_geometry(screen, area, orientation)
def get_screen()
def set_screen(screen)
def set_from_pixbuf(pixbuf)
def set_from_file(filename)
def set_from_stock(stock_id)
def set_from_icon_name(icon_name)
def set_from_gicon(gicon)
 Functions
 
-    def gtk.status_icon_new_from_pixbuf(pixbuf)
def gtk.status_icon_new_from_file(filename)
def gtk.status_icon_new_from_gicon(filename)
def gtk.status_icon_new_from_stock(stock_id)
def gtk.status_icon_new_from_icon_name(icon_name)
def gtk.status_icon_position_menu(menu, statusicon)

Ancestry

+-- gobject.GObject
+    def gtk.status_icon_new_from_pixbuf(pixbuf)
def gtk.status_icon_new_from_file(filename)
def gtk.status_icon_new_from_gicon(filename)
def gtk.status_icon_new_from_stock(stock_id)
def gtk.status_icon_new_from_icon_name(icon_name)
def gtk.status_icon_position_menu(menu, statusicon)

Ancestry

+-- gobject.GObject
   +-- gtk.StatusIcon
 

gtk.StatusIcon Properties

"blinking"Read-Writeif True the status icon is blinking. Default value: False.
"embedded"Read-WriteTrue if the status icon is @@ -18,7 +18,7 @@ to display.
"size"ReadThe size of the icon. Default value: 0.
"stock"Read-WriteStock ID for a stock image to display. Default value: None.
"storage-type"ReadThe representation being used for image data. Default value: gtk.IMAGE_EMPTY.
"visible"Read-WriteIf True the status icon is - visible. Default value: True.

gtk.StatusIcon Signal Prototypes

gobject.GObject Signal Prototypes

"activate"

def callback(status_icon, user_param1, ...)

"popup-menu"

def callback(status_icon, button, activate_time, user_param1, ...)

"size-changed"

def callback(status_icon, size, user_param1, ...)

Description

The "system tray" or notification area is normally used for + visible. Default value: True.

gtk.StatusIcon Signal Prototypes

gobject.GObject Signal Prototypes

"activate"

def callback(status_icon, user_param1, ...)

"popup-menu"

def callback(status_icon, button, activate_time, user_param1, ...)

"size-changed"

def callback(status_icon, size, user_param1, ...)

Description

The "system tray" or notification area is normally used for transient icons that indicate some special state. For example, a system tray icon might appear to tell the user that they have new mail, or have an incoming instant message, or something along those lines. The basic @@ -36,7 +36,7 @@ e.g. in the GNOME and KDE panel applications.

Note that a gtk.StatusIcon is not a widget, but just a gobject.GObject. Making it a widget would be impractical, since the system tray on Win32 - doesn't allow to embed arbitrary widgets.

Constructor

gtk.StatusIcon

    gtk.StatusIcon()

Returns :

a new gtk.StatusIcon

Note

This constructor is available in PyGTK 2.10 and above.

Creates an empty status icon object.

Methods

gtk.StatusIcon.set_from_pixbuf

    def set_from_pixbuf(pixbuf)

pixbuf :

a gtk.gdk.Pixbuf + doesn't allow to embed arbitrary widgets.

Constructor

gtk.StatusIcon

    gtk.StatusIcon()

Returns :

a new gtk.StatusIcon

Note

This constructor is available in PyGTK 2.10 and above.

Creates an empty status icon object.

Methods

gtk.StatusIcon.set_from_pixbuf

    def set_from_pixbuf(pixbuf)

pixbuf :

a gtk.gdk.Pixbuf or None

Note

This method is available in PyGTK 2.10 and above.

Makes status_icon display pixbuf. See the gtk.status_icon_new_from_pixbuf() function for details.

gtk.StatusIcon.set_from_file

    def set_from_file(filename)

filename :

a filename

Note

This method is available in PyGTK 2.10 and above.

Makes status_icon display the file @@ -123,7 +123,7 @@ associated with status_icon.

gtk.StatusIcon.set_screen

    def set_screen(screen)

screen :

a gtk.gdk.Screen.

Note

This method is available in PyGTK 2.12 and above.

Sets the gtk.gdk.Screen where status_icon is displayed; if the icon is already mapped, it will be unmapped, - and then remapped on the new screen.

Functions

gtk.status_icon_new_from_pixbuf

    def gtk.status_icon_new_from_pixbuf(pixbuf)

pixbuf :

Returns :

a new gtk.StatusIcon

Creates a status icon displaying pixbuf. + and then remapped on the new screen.

Functions

gtk.status_icon_new_from_pixbuf

    def gtk.status_icon_new_from_pixbuf(pixbuf)

pixbuf :

Returns :

a new gtk.StatusIcon

Creates a status icon displaying pixbuf. The image will be scaled down to fit in the available space in the notification area, if necessary.

gtk.status_icon_new_from_file

    def gtk.status_icon_new_from_file(filename)

filename :

Returns :

a new gtk.StatusIcon

Creates a status icon displaying the image in the file specified by filename. The image will be scaled down to @@ -146,7 +146,7 @@ statusicon .

Eample use of this function is:

   menu.popup(None, None, gtk.status_icon_position_menu, 
              event.button, event.time, statusicon)
-      

Signals

The "activate" gtk.StatusIcon Signal

    def callback(status_icon, user_param1, ...)

status_icon :

the object which received the signal

user_param1 :

the first user parameter (if any) specified +

Signals

The "activate" gtk.StatusIcon Signal

    def callback(status_icon, user_param1, ...)

status_icon :

the object which received the signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if any)

Note

This signal is available in GTK+ 2.10 and above.

Gets emitted when the user activates the status icon. If and how status icons can be activated is platform-dependent.

The "popup-menu" gtk.StatusIcon Signal

    def callback(status_icon, button, activate_time, user_param1, ...)

status_icon :

the object which received the signal

button :

the button that was pressed, or 0 if the diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkstyle.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkstyle.html --- pygtk-2.14.1/docs/html/class-gtkstyle.html 2009-03-05 22:49:21.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkstyle.html 2009-05-24 23:12:25.000000000 +0100 @@ -1,5 +1,5 @@ -gtk.Style

gtk.Style

gtk.Style — an object that hold style information for widgets

Synopsis

class gtk.Style(gobject.GObject):
-    gtk.Style()
def copy()
def attach(window)
def detach()
def set_background(window, state_type)
def apply_default_background(window, set_bg, state_type, area, x, y, width, height)
def lookup_icon_set(stock_id)
def render_icon(source, direction, state, size, widget, detail)
def paint_hline(window, state_type, area, widget, detail, x1, x2, y)
def paint_vline(window, state_type, area, widget, detail, y1, y2, x)
def paint_shadow(window, state_type, shadow_type, area, widget, detail, x, y, width, height)
def paint_polygon(window, state_type, shadow_type, area, widget, detail, points, fill)
def paint_arrow(window, state_type, shadow_type, area, widget, detail, arrow_type, fill, x, y, width, height)
def paint_diamond(window, state_type, shadow_type, area, widget, detail, x, y, width, height)
def paint_box(window, state_type, shadow_type, area, widget, detail, x, y, width, height)
def paint_flat_box(window, state_type, shadow_type, area, widget, detail, x, y, width, height)
def paint_check(window, state_type, shadow_type, area, widget, detail, x, y, width, height)
def paint_option(window, state_type, shadow_type, area, widget, detail, x, y, width, height)
def paint_tab(window, state_type, shadow_type, area, widget, detail, x, y, width, height)
def paint_shadow_gap(window, state_type, shadow_type, area, widget, detail, x, y, width, height, gap_side, gap_x, gap_width)
def paint_box_gap(window, state_type, shadow_type, area, widget, detail, x, y, width, height, gap_side, gap_x, gap_width)
def paint_extension(window, state_type, shadow_type, area, widget, detail, x, y, width, height, gap_side)
def paint_focus(window, state_type, area, widget, detail, x, y, width, height)
def paint_slider(window, state_type, shadow_type, area, widget, detail, x, y, width, height, orientation)
def paint_handle(window, state_type, shadow_type, area, widget, detail, x, y, width, height, orientation)
def paint_expander(window, state_type, area, widget, detail, x, y, expander_style)
def paint_layout(window, state_type, use_text, area, widget, detail, x, y, layout)
def paint_resize_grip(window, state_type, area, widget, detail, edge, x, y, width, height)

Ancestry

+-- gobject.GObject
+gtk.Style

gtk.Style

gtk.Style — an object that hold style information for widgets

Synopsis

class gtk.Style(gobject.GObject):
+    gtk.Style()
def copy()
def attach(window)
def detach()
def set_background(window, state_type)
def apply_default_background(window, set_bg, state_type, area, x, y, width, height)
def lookup_icon_set(stock_id)
def render_icon(source, direction, state, size, widget, detail)
def paint_hline(window, state_type, area, widget, detail, x1, x2, y)
def paint_vline(window, state_type, area, widget, detail, y1, y2, x)
def paint_shadow(window, state_type, shadow_type, area, widget, detail, x, y, width, height)
def paint_polygon(window, state_type, shadow_type, area, widget, detail, points, fill)
def paint_arrow(window, state_type, shadow_type, area, widget, detail, arrow_type, fill, x, y, width, height)
def paint_diamond(window, state_type, shadow_type, area, widget, detail, x, y, width, height)
def paint_box(window, state_type, shadow_type, area, widget, detail, x, y, width, height)
def paint_flat_box(window, state_type, shadow_type, area, widget, detail, x, y, width, height)
def paint_check(window, state_type, shadow_type, area, widget, detail, x, y, width, height)
def paint_option(window, state_type, shadow_type, area, widget, detail, x, y, width, height)
def paint_tab(window, state_type, shadow_type, area, widget, detail, x, y, width, height)
def paint_shadow_gap(window, state_type, shadow_type, area, widget, detail, x, y, width, height, gap_side, gap_x, gap_width)
def paint_box_gap(window, state_type, shadow_type, area, widget, detail, x, y, width, height, gap_side, gap_x, gap_width)
def paint_extension(window, state_type, shadow_type, area, widget, detail, x, y, width, height, gap_side)
def paint_focus(window, state_type, area, widget, detail, x, y, width, height)
def paint_slider(window, state_type, shadow_type, area, widget, detail, x, y, width, height, orientation)
def paint_handle(window, state_type, shadow_type, area, widget, detail, x, y, width, height, orientation)
def paint_expander(window, state_type, area, widget, detail, x, y, expander_style)
def paint_layout(window, state_type, use_text, area, widget, detail, x, y, layout)
def paint_resize_grip(window, state_type, area, widget, detail, edge, x, y, width, height)

Ancestry

+-- gobject.GObject
   +-- gtk.Style
 

Attributes

Note

Even though the following attributes that are arrays of gtk.gdk.Color, gtk.gdk.GC @@ -30,7 +30,7 @@ using the anti-aliased text colors.

"black_gc"Read-WriteA graphics context (gtk.gdk.GC) for drawing using the black color.
"white_gc"Read-WriteA graphics context (gtk.gdk.GC) for drawing using the white color.
"bg_pixmap"ReadAn array of gtk.gdk.Pixmap to -be used for the background stippling in each widget state.

gtk.Style Signal Prototypes

gobject.GObject Signal Prototypes

"realize

def callback(style, user_param1, ...)

"unrealize

def callback(style, user_param1, ...)

Description

A gtk.Style object +be used for the background stippling in each widget state.

gtk.Style Signal Prototypes

gobject.GObject Signal Prototypes

"realize

def callback(style, user_param1, ...)

"unrealize

def callback(style, user_param1, ...)

Description

A gtk.Style object encapsulates the information that provides the look and feel for a widget. Each gtk.Widget has an associated gtk.Style object that @@ -49,7 +49,7 @@ the read-only attributes described in the above section.

Usually applications should not need to use or modify the gtk.Style of their widgets.

Constructor

    gtk.Style()

Returns :

a new gtk.Style object

Creates a new gtk.Style -object.

Methods

gtk.Style.copy

    def copy()

Returns :

a copy of the gtk.Style +object.

Methods

gtk.Style.copy

    def copy()

Returns :

a copy of the gtk.Style object

The copy() method returns a copy of the style object.

gtk.Style.attach

    def attach(window)

window :

a gtk.Window.

Returns :

a gtk.Style object

The attach() method adapts a style to @@ -310,7 +310,7 @@ clipping rectangle. The widget state specified by state_type determines the graphics context to use while drawing. Currently the grip can only be drawn at the -gtk.WINDOW_EDGE_SOUTH_EAST (lower right) edge.

Signals

The "realize" gtk.Style Signal

    def callback(style, user_param1, ...)

style :

the object which received the +gtk.WINDOW_EDGE_SOUTH_EAST (lower right) edge.

Signals

The "realize" gtk.Style Signal

    def callback(style, user_param1, ...)

style :

the object which received the signal.

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if any)

Note

This signal is available in GTK+ 2.4 and above.

Emitted when the style has been initialized for a particular diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtktable.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtktable.html --- pygtk-2.14.1/docs/html/class-gtktable.html 2009-03-05 22:49:21.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtktable.html 2009-05-24 23:12:25.000000000 +0100 @@ -1,10 +1,10 @@ -gtk.Table

gtk.Table

gtk.Table — layout widgets in a two-dimensional array

Synopsis

class gtk.Table(gtk.Container):
-    gtk.Table(rows=1, columns=1, homogeneous=False)
def resize(rows, columns)
def attach(child, left_attach, right_attach, top_attach, bottom_attach, xoptions=gtk.EXPAND|gtk.FILL, yoptions=gtk.EXPAND|gtk.FILL, xpadding=0, ypadding=0)
def set_row_spacing(row, spacing)
def get_row_spacing(row)
def set_col_spacing(column, spacing)
def get_col_spacing(column)
def set_row_spacings(spacing)
def get_default_row_spacing()
def set_col_spacings(spacing)
def get_default_col_spacing()
def set_homogeneous(homogeneous)
def get_homogeneous()

Ancestry

+-- gobject.GObject
+gtk.Table

gtk.Table

gtk.Table — layout widgets in a two-dimensional array

Synopsis

class gtk.Table(gtk.Container):
+    gtk.Table(rows=1, columns=1, homogeneous=False)
def resize(rows, columns)
def attach(child, left_attach, right_attach, top_attach, bottom_attach, xoptions=gtk.EXPAND|gtk.FILL, yoptions=gtk.EXPAND|gtk.FILL, xpadding=0, ypadding=0)
def set_row_spacing(row, spacing)
def get_row_spacing(row)
def set_col_spacing(column, spacing)
def get_col_spacing(column)
def set_row_spacings(spacing)
def get_default_row_spacing()
def set_col_spacings(spacing)
def get_default_col_spacing()
def set_homogeneous(homogeneous)
def get_homogeneous()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Table
-

Implemented Interfaces

+

Implemented Interfaces

gtk.Table implements gtk.Buildable @@ -16,7 +16,7 @@ and right neighbors, in pixels

"y-options"Read-Writethe vertical behavior of the child - a combination of: gtk.EXPAND, gtk.SHRINK and gtk.FILL
"y-padding"Read-WriteExtra space added between the child widget and its top -and bottom neighbors, in pixels

gtk.Table Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

Description

The gtk.Table manages a +and bottom neighbors, in pixels

gtk.Table Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

Description

The gtk.Table manages a group of widgets that are arranged in rows and columns, making it easy to align many widgets next to each other, horizontally and vertically. Tables are created with a call to gtk.Table(). The size of a table can @@ -39,7 +39,7 @@ must be in the range 0 .. 65535. If homogeneous is True the table cells will all be the same size as the largest cell. If rows or -columns are not specified they default to 1.

Methods

gtk.Table.resize

    def resize(rows, columns)

rows :

The new number of rows.

columns :

The new number of columns.

The resize() method changes the size of +columns are not specified they default to 1.

Methods

gtk.Table.resize

    def resize(rows, columns)

rows :

The new number of rows.

columns :

The new number of columns.

The resize() method changes the size of the table as specified by the parameters, rows and columns.

gtk.Table.attach

    def attach(child, left_attach, right_attach, top_attach, bottom_attach, xoptions=gtk.EXPAND|gtk.FILL, yoptions=gtk.EXPAND|gtk.FILL, xpadding=0, ypadding=0)

child :

the widget to add.

left_attach :

the column number to attach the left side of a child widget to.

right_attach :

the column number to attach the right side of a diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtktearoffmenuitem.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtktearoffmenuitem.html --- pygtk-2.14.1/docs/html/class-gtktearoffmenuitem.html 2009-03-05 22:49:21.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtktearoffmenuitem.html 2009-05-24 23:12:25.000000000 +0100 @@ -1,6 +1,6 @@ gtk.TearoffMenuItem

gtk.TearoffMenuItem

gtk.TearoffMenuItem — a menu item used to tear off and reattach its -menu.

Synopsis

class gtk.TearoffMenuItem(gtk.MenuItem):
-    gtk.TearoffMenuItem()

Ancestry

+-- gobject.GObject
+menu.

Synopsis

class gtk.TearoffMenuItem(gtk.MenuItem):
+    gtk.TearoffMenuItem()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
@@ -8,11 +8,11 @@
           +-- gtk.Item
             +-- gtk.MenuItem
               +-- gtk.TearoffMenuItem
-

Implemented Interfaces

+

Implemented Interfaces

gtk.TearoffMenuItem implements gtk.Buildable -

Description

A gtk.TearoffMenuItem +

Description

A gtk.TearoffMenuItem is a special gtk.MenuItem which is used to tear off and reattach its menu. When its menu is shown normally, the gtk.TearoffMenuItem diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtktextattributes.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtktextattributes.html --- pygtk-2.14.1/docs/html/class-gtktextattributes.html 2009-03-05 22:49:22.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtktextattributes.html 2009-05-24 23:12:26.000000000 +0100 @@ -1,6 +1,6 @@ gtk.TextAttributes

gtk.TextAttributes

gtk.TextAttributes — an object containing the attributes set on some -text

Synopsis

class gtk.TextAttributes(gobject.GBoxed):
-    gtk.TextAttributes()
def copy()
def copy_values(dest)

Attributes

"bg_color"ReadThe background color
"fg_color"ReadThe foreground color
"bg_stipple"ReadThe background stipple bitmap
"fg_stipple"ReadThe foreground stipple bitmap
"rise"ReadThe subscript or superscript rise
"underline"ReadThe style of underline - one of: +text

Synopsis

class gtk.TextAttributes(gobject.GBoxed):
+    gtk.TextAttributes()
def copy()
def copy_values(dest)

Attributes

"bg_color"ReadThe background color
"fg_color"ReadThe foreground color
"bg_stipple"ReadThe background stipple bitmap
"fg_stipple"ReadThe foreground stipple bitmap
"rise"ReadThe subscript or superscript rise
"underline"ReadThe style of underline - one of: pango.UNDERLINE_NONE, pango.UNDERLINE_SINGLE, pango.UNDERLINE_DOUBLE, @@ -18,7 +18,7 @@ describing the text language
"invisible"ReadIf True the text is hidden (Not implemented in PyGTK2)
"bg_full_height"ReadIf True the background is fit to the full line height
"editable"ReadIf True the text is editable
"realized"ReadIf True the text has been -realized
"pad1"Read 
"pad2"Read 
"pad3"Read 
"pad4"Read 

Description

A gtk.TextAttributes +realized

"pad1"Read 
"pad2"Read 
"pad3"Read 
"pad4"Read 

Description

A gtk.TextAttributes object holds a set of attributes that describe the properties of a section of text. A gtk.TextAttributes object is usually obtained by calling either of the gtk.TextIter.get_attributes() @@ -33,7 +33,7 @@ object as an argument. The most effective way to use a gtk.TextAttributes object is to read its attributes and use them to set the properties of a gtk.TextTag.

Constructor

    gtk.TextAttributes()

Returns :

a new gtk.TextAttributes

Creates a gtk.TextAttributes -object, that contains a set of attributes of some text.

Methods

gtk.TextAttributes.copy

    def copy()

Returns :

a copy of the gtk.TextAttributes +object, that contains a set of attributes of some text.

Methods

gtk.TextAttributes.copy

    def copy()

Returns :

a copy of the gtk.TextAttributes object

The copy() method copies the text attributes and returns a new gtk.TextAttributes object.

gtk.TextAttributes.copy_values

    def copy_values(dest)

dest :

the gtk.TextAttributes diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtktextbuffer.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtktextbuffer.html --- pygtk-2.14.1/docs/html/class-gtktextbuffer.html 2009-03-05 22:49:25.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtktextbuffer.html 2009-05-24 23:12:29.000000000 +0100 @@ -1,5 +1,5 @@ -gtk.TextBuffer

gtk.TextBuffer

gtk.TextBuffer — stores attributed text for display in a gtk.TextView

Synopsis

class gtk.TextBuffer(gobject.GObject):
-    gtk.TextBuffer(table=None)
def get_line_count()
def get_char_count()
def get_tag_table()
def set_text(text)
def insert(iter, text)
def insert_at_cursor(text)
def insert_interactive(iter, text, default_editable)
def insert_interactive_at_cursor(text, default_editable)
def insert_range(iter, start, end)
def insert_range_interactive(iter, start, end, default_editable)
def insert_with_tags(iter, text, ...)
def insert_with_tags_by_name(iter, text, ...)
def delete(start, end)
def delete_interactive(start_iter, end_iter, default_editable)
def get_text(start, end, include_hidden_chars=True)
def get_slice(start, end, include_hidden_chars=True)
def insert_pixbuf(iter, pixbuf)
def insert_child_anchor(iter, anchor)
def create_child_anchor(iter)
def create_mark(mark_name, where, left_gravity=False)
def move_mark(mark, where)
def delete_mark(mark)
def get_mark(name)
def move_mark_by_name(name, where)
def delete_mark_by_name(name)
def get_insert()
def get_selection_bound()
def place_cursor(where)
def select_range(ins, bound)
def apply_tag(tag, start, end)
def remove_tag(tag, start, end)
def apply_tag_by_name(name, start, end)
def remove_tag_by_name(name, start, end)
def remove_all_tags(start, end)
def create_tag(tag_name=None, ...)
def get_iter_at_line_offset(line_number, char_offset)
def get_iter_at_line_index(line_number, byte_index)
def get_iter_at_offset(char_offset)
def get_iter_at_line(line_number)
def get_start_iter()
def get_end_iter()
def get_bounds()
def get_iter_at_mark(mark)
def get_iter_at_child_anchor(anchor)
def get_modified()
def set_modified(setting)
def add_selection_clipboard(clipboard)
def remove_selection_clipboard(clipboard)
def cut_clipboard(clipboard, default_editable)
def copy_clipboard(clipboard)
def paste_clipboard(clipboard, override_location, default_editable)
def get_selection_bounds()
def delete_selection(interactive, default_editable)
def begin_user_action()
def end_user_action()
def backspace(iter, interactive, default_editable)
def get_has_selection()
def get_copy_target_list()
def get_paste_target_list()
def register_serialize_format(mime_type, function, user_data)
def register_serialize_tagset(tagset_name=NULL)
def register_deserialize_format(mime_type, function, user_data)
def register_deserialize_tagset(tagset_name=NULL)
def unregister_serialize_format(format)
def unregister_deserialize_format(format)
def deserialize_set_can_create_tags(format, can_create_tags)
def deserialize_get_can_create_tags(format)
def get_serialize_formats()
def get_deserialize_formats()
def serialize(content_buffer, format, start, end)
def deserialize(content_buffer, format, iter, data)
def add_mark(mark, where)

Ancestry

+-- gobject.GObject
+gtk.TextBuffer

gtk.TextBuffer

gtk.TextBuffer — stores attributed text for display in a gtk.TextView

Synopsis

class gtk.TextBuffer(gobject.GObject):
+    gtk.TextBuffer(table=None)
def get_line_count()
def get_char_count()
def get_tag_table()
def set_text(text)
def insert(iter, text)
def insert_at_cursor(text)
def insert_interactive(iter, text, default_editable)
def insert_interactive_at_cursor(text, default_editable)
def insert_range(iter, start, end)
def insert_range_interactive(iter, start, end, default_editable)
def insert_with_tags(iter, text, ...)
def insert_with_tags_by_name(iter, text, ...)
def delete(start, end)
def delete_interactive(start_iter, end_iter, default_editable)
def get_text(start, end, include_hidden_chars=True)
def get_slice(start, end, include_hidden_chars=True)
def insert_pixbuf(iter, pixbuf)
def insert_child_anchor(iter, anchor)
def create_child_anchor(iter)
def create_mark(mark_name, where, left_gravity=False)
def move_mark(mark, where)
def delete_mark(mark)
def get_mark(name)
def move_mark_by_name(name, where)
def delete_mark_by_name(name)
def get_insert()
def get_selection_bound()
def place_cursor(where)
def select_range(ins, bound)
def apply_tag(tag, start, end)
def remove_tag(tag, start, end)
def apply_tag_by_name(name, start, end)
def remove_tag_by_name(name, start, end)
def remove_all_tags(start, end)
def create_tag(tag_name=None, ...)
def get_iter_at_line_offset(line_number, char_offset)
def get_iter_at_line_index(line_number, byte_index)
def get_iter_at_offset(char_offset)
def get_iter_at_line(line_number)
def get_start_iter()
def get_end_iter()
def get_bounds()
def get_iter_at_mark(mark)
def get_iter_at_child_anchor(anchor)
def get_modified()
def set_modified(setting)
def add_selection_clipboard(clipboard)
def remove_selection_clipboard(clipboard)
def cut_clipboard(clipboard, default_editable)
def copy_clipboard(clipboard)
def paste_clipboard(clipboard, override_location, default_editable)
def get_selection_bounds()
def delete_selection(interactive, default_editable)
def begin_user_action()
def end_user_action()
def backspace(iter, interactive, default_editable)
def get_has_selection()
def get_copy_target_list()
def get_paste_target_list()
def register_serialize_format(mime_type, function, user_data)
def register_serialize_tagset(tagset_name=NULL)
def register_deserialize_format(mime_type, function, user_data)
def register_deserialize_tagset(tagset_name=NULL)
def unregister_serialize_format(format)
def unregister_deserialize_format(format)
def deserialize_set_can_create_tags(format, can_create_tags)
def deserialize_get_can_create_tags(format)
def get_serialize_formats()
def get_deserialize_formats()
def serialize(content_buffer, format, start, end)
def deserialize(content_buffer, format, iter, data)
def add_mark(mark, where)

Ancestry

+-- gobject.GObject
   +-- gtk.TextBuffer
 

gtk.TextBuffer Properties

"copy-target-list"ReadThe list of targets this buffer supports for clipboard copying and as DND source. This property is available in GTK+ @@ -16,8 +16,8 @@ above.
"text"Read-WriteThe text content of the buffer. Without child widgets and images, see the gtk.TextBuffer.get_text() method for more information. Default value: "". This property - is available in GTK+ 2.8 and above.

Attributes

"tag_table"ReadThe gtk.TextTagTable -associated with the textbuffer.

gtk.TextBuffer Signal Prototypes

gobject.GObject Signal Prototypes

"apply-tag"

def callback(textbuffer, texttag, start, end, user_param1, ...)

"begin-user-action"

def callback(textbuffer, user_param1, ...)

"changed"

def callback(textbuffer, user_param1, ...)

"delete-range"

def callback(textbuffer, start, end, user_param1, ...)

"end-user-action"

def callback(textbuffer, user_param1, ...)

"insert-child-anchor"

def callback(textbuffer, iter, anchor, user_param1, ...)

"insert-pixbuf"

def callback(textbuffer, iter, pixbuf, user_param1, ...)

"insert-text"

def callback(textbuffer, iter, text, length, user_param1, ...)

"mark-deleted"

def callback(textbuffer, textmark, user_param1, ...)

"mark-set"

def callback(textbuffer, iter, textmark, user_param1, ...)

"modified-changed"

def callback(textbuffer, user_param1, ...)

"remove-tag"

def callback(textbuffer, texttag, start, end, user_param1, ...)

Description

A gtk.TextBuffer + is available in GTK+ 2.8 and above.

Attributes

"tag_table"ReadThe gtk.TextTagTable +associated with the textbuffer.

gtk.TextBuffer Signal Prototypes

gobject.GObject Signal Prototypes

"apply-tag"

def callback(textbuffer, texttag, start, end, user_param1, ...)

"begin-user-action"

def callback(textbuffer, user_param1, ...)

"changed"

def callback(textbuffer, user_param1, ...)

"delete-range"

def callback(textbuffer, start, end, user_param1, ...)

"end-user-action"

def callback(textbuffer, user_param1, ...)

"insert-child-anchor"

def callback(textbuffer, iter, anchor, user_param1, ...)

"insert-pixbuf"

def callback(textbuffer, iter, pixbuf, user_param1, ...)

"insert-text"

def callback(textbuffer, iter, text, length, user_param1, ...)

"mark-deleted"

def callback(textbuffer, textmark, user_param1, ...)

"mark-set"

def callback(textbuffer, iter, textmark, user_param1, ...)

"modified-changed"

def callback(textbuffer, user_param1, ...)

"remove-tag"

def callback(textbuffer, texttag, start, end, user_param1, ...)

Description

A gtk.TextBuffer is the core component of the PyGTK text editing system. A gtk.TextBuffer contains the text, pixbufs and child widget anchors that are displayed in one or more gtk.TextView @@ -32,7 +32,7 @@ method or the gtk.TextView() constructor.

Constructor

    gtk.TextBuffer(table=None)

table :

a tag table, or None to create a new one

Returns :

a new text buffer object

Creates a new gtk.TextBuffer -object.

Methods

gtk.TextBuffer.get_line_count

    def get_line_count()

Returns :

the number of lines in the +object.

Methods

gtk.TextBuffer.get_line_count

    def get_line_count()

Returns :

the number of lines in the buffer

The get_line_count() method returns the number of lines in the buffer. This value is cached, so the function is very fast.

gtk.TextBuffer.get_char_count

    def get_char_count()

Returns :

the number of characters in the @@ -574,7 +574,7 @@ methods beforehand.

gtk.TextBuffer.add_mark

    def add_mark(mark, where)

mark :

the gtk.TextMark to add

where :

the location to place mark.

Note

This method is available in PyGTK 2.12 and above.

Adds the mark at position where. The mark must not be added to another buffer, and if its name is not None - then there must not be another mark in the buffer with the same name.

Emits the "mark_set" signal as notification of the mark's initial placement.

Signals

The "apply-tag" gtk.TextBuffer Signal

    def callback(textbuffer, texttag, start, end, user_param1, ...)

textbuffer :

the textbuffer that received the + then there must not be another mark in the buffer with the same name.

Emits the "mark_set" signal as notification of the mark's initial placement.

Signals

The "apply-tag" gtk.TextBuffer Signal

    def callback(textbuffer, texttag, start, end, user_param1, ...)

textbuffer :

the textbuffer that received the signal

texttag :

the gtk.TextTag being applied

start :

a gtk.TextIter pointing to the start of the range of text

end :

a gtk.TextIter diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtktextchildanchor.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtktextchildanchor.html --- pygtk-2.14.1/docs/html/class-gtktextchildanchor.html 2009-03-05 22:49:25.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtktextchildanchor.html 2009-05-24 23:12:29.000000000 +0100 @@ -1,7 +1,7 @@ -gtk.TextChildAnchor

gtk.TextChildAnchor

gtk.TextChildAnchor — a location in a textbuffer for placing widgets

Synopsis

class gtk.TextChildAnchor(gobject.GObject):
-    gtk.TextChildAnchor()
def get_widgets()
def get_deleted()

Ancestry

+-- gobject.GObject
+gtk.TextChildAnchor

gtk.TextChildAnchor

gtk.TextChildAnchor — a location in a textbuffer for placing widgets

Synopsis

class gtk.TextChildAnchor(gobject.GObject):
+    gtk.TextChildAnchor()
def get_widgets()
def get_deleted()

Ancestry

+-- gobject.GObject
   +-- gtk.TextChildAnchor
-

gtk.TextChildAnchor Signal Prototypes

gobject.GObject Signal Prototypes

Description

A gtk.TextChildAnchor +

gtk.TextChildAnchor Signal Prototypes

gobject.GObject Signal Prototypes

Description

A gtk.TextChildAnchor provides a location in a gtk.TextBuffer for placing child widgets in a gtk.TextView. Since a gtk.TextBuffer @@ -14,7 +14,7 @@ with the gtk.TextBuffer.insert_child_anchor() method. To perform the creation and insertion in one step, use the convenience method gtk.TextBuffer.create_child_anchor() -method.

Methods

gtk.TextChildAnchor.get_widgets

    def get_widgets()

Returns :

a list of widgets anchored at the child +method.

Methods

gtk.TextChildAnchor.get_widgets

    def get_widgets()

Returns :

a list of widgets anchored at the child anchor

The get_widgets() method returns a list of all widgets anchored at this child anchor from all the associated textviews.

gtk.TextChildAnchor.get_deleted

    def get_deleted()

Returns :

True if the child anchor has diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtktextiter.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtktextiter.html --- pygtk-2.14.1/docs/html/class-gtktextiter.html 2009-03-05 22:49:27.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtktextiter.html 2009-05-24 23:12:31.000000000 +0100 @@ -1,5 +1,5 @@ -gtk.TextIter

gtk.TextIter

gtk.TextIter — an object pointing at a location in a gtk.TextBuffer

Synopsis

class gtk.TextIter(gobject.GBoxed):
-    def get_buffer()
def copy()
def get_offset()
def get_line()
def get_line_offset()
def get_line_index()
def get_visible_line_offset()
def get_visible_line_index()
def get_char()
def get_slice(end)
def get_text(end)
def get_visible_slice(end)
def get_visible_text(end)
def get_pixbuf()
def get_marks()
def get_child_anchor()
def get_toggled_tags(toggled_on)
def begins_tag(tag=None)
def ends_tag(tag=None)
def toggles_tag(tag=None)
def has_tag(tag)
def get_tags()
def editable(default_setting)
def can_insert(default_editability)
def starts_word()
def ends_word()
def inside_word()
def starts_sentence()
def ends_sentence()
def inside_sentence()
def starts_line()
def ends_line()
def is_cursor_position()
def get_chars_in_line()
def get_bytes_in_line()
def get_attributes(values)
def get_language()
def is_end()
def is_start()
def forward_char()
def backward_char()
def forward_chars(count)
def backward_chars(count)
def forward_line()
def backward_line()
def forward_lines(count)
def backward_lines(count)
def forward_word_ends(count)
def backward_word_starts(count)
def forward_word_end()
def backward_word_start()
def forward_cursor_position()
def backward_cursor_position()
def forward_cursor_positions(count)
def backward_cursor_positions(count)
def backward_sentence_start()
def forward_sentence_end()
def backward_sentence_starts(count)
def forward_sentence_ends(count)
def forward_visible_word_ends(count)
def backward_visible_word_starts(count)
def forward_visible_word_end()
def backward_visible_word_start()
def forward_visible_cursor_position()
def backward_visible_cursor_position()
def forward_visible_cursor_positions(count)
def backward_visible_cursor_positions(count)
def forward_visible_line()
def backward_visible_line()
def forward_visible_lines(count)
def backward_visible_lines(count)
def set_offset(char_offset)
def set_line(line_number)
def set_line_offset(char_on_line)
def set_line_index(byte_on_line)
def forward_to_end()
def forward_to_line_end()
def set_visible_line_offset(char_on_line)
def set_visible_line_index(byte_on_line)
def forward_to_tag_toggle(tag)
def backward_to_tag_toggle(tag)
def forward_find_char(pred, user_data, limit)
def backward_find_char(pred, user_data, limit)
def forward_search(str, flags, limit=None)
def backward_search(str, flags, limit=None)
def equal(rhs)
def compare(rhs)
def in_range(start, end)
def order(second)

Description

A gtk.TextIter +gtk.TextIter

gtk.TextIter

gtk.TextIter — an object pointing at a location in a gtk.TextBuffer

Synopsis

class gtk.TextIter(gobject.GBoxed):
+    def get_buffer()
def copy()
def get_offset()
def get_line()
def get_line_offset()
def get_line_index()
def get_visible_line_offset()
def get_visible_line_index()
def get_char()
def get_slice(end)
def get_text(end)
def get_visible_slice(end)
def get_visible_text(end)
def get_pixbuf()
def get_marks()
def get_child_anchor()
def get_toggled_tags(toggled_on)
def begins_tag(tag=None)
def ends_tag(tag=None)
def toggles_tag(tag=None)
def has_tag(tag)
def get_tags()
def editable(default_setting)
def can_insert(default_editability)
def starts_word()
def ends_word()
def inside_word()
def starts_sentence()
def ends_sentence()
def inside_sentence()
def starts_line()
def ends_line()
def is_cursor_position()
def get_chars_in_line()
def get_bytes_in_line()
def get_attributes(values)
def get_language()
def is_end()
def is_start()
def forward_char()
def backward_char()
def forward_chars(count)
def backward_chars(count)
def forward_line()
def backward_line()
def forward_lines(count)
def backward_lines(count)
def forward_word_ends(count)
def backward_word_starts(count)
def forward_word_end()
def backward_word_start()
def forward_cursor_position()
def backward_cursor_position()
def forward_cursor_positions(count)
def backward_cursor_positions(count)
def backward_sentence_start()
def forward_sentence_end()
def backward_sentence_starts(count)
def forward_sentence_ends(count)
def forward_visible_word_ends(count)
def backward_visible_word_starts(count)
def forward_visible_word_end()
def backward_visible_word_start()
def forward_visible_cursor_position()
def backward_visible_cursor_position()
def forward_visible_cursor_positions(count)
def backward_visible_cursor_positions(count)
def forward_visible_line()
def backward_visible_line()
def forward_visible_lines(count)
def backward_visible_lines(count)
def set_offset(char_offset)
def set_line(line_number)
def set_line_offset(char_on_line)
def set_line_index(byte_on_line)
def forward_to_end()
def forward_to_line_end()
def set_visible_line_offset(char_on_line)
def set_visible_line_index(byte_on_line)
def forward_to_tag_toggle(tag)
def backward_to_tag_toggle(tag)
def forward_find_char(pred, user_data, limit)
def backward_find_char(pred, user_data, limit)
def forward_search(str, flags, limit=None)
def backward_search(str, flags, limit=None)
def equal(rhs)
def compare(rhs)
def in_range(start, end)
def order(second)

Description

A gtk.TextIter points to a position between two characters in a gtk.TextBuffer. A gtk.TextIter is usually created using a gtk.TextBuffer @@ -8,7 +8,7 @@ inserting or deleting pixbufs or child anchors. There are a huge number of gtk.TextIter methods mostly dealing with moving the textiter location in the textbuffer, -checking the location or retrieving text or objects at a location.

Methods

gtk.TextIter.get_buffer

    def get_buffer()

Returns :

the textbuffer

The get_buffer() method returns the +checking the location or retrieving text or objects at a location.

Methods

gtk.TextIter.get_buffer

    def get_buffer()

Returns :

the textbuffer

The get_buffer() method returns the gtk.TextBuffer object this iterator is associated with.

gtk.TextIter.copy

    def copy()

Returns :

a copy of the textiter

The copy() method creates a copy of the textiter.

gtk.TextIter.get_offset

    def get_offset()

Returns :

a character offset

The get_offset() method returns the diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtktextmark.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtktextmark.html --- pygtk-2.14.1/docs/html/class-gtktextmark.html 2009-03-05 22:49:28.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtktextmark.html 2009-05-24 23:12:31.000000000 +0100 @@ -1,8 +1,8 @@ gtk.TextMark

gtk.TextMark

gtk.TextMark — a position in a textbuffer that is preserved across -textbuffer modifications

Synopsis

class gtk.TextMark(gobject.GObject):
-    def set_visible(setting)
def get_visible()
def get_name()
def get_deleted()
def get_buffer()
def get_left_gravity()

Ancestry

+-- gobject.GObject
+textbuffer modifications

Synopsis

class gtk.TextMark(gobject.GObject):
+    def set_visible(setting)
def get_visible()
def get_name()
def get_deleted()
def get_buffer()
def get_left_gravity()

Ancestry

+-- gobject.GObject
   +-- gtk.TextMark
-

gtk.TextMark Signal Prototypes

gobject.GObject Signal Prototypes

Description

A gtk.TextMark is +

gtk.TextMark Signal Prototypes

gobject.GObject Signal Prototypes

Description

A gtk.TextMark is like a bookmark in a textbuffer - it preserves a position in the text. You can get an iterator corresponding to a textmark by using the gtk.TextBuffer.get_iter_at_mark() method. Unlike iterators, textmarks remain valid across buffer modifications @@ -17,7 +17,7 @@ has two built-in gtk.TextMark objects named: insert and selection_bound which refer to the insertion point and -the boundary of the selection (these may refer to the same location).

Methods

gtk.TextMark.set_visible

    def set_visible(setting)

setting :

if True the textmark is +the boundary of the selection (these may refer to the same location).

Methods

gtk.TextMark.set_visible

    def set_visible(setting)

setting :

if True the textmark is visible

The set_visible() method sets the visibility of the textmark to the value specified by setting. If setting is diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtktexttag.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtktexttag.html --- pygtk-2.14.1/docs/html/class-gtktexttag.html 2009-03-05 22:49:28.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtktexttag.html 2009-05-24 23:12:32.000000000 +0100 @@ -1,5 +1,5 @@ -gtk.TextTag

gtk.TextTag

gtk.TextTag — an object used to apply attributes to text in a gtk.TextBuffer

Synopsis

class gtk.TextTag(gobject.GObject):
-    gtk.TextTag(name=None)
def get_priority()
def set_priority(priority)
def event(event_object, event, iter)

Ancestry

+-- gobject.GObject
+gtk.TextTag

gtk.TextTag

gtk.TextTag — an object used to apply attributes to text in a gtk.TextBuffer

Synopsis

class gtk.TextTag(gobject.GObject):
+    gtk.TextTag(name=None)
def get_priority()
def set_priority(priority)
def event(event_object, event, iter)

Ancestry

+-- gobject.GObject
   +-- gtk.TextTag
 

gtk.TextTag Properties

"accumulative-margin"Read-WriteWhether the margins accumulate or override each other. When set to True the margins of this tag are added to the margins @@ -91,7 +91,7 @@ weight
"wrap-mode"Read-WriteThe wrap mode of the text: gtk.WRAP_NONE, gtk.WRAP_CHAR or gtk.WRAP_WORD
"wrap-mode-set"Read-WriteIf True, this tag affects line wrap -mode

gtk.TextTag Signal Prototypes

gobject.GObject Signal Prototypes

"event"

def callback(texttag, widget, event, iter, user_param1, ...)

Description

A gtk.TextTag object +mode

gtk.TextTag Signal Prototypes

gobject.GObject Signal Prototypes

"event"

def callback(texttag, widget, event, iter, user_param1, ...)

Description

A gtk.TextTag object holds attributes that can be applied to a range of text in a gtk.TextBuffer. A texttag can be associated with more than one gtk.TextBuffer by adding it to the gtk.TextTagTable @@ -108,7 +108,7 @@ the name specified by name. If name is None the texttag will be anonymous. The texttag attributes are configured using the GObject.set_property() -method.

Methods

gtk.TextTag.get_priority

    def get_priority()

Returns :

the texttag's priority.

The get_priority() method returns the priority or the +method.

Methods

gtk.TextTag.get_priority

    def get_priority()

Returns :

the texttag's priority.

The get_priority() method returns the priority or the texttag.

gtk.TextTag.set_priority

    def set_priority(priority)

priority :

the new priority

The set_priority() method sets the priority of a gtk.TextTag to the value specified by priority. Valid priorities start @@ -129,7 +129,7 @@ widget specified by event_object with the event specified by event at the textbuffer location specified by iter. This method returns -True if the event was handled.

Signals

The "event" gtk.TextTag Signal

    def callback(texttag, widget, event, iter, user_param1, ...)

texttag :

the texttag that received the +True if the event was handled.

Signals

The "event" gtk.TextTag Signal

    def callback(texttag, widget, event, iter, user_param1, ...)

texttag :

the texttag that received the signal

widget :

the widget that received event

event :

the event

iter :

the gtk.TextIter pointing to the location where the event was received

user_param1 :

the first user parameter (if any) specified diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtktexttagtable.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtktexttagtable.html --- pygtk-2.14.1/docs/html/class-gtktexttagtable.html 2009-03-05 22:49:29.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtktexttagtable.html 2009-05-24 23:12:32.000000000 +0100 @@ -1,8 +1,8 @@ gtk.TextTagTable

gtk.TextTagTable

gtk.TextTagTable — A collection of gtk.TextTag objects -that can be used together

Synopsis

class gtk.TextTagTable(gobject.GObject):
-    gtk.TextTagTable()
def add(tag)
def remove(tag)
def lookup(name)
def foreach(func, data=None)
def get_size()

Ancestry

+-- gobject.GObject
+that can be used together

Synopsis

class gtk.TextTagTable(gobject.GObject):
+    gtk.TextTagTable()
def add(tag)
def remove(tag)
def lookup(name)
def foreach(func, data=None)
def get_size()

Ancestry

+-- gobject.GObject
   +-- gtk.TextTagTable
-

gtk.TextTagTable Signal Prototypes

gobject.GObject Signal Prototypes

"tag-added"

def callback(texttagtable, texttag, user_param1, ...)

"tag-changed"

def callback(texttagtable, texttag, size_changed, user_param1, ...)

"tag-removed"

def callback(texttagtable, texttag, user_param1, ...)

Description

A gtk.TextTagTable +

gtk.TextTagTable Signal Prototypes

gobject.GObject Signal Prototypes

"tag-added"

def callback(texttagtable, texttag, user_param1, ...)

"tag-changed"

def callback(texttagtable, texttag, size_changed, user_param1, ...)

"tag-removed"

def callback(texttagtable, texttag, user_param1, ...)

Description

A gtk.TextTagTable object holds a set of gtk.TextTag objects for use with a gtk.TextBuffer. Usually a gtk.TextTagTable @@ -14,7 +14,7 @@ associate an existing gtk.TextTagTable rather than creating a new one. This is useful when several textbuffers need to use the same texttags.

Constructor

    gtk.TextTagTable()

Returns :

a new gtk.TextTagTable

Creates a new gtk.TextTagTable. -The table contains no tags by default.

Methods

gtk.TextTagTable.add

    def add(tag)

tag :

a gtk.TextTag

The add() method adds a texttag to the +The table contains no tags by default.

Methods

gtk.TextTagTable.add

    def add(tag)

tag :

a gtk.TextTag

The add() method adds a texttag to the texttagtable. The texttag is assigned the highest priority in the texttagtable. A ValueError exception is raised if tag is in a texttag table already, or has the same @@ -37,7 +37,7 @@ data. Note that the table may not be modified while iterating over it (you can't add/remove tags).

gtk.TextTagTable.get_size

    def get_size()

Returns :

the number of texttags in the texttagtable

The get_size() method returns the size -of the texttagtable (number of texttags).

Signals

The "tag-added" gtk.TextTagTable Signal

    def callback(texttagtable, texttag, user_param1, ...)

texttagtable :

the texttagtable that received the +of the texttagtable (number of texttags).

Signals

The "tag-added" gtk.TextTagTable Signal

    def callback(texttagtable, texttag, user_param1, ...)

texttagtable :

the texttagtable that received the signal

texttag :

a gtk.TextTag

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtktextview.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtktextview.html --- pygtk-2.14.1/docs/html/class-gtktextview.html 2009-03-05 22:49:31.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtktextview.html 2009-05-24 23:12:34.000000000 +0100 @@ -1,10 +1,10 @@ -gtk.TextView

gtk.TextView

gtk.TextView — a widget that displays the contents of a gtk.TextBuffer

Synopsis

class gtk.TextView(gtk.Container):
-    gtk.TextView(buffer=None)
def set_buffer(buffer)
def get_buffer()
def scroll_to_iter(iter, within_margin, use_align=False, xalign=0.5, yalign=0.5)
def scroll_to_mark(mark, within_margin, use_align=False, xalign=0.5, yalign=0.5)
def scroll_mark_onscreen(mark)
def move_mark_onscreen(mark)
def place_cursor_onscreen()
def get_visible_rect()
def set_cursor_visible(setting)
def get_cursor_visible()
def get_iter_location(iter)
def get_iter_at_location(x, y)
def get_line_yrange(iter)
def get_line_at_y(target_iter)
def buffer_to_window_coords(win, buffer_x, buffer_y)
def window_to_buffer_coords(win, window_x, window_y)
def get_window(win)
def get_window_type(window)
def set_border_window_size(type, size)
def get_border_window_size(type)
def forward_display_line(iter)
def backward_display_line(iter)
def forward_display_line_end(iter)
def backward_display_line_start(iter)
def starts_display_line(iter)
def move_visually(iter, count)
def add_child_at_anchor(child, anchor)
def add_child_in_window(child, which_window, xpos, ypos)
def move_child(child, xpos, ypos)
def set_wrap_mode(wrap_mode)
def get_wrap_mode()
def set_editable(setting)
def get_editable()
def set_overwrite(overwrite)
def get_overwrite()
def set_accepts_tab(accepts_tab)
def get_accepts_tab()
def set_pixels_above_lines(pixels_above_lines)
def get_pixels_above_lines()
def set_pixels_below_lines(pixels_below_lines)
def get_pixels_below_lines()
def set_pixels_inside_wrap(pixels_inside_wrap)
def get_pixels_inside_wrap()
def set_justification(justification)
def get_justification()
def set_left_margin(left_margin)
def get_left_margin()
def set_right_margin(right_margin)
def get_right_margin()
def set_indent(indent)
def get_indent()
def set_tabs(tabs)
def get_tabs()
def get_default_attributes()

Ancestry

+-- gobject.GObject
+gtk.TextView

gtk.TextView

gtk.TextView — a widget that displays the contents of a gtk.TextBuffer

Synopsis

class gtk.TextView(gtk.Container):
+    gtk.TextView(buffer=None)
def set_buffer(buffer)
def get_buffer()
def scroll_to_iter(iter, within_margin, use_align=False, xalign=0.5, yalign=0.5)
def scroll_to_mark(mark, within_margin, use_align=False, xalign=0.5, yalign=0.5)
def scroll_mark_onscreen(mark)
def move_mark_onscreen(mark)
def place_cursor_onscreen()
def get_visible_rect()
def set_cursor_visible(setting)
def get_cursor_visible()
def get_iter_location(iter)
def get_iter_at_location(x, y)
def get_line_yrange(iter)
def get_line_at_y(target_iter)
def buffer_to_window_coords(win, buffer_x, buffer_y)
def window_to_buffer_coords(win, window_x, window_y)
def get_window(win)
def get_window_type(window)
def set_border_window_size(type, size)
def get_border_window_size(type)
def forward_display_line(iter)
def backward_display_line(iter)
def forward_display_line_end(iter)
def backward_display_line_start(iter)
def starts_display_line(iter)
def move_visually(iter, count)
def add_child_at_anchor(child, anchor)
def add_child_in_window(child, which_window, xpos, ypos)
def move_child(child, xpos, ypos)
def set_wrap_mode(wrap_mode)
def get_wrap_mode()
def set_editable(setting)
def get_editable()
def set_overwrite(overwrite)
def get_overwrite()
def set_accepts_tab(accepts_tab)
def get_accepts_tab()
def set_pixels_above_lines(pixels_above_lines)
def get_pixels_above_lines()
def set_pixels_below_lines(pixels_below_lines)
def get_pixels_below_lines()
def set_pixels_inside_wrap(pixels_inside_wrap)
def get_pixels_inside_wrap()
def set_justification(justification)
def get_justification()
def set_left_margin(left_margin)
def get_left_margin()
def set_right_margin(right_margin)
def get_right_margin()
def set_indent(indent)
def get_indent()
def set_tabs(tabs)
def get_tabs()
def get_default_attributes()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.TextView
-

Implemented Interfaces

+

Implemented Interfaces

gtk.TextView implements gtk.Buildable @@ -66,7 +66,7 @@ widget displaying the gtk.TextBuffer specified by buffer. If buffer is None, a new gtk.TextBuffer -will be created. One textbuffer can be shared among many widgets.

Methods

gtk.TextView.set_buffer

    def set_buffer(buffer)

buffer :

a gtk.TextBuffer

The set_buffer() method sets the gtk.TextBuffer +will be created. One textbuffer can be shared among many widgets.

Methods

gtk.TextView.set_buffer

    def set_buffer(buffer)

buffer :

a gtk.TextBuffer

The set_buffer() method sets the gtk.TextBuffer specified by buffer as the textbuffer being displayed by the textview.

gtk.TextView.get_buffer

    def get_buffer()

Returns :

a gtk.TextBuffer

The get_buffer() method returns the gtk.TextBuffer @@ -453,7 +453,7 @@ returns a copy of the default gtk.TextAttributes. These attributes are used for text unless the text is influenced by a gtk.TextTag. You'd typically pass the default attributes in to the gtk.TextIter.get_attributes() -method to get the attributes in effect at a given text position.

Signals

The "backspace" gtk.TextView Signal

    def callback(textview, user_param1, ...)

textview :

the object which received the signal.

user_param1 :

the first user parameter (if any) specified +method to get the attributes in effect at a given text position.

Signals

The "backspace" gtk.TextView Signal

    def callback(textview, user_param1, ...)

textview :

the object which received the signal.

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if any)

Note

This signal is available in GTK+ 2.10 and above.

The "backspace" signal is emitted when the Backspace key is pressed.

The "copy-clipboard" gtk.TextView Signal

    def callback(textview, user_param1, ...)

textview :

the textview that received the diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtktoggleaction.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtktoggleaction.html --- pygtk-2.14.1/docs/html/class-gtktoggleaction.html 2009-03-05 22:49:31.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtktoggleaction.html 2009-05-24 23:12:35.000000000 +0100 @@ -1,16 +1,16 @@ gtk.ToggleAction

gtk.ToggleAction

gtk.ToggleAction — an action which can be - toggled between two states (new in PyGTK 2.4)

Synopsis

class gtk.ToggleAction(gtk.Action):
-    gtk.ToggleAction(name, label, tooltip, stock_id)
def toggled()
def set_active(is_active)
def get_active()
def set_draw_as_radio(draw_as_radio)
def get_draw_as_radio()

Ancestry

+-- gobject.GObject
+    toggled between two states (new in PyGTK 2.4)

Synopsis

class gtk.ToggleAction(gtk.Action):
+    gtk.ToggleAction(name, label, tooltip, stock_id)
def toggled()
def set_active(is_active)
def get_active()
def set_draw_as_radio(draw_as_radio)
def get_draw_as_radio()

Ancestry

+-- gobject.GObject
   +-- gtk.Action
     +-- gtk.ToggleAction
-

Implemented Interfaces

+

Implemented Interfaces

gtk.ToggleAction implements gtk.Buildable

gtk.ToggleAction Properties

gtk.Action Properties

"active"Read-WriteIf the toggle action should be active in or not. This property is available in GTK+ 2.10 and above.
"draw-as-radio"Read-WriteIf True, the proxies for this action look like radio action proxies. Available in GTK+ 2.4 and - above.

gtk.ToggleAction Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Action Signal Prototypes

"toggled"

def callback(toggleaction, user_param1, ...)

Description

Note

This object is available in PyGTK 2.4 and above.

A gtk.ToggleAction + above.

gtk.ToggleAction Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Action Signal Prototypes

"toggled"

def callback(toggleaction, user_param1, ...)

Description

Note

This object is available in PyGTK 2.4 and above.

A gtk.ToggleAction which is a subclass of gtk.Action corresponds roughly to a gtk.CheckMenuItem. It has an "active" state specifying whether the action has been checked or @@ -19,7 +19,7 @@ the action

Returns :

a new gtk.ToggleAction

Note

This constructor is available in PyGTK 2.4 and above.

Creates a new gtk.ToggleAction object. To add the action to a gtk.ActionGroup and set the accelerator for the action, call the gtk.ActionGroup.add_action_with_accel() -method.

Methods

gtk.ToggleAction.toggled

    def toggled()

Note

This method is available in PyGTK 2.4 and above.

The toggled() method emits the +method.

Methods

gtk.ToggleAction.toggled

    def toggled()

Note

This method is available in PyGTK 2.4 and above.

The toggled() method emits the "toggled" signal on the toggle action.

gtk.ToggleAction.set_active

    def set_active(is_active)

is_active :

if True the action should be checked

Note

This method is available in PyGTK 2.4 and above.

The set_active() method sets the checked state on the toggle action.

gtk.ToggleAction.get_active

    def get_active()

Returns :

True if the toggle action is @@ -33,7 +33,7 @@ have proxies like a radio action.

Note

This method is available in PyGTK 2.4 and above.

The get_draw_as_radio() method returns the value of the "draw-as-radio" property. If "draw-as-radio" is True the action should have proxies like a radio -action.

Signals

The "toggled" gtk.ToggleAction Signal

    def callback(toggleaction, user_param1, ...)

toggleaction :

the toggleaction that received the +action.

Signals

The "toggled" gtk.ToggleAction Signal

    def callback(toggleaction, user_param1, ...)

toggleaction :

the toggleaction that received the signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtktogglebutton.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtktogglebutton.html --- pygtk-2.14.1/docs/html/class-gtktogglebutton.html 2009-03-05 22:49:32.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtktogglebutton.html 2009-05-24 23:12:35.000000000 +0100 @@ -1,20 +1,20 @@ -gtk.ToggleButton

gtk.ToggleButton

gtk.ToggleButton — a button that retains its state

Synopsis

class gtk.ToggleButton(gtk.Button):
-    gtk.ToggleButton(label=None, use_underline=True)
def set_mode(draw_indicator)
def get_mode()
def set_active(is_active)
def get_active()
def toggled()
def set_inconsistent(setting)
def get_inconsistent()

Ancestry

+-- gobject.GObject
+gtk.ToggleButton

gtk.ToggleButton

gtk.ToggleButton — a button that retains its state

Synopsis

class gtk.ToggleButton(gtk.Button):
+    gtk.ToggleButton(label=None, use_underline=True)
def set_mode(draw_indicator)
def get_mode()
def set_active(is_active)
def get_active()
def toggled()
def set_inconsistent(setting)
def get_inconsistent()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Bin
           +-- gtk.Button
             +-- gtk.ToggleButton
-

Implemented Interfaces

+

Implemented Interfaces

gtk.ToggleButton implements gtk.Buildable

gtk.ToggleButton Properties

gtk.Object Properties

gtk.Widget Properties

gtk.Container Properties

gtk.Button Properties

"active"Read-WriteIf True, the toggle button should be pressed in.
"draw-indicator"Read-WriteIf True, the toggle part of the button is displayed.
"inconsistent"Read-WriteIf True, the toggle button is in an -"in between" state.

Attributes

"draw_indicator"ReadIf True, the toggle part of the -button is displayed.

gtk.ToggleButton Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

gtk.Button Signal Prototypes

"toggled"

def callback(togglebutton, user_param1, ...)

Description

A gtk.ToggleButton +"in between" state.

Attributes

"draw_indicator"ReadIf True, the toggle part of the +button is displayed.

gtk.ToggleButton Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

gtk.Button Signal Prototypes

"toggled"

def callback(togglebutton, user_param1, ...)

Description

A gtk.ToggleButton is a gtk.Button that has two stable states: 'pressed-in' ("on" or "active") and "normal" ("off" or "inactive"). The state changes to the alternate state each time the @@ -35,7 +35,7 @@ None or not specified, no label will be created.

In PyGTK 2.4 and above the use_underline parameter is available and defaults to True. If use_underline is set to False the -label text will not be parsed for mnemonic characters.

Methods

gtk.ToggleButton.set_mode

    def set_mode(draw_indicator)

draw_indicator :

if True display the button +label text will not be parsed for mnemonic characters.

Methods

gtk.ToggleButton.set_mode

    def set_mode(draw_indicator)

draw_indicator :

if True display the button as an indicator with a label; if False just display as a normal button

The set_mode() method sets the "draw-indicator" property to the value of @@ -75,7 +75,7 @@ the value of the "inconsistent" property. If "inconsistent" is True the togglebutton is displayed in an 'in between' state. See the set_inconsistent() -method for more details.

Signals

The "toggled" gtk.ToggleButton Signal

    def callback(togglebutton, user_param1, ...)

togglebutton :

the togglebutton that received the +method for more details.

Signals

The "toggled" gtk.ToggleButton Signal

    def callback(togglebutton, user_param1, ...)

togglebutton :

the togglebutton that received the signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtktoggletoolbutton.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtktoggletoolbutton.html --- pygtk-2.14.1/docs/html/class-gtktoggletoolbutton.html 2009-03-05 22:49:32.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtktoggletoolbutton.html 2009-05-24 23:12:35.000000000 +0100 @@ -1,6 +1,6 @@ gtk.ToggleToolButton

gtk.ToggleToolButton

gtk.ToggleToolButton — A gtk.ToolItem -containing a toggle button (new in PyGTK 2.4)

Synopsis

class gtk.ToggleToolButton(gtk.ToolButton):
-    gtk.ToggleToolButton(stock_id=None)
def set_active(is_active)
def get_active()

Ancestry

+-- gobject.GObject
+containing a toggle button (new in PyGTK 2.4)

Synopsis

class gtk.ToggleToolButton(gtk.ToolButton):
+    gtk.ToggleToolButton(stock_id=None)
def set_active(is_active)
def get_active()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
@@ -8,18 +8,18 @@
           +-- gtk.ToolItem
             +-- gtk.ToolButton
               +-- gtk.ToggleToolButton
-

Implemented Interfaces

+

Implemented Interfaces

gtk.ToggleToolButton implements gtk.Buildable

gtk.ToggleToolButton Properties

gtk.Object Properties

gtk.Widget Properties

gtk.Container Properties

gtk.ToolItem Properties

gtk.ToolButton Properties

"active"Read-WriteIf the toggle tool button should be pressed in or not. - This property is available in GTK+ 2.8 and above.

gtk.ToggleToolButton Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

gtk.ToolItem Signal Prototypes

gtk.ToolButton Signal Prototypes

"toggled"

def callback(toggletoolbutton, user_param1, ...)

Description

Note

This widget is available in PyGTK 2.4 and above.

A gtk.ToggleToolButton + This property is available in GTK+ 2.8 and above.

gtk.ToggleToolButton Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

gtk.ToolItem Signal Prototypes

gtk.ToolButton Signal Prototypes

"toggled"

def callback(toggletoolbutton, user_param1, ...)

Description

Note

This widget is available in PyGTK 2.4 and above.

A gtk.ToggleToolButton is a gtk.ToolItem that contains a toggle button. Use the gtk.ToggleToolButton() constructor to create a new gtk.ToggleToolButton.

Constructor

    gtk.ToggleToolButton(stock_id=None)

stock_id :

the name of a stock item

Returns :

a newly created gtk.ToggleToolButton

Note

This constructor is available in PyGTK 2.4 and above.

Creates a new gtk.ToggleToolButton. If stock_id is not None the toggle tool button contains the image and text from the specified stock -item.

Methods

gtk.ToggleToolButton.set_active

    def set_active(is_active)

is_active :

if True the toggle tool +item.

Methods

gtk.ToggleToolButton.set_active

    def set_active(is_active)

is_active :

if True the toggle tool button is active

Note

This method is available in PyGTK 2.4 and above.

The set_active() method sets the status of the toggle tool button to the value specified by is_active. If is_active is @@ -28,7 +28,7 @@ emitted.

gtk.ToggleToolButton.get_active

    def get_active()

Returns :

True if the toggle tool button is pressed in (active)

Note

This method is available in PyGTK 2.4 and above.

The get_active() method returns True if the toggle tool button is pressed in (active) and -False if it is raised.

Signals

The "toggled" gtk.ToggleToolButton Signal

    def callback(toggletoolbutton, user_param1, ...)

toggletoolbutton :

the toggletoolbutton that received the +False if it is raised.

Signals

The "toggled" gtk.ToggleToolButton Signal

    def callback(toggletoolbutton, user_param1, ...)

toggletoolbutton :

the toggletoolbutton that received the signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtktoolbar.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtktoolbar.html --- pygtk-2.14.1/docs/html/class-gtktoolbar.html 2009-03-05 22:49:34.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtktoolbar.html 2009-05-24 23:12:37.000000000 +0100 @@ -1,10 +1,10 @@ -gtk.Toolbar

gtk.Toolbar

gtk.Toolbar — a bar holding buttons and other widgets.

Synopsis

class gtk.Toolbar(gtk.Container):
-    gtk.Toolbar()
def insert(item, pos)
def get_item_index(item)
def get_n_items()
def get_nth_item(n)
def get_drop_index(x, y)
def set_drop_highlight_item(tool_item, index)
def set_show_arrow(show_arrow)
def get_show_arrow()
def get_relief_style()
def append_item(text, tooltip_text, tooltip_private_text, icon, callback, user_data=None)
def prepend_item(text, tooltip_text, tooltip_private_text, icon, callback, user_data)
def insert_item(text, tooltip_text, tooltip_private_text, icon, callback, user_data, position)
def insert_stock(stock_id, tooltip_text, tooltip_private_text, callback, user_data, position)
def append_space()
def prepend_space()
def insert_space(position)
def remove_space(position)
def append_element(type, widget, text, tooltip_text, tooltip_private_text, icon, callback, user_data)
def prepend_element(type, widget, text, tooltip_text, tooltip_private_text, icon, callback, user_data)
def insert_element(type, widget, text, tooltip_text, tooltip_private_text, icon, callback, user_data, position)
def append_widget(widget, tooltip_text, tooltip_private_text)
def prepend_widget(widget, tooltip_text, tooltip_private_text)
def insert_widget(widget, tooltip_text, tooltip_private_text, position)
def set_orientation(orientation)
def set_style(style)
def set_icon_size(icon_size)
def set_tooltips(enable)
def unset_style()
def unset_icon_size()
def get_orientation()
def get_style()
def get_icon_size()
def get_tooltips()

Ancestry

+-- gobject.GObject
+gtk.Toolbar

gtk.Toolbar

gtk.Toolbar — a bar holding buttons and other widgets.

Synopsis

class gtk.Toolbar(gtk.Container):
+    gtk.Toolbar()
def insert(item, pos)
def get_item_index(item)
def get_n_items()
def get_nth_item(n)
def get_drop_index(x, y)
def set_drop_highlight_item(tool_item, index)
def set_show_arrow(show_arrow)
def get_show_arrow()
def get_relief_style()
def append_item(text, tooltip_text, tooltip_private_text, icon, callback, user_data=None)
def prepend_item(text, tooltip_text, tooltip_private_text, icon, callback, user_data)
def insert_item(text, tooltip_text, tooltip_private_text, icon, callback, user_data, position)
def insert_stock(stock_id, tooltip_text, tooltip_private_text, callback, user_data, position)
def append_space()
def prepend_space()
def insert_space(position)
def remove_space(position)
def append_element(type, widget, text, tooltip_text, tooltip_private_text, icon, callback, user_data)
def prepend_element(type, widget, text, tooltip_text, tooltip_private_text, icon, callback, user_data)
def insert_element(type, widget, text, tooltip_text, tooltip_private_text, icon, callback, user_data, position)
def append_widget(widget, tooltip_text, tooltip_private_text)
def prepend_widget(widget, tooltip_text, tooltip_private_text)
def insert_widget(widget, tooltip_text, tooltip_private_text, position)
def set_orientation(orientation)
def set_style(style)
def set_icon_size(icon_size)
def set_tooltips(enable)
def unset_style()
def unset_icon_size()
def get_orientation()
def get_style()
def get_icon_size()
def get_tooltips()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Toolbar
-

Implemented Interfaces

+

Implemented Interfaces

gtk.Toolbar implements gtk.Buildable @@ -31,7 +31,7 @@ or gtk.SHADOW_ETCHED_OUT

"space-size"ReadThe size of spacers
"space-style"ReadThe spacer style: gtk.TOOLBAR_SPACE_EMPTY or gtk.TOOLBAR_SPACE_LINE

gtk.Toolbar Child Properties

"expand"Read-WriteIf True, the item should receive -extra space when the toolbar grows. Available in GTK+ 2.4 and above.

gtk.Toolbar Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

"focus-home-or-end

def callback(toolbar, focus_home, user_param1, ...)

"move-focus

def callback(toolbar, dir, user_param1, ...)

"orientation-changed"

def callback(toolbar, orientation, user_param1, ...)

"popup-context-menu"

def callback(toolbar, x, y, button, user_param1, ...)

"style-changed"

def callback(toolbar, style, user_param1, ...)

Description

A gtk.Toolbar is a +extra space when the toolbar grows. Available in GTK+ 2.4 and above.

gtk.Toolbar Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

"focus-home-or-end

def callback(toolbar, focus_home, user_param1, ...)

"move-focus

def callback(toolbar, dir, user_param1, ...)

"orientation-changed"

def callback(toolbar, orientation, user_param1, ...)

"popup-context-menu"

def callback(toolbar, x, y, button, user_param1, ...)

"style-changed"

def callback(toolbar, style, user_param1, ...)

Description

A gtk.Toolbar is a subclass of gtk.Container that holds and manages a set of buttons and widgets in a horizontal or vertical bar. A gtk.Toolbar is @@ -58,7 +58,7 @@ following items to the end of the toolbar. Creating a context menu for the toolbar can be done by connecting to the "popup-context-menu" signal.

Constructor

    gtk.Toolbar()

Returns :

a new gtk.Toolbar widget

Creates a new gtk.Toolbar -widget.

Methods

gtk.Toolbar.insert

    def insert(item, pos)

item :

a gtk.ToolItem

pos :

the position of the new item

Note

This method is available in PyGTK 2.4 and above

The insert() method inserts the gtk.ToolItem +widget.

Methods

gtk.Toolbar.insert

    def insert(item, pos)

item :

a gtk.ToolItem

pos :

the position of the new item

Note

This method is available in PyGTK 2.4 and above

The insert() method inserts the gtk.ToolItem specified by item into the toolbar at the position specified by pos. If pos is 0 item is prepended to the start of the toolbar. If @@ -432,7 +432,7 @@ method for more details.

gtk.Toolbar.get_tooltips

    def get_tooltips()

Returns :

True if tooltips are enabled

The get_tooltips() method returns True if tooltips are enabled. See the set_tooltips() -method for more details.

Signals

The "focus-home-or-end" gtk.Toolbar Signal

    def callback(toolbar, focus_home, user_param1, ...)

toolbar :

the gtk.Toolbar which emitted the signal +method for more details.

Signals

The "focus-home-or-end" gtk.Toolbar Signal

    def callback(toolbar, focus_home, user_param1, ...)

toolbar :

the gtk.Toolbar which emitted the signal the object which received the signal.

focus_home :

True if the first item should be focused

user_param1 :

the first user parameter (if any) specified with the connect() diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtktoolbutton.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtktoolbutton.html --- pygtk-2.14.1/docs/html/class-gtktoolbutton.html 2009-03-05 22:49:35.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtktoolbutton.html 2009-05-24 23:12:38.000000000 +0100 @@ -1,13 +1,13 @@ gtk.ToolButton

gtk.ToolButton

gtk.ToolButton — a gtk.ToolItem - subclass that displays buttons (new in PyGTK 2.4)

Synopsis

class gtk.ToolButton(gtk.ToolItem):
-    gtk.ToolButton(icon_widget=None, label=None)
gtk.ToolButton(stock_id)
def set_label(label)
def get_label()
def set_use_underline(use_underline)
def get_use_underline()
def set_stock_id(stock_id)
def get_stock_id()
def set_icon_name(icon_name)
def get_icon_name()
def set_icon_widget(icon_widget)
def get_icon_widget()
def set_label_widget(label_widget)
def get_label_widget()

Ancestry

+-- gobject.GObject
+    subclass that displays buttons (new in PyGTK 2.4)

Synopsis

class gtk.ToolButton(gtk.ToolItem):
+    gtk.ToolButton(icon_widget=None, label=None)
gtk.ToolButton(stock_id)
def set_label(label)
def get_label()
def set_use_underline(use_underline)
def get_use_underline()
def set_stock_id(stock_id)
def get_stock_id()
def set_icon_name(icon_name)
def get_icon_name()
def set_icon_widget(icon_widget)
def get_icon_widget()
def set_label_widget(label_widget)
def get_label_widget()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Bin
           +-- gtk.ToolItem
             +-- gtk.ToolButton
-

Implemented Interfaces

+

Implemented Interfaces

gtk.ToolButton implements gtk.Buildable @@ -22,7 +22,7 @@ Default value: None.

"use-underline"Read-WriteIf True, an underline in the "label" property indicates that the next character should be used for the mnemonic accelerator key in the overflow menu. -Default value: False.

gtk.ToolButton Style Properties

gtk.Widget Style Properties

"icon-spacing"Read-WriteSpacing in pixels between the icon and label

Signal Prototypes

"clicked"

def callback(toolbutton, user_param1, ...)

Description

Note

This widget is available in PyGTK 2.4 and above.

A gtk.ToolButton +Default value: False.

gtk.ToolButton Style Properties

gtk.Widget Style Properties

"icon-spacing"Read-WriteSpacing in pixels between the icon and label

Signal Prototypes

"clicked"

def callback(toolbutton, user_param1, ...)

Description

Note

This widget is available in PyGTK 2.4 and above.

A gtk.ToolButton is a sub class of gtk.ToolItem that contains a button. Use the gtk.ToolButton() constructor to create a new gtk.ToolButton @@ -43,7 +43,7 @@ widget is used as the icon. If "icon-widget" is None, the icon is determined by the stock item specified by "stock-id". If both "icon-widget" and "stock-id" are None, the button does -not have an icon.

Constructor

gtk.ToolButton

    gtk.ToolButton(icon_widget=None, label=None)

icon_widget :

a gtk.Widget +not have an icon.

Constructor

gtk.ToolButton

    gtk.ToolButton(icon_widget=None, label=None)

icon_widget :

a gtk.Widget that will be used as the icon widget, or None

label :

a string that will be used as the label, or None

Returns :

A new gtk.ToolButton

Note

This constructor is available in PyGTK 2.4 and above.

Creates a new gtk.ToolButton @@ -54,7 +54,7 @@ item

Returns :

A new gtk.ToolButton

Note

This constructor is available in PyGTK 2.4 and above.

Creates a new gtk.ToolButton using the stock item specified by stock_id to determine the icon and label text. It is an error if -stock_id is not a name of a stock item.

Methods

gtk.ToolButton.set_label

    def set_label(label)

label :

a string that will be used as label, or +stock_id is not a name of a stock item.

Methods

gtk.ToolButton.set_label

    def set_label(label)

label :

a string that will be used as label, or None.

Note

This method is available in PyGTK 2.4 and above.

The set_label() method sets the "label" property to the value of label. If the "label_widget" property is None, label will be used as the label of the @@ -125,7 +125,7 @@ None.

Note

This method is available in PyGTK 2.4 and above.

The get_label_widget() method returns the value of the "label-widget" property that is used as the label on the tool button. See the gtk.ToolButton.set_label_widget() -method for more information.

Signals

The "clicked" gtk.ToolButton Signal

    def callback(toolbutton, user_param1, ...)

toolbutton :

the toolbutton that received the +method for more information.

Signals

The "clicked" gtk.ToolButton Signal

    def callback(toolbutton, user_param1, ...)

toolbutton :

the toolbutton that received the signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtktoolitem.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtktoolitem.html --- pygtk-2.14.1/docs/html/class-gtktoolitem.html 2009-03-05 22:49:36.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtktoolitem.html 2009-05-24 23:12:39.000000000 +0100 @@ -1,13 +1,13 @@ gtk.ToolItem

gtk.ToolItem

gtk.ToolItem — the base class of widgets that can be added to gtk.Toolbar - (new in PyGTK 2.4)

Synopsis

class gtk.ToolItem(gtk.Bin):
-    gtk.ToolItem()
def set_homogeneous(homogeneous)
def get_homogeneous()
def set_expand(expand)
def get_expand()
def set_tooltip(tooltips, tip_text=None, tip_private=None)
def set_use_drag_window(use_drag_window)
def get_use_drag_window()
def set_visible_horizontal(visible_horizontal)
def get_visible_horizontal()
def set_visible_vertical(visible_vertical)
def get_visible_vertical()
def set_is_important(is_important)
def get_is_important()
def get_icon_size()
def get_orientation()
def get_toolbar_style()
def get_relief_style()
def retrieve_proxy_menu_item()
def set_proxy_menu_item(menu_item_id, menu_item)
def get_proxy_menu_item(menu_item_id)
def rebuild_menu()
def set_tooltip_markup(markup)
def set_tooltip_text(text)
def toolbar_reconfigured()

Ancestry

+-- gobject.GObject
+    (new in PyGTK 2.4)

Synopsis

class gtk.ToolItem(gtk.Bin):
+    gtk.ToolItem()
def set_homogeneous(homogeneous)
def get_homogeneous()
def set_expand(expand)
def get_expand()
def set_tooltip(tooltips, tip_text=None, tip_private=None)
def set_use_drag_window(use_drag_window)
def get_use_drag_window()
def set_visible_horizontal(visible_horizontal)
def get_visible_horizontal()
def set_visible_vertical(visible_vertical)
def get_visible_vertical()
def set_is_important(is_important)
def get_is_important()
def get_icon_size()
def get_orientation()
def get_toolbar_style()
def get_relief_style()
def retrieve_proxy_menu_item()
def set_proxy_menu_item(menu_item_id, menu_item)
def get_proxy_menu_item(menu_item_id)
def rebuild_menu()
def set_tooltip_markup(markup)
def set_tooltip_text(text)
def toolbar_reconfigured()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Bin
           +-- gtk.ToolItem
-

Implemented Interfaces

+

Implemented Interfaces

gtk.ToolItem implements gtk.Buildable @@ -18,7 +18,7 @@ when the toolbar is in a horizontal orientation. Default value: True

"visible-vertical"Read-WriteIf True, the toolbar item is visible when the toolbar is in a vertical orientation. Default value: -True

gtk.ToolItem Style Properties

gtk.Widget Style Properties

gtk.ToolItem Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

"create-menu-proxy"

def callback(toolitem, user_param1, ...)

"set-tooltip"

def callback(toolitem, tooltips, tip_text, tip_private, user_param1, ...)

"toolbar-reconfigured"

def callback(toolitem, user_param1, ...)

Description

Note

This widget is available in PyGTK 2.4 and above.

A gtk.ToolItem is a +True

gtk.ToolItem Style Properties

gtk.Widget Style Properties

gtk.ToolItem Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

"create-menu-proxy"

def callback(toolitem, user_param1, ...)

"set-tooltip"

def callback(toolitem, tooltips, tip_text, tip_private, user_param1, ...)

"toolbar-reconfigured"

def callback(toolitem, user_param1, ...)

Description

Note

This widget is available in PyGTK 2.4 and above.

A gtk.ToolItem is a widget that can appear on a gtk.Toolbar. To create a toolbar item that contains something else than a button, use the gtk.ToolItem() constructor @@ -28,7 +28,7 @@ gtk.ToggleToolButton and gtk.RadioToolButton classes. See the gtk.Toolbar class -for a description of the toolbar widget.

Constructor

    gtk.ToolItem()

Returns :

the new gtk.ToolItem

Note

This constructor is available in PyGTK 2.4 and above.

Creates a new empty gtk.ToolItem

Methods

gtk.ToolItem.set_homogeneous

    def set_homogeneous(homogeneous)

homogeneous :

if True the tool item is the +for a description of the toolbar widget.

Constructor

    gtk.ToolItem()

Returns :

the new gtk.ToolItem

Note

This constructor is available in PyGTK 2.4 and above.

Creates a new empty gtk.ToolItem

Methods

gtk.ToolItem.set_homogeneous

    def set_homogeneous(homogeneous)

homogeneous :

if True the tool item is the same size as other homogeneous items

Note

This method is available in PyGTK 2.4 and above.

The set_homogeneous() method sets the homogeneous setting of the tool item to the value of homogeneous. If homogeneous is @@ -178,7 +178,7 @@ and other gtk.ToolShell implementations use this function to notify children, when some aspect of their configuration changes. -

Signals

The "create-menu-proxy" gtk.ToolItem Signal

    def callback(toolitem, user_param1, ...)

toolitem :

the toolitem that received the +

Signals

The "create-menu-proxy" gtk.ToolItem Signal

    def callback(toolitem, user_param1, ...)

toolitem :

the toolitem that received the signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtktoolshell.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtktoolshell.html --- pygtk-2.14.1/docs/html/class-gtktoolshell.html 2009-03-05 22:49:36.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtktoolshell.html 2009-05-24 23:12:39.000000000 +0100 @@ -1,16 +1,16 @@ -gtk.ToolShell

gtk.ToolShell

gtk.ToolShell — Interface for containers containing GtkToolItem widgets.

Synopsis

class gtk.ToolShell(gobject.GInterface):
-    def get_icon_size()
def get_orientation()
def get_relief_style()
def get_style()
def rebuild_menu()

Ancestry

+-- gobject.GInterface
+gtk.ToolShell

gtk.ToolShell

gtk.ToolShell — Interface for containers containing GtkToolItem widgets.

Synopsis

class gtk.ToolShell(gobject.GInterface):
+    def get_icon_size()
def get_orientation()
def get_relief_style()
def get_style()
def rebuild_menu()

Ancestry

+-- gobject.GInterface
   +-- gtk.ToolShell
-

Known Implementation

+

Known Implementation

gtk.ToolShell is implementated by gtk.ToolBar, -

Description

+

Description

The gtk.ToolShell interface allows container widgets to provide additional information when embedding GtkToolItem widgets. see_also: gtk.ToolBar, gtk.ToolItem -

Methods

gtk.ToolShell.get_icon_size

    def get_icon_size()

Returns :

The current size for icons of shell.

Note

This method is available in PyGTK 2.14 and above.

+

Methods

gtk.ToolShell.get_icon_size

    def get_icon_size()

Returns :

The current size for icons of shell.

Note

This method is available in PyGTK 2.14 and above.

The get_icon_size() method retrieves the icon size for the tool shell. Tool items must not call this function directly, but rely on diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtktooltip.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtktooltip.html --- pygtk-2.14.1/docs/html/class-gtktooltip.html 2009-03-05 22:49:37.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtktooltip.html 2009-05-24 23:12:40.000000000 +0100 @@ -1,10 +1,10 @@ -gtk.Tooltip

gtk.Tooltip

gtk.Tooltip — Add tips to your widgets (new in PyGTK 2.12)

Synopsis

class gtk.Tooltip(gobject.GObject):
+gtk.Tooltip

gtk.Tooltip

gtk.Tooltip — Add tips to your widgets (new in PyGTK 2.12)

Synopsis

class gtk.Tooltip(gobject.GObject):
     def set_custom(widget)
def set_icon(pixbuf)
def set_icon_from_icon_name(icon_name, size)
def set_icon_from_stock(stock_id, size)
def set_markup(markup)
def set_text(text)
 Functions
  
-    def gtk.tooltip_trigger_tooltip_query(display)

Ancestry

+-- gobject.GObject
+    def gtk.tooltip_trigger_tooltip_query(display)

Ancestry

+-- gobject.GObject
   +-- gtk.Tooltip
-

Description

+

Description

gtk.Tooltip belongs to the new tooltips API that was introduced in GTK+ 2.12 and which deprecates the old gtk.Tooltips API. @@ -53,7 +53,7 @@ gtk.Widget.get_tooltip_window() and manipulate as you wish. The semantics of the return value are exactly as before, return True to show the window, False to not show it. -

Methods

gtk.Tooltip.set_custom

    def set_custom(widget)

widget :

A +

Methods

gtk.Tooltip.set_custom

    def set_custom(widget)

widget :

A gtk.Widget

Note

This method is available in PyGTK 2.12 and above.

The set_custom() method replaces the widget packed into @@ -87,7 +87,7 @@ The set_text() method sets the text of the tooltip to be text. If text is None, the label will be hidden. See also set_markup. -

Functions

gtk.tooltip_trigger_tooltip_query

    def tooltip_trigger_tooltip_query(display)

display :

A +

Functions

gtk.tooltip_trigger_tooltip_query

    def tooltip_trigger_tooltip_query(display)

display :

A gtk.gdk.Display

Note

This function is available in PyGTK 2.12 and above.

The tooltip_trigger_tooltip_query() function triggers a diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtktooltips.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtktooltips.html --- pygtk-2.14.1/docs/html/class-gtktooltips.html 2009-03-05 22:49:37.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtktooltips.html 2009-05-24 23:12:40.000000000 +0100 @@ -1,17 +1,17 @@ -gtk.Tooltips

gtk.Tooltips

gtk.Tooltips — add tips to your widgets.

Synopsis

class gtk.Tooltips(gtk.Object):
+gtk.Tooltips

gtk.Tooltips

gtk.Tooltips — add tips to your widgets.

Synopsis

class gtk.Tooltips(gtk.Object):
     gtk.Tooltips()
def enable()
def disable()
def set_tip(widget, tip_text, tip_private=None)
def force_window()
 Functions
 
-    def gtk.tooltips_data_get(widget)

Ancestry

+-- gobject.GObject
+    def gtk.tooltips_data_get(widget)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Tooltips
-

gtk.Tooltips Properties

gtk.Object Properties

Attributes

"tip_window"ReadThe window that the tooltip is displayed in.
"tip_label"ReadThe label that displays the tooltip text.
"active_tips_data"ReadThe data associated with the active tooltip.
"tips_data_list"ReadA list containing the data associated with the tooltips in a tooltips group. For each tooltip the data is a tuple containing: +

gtk.Tooltips Properties

gtk.Object Properties

Attributes

"tip_window"ReadThe window that the tooltip is displayed in.
"tip_label"ReadThe label that displays the tooltip text.
"active_tips_data"ReadThe data associated with the active tooltip.
"tips_data_list"ReadA list containing the data associated with the tooltips in a tooltips group. For each tooltip the data is a tuple containing: the tooltip object, the associated widget, the tooltip text and the tooltip private text.
"delay"ReadThe delay between the mouse pausing over the widget and the display of the tooltip in msec.
"enabled"ReadIf True the tooltips are enabled
"use_sticky_delay"ReadIf True shorten the delay for showing a tooltip on another widget is already showing a tooltip.
"timer_tag"ReadThe tag of the timeout handler used for the -delay.

gtk.Tooltips Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

Description

Warning

This method is deprecated in PyGTK 2.12 and above

Tooltips are the messages that appear next to a widget when the +delay.

gtk.Tooltips Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

Description

Warning

This method is deprecated in PyGTK 2.12 and above

Tooltips are the messages that appear next to a widget when the mouse pointer is held over it for a short amount of time. They are especially helpful for adding more verbose descriptions of things such as buttons in a toolbar. An individual tooltip belongs to a group of tooltips. @@ -30,7 +30,7 @@ the gtk.tooltips_data_get() function.

Constructor

    gtk.Tooltips()

Returns :

a new gtk.Tooltips object

Warning

This method is deprecated in PyGTK 2.12 and above

Creates an empty gtk.Tooltips -group.

Methods

gtk.Tooltips.enable

    def enable()

Warning

This method is deprecated in PyGTK 2.12 and above

The enable() method enables a group of +group.

Methods

gtk.Tooltips.enable

    def enable()

Warning

This method is deprecated in PyGTK 2.12 and above

The enable() method enables a group of tooltips. A tooltip will be displayed over its associated widget when the mouse pointer pauses over the widget.

gtk.Tooltips.disable

    def disable()

Warning

This method is deprecated in PyGTK 2.12 and above

The disable() method disables a group of tooltips. A tooltip will not be displayed over its associated widget when @@ -41,7 +41,7 @@ enabled..

gtk.Tooltips.force_window

    def force_window()

Warning

This method is deprecated in PyGTK 2.12 and above

The force_window() method ensures that the window used for displaying the given tooltips is created. Applications should never have to call this function, since PyGTK takes care of -this.

Functions

gtk.tooltips_data_get

    def gtk.tooltips_data_get(widget)

widget :

a widget

Returns :

a tuple containing the tooltip data associated +this.

Functions

gtk.tooltips_data_get

    def gtk.tooltips_data_get(widget)

widget :

a widget

Returns :

a tuple containing the tooltip data associated with widget or None

Warning

This method is deprecated in PyGTK 2.12 and above

The gtk.tooltips_data_get() function returns a tuple containing the tooltip data associated with diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtktreedragdest.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtktreedragdest.html --- pygtk-2.14.1/docs/html/class-gtktreedragdest.html 2009-03-05 22:49:37.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtktreedragdest.html 2009-05-24 23:12:40.000000000 +0100 @@ -1,10 +1,10 @@ gtk.TreeDragDest

gtk.TreeDragDest

gtk.TreeDragDest — an interface that manages the data transfer for a destination of a gtk.TreeView drag -and drop operation

Synopsis

class gtk.TreeDragDest(gobject.GInterface):
-    def drag_data_received(dest, selection_data)
def row_drop_possible(dest_path, selection_data)

Description

The gtk.TreeDragDest +and drop operation

Synopsis

class gtk.TreeDragDest(gobject.GInterface):
+    def drag_data_received(dest, selection_data)
def row_drop_possible(dest_path, selection_data)

Description

The gtk.TreeDragDest is an interface for checking and receiving the data for the destination of a gtk.TreeView -drag and drop operation.

Methods

gtk.TreeDragDest.drag_data_received

    def drag_data_received(dest, selection_data)

dest :

the row to drop the data in front +drag and drop operation.

Methods

gtk.TreeDragDest.drag_data_received

    def drag_data_received(dest, selection_data)

dest :

the row to drop the data in front of

selection_data :

the data to drop

Returns :

True if a new row was created before position dest

The drag_data_received() method asks the gtk.TreeDragDest diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtktreedragsource.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtktreedragsource.html --- pygtk-2.14.1/docs/html/class-gtktreedragsource.html 2009-03-05 22:49:37.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtktreedragsource.html 2009-05-24 23:12:40.000000000 +0100 @@ -1,7 +1,7 @@ gtk.TreeDragSource

gtk.TreeDragSource

gtk.TreeDragSource — an interface that manages the source data transfer for a gtk.TreeView -drag and drop operation

Synopsis

class gtk.TreeDragSource(gobject.GInterface):
-    def row_draggable(path)
def drag_data_delete(path)
def drag_data_get(path, selection_data)

Description

A gtk.TreeDragSource is an interface that provides for the management of the source data for a gtk.TreeView drag and drop operation.

Methods

gtk.TreeDragSource.row_draggable

    def row_draggable(path)

path :

the row from which the user is initiating a +drag and drop operation

Synopsis

class gtk.TreeDragSource(gobject.GInterface):
+    def row_draggable(path)
def drag_data_delete(path)
def drag_data_get(path, selection_data)

Description

A gtk.TreeDragSource is an interface that provides for the management of the source data for a gtk.TreeView drag and drop operation.

Methods

gtk.TreeDragSource.row_draggable

    def row_draggable(path)

path :

the row from which the user is initiating a drag

Returns :

True if the row can be dragged

The row_draggable() method asks the gtk.TreeDragSource diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtktreeiter.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtktreeiter.html --- pygtk-2.14.1/docs/html/class-gtktreeiter.html 2009-03-05 22:49:38.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtktreeiter.html 2009-05-24 23:12:40.000000000 +0100 @@ -1,10 +1,10 @@ -gtk.TreeIter

gtk.TreeIter

gtk.TreeIter — An object that points at a path in a gtk.TreeModel.

Synopsis

class gtk.TreeIter(gobject.GBoxed):
-    def copy()
def free()

Description

A gtk.TreeIter is an +gtk.TreeIter

gtk.TreeIter

gtk.TreeIter — An object that points at a path in a gtk.TreeModel.

Synopsis

class gtk.TreeIter(gobject.GBoxed):
+    def copy()
def free()

Methods

Methods

gtk.TreeIter.copy

    def copy()

Returns :

a copy of the treeiter.

The copy() method returns a copy of the treeiter. This iter must be freed with the free() method.

gtk.TreeIter.free

    def free()

Warning

This method is deprecated and should not be used since it can crash your application.

The free() method frees a gtk.TreeIter.

diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtktreemodelfilter.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtktreemodelfilter.html --- pygtk-2.14.1/docs/html/class-gtktreemodelfilter.html 2009-03-05 22:49:39.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtktreemodelfilter.html 2009-05-24 23:12:42.000000000 +0100 @@ -1,10 +1,10 @@ gtk.TreeModelFilter

gtk.TreeModelFilter

gtk.TreeModelFilter — a gtk.TreeModel -which hides parts of an underlying tree (new in PyGTK 2.4)

Synopsis

class gtk.TreeModelFilter(gobject.GObject, gtk.TreeModel, gtk.TreeDragSource):
-    def set_visible_func(func, data=None)
def set_modify_func(types, func, data=None)
def set_visible_column(column)
def get_model()
def convert_child_iter_to_iter(child_iter)
def convert_iter_to_child_iter(filter_iter)
def convert_child_path_to_path(child_path)
def convert_path_to_child_path(filter_path)
def refilter()
def clear_cache()

Ancestry

+-- gobject.GObject
+which hides parts of an underlying tree (new in PyGTK 2.4)

Synopsis

class gtk.TreeModelFilter(gobject.GObject, gtk.TreeModel, gtk.TreeDragSource):
+    def set_visible_func(func, data=None)
def set_modify_func(types, func, data=None)
def set_visible_column(column)
def get_model()
def convert_child_iter_to_iter(child_iter)
def convert_iter_to_child_iter(filter_iter)
def convert_child_path_to_path(child_path)
def convert_path_to_child_path(filter_path)
def refilter()
def clear_cache()

Ancestry

+-- gobject.GObject
   +-- gtk.TreeModelFilter (implements gtk.TreeModel, gtk.TreeDragSource)
 

gtk.TreeModelFilter Properties

"child-model"Read-Write-Construct OnlyThe gtk.TreeModel for the filtermodel to filter. Available in GTK+ 2.4 and above.
"virtual-root"Read-Write-Construct OnlyThe virtual root (relative to the child model) for this -filtermodel. Available in GTK+ 2.4 and above.

gtk.TreeModelFilter Signal Prototypes

gobject.GObject Signal Prototypes

gtk.TreeModel Signal Prototypes

Description

Note

This object is available in PyGTK 2.4 and above.

A gtk.TreeModelFilter +filtermodel. Available in GTK+ 2.4 and above.

gtk.TreeModelFilter Signal Prototypes

gobject.GObject Signal Prototypes

gtk.TreeModel Signal Prototypes

Description

Note

This object is available in PyGTK 2.4 and above.

A gtk.TreeModelFilter is a tree model which wraps another tree model, and can do the following things:

  • Filter specific rows, based on data from a "visible column", a column storing booleans indicating whether the row should be @@ -24,7 +24,7 @@

    The gtk.TreeModelFilter objects support the Python mapping and iterator protocols. See the gtk.TreeModel Description and the PyGTK -tutorial for more information.

Methods

gtk.TreeModelFilter.set_visible_func

    def set_visible_func(func, data=None)

func :

a function called to determine the visibility +tutorial for more information.

Methods

gtk.TreeModelFilter.set_visible_func

    def set_visible_func(func, data=None)

func :

a function called to determine the visibility of a row

data :

User data to pass to func

Note

This method is available in PyGTK 2.4 and above.

The set_visible_func() method sets the visible function used when filtering the rows of the treemodel filter to the diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtktreemodel.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtktreemodel.html --- pygtk-2.14.1/docs/html/class-gtktreemodel.html 2009-03-05 22:49:39.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtktreemodel.html 2009-05-24 23:12:41.000000000 +0100 @@ -1,8 +1,8 @@ -gtk.TreeModel

gtk.TreeModel

gtk.TreeModel — the tree interface used by gtk.TreeView

Synopsis

class gtk.TreeModel(gobject.GInterface):
+gtk.TreeModel

gtk.TreeModel

gtk.TreeModel — the tree interface used by gtk.TreeView

Synopsis

class gtk.TreeModel(gobject.GInterface):
     def get_flags()
def get_n_columns()
def get_column_type(index)
def get_iter(path)
def get_iter_from_string(path_string)
def get_string_from_iter(iter)
def get_iter_root()
def get_iter_first()
def get_path(iter)
def get_value(iter, column)
def iter_next(iter)
def iter_children(parent)
def iter_has_child(iter)
def iter_n_children(iter)
def iter_nth_child(parent, n)
def iter_parent(child)
def ref_node(iter)
def unref_node(iter)
def get(iter, column, ...)
def foreach(func, user_data)
def row_changed(path, iter)
def row_inserted(path, iter)
def row_has_child_toggled(path, iter)
def row_deleted(path)
def rows_reordered(path, iter, new_order)
def filter_new(root=None)
 Functions
 
-    def gtk.tree_row_reference_inserted(proxy, path)
def gtk.tree_row_reference_deleted(proxy, path)

gtk.TreeModel Signal Prototypes

"row-changed"

def callback(treemodel, path, iter, user_param1, ...)

"row-deleted"

def callback(treemodel, path, user_param1, ...)

"row-has-child-toggled"

def callback(treemodel, path, iter, user_param1, ...)

"row-inserted"

def callback(treemodel, path, iter, user_param1, ...)

"rows-reordered"

def callback(treemodel, path, iter, new_order, user_param1, ...)

Description

The gtk.TreeModel + def gtk.tree_row_reference_inserted(proxy, path)
def gtk.tree_row_reference_deleted(proxy, path)

gtk.TreeModel Signal Prototypes

"row-changed"

def callback(treemodel, path, iter, user_param1, ...)

"row-deleted"

def callback(treemodel, path, user_param1, ...)

"row-has-child-toggled"

def callback(treemodel, path, iter, user_param1, ...)

"row-inserted"

def callback(treemodel, path, iter, user_param1, ...)

"rows-reordered"

def callback(treemodel, path, iter, new_order, user_param1, ...)

Description

The gtk.TreeModel interface defines a generic tree interface for use by the gtk.TreeView widget. It is an abstract interface, and is designed to be usable with any appropriate data structure. The programmer just has to implement this @@ -80,7 +80,7 @@ calling the Python iter() function:

   treemodelrowiter = iter(model)
 

See the PyGTK -tutorial for more information.

Methods

gtk.TreeModel.get_flags

    def get_flags()

Returns :

the flags supported by this +tutorial for more information.

Methods

gtk.TreeModel.get_flags

    def get_flags()

Returns :

the flags supported by this interface.

The get_flags() method returns a set of flags supported by this interface. The flags are a bitwise combination of:

gtk.TREE_MODEL_ITERS_PERSIST

Treeiters survive all signals emitted by the @@ -240,7 +240,7 @@ None.

Returns :

A new gtk.TreeModel.

Note

This method is available in PyGTK 2.4 and above.

The filter_new() method creates a new gtk.TreeModel, with the tree model as the child_model and the virtual root specified by -root.

Functions

gtk.tree_row_reference_inserted

    def gtk.tree_row_reference_inserted(proxy, path)

proxy :

a GObject

path :

a row position that was +root.

Functions

gtk.tree_row_reference_inserted

    def gtk.tree_row_reference_inserted(proxy, path)

proxy :

a GObject

path :

a row position that was inserted

The gtk.tree_row_reference_inserted() function lets a set of row references know that the model emitted the "row_inserted" signal for the row specified by @@ -248,7 +248,7 @@ deleted

The gtk.tree_row_reference_deleted() function lets a set of row references know that the model emitted the "row_deleted" signal for the row specified by -path.

Signals

The "row-changed" gtk.TreeModel Signal

    def callback(treemodel, path, iter, user_param1, ...)

treemodel :

the treemodel that received the +path.

Signals

The "row-changed" gtk.TreeModel Signal

    def callback(treemodel, path, iter, user_param1, ...)

treemodel :

the treemodel that received the signal

path :

a path

iter :

a gtk.TreeIter pointing at path

user_param1 :

the first user parameter (if any) specified with the connect() diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtktreemodelsort.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtktreemodelsort.html --- pygtk-2.14.1/docs/html/class-gtktreemodelsort.html 2009-03-05 22:49:40.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtktreemodelsort.html 2009-05-24 23:12:42.000000000 +0100 @@ -1,8 +1,8 @@ -gtk.TreeModelSort

gtk.TreeModelSort

gtk.TreeModelSort — a tree model that is a sorted version of a child gtk.TreeModel

Synopsis

class gtk.TreeModelSort(gobject.GObject, gtk.TreeModel, gtk.TreeSortable):
-    gtk.TreeModelSort(child_model)
def get_model()
def convert_child_path_to_path(child_path)
def convert_child_iter_to_iter(sort_iter, child_iter)
def convert_path_to_child_path(sorted_path)
def convert_iter_to_child_iter(child_iter, sorted_iter)
def reset_default_sort_func()
def clear_cache()
def iter_is_valid(iter)

Ancestry

+-- gobject.GObject
+gtk.TreeModelSort

gtk.TreeModelSort

gtk.TreeModelSort — a tree model that is a sorted version of a child gtk.TreeModel

Synopsis

class gtk.TreeModelSort(gobject.GObject, gtk.TreeModel, gtk.TreeSortable):
+    gtk.TreeModelSort(child_model)
def get_model()
def convert_child_path_to_path(child_path)
def convert_child_iter_to_iter(sort_iter, child_iter)
def convert_path_to_child_path(sorted_path)
def convert_iter_to_child_iter(child_iter, sorted_iter)
def reset_default_sort_func()
def clear_cache()
def iter_is_valid(iter)

Ancestry

+-- gobject.GObject
   +-- gtk.TreeModelSort (implements gtk.TreeModel, gtk.TreeSortable)
 

gtk.TreeModelSort Properties

"model"Read-Write-ConstructThe child model for the gtk.TreeModelSort -to sort.

gtk.TreeModelSort Signal Prototypes

gobject.GObject Signal Prototypes

gtk.TreeSortable Signal Prototypes

gtk.TreeModel Signal Prototypes

Description

A gtk.TreeModelSort +to sort.

gtk.TreeModelSort Signal Prototypes

gobject.GObject Signal Prototypes

gtk.TreeSortable Signal Prototypes

gtk.TreeModel Signal Prototypes

Description

A gtk.TreeModelSort is a sorted model of its child model. A gtk.TreeModelSort implements the gtk.TreeModel interface and the gtk.TreeSortable @@ -10,7 +10,7 @@ objects support the Python mapping and iterator protocols. See the gtk.TreeModel Description and the PyGTK tutorial for more information.

Constructor

    gtk.TreeModelSort(child_model)

child_model :

a child gtk.TreeModel

Returns :

A new gtk.TreeModel.

Creates a new gtk.TreeModel, -with child_model as the child model.

Methods

gtk.TreeModelSort.get_model

    def get_model()

Returns :

the "child model" being +with child_model as the child model.

Methods

gtk.TreeModelSort.get_model

    def get_model()

Returns :

the "child model" being sorted

The get_model() method returns the model that the gtk.TreeModelSort is sorting.

gtk.TreeModelSort.convert_child_path_to_path

    def convert_child_path_to_path(child_path)

child_path :

A child tree path to diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtktreerowreference.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtktreerowreference.html --- pygtk-2.14.1/docs/html/class-gtktreerowreference.html 2009-03-05 22:49:40.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtktreerowreference.html 2009-05-24 23:12:43.000000000 +0100 @@ -1,6 +1,6 @@ gtk.TreeRowReference

gtk.TreeRowReference

gtk.TreeRowReference — an object maintaining a persistent reference to a gtk.TreeModel -row (new in PyGTK 2.4)

Synopsis

class gtk.TreeRowReference(gobject.GBoxed):
-    gtk.TreeRowReference(model, path)
def get_path()
def get_model()
def valid()
def copy()
def free()

Description

Note

This object is available in PyGTK 2.4 and above.

A gtk.TreeRowReference +row (new in PyGTK 2.4)

Synopsis

class gtk.TreeRowReference(gobject.GBoxed):
+    gtk.TreeRowReference(model, path)
def get_path()
def get_model()
def valid()
def copy()
def free()

Description

Note

This object is available in PyGTK 2.4 and above.

A gtk.TreeRowReference is an object that points to a row in a gtk.TreeModel similar to a gtk.TreeIter. A gtk.TreeRowReference, @@ -12,7 +12,7 @@ model. It listens to all signals emitted by model, and updates its path appropriately. If path isn't a valid path in -model, None is returned.

Methods

gtk.TreeRowReference.get_path

    def get_path()

Returns :

A current path, or +model, None is returned.

Methods

gtk.TreeRowReference.get_path

    def get_path()

Returns :

A current path, or None.

Note

This method is available in PyGTK 2.4 and above.

The get_path() method returns the path that the row reference currently points to, or None if the path pointed to is no longer valid.

gtk.TreeRowReference.get_model

    def get_model()

Returns :

the model, or diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtktreeselection.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtktreeselection.html --- pygtk-2.14.1/docs/html/class-gtktreeselection.html 2009-03-05 22:49:41.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtktreeselection.html 2009-05-24 23:12:43.000000000 +0100 @@ -1,8 +1,8 @@ -gtk.TreeSelection

gtk.TreeSelection

gtk.TreeSelection — the selection object for gtk.TreeView

Synopsis

class gtk.TreeSelection(gtk.Object):
-    def set_mode(type)
def get_mode()
def set_select_function(func, data=None, full=False)
def get_tree_view()
def get_selected()
def get_selected_rows()
def count_selected_rows()
def selected_foreach(func, data=None)
def select_path(path)
def unselect_path(path)
def select_iter(iter)
def unselect_iter(iter)
def path_is_selected(path)
def iter_is_selected(iter)
def select_all()
def unselect_all()
def select_range(start_path, end_path)
def unselect_range(start_path, end_path)

Ancestry

+-- gobject.GObject
+gtk.TreeSelection

gtk.TreeSelection

gtk.TreeSelection — the selection object for gtk.TreeView

Synopsis

class gtk.TreeSelection(gtk.Object):
+    def set_mode(type)
def get_mode()
def set_select_function(func, data=None, full=False)
def get_tree_view()
def get_selected()
def get_selected_rows()
def count_selected_rows()
def selected_foreach(func, data=None)
def select_path(path)
def unselect_path(path)
def select_iter(iter)
def unselect_iter(iter)
def path_is_selected(path)
def iter_is_selected(iter)
def select_all()
def unselect_all()
def select_range(start_path, end_path)
def unselect_range(start_path, end_path)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.TreeSelection
-

gtk.TreeSelection Signal Prototypes

gobject.GObject Signal Prototypes

"changed"

def callback(treeselection, user_param1, ...)

Description

The gtk.TreeSelection +

gtk.TreeSelection Signal Prototypes

gobject.GObject Signal Prototypes

"changed"

def callback(treeselection, user_param1, ...)

Description

The gtk.TreeSelection object is a helper object to manage the selection for a gtk.TreeView widget. The gtk.TreeSelection object is automatically created when a new gtk.TreeView @@ -24,7 +24,7 @@ it may on occasion emit a "changed" signal when nothing has happened (mostly as a result of programmers calling the select_path() or select_iter() -methods on an already selected row).

Methods

gtk.TreeSelection.set_mode

    def set_mode(type)

type :

the selection mode

The set_mode() method sets the +methods on an already selected row).

Methods

gtk.TreeSelection.set_mode

    def set_mode(type)

type :

the selection mode

The set_mode() method sets the selection mode of the treeselection to the mode specified by type. The value of type must be one of: gtk.SELECTION_NONE, @@ -132,7 +132,7 @@ range.

Note

This method is available in PyGTK 2.2 and above.

The unselect_range() method unselects the range of nodes specified by the tree paths start_path and end_path -inclusive.

Signals

The "changed" gtk.TreeSelection Signal

    def callback(treeselection, user_param1, ...)

treeselection :

the treeselection that received the +inclusive.

Signals

The "changed" gtk.TreeSelection Signal

    def callback(treeselection, user_param1, ...)

treeselection :

the treeselection that received the signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtktreesortable.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtktreesortable.html --- pygtk-2.14.1/docs/html/class-gtktreesortable.html 2009-03-05 22:49:41.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtktreesortable.html 2009-05-24 23:12:44.000000000 +0100 @@ -1,5 +1,5 @@ -gtk.TreeSortable

gtk.TreeSortable

gtk.TreeSortable — an interface for sorting a gtk.TreeModel

Synopsis

class gtk.TreeSortable(gobject.GInterface):
-    def sort_column_changed()
def get_sort_column_id()
def set_sort_column_id(sort_column_id, order)
def set_sort_func(sort_column_id, sort_func, user_data=None)
def set_default_sort_func(sort_func, user_data=None)
def has_default_sort_func()

gtk.TreeSortable Signal Prototypes

"sort-column-changed"

def callback(treesortable, user_param1, ...)

Description

The gtk.TreeSortable +gtk.TreeSortable

gtk.TreeSortable

gtk.TreeSortable — an interface for sorting a gtk.TreeModel

Synopsis

class gtk.TreeSortable(gobject.GInterface):
+    def sort_column_changed()
def get_sort_column_id()
def set_sort_column_id(sort_column_id, order)
def set_sort_func(sort_column_id, sort_func, user_data=None)
def set_default_sort_func(sort_func, user_data=None)
def has_default_sort_func()

gtk.TreeSortable Signal Prototypes

"sort-column-changed"

def callback(treesortable, user_param1, ...)

Description

The gtk.TreeSortable interface provide the common methods for a gtk.TreeModel to implement a sorted model for a gtk.TreeView. See the gtk.TreeModelSort @@ -20,7 +20,7 @@ interface it cannot be returned to the original unsorted state. You can change the sort function or use a default sort function but you cannot set the gtk.TreeModel to -have no sort function.

Methods

gtk.TreeSortable.sort_column_changed

    def sort_column_changed()

The sort_column_changed() method emits +have no sort function.

Methods

gtk.TreeSortable.sort_column_changed

    def sort_column_changed()

The sort_column_changed() method emits the "sort_column_changed" signal on the treesortable object.

gtk.TreeSortable.get_sort_column_id

    def get_sort_column_id()

Returns :

a tuple containing the sort column id and the sort type: gtk.SORT_ASCENDING or gtk.SORT_DESCENDING

The get_sort_column_id() method returns @@ -78,7 +78,7 @@ default sort function

The has_default_sort_func() method returns True if the model has a default sort function. This is used primarily by gtk.TreeViewColumn -to determine if a model can go back to the default state, or not.

Signals

The "sort-column-changed" gtk.TreeSortable Signal

    def callback(treesortable, user_param1, ...)

treesortable :

the treesortable that received the +to determine if a model can go back to the default state, or not.

Signals

The "sort-column-changed" gtk.TreeSortable Signal

    def callback(treesortable, user_param1, ...)

treesortable :

the treesortable that received the signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtktreestore.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtktreestore.html --- pygtk-2.14.1/docs/html/class-gtktreestore.html 2009-03-05 22:49:42.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtktreestore.html 2009-05-24 23:12:45.000000000 +0100 @@ -1,7 +1,7 @@ -gtk.TreeStore

gtk.TreeStore

gtk.TreeStore — a model for tree widgets with columns

Synopsis

class gtk.TreeStore(gobject.GObject, gtk.TreeModel, gtk.TreeDragSource, gtk.TreeDragDest, gtk.TreeSortable):
-    gtk.TreeStore(...)
def set_value(iter, column, value)
def set(iter, ...)
def remove(iter)
def insert(parent, position, row=None)
def insert_before(parent, sibling, row=None)
def insert_after(parent, sibling, row=None)
def prepend(parent, row=None)
def append(parent, row=None)
def is_ancestor(iter, descendant)
def iter_depth(iter)
def clear()
def iter_is_valid(iter)
def reorder(parent, new_order)
def swap(a, b)
def move_after(iter, position)
def move_before(iter, position)

Ancestry

+-- gobject.GObject
+gtk.TreeStore

gtk.TreeStore

gtk.TreeStore — a model for tree widgets with columns

Synopsis

class gtk.TreeStore(gobject.GObject, gtk.TreeModel, gtk.TreeDragSource, gtk.TreeDragDest, gtk.TreeSortable):
+    gtk.TreeStore(...)
def set_value(iter, column, value)
def set(iter, ...)
def remove(iter)
def insert(parent, position, row=None)
def insert_before(parent, sibling, row=None)
def insert_after(parent, sibling, row=None)
def prepend(parent, row=None)
def append(parent, row=None)
def is_ancestor(iter, descendant)
def iter_depth(iter)
def clear()
def iter_is_valid(iter)
def reorder(parent, new_order)
def swap(a, b)
def move_after(iter, position)
def move_before(iter, position)

Ancestry

+-- gobject.GObject
   +-- gtk.TreeStore
-

Implemented Interfaces

+

Implemented Interfaces

gtk.TreeStore implements gtk.Buildable @@ -9,7 +9,7 @@ gtk.TreeDragSource gtk.TreeDragDest gtk.TreeSortable -

gtk.TreeStore Signal Prototypes

gobject.GObject Signal Prototypes

gtk.TreeSortable Signal Prototypes

gtk.TreeModel Signal Prototypes

Description

A gtk.TreeStore is +

gtk.TreeStore Signal Prototypes

gobject.GObject Signal Prototypes

gtk.TreeSortable Signal Prototypes

gtk.TreeModel Signal Prototypes

Description

A gtk.TreeStore is a model for multi-columned tree widgets. A gtk.TreeStore is a subclass of gobject.GObject and implements the gtk.TreeModel, @@ -24,7 +24,7 @@ gtk.TreeStore(gobject.TYPE_INT, gobject.TYPE_STRING, gtk.gdk.Pixbuf)

will create a new gtk.TreeStore with three columns, of type int, string and gtk.gdk.Pixbuf -respectively.

Methods

gtk.TreeStore.set_value

    def set_value(iter, column, value)

iter :

a gtk.TreeIter for +respectively.

Methods

gtk.TreeStore.set_value

    def set_value(iter, column, value)

iter :

a gtk.TreeIter for the row being modified

column :

the column number to modify

value :

a new value for the cell

The set_value() method sets the data in the cell specified by iter and diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtktreeviewcolumn.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtktreeviewcolumn.html --- pygtk-2.14.1/docs/html/class-gtktreeviewcolumn.html 2009-03-05 22:49:47.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtktreeviewcolumn.html 2009-05-24 23:12:49.000000000 +0100 @@ -1,9 +1,9 @@ gtk.TreeViewColumn

gtk.TreeViewColumn

gtk.TreeViewColumn — a visible column in a gtk.TreeView -widget

Synopsis

class gtk.TreeViewColumn(gtk.Object):
-    gtk.TreeViewColumn(title=None, cell_renderer=None, ...)
def pack_start(cell, expand=True)
def pack_end(cell, expand=True)
def clear()
def get_cell_renderers()
def add_attribute(cell_renderer, attribute, column)
def set_attributes(cell_renderer, ...)
def set_cell_data_func(cell_renderer, func, func_data=None)
def clear_attributes(cell_renderer)
def set_spacing(spacing)
def get_spacing()
def set_visible(visible)
def get_visible()
def set_resizable(resizable)
def get_resizable()
def set_sizing(type)
def get_sizing()
def get_width()
def get_fixed_width()
def set_fixed_width(fixed_width)
def set_min_width(min_width)
def get_min_width()
def set_max_width(max_width)
def get_max_width()
def clicked()
def set_title(title)
def get_title()
def set_expand(expand)
def get_expand()
def set_clickable(active)
def get_clickable()
def set_widget(widget)
def get_widget()
def set_alignment(xalign)
def get_alignment()
def set_reorderable(reorderable)
def get_reorderable()
def set_sort_column_id(sort_column_id)
def get_sort_column_id()
def set_sort_indicator(setting)
def get_sort_indicator()
def set_sort_order(order)
def get_sort_order()
def cell_set_cell_data(tree_model, iter, is_expander, is_expanded)
def cell_get_size(cell_area=(0,0,0,0))
def cell_is_visible()
def focus_cell(cell)
def cell_get_position(cell_renderer)
def queue_resize()
def get_tree_view()

Ancestry

+-- gobject.GObject
+widget

Synopsis

class gtk.TreeViewColumn(gtk.Object):
+    gtk.TreeViewColumn(title=None, cell_renderer=None, ...)
def pack_start(cell, expand=True)
def pack_end(cell, expand=True)
def clear()
def get_cell_renderers()
def add_attribute(cell_renderer, attribute, column)
def set_attributes(cell_renderer, ...)
def set_cell_data_func(cell_renderer, func, func_data=None)
def clear_attributes(cell_renderer)
def set_spacing(spacing)
def get_spacing()
def set_visible(visible)
def get_visible()
def set_resizable(resizable)
def get_resizable()
def set_sizing(type)
def get_sizing()
def get_width()
def get_fixed_width()
def set_fixed_width(fixed_width)
def set_min_width(min_width)
def get_min_width()
def set_max_width(max_width)
def get_max_width()
def clicked()
def set_title(title)
def get_title()
def set_expand(expand)
def get_expand()
def set_clickable(active)
def get_clickable()
def set_widget(widget)
def get_widget()
def set_alignment(xalign)
def get_alignment()
def set_reorderable(reorderable)
def get_reorderable()
def set_sort_column_id(sort_column_id)
def get_sort_column_id()
def set_sort_indicator(setting)
def get_sort_indicator()
def set_sort_order(order)
def get_sort_order()
def cell_set_cell_data(tree_model, iter, is_expander, is_expanded)
def cell_get_size(cell_area=(0,0,0,0))
def cell_is_visible()
def focus_cell(cell)
def cell_get_position(cell_renderer)
def queue_resize()
def get_tree_view()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.TreeViewColumn
-

Implemented Interfaces

+

Implemented Interfaces

gtk.TreeViewColumn implements gtk.Buildable @@ -19,7 +19,7 @@ indicator

"sort-order"Read-WriteThe sort direction the sort indicator should indicate: gtk.SORT_ASCENDING or gtk.SORT_DESCENDING
"spacing"Read-WriteSpace which is inserted between cells
"title"Read-WriteThe title to appear in the column header
"visible"Read-WriteIf True, display the column
"widget"Read-WriteThe widget to put in the column header button instead -of the column title
"width"ReadThe current width of the column

gtk.TreeViewColumn Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

"clicked"

def callback(treeviewcolumn, user_param1, ...)

Description

The gtk.TreeViewColumn +of the column title

"width"ReadThe current width of the column

gtk.TreeViewColumn Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

"clicked"

def callback(treeviewcolumn, user_param1, ...)

Description

The gtk.TreeViewColumn object is a visible column in a gtk.TreeView widget. A gtk.TreeViewColumn manages the display of the header and the cells using a gtk.CellRenderer.

In PyGTK 2.4 gtk.TreeViewColumn @@ -35,7 +35,7 @@

will retrieve the 'text' attribute values for the cell renderer from column 0 in the treemodel and the 'foreground' attribute values from column 1. See the add_attribute() -method for more detail.

Methods

gtk.TreeViewColumn.pack_start

    def pack_start(cell, expand=True)

cell :

a gtk.CellRenderer.

expand :

if True +method for more detail.

Methods

gtk.TreeViewColumn.pack_start

    def pack_start(cell, expand=True)

cell :

a gtk.CellRenderer.

expand :

if True cell is to be given the extra space allocated to the cell box.

The pack_start() method packs the gtk.CellRenderer specified by cell into the beginning column. If @@ -287,7 +287,7 @@ Noneotherwise.

Note

This method is available in PyGTK 2.12 and above.

The get_tree_view() method returns the gtk.TreeView wherein tree_column has been inserted. If column is currently not - inserted in any tree view, None is returned.

Signals

The "clicked" gtk.TreeViewColumn Signal

    def callback(treeviewcolumn, user_param1, ...)

treeviewcolumn :

the treeviewcolumn that received the + inserted in any tree view, None is returned.

Signals

The "clicked" gtk.TreeViewColumn Signal

    def callback(treeviewcolumn, user_param1, ...)

treeviewcolumn :

the treeviewcolumn that received the signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtktreeview.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtktreeview.html --- pygtk-2.14.1/docs/html/class-gtktreeview.html 2009-03-05 22:49:45.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtktreeview.html 2009-05-24 23:12:48.000000000 +0100 @@ -1,10 +1,10 @@ -gtk.TreeView

gtk.TreeView

gtk.TreeView — a widget for displaying both trees and lists.

Synopsis

class gtk.TreeView(gtk.Container):
-    gtk.TreeView(model=None)
def get_model()
def set_model(model=None)
def get_selection()
def get_hadjustment()
def set_hadjustment(adjustment)
def get_vadjustment()
def set_vadjustment(adjustment)
def get_headers_visible()
def set_headers_visible(headers_visible)
def columns_autosize()
def set_headers_clickable(active)
def set_rules_hint(setting)
def get_rules_hint()
def append_column(column)
def remove_column(column)
def insert_column(column, position)
def insert_column_with_attributes(position, title, cell, ...)
def insert_column_with_data_func(position, title, cell, func, data=None)
def get_column(n)
def get_columns()
def move_column_after(column, base_column)
def set_expander_column(column)
def get_expander_column()
def set_column_drag_function(func, user_data)
def scroll_to_point(tree_x, tree_y)
def scroll_to_cell(path, column, use_align, row_align, col_align)
def row_activated(path, column)
def expand_all()
def collapse_all()
def expand_to_path(path)
def expand_row(path, open_all)
def collapse_row(path)
def map_expanded_rows(func, data)
def row_expanded(path)
def set_reorderable(reorderable)
def get_reorderable()
def set_cursor(path, focus_column=None, start_editing=False)
def set_cursor_on_cell(path, focus_column=None, focus_cell=None, start_editing=False)
def get_cursor()
def get_bin_window()
def get_path_at_pos(x, y)
def get_cell_area(path, column)
def get_background_area(path, column)
def get_visible_rect()
def widget_to_tree_coords(wx, wy)
def tree_to_widget_coords(tx, ty)
def enable_model_drag_source(start_button_mask, targets, actions)
def enable_model_drag_dest(targets, actions)
def unset_rows_drag_source()
def unset_rows_drag_dest()
def set_drag_dest_row(path, pos)
def get_drag_dest_row()
def get_dest_row_at_pos(x, y)
def create_row_drag_icon(path)
def set_enable_search(enable_search)
def get_enable_search()
def get_search_column()
def set_search_column(column)
def set_search_equal_func(func=None, user_data=None)
def get_fixed_height_mode()
def set_fixed_height_mode(enable)
def get_hover_selection()
def set_hover_selection(hover)
def get_hover_expand()
def set_hover_expand(expand)
def set_row_separator_func(func=None, user_data=None)
def get_visible_range()
def get_headers_clickable()
def get_search_entry()
def set_search_entry(entry=None)
def set_search_position_func(func, data=None)
def set_rubber_banding(enable)
def get_rubber_banding()
def get_grid_lines()
def set_grid_lines(grid_lines)
def get_enable_tree_lines()
def set_enable_tree_lines(enabled)
def convert_widget_to_bin_window_coords(widget_x, widget_y)
def convert_widget_to_tree_coords(widget_x, widget_y)
def convert_tree_to_widget_coords(tree_x, tree_y)
def convert_tree_to_bin_window_coords(tree_x, tree_y)
def convert_bin_window_to_widget_coords(window_x, window_y)
def convert_bin_window_to_tree_coords(window_x, window_y)
def get_level_indentation()
def set_level_indentation(indentation)
def get_show_expanders()
def set_show_expanders(enabled)
def get_tooltip_column()
def set_tooltip_column(column)
def is_rubber_banding_active()
def set_tooltip_cell(tooltip, path, column, cell)
def set_tooltip_row(tooltip, path)

Ancestry

+-- gobject.GObject
+gtk.TreeView

gtk.TreeView

gtk.TreeView — a widget for displaying both trees and lists.

Synopsis

class gtk.TreeView(gtk.Container):
+    gtk.TreeView(model=None)
def get_model()
def set_model(model=None)
def get_selection()
def get_hadjustment()
def set_hadjustment(adjustment)
def get_vadjustment()
def set_vadjustment(adjustment)
def get_headers_visible()
def set_headers_visible(headers_visible)
def columns_autosize()
def set_headers_clickable(active)
def set_rules_hint(setting)
def get_rules_hint()
def append_column(column)
def remove_column(column)
def insert_column(column, position)
def insert_column_with_attributes(position, title, cell, ...)
def insert_column_with_data_func(position, title, cell, func, data=None)
def get_column(n)
def get_columns()
def move_column_after(column, base_column)
def set_expander_column(column)
def get_expander_column()
def set_column_drag_function(func, user_data)
def scroll_to_point(tree_x, tree_y)
def scroll_to_cell(path, column, use_align, row_align, col_align)
def row_activated(path, column)
def expand_all()
def collapse_all()
def expand_to_path(path)
def expand_row(path, open_all)
def collapse_row(path)
def map_expanded_rows(func, data)
def row_expanded(path)
def set_reorderable(reorderable)
def get_reorderable()
def set_cursor(path, focus_column=None, start_editing=False)
def set_cursor_on_cell(path, focus_column=None, focus_cell=None, start_editing=False)
def get_cursor()
def get_bin_window()
def get_path_at_pos(x, y)
def get_cell_area(path, column)
def get_background_area(path, column)
def get_visible_rect()
def widget_to_tree_coords(wx, wy)
def tree_to_widget_coords(tx, ty)
def enable_model_drag_source(start_button_mask, targets, actions)
def enable_model_drag_dest(targets, actions)
def unset_rows_drag_source()
def unset_rows_drag_dest()
def set_drag_dest_row(path, pos)
def get_drag_dest_row()
def get_dest_row_at_pos(x, y)
def create_row_drag_icon(path)
def set_enable_search(enable_search)
def get_enable_search()
def get_search_column()
def set_search_column(column)
def set_search_equal_func(func=None, user_data=None)
def get_fixed_height_mode()
def set_fixed_height_mode(enable)
def get_hover_selection()
def set_hover_selection(hover)
def get_hover_expand()
def set_hover_expand(expand)
def set_row_separator_func(func=None, user_data=None)
def get_visible_range()
def get_headers_clickable()
def get_search_entry()
def set_search_entry(entry=None)
def set_search_position_func(func, data=None)
def set_rubber_banding(enable)
def get_rubber_banding()
def get_grid_lines()
def set_grid_lines(grid_lines)
def get_enable_tree_lines()
def set_enable_tree_lines(enabled)
def convert_widget_to_bin_window_coords(widget_x, widget_y)
def convert_widget_to_tree_coords(widget_x, widget_y)
def convert_tree_to_widget_coords(tree_x, tree_y)
def convert_tree_to_bin_window_coords(tree_x, tree_y)
def convert_bin_window_to_widget_coords(window_x, window_y)
def convert_bin_window_to_tree_coords(window_x, window_y)
def get_level_indentation()
def set_level_indentation(indentation)
def get_show_expanders()
def set_show_expanders(enabled)
def get_tooltip_column()
def set_tooltip_column(column)
def is_rubber_banding_active()
def set_tooltip_cell(tooltip, path, column, cell)
def set_tooltip_row(tooltip, path)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.TreeView
-

Implemented Interfaces

+

Implemented Interfaces

gtk.TreeView implements gtk.Buildable @@ -37,7 +37,7 @@ number. Allowed values: >= 0. Default value: 2

"indent-expanders"ReadIf True, the expanders are indented.
"odd-row-color"ReadThe gtk.gdk.Color to use for odd rows. Available in GTK+ 2.2 and above.
"row-ending-details"ReadEnable extended row background theming
"tree-line-pattern"ReadDash pattern used to draw the tree view lines
"tree-line-width"ReadWidth, in pixels, of the tree view lines
"vertical-separator"ReadThe vertical space between cells. Must be an even -number. Allowed values: >= 0. Default value: 2

gtk.TreeView Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

"columns-changed"

def callback(treeview, user_param1, ...)

"cursor-changed"

def callback(treeview, user_param1, ...)

"expand-collapse-cursor-row"

def callback(treeview, logical, expand, open_all, user_param1, ...)

"move-cursor"

def callback(treeview, step, count, user_param1, ...)

"row-activated"

def callback(treeview, path, view_column, user_param1, ...)

"row-collapsed"

def callback(treeview, iter, path, user_param1, ...)

"row-expanded"

def callback(treeview, iter, path, user_param1, ...)

"select-all"

def callback(treeview, user_param1, ...)

"select-cursor-parent"

def callback(treeview, user_param1, ...)

"select-cursor-row"

def callback(treeview, start_editing, user_param1, ...)

"set-scroll-adjustments"

def callback(treeview, hadjustment, vadjustment, user_param1, ...)

"start-interactive-search"

def callback(treeview, user_param1, ...)

"test-collapse-row"

def callback(treeview, iter, path, user_param1, ...)

"test-expand-row"

def callback(treeview, iter, path, user_param1, ...)

"toggle-cursor-row"

def callback(treeview, user_param1, ...)

"unselect-all"

def callback(treeview, user_param1, ...)

Description

A gtk.TreeView +number. Allowed values: >= 0. Default value: 2

gtk.TreeView Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

"columns-changed"

def callback(treeview, user_param1, ...)

"cursor-changed"

def callback(treeview, user_param1, ...)

"expand-collapse-cursor-row"

def callback(treeview, logical, expand, open_all, user_param1, ...)

"move-cursor"

def callback(treeview, step, count, user_param1, ...)

"row-activated"

def callback(treeview, path, view_column, user_param1, ...)

"row-collapsed"

def callback(treeview, iter, path, user_param1, ...)

"row-expanded"

def callback(treeview, iter, path, user_param1, ...)

"select-all"

def callback(treeview, user_param1, ...)

"select-cursor-parent"

def callback(treeview, user_param1, ...)

"select-cursor-row"

def callback(treeview, start_editing, user_param1, ...)

"set-scroll-adjustments"

def callback(treeview, hadjustment, vadjustment, user_param1, ...)

"start-interactive-search"

def callback(treeview, user_param1, ...)

"test-collapse-row"

def callback(treeview, iter, path, user_param1, ...)

"test-expand-row"

def callback(treeview, iter, path, user_param1, ...)

"toggle-cursor-row"

def callback(treeview, user_param1, ...)

"unselect-all"

def callback(treeview, user_param1, ...)

Description

A gtk.TreeView widget is used to display the contents of any model implementing the gtk.TreeModel interface. The tree models provided standard with GTK+ and PyGTK are:

In addition, PyGTK provides gtk.GenericTreeModel @@ -47,7 +47,7 @@ to manage the display of a column and the following cell renderers:

In addition, PyGTK provides the gtk.GenericCellRenderer that allows you to create your own cell renderers entirely in Python.

Constructor

    gtk.TreeView(model=None)

model :

the tree model to display

Returns :

A new gtk.TreeView widget.

Creates a new gtk.TreeView -widget displaying the model specified by model.

Methods

gtk.TreeView.get_model

    def get_model()

Returns :

the current gtk.TreeModel, or +widget displaying the model specified by model.

Methods

gtk.TreeView.get_model

    def get_model()

Returns :

the current gtk.TreeModel, or None if none is currently being used.

The get_model() method returns the value of the "model" property containing the model the gtk.TreeView is @@ -595,7 +595,7 @@ Sets the tip area of tooltip to be the area covered by the row at path. -

Signals

The "columns-changed" gtk.TreeView Signal

    def callback(treeview, user_param1, ...)

treeview :

the treeview that received the +

Signals

The "columns-changed" gtk.TreeView Signal

    def callback(treeview, user_param1, ...)

treeview :

the treeview that received the signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkuimanager.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkuimanager.html --- pygtk-2.14.1/docs/html/class-gtkuimanager.html 2009-03-05 22:49:48.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkuimanager.html 2009-05-24 23:12:50.000000000 +0100 @@ -1,15 +1,15 @@ gtk.UIManager

gtk.UIManager

gtk.UIManager — construct menus and toolbars from an XML - description (new in PyGTK 2.4)

Synopsis

class gtk.UIManager(gobject.GObject):
-    gtk.UIManager()
def set_add_tearoffs(add_tearoffs)
def get_add_tearoffs()
def insert_action_group(action_group, pos=-1)
def remove_action_group(action_group)
def get_action_groups()
def get_accel_group()
def get_widget(path)
def get_toplevels(types)
def get_action(path)
def add_ui_from_string(buffer)
def add_ui_from_file(filename)
def add_ui(merge_id, path, name, action, type, top)
def remove_ui(merge_id)
def get_ui()
def ensure_update()
def new_merge_id()

Ancestry

+-- gobject.GObject
+    description (new in PyGTK 2.4)

Synopsis

class gtk.UIManager(gobject.GObject):
+    gtk.UIManager()
def set_add_tearoffs(add_tearoffs)
def get_add_tearoffs()
def insert_action_group(action_group, pos=-1)
def remove_action_group(action_group)
def get_action_groups()
def get_accel_group()
def get_widget(path)
def get_toplevels(types)
def get_action(path)
def add_ui_from_string(buffer)
def add_ui_from_file(filename)
def add_ui(merge_id, path, name, action, type, top)
def remove_ui(merge_id)
def get_ui()
def ensure_update()
def new_merge_id()

Ancestry

+-- gobject.GObject
   +-- gtk.UIManager
-

Implemented Interfaces

+

Implemented Interfaces

gtk.UIManager implements gtk.Buildable

gtk.UIManager Properties

"add-tearoffs"Read-WriteIf True, regular menus have tearoff menu items. Note that this only affects regular menus. Generated popup menus never have tearoff menu items. Available in GTK+ 2.4 and -above.
"ui"Read-WriteAn XML string describing the merged UI.

gtk.UIManager Signal Prototypes

gobject.GObject Signal Prototypes

"actions-changed"

def callback(uimanager, user_param1, ...)

"add-widget"

def callback(uimanager, widget, user_param1, ...)

"connect-proxy"

def callback(uimanager, action, widget, user_param1, ...)

"disconnect-proxy"

def callback(uimanager, action, widget, user_param1, ...)

"post-activate"

def callback(uimanager, action, user_param1, ...)

"pre-activate"

def callback(uimanager, action, user_param1, ...)

Description

Note

This object is available in PyGTK 2.4 and above.

A gtk.UIManager +above.

"ui"Read-WriteAn XML string describing the merged UI.

gtk.UIManager Signal Prototypes

gobject.GObject Signal Prototypes

"actions-changed"

def callback(uimanager, user_param1, ...)

"add-widget"

def callback(uimanager, widget, user_param1, ...)

"connect-proxy"

def callback(uimanager, action, widget, user_param1, ...)

"disconnect-proxy"

def callback(uimanager, action, widget, user_param1, ...)

"post-activate"

def callback(uimanager, action, user_param1, ...)

"pre-activate"

def callback(uimanager, action, user_param1, ...)

Description

Note

This object is available in PyGTK 2.4 and above.

A gtk.UIManager constructs a user interface (menus and toolbars) from one or more UI definitions, which reference actions from one or more action groups.

UI Definitions

The UI definitions are specified in an XML format which can be roughly described by the following DTD.

@@ -43,7 +43,7 @@
 menuitem must have a menubar or popup in its ancestry. Since a GMarkup
 parser is used to parse the UI description, it must not only be valid XML,
 but valid GMarkup. If a name is not specified, it defaults to the action. If
-an action is not specified either, the element name is used.

Example 5. A UI definition

+an action is not specified either, the element name is used.

Example 5. A UI definition

 <ui>
   <menubar>
     <menu name="FileMenu" action="FileMenuAction">
@@ -78,7 +78,7 @@
 	    or gtk.SeparatorToolItem

accelerator

a keyboard accelerator

The "position" attribute determines where a constructed widget is positioned with respect to its siblings in the partially constructed tree. If it is "top", the widget is prepended, otherwise it is -appended.

UI Merging

The most remarkable feature of gtk.UIManager is +appended.

UI Merging

The most remarkable feature of gtk.UIManager is that it can overlay a set of menuitems and toolitems over another one, and demerge them later.

Merging is done based on the name of the XML elements. Each element is identified by a path which consists of the names of its @@ -86,23 +86,23 @@ the example above has the path /ui/menubar/JustifyMenu/Left and the toolitem with the same name has path -/ui/toolbar1/JustifyToolItems/Left.

Accelerators

Every action has an accelerator path. Accelerators are installed +/ui/toolbar1/JustifyToolItems/Left.

Accelerators

Every action has an accelerator path. Accelerators are installed together with menuitem proxies, but they can also be explicitly added with <accelerator> elements in the UI definition. This makes it possible to -have accelerators for actions even if they have no visible proxies.

Smart Separators

The separators created by gtk.UIManager are +have accelerators for actions even if they have no visible proxies.

Smart Separators

The separators created by gtk.UIManager are "smart", i.e. they do not show up in the UI unless they end up between two visible menu or tool items. Separators which are located at the very beginning or end of the menu or toolbar containing them, or multiple separators next to each other, are hidden. This is a useful feature, since the merging of UI elements from multiple sources can make it hard or impossible to determine in advance whether a separator will end up in such -an unfortunate position.

Empty Menus

Submenus pose similar problems to separators in connection with +an unfortunate position.

Empty Menus

Submenus pose similar problems to separators in connection with merging. It is impossible to know in advance whether they will end up empty after merging. gtk.UIManager offers two ways to treat empty submenus:

  • make them disappear by hiding the menu item they're attached to
  • add an insensitive "Empty" item

The behavior is chosen based on the "is_important" property of the action to which the submenu is associated.

Constructor

    gtk.UIManager()

Returns :

a new ui manager object.

Note

This constructor is available in PyGTK 2.4 and above.

Creates a new gtk.UIManager -object.

Methods

gtk.UIManager.set_add_tearoffs

    def set_add_tearoffs(add_tearoffs)

add_tearoffs :

True if tearoff menu items +object.

Methods

gtk.UIManager.set_add_tearoffs

    def set_add_tearoffs(add_tearoffs)

add_tearoffs :

True if tearoff menu items are added to regular menus

Note

This method is available in PyGTK 2.4 and above.

The add_tearoffs() method sets the "add_tearoffs" property to the value of add_tearoffs. If add_tearoffs @@ -190,7 +190,7 @@

gtk.UIManager.new_merge_id

    def new_merge_id()

Returns :

an unused merge id.

Note

This method is available in PyGTK 2.4 and above.

The new_merge_id() method returns an unused merge id, suitable for use with the add_ui() method. The returned merge ids are monotonically increasing integer -values.

Signals

The "actions-changed" gtk.UIManager Signal

    def callback(uimanager, user_param1, ...)

uimanager :

the uimanager that received the +values.

Signals

The "actions-changed" gtk.UIManager Signal

    def callback(uimanager, user_param1, ...)

uimanager :

the uimanager that received the signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkvbox.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkvbox.html --- pygtk-2.14.1/docs/html/class-gtkvbox.html 2009-03-05 22:49:48.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkvbox.html 2009-05-24 23:12:50.000000000 +0100 @@ -1,15 +1,15 @@ -gtk.VBox

gtk.VBox

gtk.VBox — a vertical container box

Synopsis

class gtk.VBox(gtk.Box):
-    gtk.VBox(homogeneous=False, spacing=0)

Ancestry

+-- gobject.GObject
+gtk.VBox

gtk.VBox

gtk.VBox — a vertical container box

Synopsis

class gtk.VBox(gtk.Box):
+    gtk.VBox(homogeneous=False, spacing=0)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Box
           +-- gtk.VBox
-

Implemented Interfaces

+

Implemented Interfaces

gtk.VBox implements gtk.Buildable -

gtk.VBox Style Properties

gtk.Widget Style Properties

gtk.VBox Child Properties

gtk.Box Child Properties

gtk.VBox Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

Description

A gtk.VBox is a +

gtk.VBox Style Properties

gtk.Widget Style Properties

gtk.VBox Child Properties

gtk.Box Child Properties

gtk.VBox Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

Description

A gtk.VBox is a container subclassed from gtk.Box that organizes its child widgets into a single column. The gtk.Box methods are used to manage the arrangement, spacing, height, and alignment of the gtk.VBox child widgets diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkvbuttonbox.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkvbuttonbox.html --- pygtk-2.14.1/docs/html/class-gtkvbuttonbox.html 2009-03-05 22:49:48.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkvbuttonbox.html 2009-05-24 23:12:50.000000000 +0100 @@ -1,16 +1,16 @@ -gtk.VButtonBox

gtk.VButtonBox

gtk.VButtonBox — a container for arranging buttons vertically.

Synopsis

class gtk.VButtonBox(gtk.ButtonBox):
-    gtk.VButtonBox()

Ancestry

+-- gobject.GObject
+gtk.VButtonBox

gtk.VButtonBox

gtk.VButtonBox — a container for arranging buttons vertically.

Synopsis

class gtk.VButtonBox(gtk.ButtonBox):
+    gtk.VButtonBox()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Box
           +-- gtk.ButtonBox
             +-- gtk.VButtonBox
-

Implemented Interfaces

+

Implemented Interfaces

gtk.VButtonBox implements gtk.Buildable -

gtk.VButtonBox Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

Description

A gtk.VButtonBox +

gtk.VButtonBox Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

Description

A gtk.VButtonBox is a container subclassed from gtk.ButtonBox that is optimized for the vertical layout of buttons. The gtk.VButtonBox helps provide a consistent layout of buttons in an application by supplying diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkviewport.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkviewport.html --- pygtk-2.14.1/docs/html/class-gtkviewport.html 2009-03-05 22:49:50.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkviewport.html 2009-05-24 23:12:52.000000000 +0100 @@ -1,12 +1,12 @@ gtk.Viewport

gtk.Viewport

gtk.Viewport — a widget displaying a portion of a larger -widget.

Synopsis

class gtk.Viewport(gtk.Bin):
-    gtk.Viewport(hadjustment=None, vadjustment=None)
def get_hadjustment()
def get_vadjustment()
def set_hadjustment(adjustment)
def set_vadjustment(adjustment)
def set_shadow_type(type)
def get_shadow_type()

Ancestry

+-- gobject.GObject
+widget.

Synopsis

class gtk.Viewport(gtk.Bin):
+    gtk.Viewport(hadjustment=None, vadjustment=None)
def get_hadjustment()
def get_vadjustment()
def set_hadjustment(adjustment)
def set_vadjustment(adjustment)
def set_shadow_type(type)
def get_shadow_type()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Bin
           +-- gtk.Viewport
-

Implemented Interfaces

+

Implemented Interfaces

gtk.Viewport implements gtk.Buildable @@ -17,7 +17,7 @@ gtk.SHADOW_OUT, gtk.SHADOW_ETCHED_IN or gtk.SHADOW_ETCHED_OUT

"vadjustment"Read-WriteThe gtk.Adjustment that determines the values of the vertical position for this -viewport.

gtk.Viewport Style Properties

gtk.Widget Style Properties

gtk.Viewport Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

"set-scroll-adjustments"

def callback(viewport, hadjustment, vadjustment, user_param1, ...)

Description

A gtk.Viewport +viewport.

gtk.Viewport Style Properties

gtk.Widget Style Properties

gtk.Viewport Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

"set-scroll-adjustments"

def callback(viewport, hadjustment, vadjustment, user_param1, ...)

Description

A gtk.Viewport widget provides a view into a portion of a larger widget. A gtk.Viewport is usually used to provide adjustment capability for a widget to be used in a gtk.ScrolledWindow. @@ -31,7 +31,7 @@ hadjustment and vadjustment respectively. If hadjustment or vadjustment is None a new -adjustment will be created.

Methods

gtk.Viewport.get_hadjustment

    def get_hadjustment()

Returns :

the horizontal adjustment

The get_hadjustment() method returns +adjustment will be created.

Methods

gtk.Viewport.get_hadjustment

    def get_hadjustment()

Returns :

the horizontal adjustment

The get_hadjustment() method returns the value of the "hadjustment" property that contains the horizontal gtk.Adjustment of the viewport.

gtk.Viewport.get_vadjustment

    def get_vadjustment()

Returns :

the vertical adjustment

The get_vadjustment() method returns the value of the "vadjustment" property that contains the vertical gtk.Adjustment @@ -45,7 +45,7 @@ the value of the "shadow-type" property that contains the shadow type of the gtk.Viewport. See the set_shadow_type() -method for more information.

Signals

The "set-scroll-adjustments" gtk.Viewport Signal

    def callback(viewport, hadjustment, vadjustment, user_param1, ...)

viewport :

the viewport that received the +method for more information.

Signals

The "set-scroll-adjustments" gtk.Viewport Signal

    def callback(viewport, hadjustment, vadjustment, user_param1, ...)

viewport :

the viewport that received the signal

hadjustment :

the horizontal gtk.Adjustment

vadjustment :

the vertical gtk.Adjustment

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkvolumebutton.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkvolumebutton.html --- pygtk-2.14.1/docs/html/class-gtkvolumebutton.html 2009-03-05 22:49:48.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkvolumebutton.html 2009-05-24 23:12:50.000000000 +0100 @@ -1,5 +1,5 @@ -gtk.VolumeButton

gtk.VolumeButton

gtk.VolumeButton — A button which pops up a volume control (new in PyGTK 2.12)

Synopsis

class gtk.VolumeButton(gtk.ScaleButton):
-    gtk.VolumeButton()

Ancestry

+-- gobject.GObject
+gtk.VolumeButton

gtk.VolumeButton

gtk.VolumeButton — A button which pops up a volume control (new in PyGTK 2.12)

Synopsis

class gtk.VolumeButton(gtk.ScaleButton):
+    gtk.VolumeButton()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
@@ -7,11 +7,11 @@
           +-- gtk.Button
             +-- gtk.ScaleButton
               +-- gtk.VolumeButton
-

Implemented Interfaces

+

Implemented Interfaces

gtk.VolumeButton implements gtk.Buildable -

Description

+

Description

gtk.VolumeButton is a subclass of gtk.ScaleButton diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkvpaned.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkvpaned.html --- pygtk-2.14.1/docs/html/class-gtkvpaned.html 2009-03-05 22:49:48.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkvpaned.html 2009-05-24 23:12:51.000000000 +0100 @@ -1,15 +1,15 @@ -gtk.VPaned

gtk.VPaned

gtk.VPaned — A container with two panes arranged vertically.

Synopsis

class gtk.VPaned(gtk.Paned):
-    gtk.VPaned()

Ancestry

+-- gobject.GObject
+gtk.VPaned

gtk.VPaned

gtk.VPaned — A container with two panes arranged vertically.

Synopsis

class gtk.VPaned(gtk.Paned):
+    gtk.VPaned()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Paned
           +-- gtk.VPaned
-

Implemented Interfaces

+

Implemented Interfaces

gtk.VPaned implements gtk.Buildable -

gtk.VPaned Child Properties

gtk.Paned Child Properties

Description

The gtk.VPaned widget is +

gtk.VPaned Child Properties

gtk.Paned Child Properties

Description

The gtk.VPaned widget is a container widget subclassed from gtk.Paned with two child widgets arranged vertically. The division between the two child widgets can be adjusted by the user by dragging a handle. See the gtk.Paned description diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkvruler.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkvruler.html --- pygtk-2.14.1/docs/html/class-gtkvruler.html 2009-03-05 22:49:49.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkvruler.html 2009-05-24 23:12:51.000000000 +0100 @@ -1,14 +1,14 @@ -gtk.VRuler

gtk.VRuler

gtk.VRuler — a vertical ruler.

Synopsis

class gtk.VRuler(gtk.Ruler):
-    gtk.VRuler()

Ancestry

+-- gobject.GObject
+gtk.VRuler

gtk.VRuler

gtk.VRuler — a vertical ruler.

Synopsis

class gtk.VRuler(gtk.Ruler):
+    gtk.VRuler()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Ruler
         +-- gtk.VRuler
-

Implemented Interfaces

+

Implemented Interfaces

gtk.VRuler implements gtk.Buildable -

gtk.VRuler Style Properties

gtk.Widget Style Properties

gtk.VRuler Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

Description

Note

This widget is considered too specialized or little-used for +

gtk.VRuler Style Properties

gtk.Widget Style Properties

gtk.VRuler Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

Description

Note

This widget is considered too specialized or little-used for PyGTK, and will in the future be moved to some other package. If your application needs this widget, feel free to use it, as the widget does work and is useful in some applications; it's just not of general interest. diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkvscale.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkvscale.html --- pygtk-2.14.1/docs/html/class-gtkvscale.html 2009-03-05 22:49:49.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkvscale.html 2009-05-24 23:12:51.000000000 +0100 @@ -1,16 +1,16 @@ gtk.VScale

gtk.VScale

gtk.VScale — a vertical slider widget used to select a value from a -range.

Synopsis

class gtk.VScale(gtk.Scale):
-    gtk.VScale(adjustment=None)

Ancestry

+-- gobject.GObject
+range.

Synopsis

class gtk.VScale(gtk.Scale):
+    gtk.VScale(adjustment=None)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Range
         +-- gtk.Scale
           +-- gtk.VScale
-

Implemented Interfaces

+

Implemented Interfaces

gtk.VScale implements gtk.Buildable -

Description

The gtk.VScale is +

Description

The gtk.VScale is subclassed from gtk.Scale to provide a widget that allows a user to select a value using a horizontal slider. See the gtk.Scale diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkvscrollbar.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkvscrollbar.html --- pygtk-2.14.1/docs/html/class-gtkvscrollbar.html 2009-03-05 22:49:49.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkvscrollbar.html 2009-05-24 23:12:51.000000000 +0100 @@ -1,15 +1,15 @@ -gtk.VScrollbar

gtk.VScrollbar

gtk.VScrollbar — a vertical scrollbar

Synopsis

class gtk.VScrollbar(gtk.Scrollbar):
-    gtk.VScrollbar(adjustment=None)

Ancestry

+-- gobject.GObject
+gtk.VScrollbar

gtk.VScrollbar

gtk.VScrollbar — a vertical scrollbar

Synopsis

class gtk.VScrollbar(gtk.Scrollbar):
+    gtk.VScrollbar(adjustment=None)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Range
         +-- gtk.Scrollbar
           +-- gtk.VScrollbar
-

Implemented Interfaces

+

Implemented Interfaces

gtk.VScrollbar implements gtk.Buildable -

gtk.VScrollbar Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Range Signal Prototypes

Description

The gtk.VScrollbar +

gtk.VScrollbar Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Range Signal Prototypes

Description

The gtk.VScrollbar widget is subclassed from gtk.Scrollbar to provide a horizontal scrollbar. See the gtk.Scrollbar reference for details on the methods available for managing vertical diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkvseparator.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkvseparator.html --- pygtk-2.14.1/docs/html/class-gtkvseparator.html 2009-03-05 22:49:49.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkvseparator.html 2009-05-24 23:12:51.000000000 +0100 @@ -1,14 +1,14 @@ -gtk.VSeparator

gtk.VSeparator

gtk.VSeparator — a vertical separator.

Ancestry

+-- gobject.GObject
+gtk.VSeparator

gtk.VSeparator

gtk.VSeparator — a vertical separator.

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Separator
         +-- gtk.VSeparator
-

Implemented Interfaces

+

Implemented Interfaces

gtk.VSeparator implements gtk.Buildable -

gtk.VSeparator Style Properties

gtk.Widget Style Properties

gtk.VSeparator Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

Description

The gtk.VSeparator +

gtk.VSeparator Style Properties

gtk.Widget Style Properties

gtk.VSeparator Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

Description

The gtk.VSeparator widget is a vertical separator, used to group the widgets within a window. It displays a vertical line with a shadow to make it appear sunken into the interface.

Constructor

    gtk.VSeparator()

Returns :

a new gtk.VSeparator diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkwidget.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkwidget.html --- pygtk-2.14.1/docs/html/class-gtkwidget.html 2009-03-05 22:49:57.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkwidget.html 2009-05-24 23:12:59.000000000 +0100 @@ -1,12 +1,12 @@ gtk.Widget

gtk.Widget

gtk.Widget — the base class for all PyGTK -widgets

Synopsis

class gtk.Widget(gtk.Object):
+widgets

Synopsis

class gtk.Widget(gtk.Object):
     def get_allocation()
def drag_check_threshold(start_x, start_y, current_x, current_y)
def drag_get_data(context, target, time=0L)
def drag_highlight()
def drag_unhighlight()
def drag_dest_set(flags, targets, actions)
def drag_dest_set_proxy(proxy_window, protocol, use_coordinates)
def drag_dest_unset()
def drag_dest_find_target(context, target_list)
def drag_dest_get_target_list()
def drag_dest_set_target_list(target_list)
def drag_dest_add_image_targets()
def drag_dest_add_text_targets()
def drag_dest_add_uri_targets()
def drag_source_set(start_button_mask, targets, actions)
def drag_source_unset()
def drag_source_set_icon(colormap, pixmap, mask)
def drag_source_set_icon_pixbuf(pixbuf)
def drag_source_set_icon_stock(stock_id)
def drag_source_set_icon_name(icon_name)
def drag_source_add_text_targets()
def drag_source_add_image_targets()
def drag_source_add_uri_targets()
def drag_begin(targets, actions, button, event)
def grab_add()
def grab_remove()
def rc_get_style()
def selection_owner_set(selection, time=0L)
def selection_add_target(selection, target, info)
def selection_add_targets(selection, targets)
def selection_clear_targets(selection)
def selection_convert(selection, target, time=0L)
def selection_remove_all()
def destroy()
def unparent()
def show()
def show_now()
def hide()
def show_all()
def hide_all()
def set_no_show_all(no_show_all)
def get_no_show_all()
def map()
def unmap()
def realize()
def unrealize()
def queue_draw()
def queue_draw_area(x, y, width, height)
def queue_resize()
def queue_resize_no_redraw()
def size_request()
def size_allocate(allocation)
def get_child_requisition()
def add_accelerator(accel_signal, accel_group, accel_key, accel_mods, accel_flags)
def remove_accelerator(accel_group, accel_key, accel_mods)
def set_accel_path(accel_path, accel_group)
def can_activate_accel(signal_id)
def mnemonic_activate(group_cycling)
def event(event)
def send_expose(event)
def activate()
def set_scroll_adjustments(hadjustment, vadjustment)
def reparent(new_parent)
def intersect(area)
def region_intersect(region)
def freeze_child_notify()
def child_notify(child_property)
def thaw_child_notify()
def is_focus()
def grab_focus()
def grab_default()
def set_name(name)
def get_name()
def set_state(state)
def set_sensitive(sensitive)
def set_app_paintable(app_paintable)
def set_double_buffered(double_buffered)
def set_redraw_on_allocate(redraw_on_allocate)
def set_parent(parent)
def set_parent_window(parent_window)
def set_child_visible(is_visible)
def get_child_visible()
def get_parent()
def get_parent_window()
def child_focus(direction)
def set_size_request(width, height)
def get_size_request()
def set_events(events)
def add_events(events)
def set_extension_events(mode)
def get_extension_events()
def get_toplevel()
def get_ancestor(widget_type)
def get_colormap()
def get_visual()
def get_screen()
def has_screen()
def get_display()
def get_root_window()
def get_settings()
def get_clipboard(selection)
def get_accessible()
def set_colormap(colormap)
def get_events()
def get_pointer()
def is_ancestor(ancestor)
def translate_coordinates(dest_widget, src_x, src_y)
def hide_on_delete()
def set_style(style)
def ensure_style()
def get_style()
def modify_style(style)
def get_modifier_style()
def modify_fg(state, color)
def modify_bg(state, color)
def modify_text(state, color)
def modify_base(state, color)
def modify_font(font_desc)
def create_pango_context()
def get_pango_context()
def create_pango_layout(text)
def render_icon(stock_id, size, detail=None)
def set_composite_name(name)
def get_composite_name()
def reset_rc_styles()
def style_get_property(property_name)
def set_direction(dir)
def get_direction()
def shape_combine_mask(shape_mask, offset_x, offset_y)
def reset_shapes()
def path()
def class_path()
def list_mnemonic_labels()
def add_mnemonic_label(label)
def remove_mnemonic_label(label)
def menu_get_for_attach_widget()
def set_activate_signal(signal_name)
def set_set_scroll_adjustments_signal(signal_name)
def get_action()
def drag_dest_set_track_motion(track_motion)
def drag_dest_get_track_motion()
def is_composited()
def input_shape_combine_mask(shape_mask, offset_x, offset_y)
def get_activate_signal()
def error_bell()
def get_has_tooltip()
def get_tooltip_markup()
def get_tooltip_text()
def get_tooltip_window()
def keynav_failed(direction)
def modify_cursor(primary, secondary)
def set_has_tooltip(has_tooltip)
def set_tooltip_markup(markup)
def set_tooltip_text(text)
def set_tooltip_window(window)
def trigger_tooltip_query()
def get_snapshot(clip_rect)
def get_window()
 Functions
 
-    def gtk.widget_push_colormap(cmap)
def gtk.widget_push_composite_child()
def gtk.widget_pop_composite_child()
def gtk.widget_pop_colormap()
def gtk.widget_get_default_style()
def gtk.widget_set_default_colormap(colormap)
def gtk.widget_get_default_colormap()
def gtk.widget_get_default_visual()
def gtk.widget_set_default_direction(dir)
def gtk.widget_get_default_direction()
def gtk.widget_class_find_style_property(widget, property_name)
def gtk.widget_class_list_style_properties(widget)
def gtk.widget_class_install_style_property(widget, pspec)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
-

Implemented Interfaces

+

Implemented Interfaces

gtk.Widget implements gtk.Buildable @@ -79,14 +79,14 @@ box instead of a line. This property is available in GTK+ 2.10 and above.

"window"ReadThe "window" property is the widget's window if it is realized, None otherwise. - This property is available in GTK+ 2.14 and above.

Attributes

"allocation"Read-WriteThe gtk.gdk.Rectangle + This property is available in GTK+ 2.14 and above.

Attributes

"allocation"Read-WriteThe gtk.gdk.Rectangle specifying the widget's space allocation. This attribute is writeable in PyGTK 2.4.
"name"ReadThe name of the widget
"parent"ReadThe parent widget of this widget. Must be a gtk.Container widget.
"saved_state"ReadThe widget's saved state.
"state"ReadThe widget state: gtk.STATE_NORMAL, gtk.STATE_ACTIVE, gtk.STATE_PRELIGHT, gtk.STATE_SELECTED or gtk.STATE_INSENSITIVE
"style"ReadThe style of the widget.
"window"Read-WriteThe gtk.gdk.Window used -by the widget. This attribute is writeable in PyGTK 2.4.

gtk.Widget Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

"accel-closures-changed"

def callback(widget, user_param1, ...)

"button-press-event"

def callback(widget, event, user_param1, ...)

"button-release-event"

def callback(widget, signal_id, user_param1, ...)

"can-activate-accel"

def callback(widget, event, user_param1, ...)

"child-notify"

def callback(widget, child_property, user_param1, ...)

"composited-changed

def callback(widget, user_param1, ...)

"client-event"

def callback(widget, event, user_param1, ...)

"configure-event"

def callback(widget, event, user_param1, ...)

"delete-event"

def callback(widget, event, user_param1, ...)

"delete-event"

def callback(widget, event, user_param1, ...)

"destroy-event"

def callback(widget, event, user_param1, ...)

"direction-changed"

def callback(widget, direction, user_param1, ...)

"drag-begin"

def callback(widget, drag_context, user_param1, ...)

"drag-data-delete"

def callback(widget, drag_context, user_param1, ...)

"drag-data-get"

def callback(widget, drag_context, selection_data, info, timestamp, user_param1, ...)

"drag-data-received"

def callback(widget, drag_context, x, y, selection_data, info, timestamp, user_param1, ...)

"drag-drop"

def callback(widget, drag_context, x, y, timestamp, user_param1, ...)

"drag-end"

def callback(widget, drag_context, user_param1, ...)

"drag-failed"

def callback(widget, drag_context, result, user_param1, ...)

"drag-leave"

def callback(widget, drag_context, timestamp, user_param1, ...)

"drag-motion"

def callback(widget, drag_context, x, y, timestamp, user_param1, ...)

"enter-notify-event"

def callback(widget, event, user_param1, ...)

"event"

def callback(widget, event, user_param1, ...)

"event-after"

def callback(widget, event, user_param1, ...)

"expose-event"

def callback(widget, event, user_param1, ...)

"focus"

def callback(widget, direction, user_param1, ...)

"focus-in-event"

def callback(widget, event, user_param1, ...)

"focus-out-event"

def callback(widget, event, user_param1, ...)

"grab-broken-event

def callback(widget, event, user_param1, ...)

"grab-focus"

def callback(widget, user_param1, ...)

"grab-notify"

def callback(widget, was_grabbed, user_param1, ...)

"hide"

def callback(widget, user_param1, ...)

"hierarchy-changed"

def callback(widget, previous_toplevel, user_param1, ...)

"key-press-event"

def callback(widget, event, user_param1, ...)

"key-release-event"

def callback(widget, event, user_param1, ...)

"keynav-failed"

def callback(widget, direction, user_param1, ...)

"leave-notify-event"

def callback(widget, event, user_param1, ...)

"map"

def callback(widget, user_param1, ...)

"map-event"

def callback(widget, event, user_param1, ...)

"mnemonic-activate"

def callback(widget, group_cycling, user_param1, ...)

"motion-notify-event"

def callback(widget, event, user_param1, ...)

"no-expose-event"

def callback(widget, event, user_param1, ...)

"parent-set"

def callback(widget, old_parent, user_param1, ...)

"popup-menu"

def callback(widget, user_param1, ...)

"property-notify-event"

def callback(widget, event, user_param1, ...)

"proximity-in-event"

def callback(widget, event, user_param1, ...)

"proximity-out-event"

def callback(widget, event, user_param1, ...)

"query-tooltip"

def callback(widget, x, y, keyboard_mode, tooltip, user_param1, ...)

"realize"

def callback(widget, user_param1, ...)

"screen-changed"

def callback(widget, screen, user_param1, ...)

"scroll-event"

def callback(widget, event, user_param1, ...)

"selection-clear-event"

def callback(widget, event, user_param1, ...)

"selection-get"

def callback(widget, selection_data, info, timestamp, user_param1, ...)

"selection-notify-event"

def callback(widget, event, user_param1, ...)

"selection-received"

def callback(widget, selection_data, timestamp, user_param1, ...)

"selection-request-event"

def callback(widget, event, user_param1, ...)

"show"

def callback(widget, user_param1, ...)

"show-help"

def callback(widget, help_type, user_param1, ...)

"size-allocate"

def callback(widget, allocation, user_param1, ...)

"size-request"

def callback(widget, requisition, user_param1, ...)

"state-changed"

def callback(widget, state, user_param1, ...)

"style-set"

def callback(widget, previous_style, user_param1, ...)

"unmap"

def callback(widget, user_param1, ...)

"unmap-event"

def callback(widget, event, user_param1, ...)

"unrealize"

def callback(widget, user_param1, ...)

"visibility-notify-event"

def callback(widget, event, user_param1, ...)

"window-state-event"

def callback(widget, event, user_param1, ...)

Description

The gtk.Widget class is +by the widget. This attribute is writeable in PyGTK 2.4.

gtk.Widget Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

"accel-closures-changed"

def callback(widget, user_param1, ...)

"button-press-event"

def callback(widget, event, user_param1, ...)

"button-release-event"

def callback(widget, signal_id, user_param1, ...)

"can-activate-accel"

def callback(widget, event, user_param1, ...)

"child-notify"

def callback(widget, child_property, user_param1, ...)

"composited-changed

def callback(widget, user_param1, ...)

"client-event"

def callback(widget, event, user_param1, ...)

"configure-event"

def callback(widget, event, user_param1, ...)

"delete-event"

def callback(widget, event, user_param1, ...)

"delete-event"

def callback(widget, event, user_param1, ...)

"destroy-event"

def callback(widget, event, user_param1, ...)

"direction-changed"

def callback(widget, direction, user_param1, ...)

"drag-begin"

def callback(widget, drag_context, user_param1, ...)

"drag-data-delete"

def callback(widget, drag_context, user_param1, ...)

"drag-data-get"

def callback(widget, drag_context, selection_data, info, timestamp, user_param1, ...)

"drag-data-received"

def callback(widget, drag_context, x, y, selection_data, info, timestamp, user_param1, ...)

"drag-drop"

def callback(widget, drag_context, x, y, timestamp, user_param1, ...)

"drag-end"

def callback(widget, drag_context, user_param1, ...)

"drag-failed"

def callback(widget, drag_context, result, user_param1, ...)

"drag-leave"

def callback(widget, drag_context, timestamp, user_param1, ...)

"drag-motion"

def callback(widget, drag_context, x, y, timestamp, user_param1, ...)

"enter-notify-event"

def callback(widget, event, user_param1, ...)

"event"

def callback(widget, event, user_param1, ...)

"event-after"

def callback(widget, event, user_param1, ...)

"expose-event"

def callback(widget, event, user_param1, ...)

"focus"

def callback(widget, direction, user_param1, ...)

"focus-in-event"

def callback(widget, event, user_param1, ...)

"focus-out-event"

def callback(widget, event, user_param1, ...)

"grab-broken-event

def callback(widget, event, user_param1, ...)

"grab-focus"

def callback(widget, user_param1, ...)

"grab-notify"

def callback(widget, was_grabbed, user_param1, ...)

"hide"

def callback(widget, user_param1, ...)

"hierarchy-changed"

def callback(widget, previous_toplevel, user_param1, ...)

"key-press-event"

def callback(widget, event, user_param1, ...)

"key-release-event"

def callback(widget, event, user_param1, ...)

"keynav-failed"

def callback(widget, direction, user_param1, ...)

"leave-notify-event"

def callback(widget, event, user_param1, ...)

"map"

def callback(widget, user_param1, ...)

"map-event"

def callback(widget, event, user_param1, ...)

"mnemonic-activate"

def callback(widget, group_cycling, user_param1, ...)

"motion-notify-event"

def callback(widget, event, user_param1, ...)

"no-expose-event"

def callback(widget, event, user_param1, ...)

"parent-set"

def callback(widget, old_parent, user_param1, ...)

"popup-menu"

def callback(widget, user_param1, ...)

"property-notify-event"

def callback(widget, event, user_param1, ...)

"proximity-in-event"

def callback(widget, event, user_param1, ...)

"proximity-out-event"

def callback(widget, event, user_param1, ...)

"query-tooltip"

def callback(widget, x, y, keyboard_mode, tooltip, user_param1, ...)

"realize"

def callback(widget, user_param1, ...)

"screen-changed"

def callback(widget, screen, user_param1, ...)

"scroll-event"

def callback(widget, event, user_param1, ...)

"selection-clear-event"

def callback(widget, event, user_param1, ...)

"selection-get"

def callback(widget, selection_data, info, timestamp, user_param1, ...)

"selection-notify-event"

def callback(widget, event, user_param1, ...)

"selection-received"

def callback(widget, selection_data, timestamp, user_param1, ...)

"selection-request-event"

def callback(widget, event, user_param1, ...)

"show"

def callback(widget, user_param1, ...)

"show-help"

def callback(widget, help_type, user_param1, ...)

"size-allocate"

def callback(widget, allocation, user_param1, ...)

"size-request"

def callback(widget, requisition, user_param1, ...)

"state-changed"

def callback(widget, state, user_param1, ...)

"style-set"

def callback(widget, previous_style, user_param1, ...)

"unmap"

def callback(widget, user_param1, ...)

"unmap-event"

def callback(widget, event, user_param1, ...)

"unrealize"

def callback(widget, user_param1, ...)

"visibility-notify-event"

def callback(widget, event, user_param1, ...)

"window-state-event"

def callback(widget, event, user_param1, ...)

Description

The gtk.Widget class is the base class for all PyGTK widgets. It provides the common set of method and signals for the widgets including:

  • drag and drop setting and management methods
  • selection methods
  • methods to realize, map and show widgets
  • methods to manage size allocation and requests
  • methods to initiate widget redrawing
  • methods to deal with the widget's place in the widget hierarchy
  • event management methods
  • methods to modify the style settings
  • methods to access the default resources

gtk.Widget introduces style properties - these are basically object properties that are stored not on the object, but in the style object associated to the @@ -98,7 +98,7 @@ function or the gtk.widget_class_list_style_properties() function to get information about existing style properties and the style_get_property() - method to obtain the value of a style property.

Methods

gtk.Widget.get_allocation

    def get_allocation()

Returns :

a gtk.gdk.Rectangle

The get_allocation() method returns a + method to obtain the value of a style property.

Methods

gtk.Widget.get_allocation

    def get_allocation()

Returns :

a gtk.gdk.Rectangle

The get_allocation() method returns a gtk.gdk.Rectangle containing the bounds of the widget's allocation.

gtk.Widget.drag_check_threshold

    def drag_check_threshold(start_x, start_y, current_x, current_y)

start_x :

the X coordinate of start of drag

start_y :

the Y coordinate of start of drag

current_x :

the current X coordinate

current_y :

the current Y coordinate

Returns :

True if the drag threshold @@ -1165,7 +1165,7 @@ The get_window() method returns the widget's gtk.Window if it is realized, None otherwise. -

Functions

gtk.widget_push_colormap

    def gtk.widget_push_colormap(cmap)

cmap :

a gtk.gdk.Colormap

The gtk.widget_push_colormap() function +

Functions

gtk.widget_push_colormap

    def gtk.widget_push_colormap(cmap)

cmap :

a gtk.gdk.Colormap

The gtk.widget_push_colormap() function pushes the gtk.gdk.Colormap specified by cmap onto a global stack of colormaps. The topmost colormap on the stack will be used when creating widgets. Remove @@ -1223,7 +1223,7 @@ a 4-tuple containing the property name, the property type, a nickname (or None) and a description of the property (or None).

This function raises the TypeError exception if widget is not a gtk.Widget or if the -property is already installed.

Signals

The "accel-closures-changed" gtk.Widget Signal

    def callback(widget, user_param1, ...)

widget :

the widget that received the +property is already installed.

Signals

The "accel-closures-changed" gtk.Widget Signal

    def callback(widget, user_param1, ...)

widget :

the widget that received the signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkwindowgroup.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkwindowgroup.html --- pygtk-2.14.1/docs/html/class-gtkwindowgroup.html 2009-03-05 22:50:00.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkwindowgroup.html 2009-05-24 23:13:02.000000000 +0100 @@ -1,13 +1,13 @@ gtk.WindowGroup

gtk.WindowGroup

gtk.WindowGroup — a group of gtk.Window -widgets

Synopsis

class gtk.WindowGroup(gobject.GObject):
-    gtk.WindowGroup()
def add_window(window)
def remove_window(window)

Ancestry

+-- gobject.GObject
+widgets

Synopsis

class gtk.WindowGroup(gobject.GObject):
+    gtk.WindowGroup()
def add_window(window)
def remove_window(window)

Ancestry

+-- gobject.GObject
   +-- gtk.WindowGroup
-

gtk.WindowGroup Signal Prototypes

gobject.GObject Signal Prototypes

Description

A gtk.WindowGroup +

gtk.WindowGroup Signal Prototypes

gobject.GObject Signal Prototypes

Description

A gtk.WindowGroup object contains a set of gtk.Window widgets that are managed together by some PyGTK functions and methods.

Constructor

    gtk.WindowGroup()

Returns :

a new gtk.WindowGroup.

Creates a new gtk.WindowGroup object. Grabs added with gtk.Widget.grab_add() -only affect windows within the same gtk.WindowGroup.

Methods

gtk.WindowGroup.add_window

    def add_window(window)

window :

the gtk.Window to +only affect windows within the same gtk.WindowGroup.

Methods

gtk.WindowGroup.add_window

    def add_window(window)

window :

the gtk.Window to add

The add_window() method adds the gtk.Window specified by window to the windowgroup.

gtk.WindowGroup.remove_window

    def remove_window(window)

window :

the gtk.Window to remove

The remove_window() method removes the diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-gtkwindow.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-gtkwindow.html --- pygtk-2.14.1/docs/html/class-gtkwindow.html 2009-03-05 22:50:00.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-gtkwindow.html 2009-05-24 23:13:02.000000000 +0100 @@ -1,14 +1,14 @@ -gtk.Window

gtk.Window

gtk.Window — a top-level window that holds one child widget.

Synopsis

class gtk.Window(gtk.Bin):
+gtk.Window

gtk.Window

gtk.Window — a top-level window that holds one child widget.

Synopsis

class gtk.Window(gtk.Bin):
     gtk.Window(type=gtk.WINDOW_TOPLEVEL)
def set_title(title)
def get_title()
def set_wmclass(wmclass_name, wmclass_class)
def set_role(role)
def get_role()
def add_accel_group(accel_group)
def remove_accel_group(accel_group)
def set_position(position)
def activate_focus()
def set_focus(focus)
def get_focus()
def set_default(default_widget)
def activate_default()
def set_transient_for(parent)
def get_transient_for()
def set_type_hint(hint)
def get_type_hint()
def set_destroy_with_parent(setting)
def get_destroy_with_parent()
def set_resizable(resizable)
def get_resizable()
def set_gravity(gravity)
def get_gravity()
def set_geometry_hints(geometry_widget, min_width=-1, min_height=-1, max_width=-1, max_height=-1, base_width=-1, base_height=-1, width_inc=-1, height_inc=-1, min_aspect=-1.0, max_aspect=-1.0)
def set_screen(screen)
def get_screen()
def is_active()
def has_toplevel_focus()
def set_has_frame(setting)
def get_has_frame()
def set_frame_dimensions(left, top, right, bottom)
def get_frame_dimensions()
def set_decorated(setting)
def get_decorated()
def set_icon_list(...)
def get_icon_list()
def set_icon(icon)
def set_icon_from_file(filename)
def get_icon()
def set_modal(modal)
def get_modal()
def add_mnemonic(keyval, target)
def remove_mnemonic(keyval, target)
def mnemonic_activate(keyval, modifier)
def set_mnemonic_modifier(modifier)
def get_mnemonic_modifier()
def activate_key(event)
def propagate_key_event(event)
def present()
def iconify()
def deiconify()
def stick()
def unstick()
def maximize()
def unmaximize()
def fullscreen()
def unfullscreen()
def set_keep_above(setting)
def set_keep_below(setting)
def begin_resize_drag(edge, button, root_x, root_y, timestamp)
def begin_move_drag(button, root_x, root_y, timestamp)
def set_default_size(width, height)
def get_default_size()
def resize(width, height)
def get_size()
def move(x, y)
def get_position()
def parse_geometry(geometry)
def reshow_with_initial_size()
def tooltips_get_info_from_tip_window()
def set_focus_on_map(setting)
def get_focus_on_map()
def set_icon_name(name)
def get_icon_name()
def set_urgency_hint(urgency_hint)
def get_urgency_hint()
def present_with_time(timestamp)
def set_deletable(setting)
def get_deletable()
def get_group()
def set_opacity(opacity)
def get_opacity()
def set_startup_id(startup_id)
def get_default_widget()
 Functions
 
-    def gtk.window_set_default_icon(icon)
def gtk.window_set_default_icon_from_file(filename)
def gtk.window_set_default_icon_list(...)
def gtk.window_get_default_icon_list()
def gtk.window_set_auto_startup_notification(setting)
def gtk.window_list_toplevels()
def gtk.window_set_default_icon_name(name)

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.Widget
       +-- gtk.Container
         +-- gtk.Bin
           +-- gtk.Window
-

Implemented Interfaces

+

Implemented Interfaces

gtk.Window implements gtk.Buildable @@ -65,7 +65,7 @@ and above.

"urgency-hint"Read-WriteIf True the window should be brought to the users attention. Default value: False. Available in GTK+ 2.8 and above.
"window-position"Read-WriteThe initial position of the window. Default value: -gtk.WIN_POS_NONE

gtk.Window Style Properties

gtk.Widget Style Properties

Attributes

"allow_grow"ReadIf True, users can expand the window +gtk.WIN_POS_NONE

gtk.Window Style Properties

gtk.Widget Style Properties

Attributes

"allow_grow"ReadIf True, users can expand the window beyond its minimum size.
"allow_shrink"ReadIf True, the window has no minimum size.
"configure_notify_received"ReadIf True a window resize configuration event has been received.
"configure_request_count"ReadThe number of outstanding configuration @@ -110,7 +110,7 @@ method.
"wmclass_class"ReadThe window system class hint. See the set_wmclass() method.
"wmclass_name"ReadThe window system name hint. See the set_wmclass() method.
"wm_role"ReadThe unique identifier for the window. See the set_role() -method.

gtk.Window Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

"activate-default"

def callback(window, user_param1, ...)

"activate-focus"

def callback(window, user_param1, ...)

"frame-event"

def callback(window, event, user_param1, ...)

"keys-changed"

def callback(window, user_param1, ...)

"move-focus"

def callback(window, direction, user_param1, ...)

"set-focus"

def callback(window, widget, user_param1, ...)

Description

A gtk.Window provides +method.

gtk.Window Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

gtk.Container Signal Prototypes

"activate-default"

def callback(window, user_param1, ...)

"activate-focus"

def callback(window, user_param1, ...)

"frame-event"

def callback(window, event, user_param1, ...)

"keys-changed"

def callback(window, user_param1, ...)

"move-focus"

def callback(window, direction, user_param1, ...)

"set-focus"

def callback(window, widget, user_param1, ...)

Description

A gtk.Window provides a widget that users commonly think of as a window. That is, an area of the display that is managed by the window manager and usually decorated with a title bar, and items to allow the user to close, resize and move the @@ -130,7 +130,7 @@ pop-up tooltip. On X11, popup windows are not controlled by the window manager. If you simply want an undecorated window (no window borders), use the set_decorated() -method with a toplevel window, don't use a popup window.

Methods

gtk.Window.set_title

    def set_title(title)

title :

the title of the window

The set_title() method sets the "title" property +method with a toplevel window, don't use a popup window.

Methods

gtk.Window.set_title

    def set_title(title)

title :

the title of the window

The set_title() method sets the "title" property of the gtk.Window to the value specified by title. The title of a window will be displayed in its title bar. On the X Window System, the title bar is @@ -798,7 +798,7 @@ Returns the default widget for window. See gtk.Window.set_default()() for more details. -

Functions

gtk.window_set_default_icon_list

    def gtk.window_set_default_icon_list(...)

... :

zero or more gtk.gdk.Pixbuf +

Functions

gtk.window_set_default_icon_list

    def gtk.window_set_default_icon_list(...)

... :

zero or more gtk.gdk.Pixbuf objects

The gtk.window_set_default_icon_list() function sets an icon list to be used as fallback for windows that haven't had the set_icon_list() @@ -838,7 +838,7 @@ function sets an icon to be used as fallback for windows that haven't had the set_icon_list() method called on them from a named themed icon, see the set_icon_name() -method.

Signals

The "activate-default" gtk.Window Signal

    def callback(window, user_param1, ...)

window :

the window that received the +method.

Signals

The "activate-default" gtk.Window Signal

    def callback(window, user_param1, ...)

window :

the window that received the signal

user_param1 :

the first user parameter (if any) specified with the connect() method

... :

additional user parameters (if diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-pangoattribute.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-pangoattribute.html --- pygtk-2.14.1/docs/html/class-pangoattribute.html 2009-03-05 22:50:28.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-pangoattribute.html 2009-05-24 23:13:28.000000000 +0100 @@ -1,8 +1,8 @@ -pango.Attribute

pango.Attribute

pango.Attribute — an attribute that applies to a section of text

Synopsis

class pango.Attribute:
+pango.Attribute

pango.Attribute

pango.Attribute — an attribute that applies to a section of text

Synopsis

class pango.Attribute:
     def copy()
 Functions
 
-    def pango.attr_type_register(name)
def pango.AttrLanguage(language, start_index=0, end_index=1)
def pango.AttrFamily(family, start_index=0, end_index=1)
def pango.AttrForeground(red, green, blue, start_index=0, end_index=1)
def pango.AttrBackground(red, green, blue, start_index=0, end_index=1)
def pango.AttrSize(size, start_index=0, end_index=1)
def pango.AttrStyle(style, start_index=0, end_index=1)
def pango.AttrWeight(weight, start_index=0, end_index=1)
def pango.AttrVariant(variant, start_index=0, end_index=1)
def pango.AttrStretch(stretch, start_index=0, end_index=1)
def pango.AttrFontDesc(desc, start_index=0, end_index=1)
def pango.AttrUnderline(underline, start_index=0, end_index=1)
def pango.AttrStrikethrough(strikethrough, start_index=0, end_index=1)
def pango.AttrRise(rise, start_index=0, end_index=1)
def pango.AttrShape(ink_rect, logical_rect, start_index=0, end_index=1)
def pango.AttrScale(scale, start_index=0, end_index=1)
def pango.AttrFallback(fallback, start_index=0, end_index=1)
def pango.AttrSizeAbsolute(size, start_index=0, end_index=1)
def pango.AttrUnderlineColor(red, green, blue, start_index=0, end_index=1)
def pango.AttrStrikethroughColor(red, green, blue, start_index=0, end_index=1)
def pango.AttrLetterSpacing(letter_spacing, start_index=0, end_index=1)

Attributes

All pango.Attribute + def pango.attr_type_register(name)
def pango.AttrLanguage(language, start_index=0, end_index=1)
def pango.AttrFamily(family, start_index=0, end_index=1)
def pango.AttrForeground(red, green, blue, start_index=0, end_index=1)
def pango.AttrBackground(red, green, blue, start_index=0, end_index=1)
def pango.AttrSize(size, start_index=0, end_index=1)
def pango.AttrStyle(style, start_index=0, end_index=1)
def pango.AttrWeight(weight, start_index=0, end_index=1)
def pango.AttrVariant(variant, start_index=0, end_index=1)
def pango.AttrStretch(stretch, start_index=0, end_index=1)
def pango.AttrFontDesc(desc, start_index=0, end_index=1)
def pango.AttrUnderline(underline, start_index=0, end_index=1)
def pango.AttrStrikethrough(strikethrough, start_index=0, end_index=1)
def pango.AttrRise(rise, start_index=0, end_index=1)
def pango.AttrShape(ink_rect, logical_rect, start_index=0, end_index=1)
def pango.AttrScale(scale, start_index=0, end_index=1)
def pango.AttrFallback(fallback, start_index=0, end_index=1)
def pango.AttrSizeAbsolute(size, start_index=0, end_index=1)
def pango.AttrUnderlineColor(red, green, blue, start_index=0, end_index=1)
def pango.AttrStrikethroughColor(red, green, blue, start_index=0, end_index=1)
def pango.AttrLetterSpacing(letter_spacing, start_index=0, end_index=1)

Attributes

All pango.Attribute objects support the following three attributes.

"end_index"Read-WriteThe index of the end of the application of the attribute in the associated text.
"start_index"Read-WriteThe index of the start of the application of the attribute in the associated text.
"type"ReadThe attribute type.

In addition each pango.Attribute @@ -23,7 +23,7 @@ function for more details.

"value"ReadATTR_SCALEThe font size scale factor as a float.
"value"ReadATTR_FALLBACKTrue if font fallback is enabled.
"value"ReadATTR_LETTER_SPACINGThe extra space between graphemes.
"color"ReadATTR_UNDERLINE_COLORThe pango.Color object used for the color of the underline.
"color"ReadATTR_STRIKETHROUGH_COLORThe pango.Color - object used for the color of the strikethrough.
"value"ReadATTR_ABSOLUTE_SIZEThe font size in device units.

Description

The pango.Attribute + object used for the color of the strikethrough.

"value"ReadATTR_ABSOLUTE_SIZEThe font size in device units.

Description

The pango.Attribute object contains an attribute that applies to a section of text. The predefined attribute types are:

pango.ATTR_LANGUAGE

Specifies a pango.Language.

pango.ATTR_FAMILY

Specifies a font family name list as a string.

pango.ATTR_STYLE

Specifies a font slant style. See the pango.AttrStyle() function for more details.

pango.ATTR_WEIGHT

Specifies a font weight. See the pango.AttrWeight() @@ -36,9 +36,9 @@ baseline.

pango.ATTR_SHAPE

Specifies a shape. See the pango.AttrShape() function for more details.

pango.ATTR_SCALE

Specifies a font size scale factor.

pango.ATTR_FALLBACK

if True, fallback to other fonts is enabled.

pango.ATTR_LETTER_SPACING

Specifies the extra space between graphemes.

pango.ATTR_UNDERLINE_COLOR

Specifies the color of the underline.

pango.ATTR_STRIKETHROUGH_COLOR

Specifies the color of the strikethrough.

pango.ATTR_ABSOLUTE_SIZE

Specifies the font size in device units.

Additional attribute types can be registered with the pango.attr_type_register() -function.

Methods

pango.Attribute.copy

    def copy()

Returns :

a new pango.Attribute +function.

Methods

pango.Attribute.copy

    def copy()

Returns :

a new pango.Attribute object

The copy() method returns a new pango.Attribute -object that is a copy of this attribute.

Functions

pango.attr_type_register

    def pango.attr_type_register(name)

name :

a name for the type. (Currently not +object that is a copy of this attribute.

Functions

pango.attr_type_register

    def pango.attr_type_register(name)

name :

a name for the type. (Currently not used.)

Returns :

the new attribute type ID integer.

The attr_type_register() function returns a new attribute type ID integer value.

pango.AttrLanguage

    def pango.AttrLanguage(language, start_index=0, end_index=1)

language :

a pango.Language diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-pangoattriterator.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-pangoattriterator.html --- pygtk-2.14.1/docs/html/class-pangoattriterator.html 2009-03-05 22:50:28.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-pangoattriterator.html 2009-05-24 23:13:28.000000000 +0100 @@ -1,5 +1,5 @@ -pango.AttrIterator

pango.AttrIterator

pango.AttrIterator — an object pointing to a location in a pango.AttrList.

Synopsis

class pango.AttrIterator:
-    def copy()
def range()
def next()
def get(type)
def get_font()
def get_attrs()

Description

The pango.AttrIterator +pango.AttrIterator

pango.AttrIterator

pango.AttrIterator — an object pointing to a location in a pango.AttrList.

Synopsis

class pango.AttrIterator:
+    def copy()
def range()
def next()
def get(type)
def get_font()
def get_attrs()

Description

The pango.AttrIterator object contains a pointer into a pango.AttrList. A pango.AttrIterator object is created using the pango.AttrList.get_iterator() @@ -12,7 +12,7 @@ (using the range() method).

The pango.AttrIterator object is only valid as long as the associated pango.AttrList -is not changed.

Methods

pango.AttrIterator.copy

    def copy()

Returns :

a new pango.AttrIterator +is not changed.

Methods

pango.AttrIterator.copy

    def copy()

Returns :

a new pango.AttrIterator object

The copy() method returns a new pango.AttrIterator object that is a copy of this attribute iterator.

pango.AttrIterator.range

    def range()

Returns :

a 2-tuple containing the start and end index of the current attribute in the text.

The range() method returns a 2-tuple diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-pangoattrlist.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-pangoattrlist.html --- pygtk-2.14.1/docs/html/class-pangoattrlist.html 2009-03-05 22:50:28.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-pangoattrlist.html 2009-05-24 23:13:28.000000000 +0100 @@ -1,9 +1,9 @@ pango.AttrList

pango.AttrList

pango.AttrList — an object holding attributes that apply to a section of -text

Synopsis

class pango.AttrList(gobject.GBoxed):
+text

Synopsis

class pango.AttrList(gobject.GBoxed):
     pango.AttrList()
def copy()
def insert(attr)
def insert_before(attr)
def change(attr)
def splice(other, pos, len)
def get_iterator()
def filter(func, data=None)
 Functions
 
-    def pango.parse_markup(markup_text, accel_marker=u'\x00')

Description

The pango.AttrList + def pango.parse_markup(markup_text, accel_marker=u'\x00')

Description

The pango.AttrList object contains a list of attributes that apply to a section of text. The attributes are, in general, allowed to overlap in an arbitrary fashion, however, if the attributes are manipulated only through the change() @@ -13,7 +13,7 @@ for large amounts of text. In general, you should not use a single pango.AttrList for more than one paragraph of text.

Constructor

    pango.AttrList()

Returns :

a new pango.AttrList object.

Creates a new pango.AttrList -object.

Methods

pango.AttrList.copy

    def copy()

Returns :

a new pango.AttrList +object.

Methods

pango.AttrList.copy

    def copy()

Returns :

a new pango.AttrList object

The copy() method returns a new pango.AttrList object that is a copy of the attribute list

pango.AttrList.insert

    def insert(attr)

attr :

the pango.Attribute @@ -63,7 +63,7 @@ attribute list. The filter method returns a new pango.AttrList containing the attributes that were filtered out (removed from) the -attribute list.

Functions

pango.parse_markup

    def pango.parse_markup(markup_text, accel_marker=u'\x00')

markup_text :

a string containing the markup to +attribute list.

Functions

pango.parse_markup

    def pango.parse_markup(markup_text, accel_marker=u'\x00')

markup_text :

a string containing the markup to parse.

accel_marker :

the Unicode character that precedes an accelerator, or u'\x00' for none

Returns :

a 3-tuple containing a pango.AttrList, the plain text in markup_text, and the first diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-pangocairocairocontext.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-pangocairocairocontext.html --- pygtk-2.14.1/docs/html/class-pangocairocairocontext.html 2009-03-05 22:50:35.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-pangocairocairocontext.html 2009-05-24 23:13:34.000000000 +0100 @@ -1,8 +1,8 @@ pangocairo.CairoContext

pangocairo.CairoContext

pangocairo.CairoContext — object providing support for using Cairo (new in -PyGTK 2.8)

Synopsis

class pangocairo.CairoContext(cairo.Context):
-    pangocairo.CairoContext(cr)
def update_context(context)
def create_layout()
def update_layout(layout)
def show_glyph_string(font, glyphs)
def show_layout_line(line)
def show_layout(layout)
def glyph_string_path(font, glyphs)
def layout_line_path(line)
def layout_path(layout)

Ancestry

+-- cairo.Context
+PyGTK 2.8)

Synopsis

class pangocairo.CairoContext(cairo.Context):
+    pangocairo.CairoContext(cr)
def update_context(context)
def create_layout()
def update_layout(layout)
def show_glyph_string(font, glyphs)
def show_layout_line(line)
def show_layout(layout)
def glyph_string_path(font, glyphs)
def layout_line_path(line)
def layout_path(layout)

Ancestry

+-- cairo.Context
   +-- pangocairo.CairoContext
-

Description

Cairo is a graphics library that supports vector graphics and +

Description

Cairo is a graphics library that supports vector graphics and image compositing that can be used with PyGTK. Since 2.8, GTK+ and Pango do most of their drawing using Cairo. The Cairo drawing model and primitives are similar to PostScript which uses an imaging model of painting on a two @@ -16,7 +16,7 @@ is created using the gtk.gdk.Drawable.cairo_create() method. See the gtk.gdk.CairoContext and Python cairo module documentation for additional methods.

Constructor

    pangocairo.CairoContext(cr)

cr :

a cairo.Context -

Returns :

a new pangocairo.CairoContext.

Creates a new pangocairo.CairoContext

Methods

pangocairo.CairoContext.update_context

    def update_context(context)

context :

a pango.Context +

Returns :

a new pangocairo.CairoContext.

Creates a new pangocairo.CairoContext

Methods

pangocairo.CairoContext.update_context

    def update_context(context)

context :

a pango.Context created by the pangocairo.CairoFontMap.create_context() method

Note

This method is available in PyGTK 2.8 and above.

The update_context() method updates a pango.Context diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-pangocairocairofontmap.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-pangocairocairofontmap.html --- pygtk-2.14.1/docs/html/class-pangocairocairofontmap.html 2009-03-05 22:50:35.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-pangocairocairofontmap.html 2009-05-24 23:13:35.000000000 +0100 @@ -1,12 +1,12 @@ pangocairo.CairoFontMap

pangocairo.CairoFontMap

pangocairo.CairoFontMap — object providing support for using font maps with -Cairo (new in PyGTK 2.8)

Synopsis

class pangocairo.CairoFontMap(pangocairo.CairoFontMap):
+Cairo (new in PyGTK 2.8)

Synopsis

class pangocairo.CairoFontMap(pangocairo.CairoFontMap):
     pangocairo.CairoFontMap()
def set_resolution(dpi)
def get_resolution()
def create_context()
 Functions
 
-    def pangocairo.cairo_font_map_get_default()

Ancestry

+-- gobject.GObject
+    def pangocairo.cairo_font_map_get_default()

Ancestry

+-- gobject.GObject
   +-- pango.FontMap
     +-- pangocairo.CairoFontMap
-

Description

pangocairo.CairoFontMap is an interface exported by font maps for use with Cairo. The actual type of the font map will depend on the particular font technology Cairo was compiled to use.

Cairo is a graphics library that supports vector graphics and @@ -21,7 +21,7 @@ particular font backend Cairo was compiled to use; You generally should only use the pango.FontMap and pangocairo.CairoFontMap -interfaces on the returned object.

Methods

pangocairo.CairoFontMap.set_resolution

    def set_resolution(dpi)

dpi :

the resolution in "dots per inch". (Physical +interfaces on the returned object.

Methods

pangocairo.CairoFontMap.set_resolution

    def set_resolution(dpi)

dpi :

the resolution in "dots per inch". (Physical inches aren't actually involved; the terminology is conventional.)

Note

This method is available in PyGTK 2.8 and above.

The set_resolution() method sets the resolution for the fontmap to the value specified by @@ -34,6 +34,6 @@ method for more information.

pangocairo.CairoFontMap.create_context

    def create_context()

Returns :

a new pango.Context object

Note

This method is available in PyGTK 2.8 and above.

The create_context() method creates a new pango.Context -object.

Functions

pangocairo.cairo_font_map_get_default

    def pangocairo.cairo_font_map_get_default()

Returns :

the default Cairo fontmap for +object.

Functions

pangocairo.cairo_font_map_get_default

    def pangocairo.cairo_font_map_get_default()

Returns :

the default Cairo fontmap for Pango.

Note

This function is available in PyGTK 2.8 and above.

The pangocairo.cairo_font_map_get_default() function returns the default font map to use with Cairo.

diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-pangocolor.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-pangocolor.html --- pygtk-2.14.1/docs/html/class-pangocolor.html 2009-03-05 22:50:29.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-pangocolor.html 2009-05-24 23:13:29.000000000 +0100 @@ -1,8 +1,8 @@ -pango.Color

pango.Color

pango.Color — an object representing a RGB color

Synopsis

class pango.Color(gobject.GBoxed):
-    pango.Color(spec)

Attributes

"red"ReadThe red component of the color with a value between 0 +pango.Color

pango.Color

pango.Color — an object representing a RGB color

Synopsis

class pango.Color(gobject.GBoxed):
+    pango.Color(spec)

Attributes

"red"ReadThe red component of the color with a value between 0 and 65535.
"green"ReadThe green component of the color with a value between 0 and 65535.
"blue"ReadThe blue component of the color with a value between 0 -and 65535.

Description

A pango.Color object +and 65535.

Description

A pango.Color object is a gobject.GBoxed type that represents a color with RGB components. Each component value ranges from 0 to 65535.

Constructor

    pango.Color(spec)

spec :

a string specifying the new diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-pangocontext.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-pangocontext.html --- pygtk-2.14.1/docs/html/class-pangocontext.html 2009-03-05 22:50:29.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-pangocontext.html 2009-05-24 23:13:29.000000000 +0100 @@ -1,8 +1,8 @@ pango.Context

pango.Context

pango.Context — stores global information used to control -rendering.

Synopsis

class pango.Context(gobject.GObject):
-    def list_families()
def load_font(desc)
def load_fontset(desc, language)
def get_metrics(desc, language)
def set_font_description(desc)
def get_font_description()
def get_language()
def set_language(language)
def set_base_dir(direction)
def get_base_dir()

Ancestry

+-- gobject.GObject
+rendering.

Synopsis

class pango.Context(gobject.GObject):
+    def list_families()
def load_font(desc)
def load_fontset(desc, language)
def get_metrics(desc, language)
def set_font_description(desc)
def get_font_description()
def get_language()
def set_language(language)
def set_base_dir(direction)
def get_base_dir()

Ancestry

+-- gobject.GObject
   +-- pango.Context
-

Description

A pango.Context +

Description

A pango.Context object contains global information used to control the rendering process. The information accessible using the pango.Context methods includes:

A pango.Context can @@ -10,7 +10,7 @@ method. The pango.Context associated with a gtk.Widget is retrieved using the gtk.Widget.get_pango_context()) -method.

Methods

pango.Context.list_families

    def list_families()

Returns :

a tuple containing a set of pango.FontFamily +method.

Methods

pango.Context.list_families

    def list_families()

Returns :

a tuple containing a set of pango.FontFamily objects.

The list_families() method returns a tuple containing the list of all the pango.FontFamily objects for a context.

pango.Context.load_font

    def load_font(desc)

desc :

a pango.FontDescription diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-pangofontdescription.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-pangofontdescription.html --- pygtk-2.14.1/docs/html/class-pangofontdescription.html 2009-03-05 22:50:30.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-pangofontdescription.html 2009-05-24 23:13:30.000000000 +0100 @@ -1,5 +1,5 @@ -pango.FontDescription

pango.FontDescription

pango.FontDescription — an object representing a description of a font.

Synopsis

class pango.FontDescription(gobject.GBoxed):
-    pango.FontDescription(str=None)
def copy()
def copy_static()
def hash()
def set_family(family)
def set_family_static(family)
def get_family()
def set_style(style)
def get_style()
def set_variant(variant)
def get_variant()
def set_weight(weight)
def get_weight()
def set_stretch(stretch)
def get_stretch()
def set_size(size)
def get_size()
def get_set_fields()
def unset_fields(to_unset)
def merge(desc_to_merge, replace_existing)
def merge_static(desc_to_merge, replace_existing)
def better_match(old_match, new_match)
def to_string()
def to_filename()
def set_absolute_size(size)
def get_size_is_absolute()

Description

A pango.FontDescription +pango.FontDescription

pango.FontDescription

pango.FontDescription — an object representing a description of a font.

Synopsis

class pango.FontDescription(gobject.GBoxed):
+    pango.FontDescription(str=None)
def copy()
def copy_static()
def hash()
def set_family(family)
def set_family_static(family)
def get_family()
def set_style(style)
def get_style()
def set_variant(variant)
def get_variant()
def set_weight(weight)
def get_weight()
def set_stretch(stretch)
def get_stretch()
def set_size(size)
def get_size()
def get_set_fields()
def unset_fields(to_unset)
def merge(desc_to_merge, replace_existing)
def merge_static(desc_to_merge, replace_existing)
def better_match(old_match, new_match)
def to_string()
def to_filename()
def set_absolute_size(size)
def get_size_is_absolute()

Description

A pango.FontDescription represents the description of an ideal font. They are used to both specify the characteristics of a font to load and to list the available fonts on the system.

Constructor

    pango.FontDescription()

Returns :

a pango.FontDescription @@ -18,7 +18,7 @@ "serif,monospace bold italic condensed 16" "normal 10"

The commonly available font families are: Normal, Sans, Serif and -Monospace. The available styles are:

Normal

the font is upright.

Oblique

the font is slanted, but in a roman style.

Italic

the font is slanted in an italic style.

The available weights are:

Ultra-Light

the ultralight weight (= 200)

Light

the light weight (=300)

Normal

the default weight (= 400)

Bold

the bold weight (= 700)

Ultra-Bold

the ultra-bold weight (= 800)

Heavy

the heavy weight (= 900)

The available variants are:

Normal

Small-Caps

The available stretch styles are:

Ultra-Condensed

the smallest width

Extra-Condensed

Condensed

Semi-Condensed

Normal

the normal width

Semi-Expanded

Expanded

Extra-Expanded

Ultra-Expanded

the widest width

Methods

pango.FontDescription.copy

    def copy()

Returns :

a new pango.FontDescription

The copy() method returns a new copy of +Monospace. The available styles are:

Normal

the font is upright.

Oblique

the font is slanted, but in a roman style.

Italic

the font is slanted in an italic style.

The available weights are:

Ultra-Light

the ultralight weight (= 200)

Light

the light weight (=300)

Normal

the default weight (= 400)

Bold

the bold weight (= 700)

Ultra-Bold

the ultra-bold weight (= 800)

Heavy

the heavy weight (= 900)

The available variants are:

Normal

Small-Caps

The available stretch styles are:

Ultra-Condensed

the smallest width

Extra-Condensed

Condensed

Semi-Condensed

Normal

the normal width

Semi-Expanded

Expanded

Extra-Expanded

Ultra-Expanded

the widest width

Methods

pango.FontDescription.copy

    def copy()

Returns :

a new pango.FontDescription

The copy() method returns a new copy of this font description.

pango.FontDescription.copy_static

    def copy_static()

Returns :

a new pango.FontDescription..

The copy_static() method is like the copy() method, but only a shallow copy is made of the family name and other diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-pangofontface.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-pangofontface.html --- pygtk-2.14.1/docs/html/class-pangofontface.html 2009-03-05 22:50:30.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-pangofontface.html 2009-05-24 23:13:30.000000000 +0100 @@ -1,13 +1,13 @@ pango.FontFace

pango.FontFace

pango.FontFace — an object representing a group of fonts varying only in -size.

Synopsis

class pango.FontFace(gobject.GObject):
-    def describe()
def get_face_name()
def list_sizes()

Description

A pango.FontFace +size.

Synopsis

class pango.FontFace(gobject.GObject):
+    def describe()
def get_face_name()
def list_sizes()

Description

A pango.FontFace object represents a group of fonts with the same family, weight, slant, stretch and width but varying sizes. A list of font faces can be retrieved from a pango.FontFamily object using the pango.FontFamily.list_faces() -method.

Ancestry

+-- gobject.GObject
+method.

Ancestry

+-- gobject.GObject
   +-- pango.FontFace
-

Methods

pango.FontFace.describe

    def describe()

Returns :

a pango.FontDescription +

Methods

pango.FontFace.describe

    def describe()

Returns :

a pango.FontDescription object containing the description of the face.

The describe() method returns a pango.FontDescription object containing the family, style, variant, weight and stretch of the pango.FontFace. diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-pangofontfamily.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-pangofontfamily.html --- pygtk-2.14.1/docs/html/class-pangofontfamily.html 2009-03-05 22:50:30.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-pangofontfamily.html 2009-05-24 23:13:30.000000000 +0100 @@ -1,8 +1,8 @@ pango.FontFamily

pango.FontFamily

pango.FontFamily — an object representing a family of related font -faces.

Synopsis

class pango.FontFamily(gobject.GObject):
-    def list_faces()
def get_name()
def is_monospace()

Ancestry

+-- gobject.GObject
+faces.

Synopsis

class pango.FontFamily(gobject.GObject):
+    def list_faces()
def get_name()
def is_monospace()

Ancestry

+-- gobject.GObject
   +-- pango.FontFamily
-

Description

The pango.FontFamily +

Description

The pango.FontFamily object is used to represent a family of related font faces. The faces in a family share a common design, but differ in slant, weight, width and other aspects. A list of pango.FontFamily @@ -10,7 +10,7 @@ object using the pango.Context.list_families() method and from a pango.FontMap object using the pango.FontMap.list_families() -method.

Methods

pango.FontFamily.list_faces

    def list_faces()

Returns :

a list of pango.FontFace +method.

Methods

pango.FontFamily.list_faces

    def list_faces()

Returns :

a list of pango.FontFace objects.

The list_faces() method returns a list of the different pango.FontFace object that make up the font family>. The faces in a family share a common diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-pangofont.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-pangofont.html --- pygtk-2.14.1/docs/html/class-pangofont.html 2009-03-05 22:50:29.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-pangofont.html 2009-05-24 23:13:29.000000000 +0100 @@ -1,16 +1,16 @@ pango.Font

pango.Font

pango.Font — a rendering-system independent font -representation.

Synopsis

class pango.Font(gobject.GObject):
+representation.

Synopsis

class pango.Font(gobject.GObject):
     def describe()
def get_metrics(language)
def get_glyph_extents(glyph)
def get_font_map()
 Functions
 
-    def pango.PIXELS(size)
def pango.ASCENT(rect)
def pango.DESCENT(rect)
def pango.RBEARING(rect)
def pango.LBEARING(rect)

Ancestry

+-- gobject.GObject
+    def pango.PIXELS(size)
def pango.ASCENT(rect)
def pango.DESCENT(rect)
def pango.RBEARING(rect)
def pango.LBEARING(rect)

Ancestry

+-- gobject.GObject
   +-- pango.Font
-

Description

A pango.Font object +

Description

A pango.Font object represents a font in a rendering-system independent way. A pango.Font is returned from the pango.Context.load_font(), pango.FontSet.get_font() and pango.FontMap.load_font()) -methods.

Methods

pango.Font.describe

    def describe()

Returns :

a pango.FontDescription +methods.

Methods

pango.Font.describe

    def describe()

Returns :

a pango.FontDescription object.

The describe() method returns a description of the font in a pango.FontDescription object.

pango.Font.get_metrics

    def get_metrics(language)

language :

a pango.Language @@ -36,7 +36,7 @@ from the extents rectangle to more traditional font metrics. The units of the rectangles are in 1/pango.SCALE of a device unit.

pango.Font.get_font_map

    def get_font_map()

Returns :

the pango.FontMap - for the font

Note

This method is available in PyGTK 2.10 and above.

Gets the font map for which the font was created.

Functions

pango.PIXELS

    def pango.PIXELS(size)

size :

the integer value to convert to pango + for the font

Note

This method is available in PyGTK 2.10 and above.

Gets the font map for which the font was created.

Functions

pango.PIXELS

    def pango.PIXELS(size)

size :

the integer value to convert to pango pixels

Returns :

the pixel value

The pango.PIXELS() function converts and returns the integer value specified by size to pango pixels.

pango.ASCENT

    def pango.ASCENT(rect)

rect :

a 4-tuple representing an extent rectangle's diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-pangofontmap.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-pangofontmap.html --- pygtk-2.14.1/docs/html/class-pangofontmap.html 2009-03-05 22:50:30.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-pangofontmap.html 2009-05-24 23:13:30.000000000 +0100 @@ -1,11 +1,11 @@ pango.FontMap

pango.FontMap

pango.FontMap — an object that represents the set of fonts available for a -particular rendering system.

Synopsis

class pango.FontMap(gobject.GObject):
-    def load_font(context, desc)
def load_fontset(context, desc, language)
def list_families()
def get_shape_engine_type()

Ancestry

+-- gobject.GObject
+particular rendering system.

Synopsis

class pango.FontMap(gobject.GObject):
+    def load_font(context, desc)
def load_fontset(context, desc, language)
def list_families()
def get_shape_engine_type()

Ancestry

+-- gobject.GObject
   +-- pango.FontMap
-

Description

A pango.FontMap +

Description

A pango.FontMap object represents the set of fonts available for a particular rendering system. There appears to be no way to retrieve a pango.FontMap -object in PyGTK.

Methods

pango.FontMap.load_font

    def load_font(context, desc)

context :

the pango.Context the +object in PyGTK.

Methods

pango.FontMap.load_font

    def load_font(context, desc)

context :

the pango.Context the font will be used with

desc :

a pango.FontDescription describing the font to load

Returns :

the loaded font , or None if no font matched.

The load_font() method loads the pango.Font in the diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-pangofontmetrics.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-pangofontmetrics.html --- pygtk-2.14.1/docs/html/class-pangofontmetrics.html 2009-03-05 22:50:31.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-pangofontmetrics.html 2009-05-24 23:13:30.000000000 +0100 @@ -1,8 +1,8 @@ pango.FontMetrics

pango.FontMetrics

pango.FontMetrics — an object containing overall metric information for a -font.

Synopsis

class pango.FontMetrics(gobject.GBoxed):
-    def get_ascent()
def get_descent()
def get_approximate_char_width()
def get_approximate_digit_width()

Description

A pango.FontMetrics +font.

Synopsis

class pango.FontMetrics(gobject.GBoxed):
+    def get_ascent()
def get_descent()
def get_approximate_char_width()
def get_approximate_digit_width()

Description

A pango.FontMetrics object holds the overall metric information for a font. A pango.FontMetrics -object is returned from the following methods:

Methods

pango.FontMetrics.get_ascent

    def get_ascent()

Returns :

the ascent in pango units. (1 point == +object is returned from the following methods:

Methods

pango.FontMetrics.get_ascent

    def get_ascent()

Returns :

the ascent in pango units. (1 point == pango.SCALE pango units.)

The get_ascent() method returns the font ascent in pango units where one font point is equal to pango.SCALE (1024) pango units. The ascent is the distance from the baseline to the diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-pangofontset.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-pangofontset.html --- pygtk-2.14.1/docs/html/class-pangofontset.html 2009-03-05 22:50:31.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-pangofontset.html 2009-05-24 23:13:31.000000000 +0100 @@ -1,11 +1,11 @@ pango.Fontset

pango.Fontset

pango.Fontset — an object containing a set of pango.Font -objects.

Synopsis

class pango.Fontset(gobject.GObject):
-    def get_font(wc)
def get_metrics()
def foreach(func, data=None)

Ancestry

+-- gobject.GObject
+objects.

Synopsis

class pango.Fontset(gobject.GObject):
+    def get_font(wc)
def get_metrics()
def foreach(func, data=None)

Ancestry

+-- gobject.GObject
   +-- pango.Fontset
-

Description

A pango.Fontset +

Description

A pango.Fontset object holds a set of pango.Font objects. A pango.FontSet -object is returned from the following methods:

Methods

pango.Fontset.get_font

    def get_font(wc)

wc :

a unicode character

Returns :

a pango.Font.

The get_font() method returns the pango.Font in the +object is returned from the following methods:

Methods

pango.Fontset.get_font

    def get_font(wc)

wc :

a unicode character

Returns :

a pango.Font.

The get_font() method returns the pango.Font in the fontset that contains the best glyph for the unicode character specified by wc.

pango.Fontset.get_metrics

    def get_metrics()

Returns :

a pango.FontMetrics object.

The get_metrics() method returns a diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-pangofontsetsimple.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-pangofontsetsimple.html --- pygtk-2.14.1/docs/html/class-pangofontsetsimple.html 2009-03-05 22:50:31.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-pangofontsetsimple.html 2009-05-24 23:13:31.000000000 +0100 @@ -1,16 +1,16 @@ -pango.FontsetSimple

pango.FontsetSimple

pango.FontsetSimple — a simple container for a set of fonts

Synopsis

class pango.FontsetSimple(pango.Fontset):
-    pango.FontsetSimple(language)
def append(font)
def size()

Ancestry

+-- gobject.GObject
+pango.FontsetSimple

pango.FontsetSimple

pango.FontsetSimple — a simple container for a set of fonts

Synopsis

class pango.FontsetSimple(pango.Fontset):
+    pango.FontsetSimple(language)
def append(font)
def size()

Ancestry

+-- gobject.GObject
   +-- pango.Fontset
     +-- pango.FontsetSimple
-

Description

Note

This object is available in PyGTK 2.4 and above.

A pango.FontsetSimple +

Description

Note

This object is available in PyGTK 2.4 and above.

A pango.FontsetSimple is a subclass of pango.Fontset that provides a simple container for storing a set of pango.Font objects. The set of fonts in a pango.FontsetSimple are assemble by using the append() -method.

Constructor

    pango.FontsetSimple(language)

language :

a pango.Language +method.

Constructor

    pango.FontsetSimple(language)

language :

a pango.Language object

Returns :

a new pango.FontsetSimple object.

Note

This constructor is available in PyGTK 2.4 and above.

Creates a new pango.FontsetSimple for the pango.Language -specified by language.

Methods

pango.FontsetSimple.append

    def append(font)

font :

a pango.Font.

Note

This method is available in PyGTK 2.4 and above.

The append() method adds the pango.Font specified +specified by language.

Methods

pango.FontsetSimple.append

    def append(font)

font :

a pango.Font.

Note

This method is available in PyGTK 2.4 and above.

The append() method adds the pango.Font specified by font to the fontset.

pango.FontsetSimple.size

    def size()

Returns :

the size of the font set.

Note

This method is available in PyGTK 2.4 and above.

The size() method returns the number of fonts in the fontset.

diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-pangoglyphstring.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-pangoglyphstring.html --- pygtk-2.14.1/docs/html/class-pangoglyphstring.html 2009-03-05 22:50:31.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-pangoglyphstring.html 2009-05-24 23:13:31.000000000 +0100 @@ -1,9 +1,9 @@ pango.GlyphString

pango.GlyphString

pango.GlyphString — an object holding strings of glyphs and glyph -information.

Synopsis

class pango.GlyphString(gobject.GBoxed):
-    pango.GlyphString()
def set_size(new_len)
def copy()
def extents(font)
def extents_range(start, end, font)
def get_logical_widths(text, embedding_level)

Attributes

"num_glyphs"ReadThe number of glyphs in the glyph string.

Description

A pango.GlyphString +information.

Synopsis

class pango.GlyphString(gobject.GBoxed):
+    pango.GlyphString()
def set_size(new_len)
def copy()
def extents(font)
def extents_range(start, end, font)
def get_logical_widths(text, embedding_level)

Attributes

"num_glyphs"ReadThe number of glyphs in the glyph string.

Description

A pango.GlyphString object contains strings of glyphs with geometry and visual attribute information.

Constructor

    pango.GlyphString()

Returns :

a new pango.GlyphString

Creates a new pango.GlyphString -containing no glyphs.

Methods

pango.GlyphString.set_size

    def set_size(new_len)

new_len :

the new length of the +containing no glyphs.

Methods

pango.GlyphString.set_size

    def set_size(new_len)

new_len :

the new length of the string.

The set_size() method resizes the glyph string to the length specified by new_len.

pango.GlyphString.copy

    def copy()

Returns :

a pango.GlyphString

The copy() method returns a pango.GlyphString that is a copy of the glyph string.

pango.GlyphString.extents

    def extents(font)

font :

a pango.Font

Returns :

a 2-tuple containing two 4-tuples representing diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-pangolanguage.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-pangolanguage.html --- pygtk-2.14.1/docs/html/class-pangolanguage.html 2009-03-05 22:50:31.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-pangolanguage.html 2009-05-24 23:13:31.000000000 +0100 @@ -1,8 +1,8 @@ -pango.Language

pango.Language

pango.Language — an object that represents a language tag.

Synopsis

class pango.Language(gobject.GBoxed):
+pango.Language

pango.Language

pango.Language — an object that represents a language tag.

Synopsis

class pango.Language(gobject.GBoxed):
     pango.Language(language)
def matches(range_list)
def to_string()
 Functions
 
-    def pango.pango_language_from_string(language)
def pango.pango_language_matches(language, range_list)

Description

A pango.Language + def pango.pango_language_from_string(language)
def pango.pango_language_matches(language, range_list)

Description

A pango.Language object represents a language tag meeting the RFC-3066 standard. The pango.Language can be retrieved from a pango.Context by using the pango.Context.get_language() @@ -15,7 +15,7 @@ language. This constructor first canonicalizes the string in language by converting it to lowercase, mapping '_' to '-', and stripping all characters other than letters and -'-'.

Methods

pango.Language.matches

    def matches(range_list)

>range_list :

a list of language ranges, separated by ';' +'-'.

Methods

pango.Language.matches

    def matches(range_list)

>range_list :

a list of language ranges, separated by ';' characters.

Returns :

True if a match was found.

Note

This method is available in PyGTK 2.4 and above.

The matches() method returns True if the language matches one of the language ranges @@ -26,7 +26,7 @@ more information).

pango.Language.matches

    def to_string()

Returns :

the string representation of the language tag

Note

This method is available in PyGTK 2.4 and above.

The to_string() method returns a string representation of the canonicalized language tag. See the pango.Language() constructor for -more information.

Functions

pango.pango_language_from_string

    def pango.pango_language_from_string(language)

language :

a string representing a language +more information.

Functions

pango.pango_language_from_string

    def pango.pango_language_from_string(language)

language :

a string representing a language tag

Returns :

a new pango.Language object

Note

This function is deprecated in PyGTK 2.4 and above. Use the pango.Language() diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-pangolayout.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-pangolayout.html --- pygtk-2.14.1/docs/html/class-pangolayout.html 2009-03-05 22:50:32.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-pangolayout.html 2009-05-24 23:13:32.000000000 +0100 @@ -1,8 +1,8 @@ pango.Layout

pango.Layout

pango.Layout — an object representing a paragraph of text with -attributes.

Synopsis

class pango.Layout(gobject.GObject):
-    pango.Layout(context)
def copy()
def get_context()
def set_attributes(attrs)
def get_attributes()
def set_text(text)
def get_text()
def set_markup(markup)
def set_markup_with_accel(markup, accel_marker)
def get_font_description()
def set_font_description(desc)
def set_width(width)
def get_width()
def set_wrap(wrap)
def get_wrap()
def set_indent(indent)
def get_indent()
def set_spacing(spacing)
def get_spacing()
def set_justify(justify)
def get_justify()
def set_alignment(alignment)
def get_alignment()
def set_tabs(tabs)
def get_tabs()
def set_single_paragraph_mode(setting)
def get_single_paragraph_mode()
def context_changed()
def index_to_pos(index)
def get_cursor_pos(index)
def move_cursor_visually(strong, old_index, old_trailing, direction)
def xy_to_index(x, y)
def get_extents()
def get_pixel_extents()
def get_size()
def get_pixel_size()
def get_line_count()
def get_line(line)
def get_iter()

Ancestry

+-- gobject.GObject
+attributes.

Synopsis

class pango.Layout(gobject.GObject):
+    pango.Layout(context)
def copy()
def get_context()
def set_attributes(attrs)
def get_attributes()
def set_text(text)
def get_text()
def set_markup(markup)
def set_markup_with_accel(markup, accel_marker)
def get_font_description()
def set_font_description(desc)
def set_width(width)
def get_width()
def set_wrap(wrap)
def get_wrap()
def set_indent(indent)
def get_indent()
def set_spacing(spacing)
def get_spacing()
def set_justify(justify)
def get_justify()
def set_alignment(alignment)
def get_alignment()
def set_tabs(tabs)
def get_tabs()
def set_single_paragraph_mode(setting)
def get_single_paragraph_mode()
def context_changed()
def index_to_pos(index)
def get_cursor_pos(index)
def move_cursor_visually(strong, old_index, old_trailing, direction)
def xy_to_index(x, y)
def get_extents()
def get_pixel_extents()
def get_size()
def get_pixel_size()
def get_line_count()
def get_line(line)
def get_iter()

Ancestry

+-- gobject.GObject
   +-- pango.Layout
-

Description

A pango.Layout +

Description

A pango.Layout object represents a paragraph of text with a pango.Context, a UTF-8 text string and a set of attributes for that string. The set of formatted lines can be extracted from the object, the layout can be @@ -11,7 +11,7 @@ made. Also there are a number of attributes that adjust the formatting of the layout.

Constructor

    pango.Layout(context)

context :

a pango.Context

Returns :

a new pango.Layout.

Creates a new pango.Layout object with attributes initialized to the default values of the pango.Context -specified by context.

Methods

pango.Layout.copy

    def copy()

Returns :

a new pango.Layout that +specified by context.

Methods

pango.Layout.copy

    def copy()

Returns :

a new pango.Layout that is a copy of the layout

The copy() method returns a pango.Layout that is a deep copy-by-value of the layout. The attribute list, tab array, and text from the layout are all copied by value.

pango.Layout.get_context

    def get_context()

Returns :

the pango.Context for diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-pangolayoutiter.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-pangolayoutiter.html --- pygtk-2.14.1/docs/html/class-pangolayoutiter.html 2009-03-05 22:50:32.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-pangolayoutiter.html 2009-05-24 23:13:32.000000000 +0100 @@ -1,13 +1,13 @@ pango.LayoutIter

pango.LayoutIter

pango.LayoutIter — an object used to iterate over the visual extents of a pango.Layout -(new in PyGTK 2.6)

Synopsis

class pango.LayoutIter(gobject.GBoxed):
-    def free()
def next_char()
def next_cluster()
def next_line()
def next_run()
def at_last_line()
def get_index()
def get_baseline()
def get_char_extents()
def get_cluster_extents()
def get_layout_extents()
def get_line_extents()
def get_run_extents()
def get_line_yrange()
def get_line()

Ancestry

+-- gobject.GBoxed
+(new in PyGTK 2.6)

Synopsis

class pango.LayoutIter(gobject.GBoxed):
+    def free()
def next_char()
def next_cluster()
def next_line()
def next_run()
def at_last_line()
def get_index()
def get_baseline()
def get_char_extents()
def get_cluster_extents()
def get_layout_extents()
def get_line_extents()
def get_run_extents()
def get_line_yrange()
def get_line()

Ancestry

+-- gobject.GBoxed
   +-- pango.LayoutIter
-

Description

A pango.LayoutIter +

Description

A pango.LayoutIter object can be used to iterate over the visual elements of a pango.Layout. A pango.LayoutIter is created using the pango.Layout.get_iter() -method.

Methods

pango.LayoutIter.free

    def free()

Returns :

a new pango.Layout that +method.

Methods

pango.LayoutIter.free

    def free()

Returns :

a new pango.Layout that is a copy of the layout

Warning

This method is deprecated and should not be used since it may crash your application.

The free() method frees the pango.LayoutIter object.

pango.LayoutIter.next_char

    def next_char()

Returns :

True if the iter was diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-pangolayoutline.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-pangolayoutline.html --- pygtk-2.14.1/docs/html/class-pangolayoutline.html 2009-03-05 22:50:33.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-pangolayoutline.html 2009-05-24 23:13:32.000000000 +0100 @@ -1,11 +1,11 @@ pango.LayoutLine

pango.LayoutLine

pango.LayoutLine — a line in a pango.Layout -(new in PyGTK 2.8)

Synopsis

class pango.LayoutLine(gobject.GBoxed):
-    def get_extents()
def get_pixel_extents()
def index_to_x(index, trailing)
def x_to_index(x_pos)

Ancestry

+-- gobject.GBoxed
+(new in PyGTK 2.8)

Synopsis

class pango.LayoutLine(gobject.GBoxed):
+    def get_extents()
def get_pixel_extents()
def index_to_x(index, trailing)
def x_to_index(x_pos)

Ancestry

+-- gobject.GBoxed
   +-- pango.LayoutLine
-

Attributes

"is_paragraph_start"ReadTrue if this is the first line of +

Attributes

"is_paragraph_start"ReadTrue if this is the first line of the paragraph
"length"Readthe length of the line in bytes
"resolved_dir"Readthe resolved direction of line
"runs"Reada list containing the runs of the line in visual order.
"start_index"Readthe start of the line as byte index into the -layout.

Description

A pango.LayoutLine +layout.

Description

A pango.LayoutLine object represents one of the lines resulting from laying out a paragraph via pango.Layout. pango.LayoutLine objects are obtained by calling the pango.Layout.get_line() @@ -13,7 +13,7 @@ method. pango.LayoutLine objects are only valid until the text, attributes, or settings of the parent pango.Layout -are modified.

Methods

pango.LayoutLine.get_extents

    def get_extents()

Returns :

a 2-tuple containing 4-tuples representing +are modified.

Methods

pango.LayoutLine.get_extents

    def get_extents()

Returns :

a 2-tuple containing 4-tuples representing the rectangles for the logical and ink extents in Pango units.

Note

This method is available in PyGTK 2.8 and above.

The get_extents() method returns the logical and ink extents rectangles of the layout line in a 2-tuple diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-pangorenderer.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-pangorenderer.html --- pygtk-2.14.1/docs/html/class-pangorenderer.html 2009-03-05 22:50:33.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-pangorenderer.html 2009-05-24 23:13:33.000000000 +0100 @@ -1,15 +1,15 @@ pango.Renderer

pango.Renderer

pango.Renderer — a base class for pango rendering (new in -PyGTK 2.8)

Synopsis

class pango.Renderer(gobject.GObject):
-    def draw_layout(layout, x, y)
def draw_layout_line(line, x, y)
def draw_glyphs(font, glyphs, x, y)
def draw_rectangle(part, x, y, width, height)
def draw_error_underline(x, y, width, height)
def draw_trapezoid(part, y1_, x11, x21, y2, x12, x22)
def activate()
def deactivate()
def part_changed(part)
def set_color(part, color)
def get_color(part)

Ancestry

+-- gobject.GObject
+PyGTK 2.8)

Synopsis

class pango.Renderer(gobject.GObject):
+    def draw_layout(layout, x, y)
def draw_layout_line(line, x, y)
def draw_glyphs(font, glyphs, x, y)
def draw_rectangle(part, x, y, width, height)
def draw_error_underline(x, y, width, height)
def draw_trapezoid(part, y1_, x11, x21, y2, x12, x22)
def activate()
def deactivate()
def part_changed(part)
def set_color(part, color)
def get_color(part)

Ancestry

+-- gobject.GObject
   +-- pango.Renderer
-

Description

pango.Renderer +

Description

pango.Renderer is a base class that contains the necessary logic for rendering a pango.Layout or pango.LayoutLine. By subclassing pango.Renderer and overriding operations such as draw_glyphs() and draw_rectangle(), renderers for particular font backends and destinations can be -created.

Methods

pango.Renderer.draw_layout

    def draw_layout(layout, x, y)

layout :

a pango.Layout

x :

the x position of left edge of baseline, +created.

Methods

pango.Renderer.draw_layout

    def draw_layout(layout, x, y)

layout :

a pango.Layout

x :

the x position of left edge of baseline, in user space coordinates in Pango units.

y :

the y position of left edge of baseline, in user space coordinates in Pango units.

Note

This method is available in PyGTK 2.8 and above.

The draw_layout() method draws the pango.Layout diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-pangotabarray.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-pangotabarray.html --- pygtk-2.14.1/docs/html/class-pangotabarray.html 2009-03-05 22:50:33.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-pangotabarray.html 2009-05-24 23:13:33.000000000 +0100 @@ -1,5 +1,5 @@ -pango.TabArray

pango.TabArray

pango.TabArray — an object containing an array of tab stops.

Synopsis

class pango.TabArray(gobject.GBoxed):
-    pango.TabArray(initial_size, positions_in_pixels)
def copy()
def get_size()
def resize(new_size)
def set_tab(tab_index, alignment, location)
def get_tab(tab_index)
def get_tabs()
def get_positions_in_pixels()

Description

A pango.TabArray +pango.TabArray

pango.TabArray

pango.TabArray — an object containing an array of tab stops.

Synopsis

class pango.TabArray(gobject.GBoxed):
+    pango.TabArray(initial_size, positions_in_pixels)
def copy()
def get_size()
def resize(new_size)
def set_tab(tab_index, alignment, location)
def get_tab(tab_index)
def get_tabs()
def get_positions_in_pixels()

Description

A pango.TabArray object contains an array of tab stops. Each tab stop has an alignment and a position.

Constructor

    pango.TabArray(initial_size, positions_in_pixels)

initial_size :

Initial number of tab stops to allocate, can be 0

positions_in_pixels :

if True the tab positions are @@ -9,7 +9,7 @@ positions_in_pixels is True, the tab stop positions are specified in pixel units otherwise in pango units (one pixel = pango.SCALE pango units). All tab stops are -initially at position 0.

Methods

pango.TabArray.copy

    def copy()

Returns :

a new pango.TabArray +initially at position 0.

Methods

pango.TabArray.copy

    def copy()

Returns :

a new pango.TabArray object

The copy() method returns a new pango.TabArray that is copy of this pango.TabArray.

pango.TabArray.get_size

    def get_size()

Returns :

the number of tab stops in the array.

The get_size() method returns the diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-pygtkgenericcellrenderer.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-pygtkgenericcellrenderer.html --- pygtk-2.14.1/docs/html/class-pygtkgenericcellrenderer.html 2009-03-05 22:48:40.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-pygtkgenericcellrenderer.html 2009-05-24 23:11:46.000000000 +0100 @@ -1,10 +1,10 @@ gtk.GenericCellRenderer

gtk.GenericCellRenderer

gtk.GenericCellRenderer — a TreeView cell renderer that helps create cell renderers -in Python

Synopsis

class gtk.GenericCellRenderer(gtk.CellRenderer):
-    gtk.GenericCellRenderer()

Ancestry

+-- gobject.GObject
+in Python

Synopsis

class gtk.GenericCellRenderer(gtk.CellRenderer):
+    gtk.GenericCellRenderer()

Ancestry

+-- gobject.GObject
   +-- gtk.Object
     +-- gtk.CellRenderer
       +-- gtk.GenericCellRenderer
-

Description

The gtk.GenericCellRenderer +

Description

The gtk.GenericCellRenderer helps in the creation of gtk.TreeView cell renderers in Python. The gtk.GenericCellRenderer is subclassed to provide a new cell renderer that provides cell renderer diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-pygtkgenerictreemodel.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-pygtkgenerictreemodel.html --- pygtk-2.14.1/docs/html/class-pygtkgenerictreemodel.html 2009-03-05 22:48:40.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-pygtkgenerictreemodel.html 2009-05-24 23:11:46.000000000 +0100 @@ -1,13 +1,13 @@ gtk.GenericTreeModel

gtk.GenericTreeModel

gtk.GenericTreeModel — a TreeView model that helps create tree models in -Python

Synopsis

class gtk.GenericTreeModel(gobject.GObject, gtk.TreeModel):
-    gtk.GenericTreeModel()
def invalidate_iters()
def iter_is_valid(iter)
def get_user_data(iter)
def create_tree_iter(user_data)

Ancestry

+-- gobject.GObject
+Python

Synopsis

class gtk.GenericTreeModel(gobject.GObject, gtk.TreeModel):
+    gtk.GenericTreeModel()
def invalidate_iters()
def iter_is_valid(iter)
def get_user_data(iter)
def create_tree_iter(user_data)

Ancestry

+-- gobject.GObject
   +-- gtk.GenericTreeModel (implements gtk.TreeModel)
-

Properties

"leak-references"Read-WriteIf True, creating a gtk.TreeIter will +

Properties

"leak-references"Read-WriteIf True, creating a gtk.TreeIter will bump the reference count of the object used as the internal row reference. This may cause a memory leak but will prevent problems with objects being destroyed while still in use in a gtk.TreeIter. Set this to False only if the model saves the objects used in -tree iters.

Description

The gtk.GenericTreeModel +tree iters.

Description

The gtk.GenericTreeModel helps in the creation of gtk.TreeView tree models in Python. The gtk.GenericTreeModel is subclassed to provide a new tree model that provides the tree model @@ -35,7 +35,7 @@ method to determine if a gtk.TreeIter is still valid for the custom tree model.

Constructor

    gtk.GenericTreeModel()

Returns :

a new gtk.GenericTreeModel object

Creates a new gtk.GenericTreeModel -object

Methods

gtk.GenericTreeModel.invalidate_iters

    def invalidate_iters()

Note

This method is available in PyGTK 2.4 and above.

The invalidate_iters() method +object

Methods

gtk.GenericTreeModel.invalidate_iters

    def invalidate_iters()

Note

This method is available in PyGTK 2.4 and above.

The invalidate_iters() method invalidates all the gtk.TreeIter objects for the custom tree model.

gtk.GenericTreeModel.iter_is_valid

    def iter_is_valid(iter)

iter :

a gtk.TreeIter

Returns :

True if iter is valid for the tree model; diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-pygtktreemodelrow.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-pygtktreemodelrow.html --- pygtk-2.14.1/docs/html/class-pygtktreemodelrow.html 2009-03-05 22:49:40.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-pygtktreemodelrow.html 2009-05-24 23:12:42.000000000 +0100 @@ -1,11 +1,11 @@ -gtk.TreeModelRow

gtk.TreeModelRow

gtk.TreeModelRow — an object representing a row in a gtk.TreeModel

Synopsis

class gtk.TreeModelRow:
-    def iterchildren()

Ancestry

+-- gobject.GBoxed
+gtk.TreeModelRow

gtk.TreeModelRow

gtk.TreeModelRow — an object representing a row in a gtk.TreeModel

Synopsis

class gtk.TreeModelRow:
+    def iterchildren()

Ancestry

+-- gobject.GBoxed
     +-- gtk.TreeModelRow
-

Attributes

"next"ReadThe next gtk.TreeModelRow +

Attributes

"next"ReadThe next gtk.TreeModelRow or None
"parent"ReadThe parent gtk.TreeModelRow of this row or None
"model"ReadThe gtk.TreeModel that the row is part of.
"path"ReadThe tree path of the row
"iter"ReadA gtk.TreeIter -pointing at the row.

Description

A gtk.TreeModelRow +pointing at the row.

Description

A gtk.TreeModelRow object represents a row in a gtk.TreeModel. A gtk.TreeModelRow is created by taking the mapping of a gtk.TreeModel. For @@ -29,7 +29,7 @@ (tuple()) function.

The gtk.TreeModelRow supports one method: the iterchildren() method that returns a gtk.TreeModelRowIter -for iterating over the children of the row.

Methods

gtk.TreeModelRow.iterchildren

    def iterchildren()

Returns :

a gtk.TreeModelRowIter +for iterating over the children of the row.

Methods

gtk.TreeModelRow.iterchildren

    def iterchildren()

Returns :

a gtk.TreeModelRowIter for the row's children or None

The iterchildren() method returns a gtk.TreeModelRowIter diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/class-pygtktreemodelrowiter.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/class-pygtktreemodelrowiter.html --- pygtk-2.14.1/docs/html/class-pygtktreemodelrowiter.html 2009-03-05 22:49:40.000000000 +0000 +++ pygtk-2.15.1/docs/html/class-pygtktreemodelrowiter.html 2009-05-24 23:12:43.000000000 +0100 @@ -1,8 +1,8 @@ gtk.TreeModelRowIter

gtk.TreeModelRowIter

gtk.TreeModelRowIter — an object for iterating over a set of gtk.TreeModelRow -objects.

Synopsis

class gtk.TreeModelRowIter:
-    def next()

Ancestry

+-- gobject.GBoxed
+objects.

Synopsis

class gtk.TreeModelRowIter:
+    def next()

Ancestry

+-- gobject.GBoxed
     +-- gtk.TreeModelRowIter
-

Description

A gtk.TreeModelRowIter +

Description

A gtk.TreeModelRowIter is an object that implements the Python Iterator protocol. It provides the means to iterate over a set of gtk.TreeModelRow objects in a gtk.TreeModel. A @@ -18,7 +18,7 @@ that a gtk.TreeModelRowIter does not iterate over the child rows of the rows it is iterating over. You'll have to use the gtk.TreeModelRow.iterchildren() -method to retrieve an iterator for the child rows.

Methods

gtk.TreeModelRowIter.next

    def next()

Returns :

the next gtk.TreeModelRow

The next() method returns the next +method to retrieve an iterator for the child rows.

Methods

gtk.TreeModelRowIter.next

    def next()

Returns :

the next gtk.TreeModelRow

The next() method returns the next gtk.TreeModelRow in the set of rows it is iterating over. When there are no more rows left the StopIteration exception is raised.

diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/gdk-constants.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/gdk-constants.html --- pygtk-2.14.1/docs/html/gdk-constants.html 2009-03-05 22:50:26.000000000 +0000 +++ pygtk-2.15.1/docs/html/gdk-constants.html 2009-05-24 23:13:26.000000000 +0100 @@ -1,4 +1,4 @@ -gtk.gdk Constants

gtk.gdk Constants

gtk.gdk Constants — the built-in constants of the gtk.gdk module

Synopsis

+gtk.gdk Constants

gtk.gdk Constants

gtk.gdk Constants — the built-in constants of the gtk.gdk module

Synopsis

 GDK Drag Action Constants
 GDK Device Axis Use Constants
 GDK Byte Order Constants
diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/gdk-functions.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/gdk-functions.html
--- pygtk-2.14.1/docs/html/gdk-functions.html	2009-03-05 22:50:25.000000000 +0000
+++ pygtk-2.15.1/docs/html/gdk-functions.html	2009-05-24 23:13:25.000000000 +0100
@@ -1,11 +1,17 @@
-gtk.gdk Functions

gtk.gdk Functions

gtk.gdk Functions — the gtk.gdk module functions

Synopsis

gtk.gdk.Atom Functions

    def gtk.gdk.atom_intern(name, only_if_exists=False)

gtk.gdk.Pixbuf Functions

    def gtk.gdk.pixbuf_new_from_file(filename)
def gtk.gdk.pixbuf_new_from_file_at_size(filename, width, height)
def gtk.gdk.pixbuf_new_from_data(data, colorspace, has_alpha, bits_per_sample, width, height, rowstride)
def gtk.gdk.pixbuf_new_from_array(array, colorspace, bits_per_sample)
def gtk.gdk.pixbuf_new_from_xpm_data(data)
def gtk.gdk.pixbuf_new_from_inline(data_length, data, copy_pixels)
def gtk.gdk.pixbuf_get_formats()
def gtk.gdk.pixbuf_get_file_info(filename)

gtk.gdk.Pixmap Functions

    def gtk.gdk.bitmap_create_from_data(drawable, data, width, height)
def gtk.gdk.pixmap_create_from_data(drawable, data, width, height, depth, fg, bg)
def gtk.gdk.pixmap_create_from_xpm(window, transparent_color, filename)
def gtk.gdk.pixmap_colormap_create_from_xpm(window, colormap, transparent_color, filename)
def gtk.gdk.pixmap_create_from_xpm_d(window, transparent_color, data)
def gtk.gdk.pixmap_colormap_create_from_xpm_d(window, colormap, transparent_color, data)
def gtk.gdk.pixmap_foreign_new(anid)
def gtk.gdk.pixmap_lookup(anid)
def gtk.gdk.pixmap_foreign_new_for_display(display, anid)
def gtk.gdk.pixmap_lookup_for_display(display, anid)

gtk.gdk.Region Functions

    def gtk.gdk.region_rectangle(rectangle)

Miscellaneous Functions

    def gtk.gdk.pointer_grab(window, owner_events=False, event_mask=0, confine_to=None, cursor=None, time=0L)
def gtk.gdk.pointer_ungrab(time=0L)
def gtk.gdk.keyboard_grab(window, owner_events=False, time=0L)
def gtk.gdk.keyboard_ungrab(time=0L)
def gtk.gdk.pointer_is_grabbed()
def gtk.gdk.flush()
def gtk.gdk.beep()
def gtk.gdk.set_double_click_time(msec)
def gtk.gdk.threads_enter()
def gtk.gdk.threads_leave()
+gtk.gdk Functions

gtk.gdk Functions

gtk.gdk Functions — the gtk.gdk module functions

Synopsis

gtk.gdk.Atom Functions

    def gtk.gdk.atom_intern(name, only_if_exists=False)

gtk.gdk.Pixbuf Functions

    def gtk.gdk.pixbuf_new_from_file(filename)
def gtk.gdk.pixbuf_new_from_file_at_size(filename, width, height)
def gtk.gdk.pixbuf_new_from_data(data, colorspace, has_alpha, bits_per_sample, width, height, rowstride)
def gtk.gdk.pixbuf_new_from_array(array, colorspace, bits_per_sample)
def gtk.gdk.pixbuf_new_from_xpm_data(data)
def gtk.gdk.pixbuf_new_from_inline(data_length, data, copy_pixels)
def gtk.gdk.pixbuf_get_formats()
def gtk.gdk.pixbuf_get_file_info(filename)

gtk.gdk.Pixmap Functions

    def gtk.gdk.bitmap_create_from_data(drawable, data, width, height)
def gtk.gdk.pixmap_create_from_data(drawable, data, width, height, depth, fg, bg)
def gtk.gdk.pixmap_create_from_xpm(window, transparent_color, filename)
def gtk.gdk.pixmap_colormap_create_from_xpm(window, colormap, transparent_color, filename)
def gtk.gdk.pixmap_create_from_xpm_d(window, transparent_color, data)
def gtk.gdk.pixmap_colormap_create_from_xpm_d(window, colormap, transparent_color, data)
def gtk.gdk.pixmap_foreign_new(anid)
def gtk.gdk.pixmap_lookup(anid)
def gtk.gdk.pixmap_foreign_new_for_display(display, anid)
def gtk.gdk.pixmap_lookup_for_display(display, anid)

gtk.gdk.Region Functions

    def gtk.gdk.region_rectangle(rectangle)

Miscellaneous Functions

    def gtk.gdk.pointer_grab(window, owner_events=False, event_mask=0, confine_to=None, cursor=None, time=0L)
def gtk.gdk.pointer_ungrab(time=0L)
def gtk.gdk.keyboard_grab(window, owner_events=False, time=0L)
def gtk.gdk.keyboard_ungrab(time=0L)
def gtk.gdk.pointer_is_grabbed()
def gtk.gdk.flush()
def gtk.gdk.beep()
def gtk.gdk.set_double_click_time(msec)
def gtk.gdk.threads_enter()
def gtk.gdk.threads_leave()
 	  gtk.gdk.lock
-  
def gtk.gdk.threads_init()
def gtk.gdk.rgb_ditherable()
def gtk.gdk.rgb_get_colormap()
def gtk.gdk.rgb_set_verbose(verbose)
def gtk.gdk.rgb_set_install(install)
def gtk.gdk.rgb_set_min_colors(min_colors)
def gtk.gdk.rgb_get_visual()
def gtk.gdk.selection_owner_get(selection)
def gtk.gdk.selection_send_notify(requestor, selection, target, property, time)
def gtk.gdk.set_sm_client_id(sm_client_id)
def gtk.gdk.notify_startup_complete()
def gtk.gdk.get_program_class()
def gtk.gdk.set_program_class(program_class)
def gtk.gdk.get_display()
def gtk.gdk.get_display_arg_name()
def gtk.gdk.pango_context_get_for_screen(screen)
def gtk.gdk.pango_context_get()
def gtk.gdk.x11_display_get_startup_notification_id(display)

Description

These functions are part of the PyGTK gtk.gdk +

def gtk.gdk.threads_init()
def gtk.gdk.rgb_ditherable()
def gtk.gdk.rgb_get_colormap()
def gtk.gdk.rgb_set_verbose(verbose)
def gtk.gdk.rgb_set_install(install)
def gtk.gdk.rgb_set_min_colors(min_colors)
def gtk.gdk.rgb_get_visual()
def gtk.gdk.selection_owner_get(selection)
+ + def gtk.gdk.selection_owner_get_for_display(display, selection)
+ + def gtk.gdk.selection_owner_set_for_display(display, owner, selection, time, send_event)
+ + def gtk.gdk.selection_send_notify(requestor, selection, target, property, time)
def gtk.gdk.set_sm_client_id(sm_client_id)
def gtk.gdk.notify_startup_complete()
def gtk.gdk.get_program_class()
def gtk.gdk.set_program_class(program_class)
def gtk.gdk.get_display()
def gtk.gdk.get_display_arg_name()
def gtk.gdk.pango_context_get_for_screen(screen)
def gtk.gdk.pango_context_get()
def gtk.gdk.x11_display_get_startup_notification_id(display)

Description

These functions are part of the PyGTK gtk.gdk module. All the functions are listed above with links to the function description. Most functions are associated with a specific object class and their descriptions are part of the class reference. Those functions that are not directly associated with a specific class have their descriptions -below.

Functions

gtk.gdk.pointer_grab

    def gtk.gdk.pointer_grab(window, owner_events=False, event_mask=0, confine_to=None, cursor=None, time=0L)

window :

the gtk.gdk.Window that +below.

Functions

gtk.gdk.pointer_grab

    def gtk.gdk.pointer_grab(window, owner_events=False, event_mask=0, confine_to=None, cursor=None, time=0L)

window :

the gtk.gdk.Window that will own the grab (the grab window).

owner_events :

if False then all pointer events are reported with respect to window and are only reported if selected by event_mask. If @@ -139,7 +145,30 @@ a selection owner for this window, and if it is a window known to the current application. Note that the return value may be owned by a different process if a foreign window was previously created for that window, but a -new foreign window will never be created by this call.

gtk.gdk.selection_send_notify

    def gtk.gdk.selection_send_notify(requestor, selection, target, property, time)

requestor :

the integer ID of the window to deliver the +new foreign window will never be created by this call.

gtk.gdk.selection_owner_get_for_display

    def gtk.gdk.selection_owner_get_for_display(display, selection)

display :

A gtk.gdk.Display. +

selection :

an atom indentifying a selection.

Returns :

If there is a selection owner for this window, and it is + a window known to the current process, the + gtk.gdk.Window that + owns the selection or None.

+ The gtk.gdk.selection_owner_get_for_display() function + determine the owner of the given selection. +

+ Note that the return value may be owned by a different process if a foreign + window was previously created for that window, but a new foreign window will + never be created by this call. +

gtk.gdk.selection_owner_set_for_display

    def gtk.gdk.selection_owner_set_for_display(display, owner, selection, timw, send_event)

display :

A gtk.gdk.Display. +

owner :

A gtk.gdk.Window + or None to indicate that the owner for the given should be unset. +

selection :

an atom indentifying a selection.

time :

timestamp to use when setting the selection. If this is + older than the timestamp given last time the owner was set for the given + selection, the request will be ignored.

send_event :

if True, and the new owner is different + from the current owner, the current owner will be sent a SelectionClear + event.

Returns :

True if the selection owner was successfully + changed to owner, otherwise False.

+ The gtk.gdk.selection_owner_set_for_display() function + sets the gtk.gdk.Window + owner as the current owner of the selection selection. +

gtk.gdk.selection_send_notify

    def gtk.gdk.selection_send_notify(requestor, selection, target, property, time)

requestor :

the integer ID of the window to deliver the response to.

selection :

an atom representing the selection that was requested.

target :

an atom representing the target that was selected.

property :

an atom representing the property in which the diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/gtk-constants.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/gtk-constants.html --- pygtk-2.14.1/docs/html/gtk-constants.html 2009-03-05 22:50:04.000000000 +0000 +++ pygtk-2.15.1/docs/html/gtk-constants.html 2009-05-24 23:13:06.000000000 +0100 @@ -1,4 +1,4 @@ -gtk Constants

gtk Constants

gtk Constants — the built-in constants of the gtk module

Synopsis

+gtk Constants

gtk Constants

gtk Constants — the built-in constants of the gtk module

Synopsis

 GTK Accel Flags Constants
 GTK Anchor Type Constants
 GTK Arrow Type Constants
diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/gtk-functions.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/gtk-functions.html
--- pygtk-2.14.1/docs/html/gtk-functions.html	2009-03-05 22:50:02.000000000 +0000
+++ pygtk-2.15.1/docs/html/gtk-functions.html	2009-05-24 23:13:03.000000000 +0100
@@ -1,7 +1,7 @@
-gtk Functions

gtk Functions

gtk Functions — miscellaneous functions

Synopsis

gtk.AccelGroup Functions

    def gtk.accelerator_valid(keyval, modifiers)
def gtk.accelerator_parse(accelerator)
def gtk.accelerator_name(accelerator_key, accelerator_mods)
def gtk.accelerator_set_default_mod_mask(default_mod_mask)
def gtk.accelerator_get_default_mod_mask()
def gtk.accelerator_get_label(accelerator_key, accelerator_mods)
def gtk.accel_groups_from_object(object)

gtk.AccelMap Functions

    def gtk.accel_map_add_entry(accel_path, accel_key, accel_mods)
def gtk.accel_map_lookup_entry(accel_path)
def gtk.accel_map_change_entry(accel_path, accel_key, accel_mods, replace)
def gtk.accel_map_foreach(foreach_func, data=None)
def gtk.accel_map_foreach_unfiltered(foreach_func, data=None)
def gtk.accel_map_get()
def gtk.accel_map_load(file_name)
def gtk.accel_map_save(file_name)
def gtk.accel_map_load_fd(fd)
def gtk.accel_map_save_fd(fd)
def gtk.accel_map_lock_path(accel_path)
def gtk.accel_map_unlock_path(accel_path)
def gtk.accel_map_add_filter(filter_pattern)

gtk.Dialog Functions

    def gtk.alternative_dialog_button_order(screen=None)

gtk.IconSource Functions

    def gtk.icon_size_lookup(icon_size)
def gtk.icon_size_lookup_for_settings(settings, icon_size)
def gtk.icon_size_register(name, width, height)
def gtk.icon_size_register_alias(alias, target)
def gtk.icon_size_from_name(name)
def gtk.icon_size_get_name(size)

gtk.Image Functions

    def gtk.image_new_from_stock(stock_id, size)
def gtk.image_new_from_icon_set(icon_set, size)
def gtk.image_new_from_animation(animation)
def gtk.image_new_from_icon_name(icon_name, size)

gtk.LinkButton Functions

    def gtk.link_button_set_uri_hook(func, data=None)

gtk.Object Functions

    def gtk.bindings_activate(object, keyval, modifiers)
def gtk.bindings_activate_event(object, event)
def gtk.binding_entry_add_signal(object, keyval, modifiers, signal_name, ...)
def gtk.binding_entry_remove(class_type, keyval, modifiers)

gtk.PaperSize Functions

    def gtk.paper_size_new_from_ppd(ppd_name, ppd_display_name, width, height)
def gtk.paper_size_new_cutom(name, display_name, width, height, unit)
def gtk.paper_size_get_default()

gtk.Plug Functions

    def gtk.plug_new_for_display(display, socket_id)

gtk.RcStyle Functions

    def gtk.rc_add_default_file(filename)
def gtk.rc_set_default_files(filenames)
def gtk.rc_get_default_files()
def gtk.rc_get_style_by_paths(settings, widget_path, class_path, type)
def gtk.rc_reparse_all_for_settings(settings, force_load)
def gtk.rc_reset_styles(settings)
def gtk.rc_parse(filename)
def gtk.rc_parse_string(rc_string)
def gtk.rc_reparse_all()
def gtk.rc_find_module_in_path(module_file)
def gtk.rc_get_theme_dir()
def gtk.rc_get_module_dir()
def gtk.rc_get_im_module_path()
def gtk.rc_get_im_module_file()

gtk.SelectionData Functions

    def gtk.selection_owner_set_for_display(display, widget, selection, time=0)
def gtk.target_list_add_image_targets(list=None, info=0, writable=False)
def gtk.target_list_add_text_targets(list=None, info=0)
def gtk.target_list_add_uri_targets(list=None, info=0)

gtk.Tooltips Functions

    def gtk.tooltips_data_get(widget)

Stock Item Functions

    def gtk.stock_add(items)
def gtk.stock_lookup(stock_id)
def gtk.stock_list_ids()

Miscellaneous Functions

    def gtk.check_version(required_major, required_minor, required_micro)
def gtk.draw_insertion_cursor(widget, drawable, area, location, is_primary, direction, draw_arrow)
def gtk.get_default_language()
def gtk.events_pending()
def gtk.main_do_event(event)
def gtk.main()
def gtk.main_level()
def gtk.main_quit()
def gtk.main_iteration(block)
def gtk.main_iteration_do(block)
def gtk.grab_get_current()
def gtk.quit_add(level, func, ...)
def gtk.quit_remove(quit_handler_id)
def gtk.get_current_event()
def gtk.get_current_event_state()
def gtk.get_current_event_time()
def gtk.init_check()

Description

All PyGTK functions for the gtk module are +gtk Functions

gtk Functions

gtk Functions — miscellaneous functions

Synopsis

gtk.AccelGroup Functions

    def gtk.accelerator_valid(keyval, modifiers)
def gtk.accelerator_parse(accelerator)
def gtk.accelerator_name(accelerator_key, accelerator_mods)
def gtk.accelerator_set_default_mod_mask(default_mod_mask)
def gtk.accelerator_get_default_mod_mask()
def gtk.accelerator_get_label(accelerator_key, accelerator_mods)
def gtk.accel_groups_from_object(object)

gtk.AccelMap Functions

    def gtk.accel_map_add_entry(accel_path, accel_key, accel_mods)
def gtk.accel_map_lookup_entry(accel_path)
def gtk.accel_map_change_entry(accel_path, accel_key, accel_mods, replace)
def gtk.accel_map_foreach(foreach_func, data=None)
def gtk.accel_map_foreach_unfiltered(foreach_func, data=None)
def gtk.accel_map_get()
def gtk.accel_map_load(file_name)
def gtk.accel_map_save(file_name)
def gtk.accel_map_load_fd(fd)
def gtk.accel_map_save_fd(fd)
def gtk.accel_map_lock_path(accel_path)
def gtk.accel_map_unlock_path(accel_path)
def gtk.accel_map_add_filter(filter_pattern)

gtk.Dialog Functions

    def gtk.alternative_dialog_button_order(screen=None)

gtk.IconSource Functions

    def gtk.icon_size_lookup(icon_size)
def gtk.icon_size_lookup_for_settings(settings, icon_size)
def gtk.icon_size_register(name, width, height)
def gtk.icon_size_register_alias(alias, target)
def gtk.icon_size_from_name(name)
def gtk.icon_size_get_name(size)

gtk.Image Functions

    def gtk.image_new_from_stock(stock_id, size)
def gtk.image_new_from_icon_set(icon_set, size)
def gtk.image_new_from_animation(animation)
def gtk.image_new_from_icon_name(icon_name, size)

gtk.LinkButton Functions

    def gtk.link_button_set_uri_hook(func, data=None)

gtk.Object Functions

    def gtk.bindings_activate(object, keyval, modifiers)
def gtk.bindings_activate_event(object, event)
def gtk.binding_entry_add_signal(object, keyval, modifiers, signal_name, ...)
def gtk.binding_entry_remove(class_type, keyval, modifiers)

gtk.PaperSize Functions

    def gtk.paper_size_new_from_ppd(ppd_name, ppd_display_name, width, height)
def gtk.paper_size_new_cutom(name, display_name, width, height, unit)
def gtk.paper_size_get_default()

gtk.Plug Functions

    def gtk.plug_new_for_display(display, socket_id)

gtk.RcStyle Functions

    def gtk.rc_add_default_file(filename)
def gtk.rc_set_default_files(filenames)
def gtk.rc_get_default_files()
def gtk.rc_get_style_by_paths(settings, widget_path, class_path, type)
def gtk.rc_reparse_all_for_settings(settings, force_load)
def gtk.rc_reset_styles(settings)
def gtk.rc_parse(filename)
def gtk.rc_parse_string(rc_string)
def gtk.rc_reparse_all()
def gtk.rc_find_module_in_path(module_file)
def gtk.rc_get_theme_dir()
def gtk.rc_get_module_dir()
def gtk.rc_get_im_module_path()
def gtk.rc_get_im_module_file()

gtk.SelectionData Functions

    def gtk.selection_owner_set_for_display(display, widget, selection, time=0)
def gtk.target_list_add_image_targets(list=None, info=0, writable=False)
def gtk.target_list_add_text_targets(list=None, info=0)
def gtk.target_list_add_uri_targets(list=None, info=0)

gtk.Tooltips Functions

    def gtk.tooltips_data_get(widget)

Stock Item Functions

    def gtk.stock_add(items)
def gtk.stock_lookup(stock_id)
def gtk.stock_list_ids()

Miscellaneous Functions

    def gtk.check_version(required_major, required_minor, required_micro)
def gtk.draw_insertion_cursor(widget, drawable, area, location, is_primary, direction, draw_arrow)
def gtk.get_default_language()
def gtk.events_pending()
def gtk.main_do_event(event)
def gtk.main()
def gtk.main_level()
def gtk.main_quit()
def gtk.main_iteration(block)
def gtk.main_iteration_do(block)
def gtk.grab_get_current()
def gtk.quit_add(level, func, ...)
def gtk.quit_remove(quit_handler_id)
def gtk.get_current_event()
def gtk.get_current_event_state()
def gtk.get_current_event_time()
def gtk.init_check()

Description

All PyGTK functions for the gtk module are listed above categorized by class. Those functions associated with a class have their descriptions included with the class reference. Those functions -that are not associated with a specific class are described below.

Functions

gtk.check_version

    def gtk.check_version(required_major, required_minor, required_micro)

required_major :

the required major version +that are not associated with a specific class are described below.

Functions

gtk.check_version

    def gtk.check_version(required_major, required_minor, required_micro)

required_major :

the required major version number

required_minor :

the required minor version number

required_micro :

the required micro version number

Returns :

None if the underlying diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/gtk-stock-items.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/gtk-stock-items.html --- pygtk-2.14.1/docs/html/gtk-stock-items.html 2009-03-05 22:50:02.000000000 +0000 +++ pygtk-2.15.1/docs/html/gtk-stock-items.html 2009-05-24 23:13:04.000000000 +0100 @@ -1,14 +1,14 @@ Stock Items

Stock Items

Stock Items — prebuilt common menu/toolbar items and corresponding -icons

Synopsis

+icons

Synopsis

 Functions
 
-    def gtk.stock_add(items)
def gtk.stock_lookup(stock_id)
def gtk.stock_list_ids()

Description

Stock items represent commonly-used menu or toolbar items such as + def gtk.stock_add(items)
def gtk.stock_lookup(stock_id)
def gtk.stock_list_ids()

Description

Stock items represent commonly-used menu or toolbar items such as "Open" or "Exit". Each stock item is identified by a stock ID; stock IDs are just strings, but macros such as gtk.STOCK_OPEN are provided to avoid typing mistakes in the strings. Applications can register their own stock items in addition to those built-in to PyGTK.

The stock items are:

gtk.STOCK_ABOUT

Available in GTK+ 2.6 and above.

gtk.STOCK_ADD

gtk.STOCK_APPLY

gtk.STOCK_BOLD

gtk.STOCK_CANCEL

gtk.STOCK_CDROM

gtk.STOCK_CLEAR

gtk.STOCK_CLOSE

gtk.STOCK_COLOR_PICKER

Available in GTK+ 2.2 and above.

gtk.STOCK_CONVERT

gtk.STOCK_CONNECT

Available in GTK+ 2.6 and above.

gtk.STOCK_COPY

gtk.STOCK_CUT

gtk.STOCK_DELETE

gtk.STOCK_DIALOG_AUTHENTICATION

Available in GTK+ 2.4 and above.

gtk.STOCK_DIALOG_ERROR

gtk.STOCK_DIALOG_INFO

gtk.STOCK_DIALOG_QUESTION

gtk.STOCK_DIALOG_WARNING

gtk.STOCK_DIRECTORY

Available in GTK+ 2.6 and above.

gtk.STOCK_DISCONNECT

Available in GTK+ 2.6 and above.

gtk.STOCK_DND

gtk.STOCK_DND_MULTIPLE

gtk.STOCK_EDIT

Available in GTK+ 2.6 and above.

gtk.STOCK_EXECUTE

gtk.STOCK_FILE

Available in GTK+ 2.6 and above.

gtk.STOCK_FIND

gtk.STOCK_FIND_AND_REPLACE

gtk.STOCK_FLOPPY

gtk.STOCK_FULLSCREEN

Available in GTK+ 2.8 and above.

gtk.STOCK_GOTO_BOTTOM

gtk.STOCK_GOTO_FIRST

gtk.STOCK_GOTO_LAST

gtk.STOCK_GOTO_TOP

gtk.STOCK_GO_BACK

gtk.STOCK_GO_DOWN

gtk.STOCK_GO_FORWARD

gtk.STOCK_GO_UP

gtk.STOCK_HARDDISK

Available in GTK+ 2.4 and above

gtk.STOCK_HELP

gtk.STOCK_HOME

gtk.STOCK_INDENT

Available in GTK+ 2.4 and above.

gtk.STOCK_INDEX

gtk.STOCK_INFO

Available in GTK+ 2.8 and above.

gtk.STOCK_ITALIC

gtk.STOCK_JUMP_TO

RTL version is

gtk.STOCK_JUSTIFY_CENTER

gtk.STOCK_JUSTIFY_FILL

gtk.STOCK_JUSTIFY_LEFT

gtk.STOCK_JUSTIFY_RIGHT

gtk.STOCK_LEAVE_FULLSCREEN

Available in GTK+ 2.8 and above.

gtk.STOCK_MEDIA_FORWARD

Available in GTK+ 2.6 and above.

gtk.STOCK_MEDIA_NEXT

Available in GTK+ 2.6 and above.

gtk.STOCK_MEDIA_PAUSE

Available in GTK+ 2.6 and above.

gtk.STOCK_MEDIA_PLAY

RTL version is Available in GTK+ 2.6 and above.

gtk.STOCK_MEDIA_PREVIOUS

Available in GTK+ 2.6 and above.

gtk.STOCK_MEDIA_RECORD

Available in GTK+ 2.6 and above.

gtk.STOCK_MEDIA_REWIND

Available in GTK+ 2.6 and above.

gtk.STOCK_MEDIA_STOP

Available in GTK+ 2.6 and above.

gtk.STOCK_MISSING_IMAGE

gtk.STOCK_NETWORK

-Available in GTK+ 2.4 and above.

gtk.STOCK_NEW

gtk.STOCK_NO

gtk.STOCK_OK

gtk.STOCK_OPEN

gtk.STOCK_PAGE_SETUP

Available in GTK+ 2.14 and above.

gtk.STOCK_PASTE

gtk.STOCK_PREFERENCES

gtk.STOCK_PRINT

gtk.STOCK_PRINT_ERROR

Available in GTK+ 2.14 and above.

gtk.STOCK_PRINT_PAUSED

Available in GTK+ 2.14 and above.

gtk.STOCK_PRINT_PREVIEW

gtk.STOCK_PRINT_REPORT

Available in GTK+ 2.14 and above.

gtk.STOCK_PRINT_WARNING

Available in GTK+ 2.14 and above.

gtk.STOCK_PROPERTIES

gtk.STOCK_QUIT

gtk.STOCK_REDO

RTL version is

gtk.STOCK_REFRESH

gtk.STOCK_REMOVE

gtk.STOCK_REVERT_TO_SAVED

RTL version is

gtk.STOCK_SAVE

gtk.STOCK_SAVE_AS

gtk.STOCK_SELECT_COLOR

gtk.STOCK_SELECT_FONT

gtk.STOCK_SORT_ASCENDING

gtk.STOCK_SORT_DESCENDING

gtk.STOCK_SPELL_CHECK

gtk.STOCK_STOP

gtk.STOCK_STRIKETHROUGH

gtk.STOCK_UNDELETE

RTL version is

gtk.STOCK_UNDERLINE

gtk.STOCK_UNDO

RTL version is

gtk.STOCK_UNINDENT

Available in GTK+ 2.4 and above.

gtk.STOCK_YES

gtk.STOCK_ZOOM_100

gtk.STOCK_ZOOM_FIT

gtk.STOCK_ZOOM_IN

gtk.STOCK_ZOOM_OUT

Functions

gtk.stock_add

    def gtk.stock_add(items)

items :

a list or tuple containing 5-tuples of stock +Available in GTK+ 2.4 and above.

gtk.STOCK_NEW

gtk.STOCK_NO

gtk.STOCK_OK

gtk.STOCK_OPEN

gtk.STOCK_PAGE_SETUP

Available in GTK+ 2.14 and above.

gtk.STOCK_PASTE

gtk.STOCK_PREFERENCES

gtk.STOCK_PRINT

gtk.STOCK_PRINT_ERROR

Available in GTK+ 2.14 and above.

gtk.STOCK_PRINT_PAUSED

Available in GTK+ 2.14 and above.

gtk.STOCK_PRINT_PREVIEW

gtk.STOCK_PRINT_REPORT

Available in GTK+ 2.14 and above.

gtk.STOCK_PRINT_WARNING

Available in GTK+ 2.14 and above.

gtk.STOCK_PROPERTIES

gtk.STOCK_QUIT

gtk.STOCK_REDO

RTL version is

gtk.STOCK_REFRESH

gtk.STOCK_REMOVE

gtk.STOCK_REVERT_TO_SAVED

RTL version is

gtk.STOCK_SAVE

gtk.STOCK_SAVE_AS

gtk.STOCK_SELECT_COLOR

gtk.STOCK_SELECT_FONT

gtk.STOCK_SORT_ASCENDING

gtk.STOCK_SORT_DESCENDING

gtk.STOCK_SPELL_CHECK

gtk.STOCK_STOP

gtk.STOCK_STRIKETHROUGH

gtk.STOCK_UNDELETE

RTL version is

gtk.STOCK_UNDERLINE

gtk.STOCK_UNDO

RTL version is

gtk.STOCK_UNINDENT

Available in GTK+ 2.4 and above.

gtk.STOCK_YES

gtk.STOCK_ZOOM_100

gtk.STOCK_ZOOM_FIT

gtk.STOCK_ZOOM_IN

gtk.STOCK_ZOOM_OUT

Functions

gtk.stock_add

    def gtk.stock_add(items)

items :

a list or tuple containing 5-tuples of stock items

The gtk.stock_add() function registers each of the stock items in the list or tuple specified by items. The stock items are specified by a 5-tuple diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/index.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/index.html --- pygtk-2.14.1/docs/html/index.html 2009-03-05 22:50:37.000000000 +0000 +++ pygtk-2.15.1/docs/html/index.html 2009-05-24 23:13:37.000000000 +0100 @@ -1,6 +1,6 @@ -PyGTK 2.0 Reference Manual

PyGTK 2.0 Reference Manual

For PyGTK version 2.14.0

2009-03-05 +PyGTK 2.0 Reference Manual

PyGTK 2.0 Reference Manual

For PyGTK version 2.15.0

2009-05-01

Abstract

This reference describes the classes of the Python PyGTK -module.


Table of Contents

Introduction
Major Changes since Version 1.9
Reference Page Format
PyGTK Class Hierarchy
The atk Class Reference
atk.Action — the ATK interface provided by UI components that the user +module.


Table of Contents

Introduction
Major Changes since Version 1.9
Reference Page Format
PyGTK Class Hierarchy
The atk Class Reference
atk.Action — the ATK interface provided by UI components that the user can activate/interact with,
atk.Component — the ATK interface provided by UI components that occupy a physical area on the screen.
atk.Document — the ATK interface which allows access to a DOM associated with on object.
atk.EditableText — the ATK interface implemented by components containing @@ -172,5 +172,5 @@ 2.10)
gtkunixprint.PrintUnixDialog — an dialog for selecting a printer in Unix (new in PyGTK 2.10)
gtkunixprint Functions — the built-in functions of the gtkunixprint module
gtkunixprint Constants — the built-in constants of the gtkunixprint module (new in - PyGTK 2.10)
+ PyGTK 2.10)
diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/index.sgml /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/index.sgml --- pygtk-2.14.1/docs/html/index.sgml 2009-03-05 22:50:51.000000000 +0000 +++ pygtk-2.15.1/docs/html/index.sgml 2009-05-24 23:13:50.000000000 +0100 @@ -455,6 +455,7 @@ + @@ -1068,6 +1069,7 @@ + @@ -2046,6 +2048,7 @@ + @@ -3761,6 +3764,7 @@ + @@ -4231,6 +4235,8 @@ + + diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/pangocairo-constants.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/pangocairo-constants.html --- pygtk-2.14.1/docs/html/pangocairo-constants.html 2009-03-05 22:50:35.000000000 +0000 +++ pygtk-2.15.1/docs/html/pangocairo-constants.html 2009-05-24 23:13:35.000000000 +0100 @@ -1 +1 @@ -pangocairo Constants

pangocairo Constants

pangocairo Constants — the built-in constants of the pangocairo module

Synopsis

Description

+pangocairo Constants

pangocairo Constants

pangocairo Constants — the built-in constants of the pangocairo module

Synopsis

Description

diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/pangocairo-functions.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/pangocairo-functions.html --- pygtk-2.14.1/docs/html/pangocairo-functions.html 2009-03-05 22:50:35.000000000 +0000 +++ pygtk-2.15.1/docs/html/pangocairo-functions.html 2009-05-24 23:13:35.000000000 +0100 @@ -1,4 +1,4 @@ -pangocairo Functions

pangocairo Functions

pangocairo Functions — a list of all the pangocairo functions

Synopsis

Miscellaneous Functions

    def context_get_font_options(context)
def context_set_font_options(context, font_options)

Functions

pangocairo.context_get_font_options

    def pangocairo.context_get_font_options(context)

context :

a +pangocairo Functions

pangocairo Functions

pangocairo Functions — a list of all the pangocairo functions

Synopsis

Miscellaneous Functions

    def context_get_font_options(context)
def context_set_font_options(context, font_options)

Functions

pangocairo.context_get_font_options

    def pangocairo.context_get_font_options(context)

context :

a pango.Context created by the pango.FontMap.create_context() diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/pango-constants.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/pango-constants.html --- pygtk-2.14.1/docs/html/pango-constants.html 2009-03-05 22:50:34.000000000 +0000 +++ pygtk-2.15.1/docs/html/pango-constants.html 2009-05-24 23:13:34.000000000 +0100 @@ -1,4 +1,4 @@ -pango Constants

pango Constants

pango Constants — the built-in constants of the pango module

Synopsis

+pango Constants

pango Constants

pango Constants — the built-in constants of the pango module

Synopsis

 Pango Alignment Constants
 Pango Attribute Type Constants
 Pango Coverage Level Constants
@@ -78,7 +78,10 @@
 beneath the ink extents of the text being underlined. This should be used
 only for underlining single characters, such as for keyboard accelerators.
 pango.UNDERLINE_SINGLE should be used for extended
-portions of text.

Pango Variant Constants

The Variant constants specify the capitalization variant of the +portions of text.

pango.UNDERLINE_ERROR

a wavy underline should be drawn below. This underline is typically + used to indicate an error such as a possilble mispelling; in some cases a + contrasting color may automatically be used. This type of underlining is + available since Pango 1.4.

Pango Variant Constants

The Variant constants specify the capitalization variant of the font.

pango.VARIANT_NORMAL

A normal font.

pango.VARIANT_SMALL_CAPS

A font with the lower case characters replaced by smaller variants of the capital characters.

Pango Weight Constants

The Weight constants specify the weight (boldness) of a font. This is a numerical value ranging from 100 to 900, but there are some diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/pango-functions.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/pango-functions.html --- pygtk-2.14.1/docs/html/pango-functions.html 2009-03-05 22:50:34.000000000 +0000 +++ pygtk-2.15.1/docs/html/pango-functions.html 2009-05-24 23:13:34.000000000 +0100 @@ -1 +1 @@ -pango Functions

pango Functions

pango Functions — a list of all the pango functions

Synopsis

pango.Attribute Functions

    def pango.attr_type_register(name)
def pango.AttrLanguage(language, start_index=0, end_index=1)
def pango.AttrFamily(family, start_index=0, end_index=1)
def pango.AttrForeground(red, green, blue, start_index=0, end_index=1)
def pango.AttrBackground(red, green, blue, start_index=0, end_index=1)
def pango.AttrSize(size, start_index=0, end_index=1)
def pango.AttrStyle(style, start_index=0, end_index=1)
def pango.AttrWeight(weight, start_index=0, end_index=1)
def pango.AttrVariant(variant, start_index=0, end_index=1)
def pango.AttrStretch(stretch, start_index=0, end_index=1)
def pango.AttrFontDesc(desc, start_index=0, end_index=1)
def pango.AttrUnderline(underline, start_index=0, end_index=1)
def pango.AttrStrikethrough(strikethrough, start_index=0, end_index=1)
def pango.AttrRise(rise, start_index=0, end_index=1)
def pango.AttrShape(ink_rect, logical_rect, start_index=0, end_index=1)
def pango.AttrScale(scale, start_index=0, end_index=1)
def pango.AttrFallback(fallback, start_index=0, end_index=1)

pango.AttrList Functions

    def pango.parse_markup(markup_text, accel_marker=u'\x00')

pango.Font Functions

    def pango.PIXELS(size)
def pango.ASCENT(rect)
def pango.DESCENT(rect)
def pango.RBEARING(rect)
def pango.LBEARING(rect)
+pango Functions

pango Functions

pango Functions — a list of all the pango functions

Synopsis

pango.Attribute Functions

    def pango.attr_type_register(name)
def pango.AttrLanguage(language, start_index=0, end_index=1)
def pango.AttrFamily(family, start_index=0, end_index=1)
def pango.AttrForeground(red, green, blue, start_index=0, end_index=1)
def pango.AttrBackground(red, green, blue, start_index=0, end_index=1)
def pango.AttrSize(size, start_index=0, end_index=1)
def pango.AttrStyle(style, start_index=0, end_index=1)
def pango.AttrWeight(weight, start_index=0, end_index=1)
def pango.AttrVariant(variant, start_index=0, end_index=1)
def pango.AttrStretch(stretch, start_index=0, end_index=1)
def pango.AttrFontDesc(desc, start_index=0, end_index=1)
def pango.AttrUnderline(underline, start_index=0, end_index=1)
def pango.AttrStrikethrough(strikethrough, start_index=0, end_index=1)
def pango.AttrRise(rise, start_index=0, end_index=1)
def pango.AttrShape(ink_rect, logical_rect, start_index=0, end_index=1)
def pango.AttrScale(scale, start_index=0, end_index=1)
def pango.AttrFallback(fallback, start_index=0, end_index=1)

pango.AttrList Functions

    def pango.parse_markup(markup_text, accel_marker=u'\x00')

pango.Font Functions

    def pango.PIXELS(size)
def pango.ASCENT(rect)
def pango.DESCENT(rect)
def pango.RBEARING(rect)
def pango.LBEARING(rect)
diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/pango-markup-language.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/pango-markup-language.html --- pygtk-2.14.1/docs/html/pango-markup-language.html 2009-03-05 22:50:34.000000000 +0000 +++ pygtk-2.15.1/docs/html/pango-markup-language.html 2009-05-24 23:13:33.000000000 +0100 @@ -1,4 +1,4 @@ -The Pango Markup Language

The Pango Markup Language

The Pango Markup Language — a simple markup language for encoding attributes with text.

Description

The pango markup language is a very simple SGML-like language that +The Pango Markup Language

The Pango Markup Language

The Pango Markup Language — a simple markup language for encoding attributes with text.

Description

The pango markup language is a very simple SGML-like language that allows you specify attributes with the text they are applied to by using a small set of markup tags. A simple example of a string using markup is:

<span foreground="blue" size="100">Blue text</span> is <i>cool</i>!

Using the pango markup language to markup text and parsing the diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/pygtk.devhelp /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/pygtk.devhelp --- pygtk-2.14.1/docs/html/pygtk.devhelp 2009-03-05 22:50:42.000000000 +0000 +++ pygtk-2.15.1/docs/html/pygtk.devhelp 2009-05-24 23:13:41.000000000 +0100 @@ -2,7 +2,7 @@ - + @@ -298,12 +298,12 @@ - - - - - - + + + + + + @@ -313,15 +313,16 @@ - + + - + - + @@ -341,7 +342,7 @@ - + @@ -376,32 +377,32 @@ - + - + - - + + - - + + - - - - - - + + + + + + @@ -410,7 +411,7 @@ - + @@ -424,7 +425,7 @@ - + @@ -447,13 +448,13 @@ - + - + @@ -466,16 +467,16 @@ - + - - - + + + @@ -1223,8 +1224,8 @@ - - + + @@ -1293,6 +1294,7 @@ + @@ -1563,10 +1565,10 @@ - - - - + + + + @@ -2953,10 +2955,10 @@ - - - - + + + + @@ -3325,37 +3327,37 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -3484,6 +3486,7 @@ + @@ -3590,31 +3593,31 @@ - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - + @@ -3726,7 +3729,7 @@ - + @@ -3918,23 +3921,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -3954,6 +3957,8 @@ + + @@ -4199,9 +4204,9 @@ - - - + + + @@ -4230,8 +4235,8 @@ - - + + diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/pygtk-introduction.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/pygtk-introduction.html --- pygtk-2.14.1/docs/html/pygtk-introduction.html 2009-03-05 22:48:02.000000000 +0000 +++ pygtk-2.15.1/docs/html/pygtk-introduction.html 2009-05-24 23:11:09.000000000 +0100 @@ -1,4 +1,4 @@ -Introduction

Introduction

This document describes most of the PyGTK version +Introduction

Introduction

This document describes most of the PyGTK version 2.0 through 2.10 classes and their methods and associated functions. Deprecated classes, functions and methods have been specifically left out of this reference though classes that have become @@ -53,7 +53,7 @@ been exposed mostly because there isn't a full GObject interface to the underlying Pango data structures. It's also likely that the rendering capabilities require more performance that Python can - provide.

The gobject module is documented in the PyGObject Reference Manual.

Major Changes since Version 1.9

The major changes in this document since version 1.9 + provide.

The gobject module is documented in the PyGObject Reference Manual.

Major Changes since Version 1.9

The major changes in this document since version 1.9 include:

  • descriptions of new GTK+ 2.2 and 2.4 classes:

  • Descriptions of new GTK+ 2.6 classes:

  • a reference page in each module chapter containing descriptions of or links to all of the functions defined in a module.

  • a reference page in each module chapter containing descriptions of all of the constants defined in a module.

  • additional methods, functions, properties and signals added diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/unixprint-constants.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/unixprint-constants.html --- pygtk-2.14.1/docs/html/unixprint-constants.html 2009-03-05 22:50:37.000000000 +0000 +++ pygtk-2.15.1/docs/html/unixprint-constants.html 2009-05-24 23:13:37.000000000 +0100 @@ -1,5 +1,5 @@ gtkunixprint Constants

    gtkunixprint Constants

    gtkunixprint Constants — the built-in constants of the gtkunixprint module (new in - PyGTK 2.10)

    Synopsis

    +    PyGTK 2.10)

    Description

    Unixprint Print Capabilities Flag Constants

    The Print Capabilities Flag constants specify the printing capabilities an application supports.

    gtkunixprint.PRINT_CAPABILITY_PAGE_SET

    gtkunixprint.PRINT_CAPABILITY_COPIES

    gtkunixprint.PRINT_CAPABILITY_COLLATE

    gtkunixprint.PRINT_CAPABILITY_REVERSE

    gtkunixprint.PRINT_CAPABILITY_SCALE

    diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/html/unixprint-functions.html /tmp/vg4GBciBVb/pygtk-2.15.1/docs/html/unixprint-functions.html --- pygtk-2.14.1/docs/html/unixprint-functions.html 2009-03-05 22:50:37.000000000 +0000 +++ pygtk-2.15.1/docs/html/unixprint-functions.html 2009-05-24 23:13:36.000000000 +0100 @@ -1,5 +1,5 @@ gtkunixprint Functions

    gtkunixprint Functions

    gtkunixprint Functions — the built-in functions of the gtkunixprint - module

    Synopsis

        def gtkunixprint.enumerate_printers(func, data=None, wait=True)

    Functions

    gtkunixprint.enumerate_printers

        def gtkunixprint.enumerate_printers(func, data=None, wait=True)

    func :

    a function to call for each + module

    Synopsis

        def gtkunixprint.enumerate_printers(func, data=None, wait=True)

    Functions

    gtkunixprint.enumerate_printers

        def gtkunixprint.enumerate_printers(func, data=None, wait=True)
    + For details on how assignment to *_float attributes work, + see constructor documentation. @@ -127,6 +174,17 @@ color == eval(repr(color)) + + PyGTK 2.16 introduces several ways of using floating-point numbers for + creating gtk.gdk.Color + objects or setting their individual components. In all cases it was decided to + silently clamp input values to valid range, rather than being strict and e.g. raise + an exception. The rationale is that floating-point arithmetics are imprecise, so + you could end with a computed value slightly larger than maximum or a little smaller + than minimum valid value. To simplify using new features, such "slightly off" + values are just clamped without any warning. + + @@ -189,6 +247,12 @@ Second form of the constructor is available in PyGTK 2.14 and above. + + red, green + and blue can be floating-point numbers since PyGTK + 2.16. + + Creates a new gtk.gdk.Color object with the color component values specified by red, @@ -200,6 +264,26 @@ Second form of the constructor is analogous to gtk.gdk.color_parse. + Starting with PyGTK 2.16, red, green and + blue parameters can also be floating-point numbers in the + range 0.0--1.0. Either all specified values must be integers or floats -- mixing is + not allowed as this would be too error-prone. Values outside the valid range + 0.0--1.0 are clamped, so e.g. 3.14 is the same as 1.0. + + Note that internally values are still stored as integers, so values of + corresponding *_float attribute will not necessarily be the same + as the value used as argument for the constructor. They will be as close as + permitted by 16-bit color component storage used by GdkColor + though. + + All of the following expressions create a bright green color: + + + gtk.gdk.Color(0, 65535, 0) + gtk.gdk.Color(green=1.0) + gtk.gdk.Color('#0f0') + + @@ -284,6 +368,68 @@ + + gtk.gdk.color_from_hsv + + + gtk.gdk.color_from_hsv + hue + saturation + value + + + + + hue : + Hue of the desired color as a float in range + 0.0--1.0 + + + saturation : + Saturation of the desired color as a float in range + 0.0--1.0 + + + value : + Value of the desired color as a float in range + 0.0--1.0 + + + Returns : + a gtk.gdk.Color + object + + + + + This function is available in PyGTK 2.16 and above. + + + The gtk.gdk.color_from_hsv() method returns + the gtk.gdk.Color + specified by the HSV parameters. All three parameters are mandatory and should be + floats from 0.0 to 1.0. The range requirement, however, is not strict, see + below. + + As hue goes from 0 to 1 color goes roughly as red → yellow → green → cyan → + blue → magenta → red. Because of the "circular" nature, this parameter wraps + around, so only fractional part matters. E.g. -4.2 or 1.8 are the same as 0.8. + Saturation determines how intense a color is, with 0.0 meaning pure gray and 1.0 + -- fully intense color. Value determines how light a color is, with 0.0 standing + for fully black and 1.0 for completely white color. Both saturation and value are + clamped to valid range (see rationale at the top of the page). + + Note that internal storage is still integers, so values of + corresponding hue, saturation + and value attributes of the returned object will not + necessarily be equal to the value used as argument for this functions. They will + be as close as permitted by 16-bit color component storage used + by GdkColor though. + + For more details read about HSV + colorspace. + + diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/reference/pygtk-gdk-functions.xml /tmp/vg4GBciBVb/pygtk-2.15.1/docs/reference/pygtk-gdk-functions.xml --- pygtk-2.14.1/docs/reference/pygtk-gdk-functions.xml 2009-03-05 22:09:46.000000000 +0000 +++ pygtk-2.15.1/docs/reference/pygtk-gdk-functions.xml 2009-04-26 16:11:17.000000000 +0100 @@ -550,7 +550,24 @@ linkend="function-gdk--selection-owner-get">gtk.gdk.selection_owner_getselection - + + + + gtk.gdk.selection_owner_get_for_display + display + selection + + + + gtk.gdk.selection_owner_set_for_display + display + owner + selection + time + send_event + + + gtk.gdk.selection_send_notify + + gtk.gdk.selection_owner_get_for_display + + + gtk.gdk.selection_owner_get_for_display + display + selection + + + + display : + A gtk.gdk.Display. + + + + selection : + an atom indentifying a selection. + + + Returns : + If there is a selection owner for this window, and it is + a window known to the current process, the + gtk.gdk.Window that + owns the selection or None. + + + + + The gtk.gdk.selection_owner_get_for_display() function + determine the owner of the given selection. + + + Note that the return value may be owned by a different process if a foreign + window was previously created for that window, but a new foreign window will + never be created by this call. + + + + + + gtk.gdk.selection_owner_set_for_display + + + gtk.gdk.selection_owner_set_for_display + display + owner + selection + timw + send_event + + + + display : + A gtk.gdk.Display. + + + + owner : + A gtk.gdk.Window + or None to indicate that the owner for the given should be unset. + + + + selection : + an atom indentifying a selection. + + + time : + timestamp to use when setting the selection. If this is + older than the timestamp given last time the owner was set for the given + selection, the request will be ignored. + + + send_event : + if True, and the new owner is different + from the current owner, the current owner will be sent a SelectionClear + event. + + + Returns : + True if the selection owner was successfully + changed to owner, otherwise False. + + + + + The gtk.gdk.selection_owner_set_for_display() function + sets the gtk.gdk.Window + owner as the current owner of the selection selection. + + + + gtk.gdk.selection_send_notify diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/reference/pygtk-gdkgc.xml /tmp/vg4GBciBVb/pygtk-2.15.1/docs/reference/pygtk-gdkgc.xml --- pygtk-2.14.1/docs/reference/pygtk-gdkgc.xml 2009-03-05 22:09:46.000000000 +0000 +++ pygtk-2.15.1/docs/reference/pygtk-gdkgc.xml 2009-05-24 23:08:41.000000000 +0100 @@ -435,6 +435,10 @@ linkend="class-gdkgc">gtk.gdk.GC, such as the dash pattern, can only be set by the latter method. + Note that all coordinates except for clip mask and clip region are relative to + destination drawable (e.g. gtk.gdk.Window) + origin. In particular, coordinates are not related to widget + allocation. diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/reference/pygtk-gtkaccelgroup.xml /tmp/vg4GBciBVb/pygtk-2.15.1/docs/reference/pygtk-gtkaccelgroup.xml --- pygtk-2.14.1/docs/reference/pygtk-gtkaccelgroup.xml 2009-03-05 22:09:46.000000000 +0000 +++ pygtk-2.15.1/docs/reference/pygtk-gtkaccelgroup.xml 2009-04-26 16:11:17.000000000 +0100 @@ -271,7 +271,7 @@ gtk.AccelGroup.connect_group - connect + connect_group accel_key + + + + Attributes + + All attributes are available in PyGTK 2.16 and above. + + +
    + + + + + + +
    + + + "left" + Read-Write + The width of the left border margin. + + + + "right" + Read-Write + The width of the right border margin. + + + + "top" + Read-Write + The width of the bottom border margin. + + + + "bottom" + Read-Write + The width of the bottom border margin. + + + + + @@ -45,6 +89,64 @@ free(). + Starting with PyGTK 2.16 you can also + treat gtk.Border + objects as sequences of 4 integer values. E.g. you can convert to a tuple or read + and assign individual values by index. + + + + Constructor + + + gtk.Border + left + 0 + right + 0 + top + 0 + bottom + 0 + + + + left : + the width of the left margin + + + right : + the width of the right margin + + + top : + the width of the top margin + + + bottom : + the width of the bottom margin + + + Returns : + a new gtk.gdk.Rectangle +object + + + + + This constructor is available in PyGTK 2.16 and above. + + + Creates a + new gtk.Border with + the attributes specified + by left, right, top + and bottom. Any unspecified attributes default to 0. diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/reference/pygtk-gtkfilechooserbutton.xml /tmp/vg4GBciBVb/pygtk-2.15.1/docs/reference/pygtk-gtkfilechooserbutton.xml --- pygtk-2.14.1/docs/reference/pygtk-gtkfilechooserbutton.xml 2009-03-05 22:09:45.000000000 +0000 +++ pygtk-2.15.1/docs/reference/pygtk-gtkfilechooserbutton.xml 2009-04-26 16:11:17.000000000 +0100 @@ -160,6 +160,22 @@ gtk.Widget Signal Prototypes gtk.Container Signal Prototypes gtk.FileChooser Signal Prototypes + + + + "file-set" + + callback + filechooserbutton + + user_param1 + + ... + + + + + @@ -452,6 +468,48 @@ + + Signals + + + The "file-set" gtk.FileChooserButton Signal + + + callback + filechooserbutton + user_param1 + ... + + + + + filechooserbutton : + the filechooserbutton that received the signal + + + user_param1 : + the first user parameter (if any) specified with the + connect() + method + + + ... : + additional user parameters (if any) + + + + + This signal is available in GTK+ 2.12 and above. + + + + The "file-set" signal is emitted when the user selects a file. + + + Note that this signal is only emitted when the user changes the file. + + + diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/reference/pygtk-gtkrcstyle.xml /tmp/vg4GBciBVb/pygtk-2.15.1/docs/reference/pygtk-gtkrcstyle.xml --- pygtk-2.14.1/docs/reference/pygtk-gtkrcstyle.xml 2009-03-05 22:09:46.000000000 +0000 +++ pygtk-2.15.1/docs/reference/pygtk-gtkrcstyle.xml 2009-05-24 23:08:41.000000000 +0100 @@ -82,6 +82,98 @@ + + Attributes + + + Available in PyGTK 2.16 and above. + + + + Some of the following attributes are arrays + of gtk.gdk.Color or + strings. Array objects themselves are read-only but individual elements are + read-write. + + +
    + + + + + + + +
    + + "name" + Read-Write + Name of the style. + + + + "bg_pixmap_name" + Read + An array of names of pixmap files to be used as the background in + each widget state. + + + + "font_desc" + Read-Write + A pango.FontDescription used as the default + text font. + + + + "fg" + Read + An array + of gtk.gdk.Colors + to be used for the foreground colors in each widget state. + + + + "bg" + Read + An array + of gtk.gdk.Colors + to be used for the background colors in each widget state. + + + + "text" + Read + An array + of gtk.gdk.Colors + to be used for the text colors in each widget state. + + + + "base" + Read + An array + of gtk.gdk.Colors + to be used for the base colors in each widget state. + + + + "xthickness" + Read-Write + The thickness of lines drawn vertically. + + + + "ythickness" + Read-Write + The thickness of lines drawn horizontally. + + + + + + + gtk.RcStyle Signal Prototypes diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/reference/pygtk-pango-constants.xml /tmp/vg4GBciBVb/pygtk-2.15.1/docs/reference/pygtk-pango-constants.xml --- pygtk-2.14.1/docs/reference/pygtk-pango-constants.xml 2009-03-05 22:09:46.000000000 +0000 +++ pygtk-2.15.1/docs/reference/pygtk-pango-constants.xml 2009-05-02 17:39:48.000000000 +0100 @@ -657,6 +657,15 @@ portions of text. + + pango.UNDERLINE_ERROR + + a wavy underline should be drawn below. This underline is typically + used to indicate an error such as a possilble mispelling; in some cases a + contrasting color may automatically be used. This type of underlining is + available since Pango 1.4. + + diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/examples/Makefile.in /tmp/vg4GBciBVb/pygtk-2.15.1/examples/Makefile.in --- pygtk-2.14.1/examples/Makefile.in 2009-03-05 23:09:16.000000000 +0000 +++ pygtk-2.15.1/examples/Makefile.in 2009-05-24 23:17:06.000000000 +0100 @@ -1,8 +1,8 @@ -# Makefile.in generated by automake 1.9.6 from Makefile.am. +# Makefile.in generated by automake 1.10.2 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005 Free Software Foundation, Inc. +# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -15,15 +15,11 @@ @SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ -top_builddir = .. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c @@ -68,8 +64,6 @@ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@ -AMDEP_FALSE = @AMDEP_FALSE@ -AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AS = @AS@ @@ -79,18 +73,6 @@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ -BUILD_ATK_FALSE = @BUILD_ATK_FALSE@ -BUILD_ATK_TRUE = @BUILD_ATK_TRUE@ -BUILD_GTKUNIXPRINT_FALSE = @BUILD_GTKUNIXPRINT_FALSE@ -BUILD_GTKUNIXPRINT_TRUE = @BUILD_GTKUNIXPRINT_TRUE@ -BUILD_GTK_FALSE = @BUILD_GTK_FALSE@ -BUILD_GTK_TRUE = @BUILD_GTK_TRUE@ -BUILD_LIBGLADE_FALSE = @BUILD_LIBGLADE_FALSE@ -BUILD_LIBGLADE_TRUE = @BUILD_LIBGLADE_TRUE@ -BUILD_PANGOCAIRO_FALSE = @BUILD_PANGOCAIRO_FALSE@ -BUILD_PANGOCAIRO_TRUE = @BUILD_PANGOCAIRO_TRUE@ -BUILD_PANGO_FALSE = @BUILD_PANGO_FALSE@ -BUILD_PANGO_TRUE = @BUILD_PANGO_TRUE@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ @@ -107,8 +89,6 @@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ -ENABLE_DOCS_FALSE = @ENABLE_DOCS_FALSE@ -ENABLE_DOCS_TRUE = @ENABLE_DOCS_TRUE@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GLIB_CFLAGS = @GLIB_CFLAGS@ @@ -123,19 +103,17 @@ GTK212_LIBS = @GTK212_LIBS@ GTK214_CFLAGS = @GTK214_CFLAGS@ GTK214_LIBS = @GTK214_LIBS@ +GTK216_CFLAGS = @GTK216_CFLAGS@ +GTK216_LIBS = @GTK216_LIBS@ GTKUNIXPRINT_CFLAGS = @GTKUNIXPRINT_CFLAGS@ GTKUNIXPRINT_LIBS = @GTKUNIXPRINT_LIBS@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ HAVE_GTK_2_10 = @HAVE_GTK_2_10@ -HAVE_GTK_2_10_FALSE = @HAVE_GTK_2_10_FALSE@ -HAVE_GTK_2_10_TRUE = @HAVE_GTK_2_10_TRUE@ HAVE_GTK_2_12 = @HAVE_GTK_2_12@ -HAVE_GTK_2_12_FALSE = @HAVE_GTK_2_12_FALSE@ -HAVE_GTK_2_12_TRUE = @HAVE_GTK_2_12_TRUE@ HAVE_GTK_2_14 = @HAVE_GTK_2_14@ -HAVE_GTK_2_14_FALSE = @HAVE_GTK_2_14_FALSE@ -HAVE_GTK_2_14_TRUE = @HAVE_GTK_2_14_TRUE@ +HAVE_GTK_2_16 = @HAVE_GTK_2_16@ +INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ @@ -151,12 +129,11 @@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ +MKDIR_P = @MKDIR_P@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ -OS_WIN32_FALSE = @OS_WIN32_FALSE@ -OS_WIN32_TRUE = @OS_WIN32_TRUE@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ @@ -171,12 +148,11 @@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ -PLATFORM_WIN32_FALSE = @PLATFORM_WIN32_FALSE@ -PLATFORM_WIN32_TRUE = @PLATFORM_WIN32_TRUE@ PYCAIRO_CFLAGS = @PYCAIRO_CFLAGS@ PYCAIRO_LIBS = @PYCAIRO_LIBS@ PYGOBJECT_CFLAGS = @PYGOBJECT_CFLAGS@ PYGOBJECT_DATADIR = @PYGOBJECT_DATADIR@ +PYGOBJECT_DEFSDIR = @PYGOBJECT_DEFSDIR@ PYGOBJECT_FIXXREF = @PYGOBJECT_FIXXREF@ PYGOBJECT_INCLUDEDIR = @PYGOBJECT_INCLUDEDIR@ PYGOBJECT_LIBS = @PYGOBJECT_LIBS@ @@ -199,10 +175,12 @@ THREADING_CFLAGS = @THREADING_CFLAGS@ VERSION = @VERSION@ XSLTPROC = @XSLTPROC@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ @@ -214,6 +192,7 @@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ +builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ @@ -246,8 +225,12 @@ pythondir = @pythondir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ pygtklibdir = $(libdir)/pygtk/2.0 pygtklib_PYTHON = pygtk-demo/pygtk-demo.py demodir = $(pygtklibdir)/demos @@ -319,8 +302,8 @@ @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ - && exit 0; \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ @@ -346,7 +329,7 @@ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh install-binSCRIPTS: $(bin_SCRIPTS) @$(NORMAL_INSTALL) - test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)" + test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" @list='$(bin_SCRIPTS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f $$d$$p; then \ @@ -369,13 +352,9 @@ clean-libtool: -rm -rf .libs _libs - -distclean-libtool: - -rm -f libtool -uninstall-info-am: install-demoPYTHON: $(demo_PYTHON) @$(NORMAL_INSTALL) - test -z "$(demodir)" || $(mkdir_p) "$(DESTDIR)$(demodir)" + test -z "$(demodir)" || $(MKDIR_P) "$(DESTDIR)$(demodir)" @list='$(demo_PYTHON)'; dlist=''; for p in $$list; do\ if test -f "$$p"; then b=; else b="$(srcdir)/"; fi; \ if test -f $$b$$p; then \ @@ -403,7 +382,7 @@ done install-pygtklibPYTHON: $(pygtklib_PYTHON) @$(NORMAL_INSTALL) - test -z "$(pygtklibdir)" || $(mkdir_p) "$(DESTDIR)$(pygtklibdir)" + test -z "$(pygtklibdir)" || $(MKDIR_P) "$(DESTDIR)$(pygtklibdir)" @list='$(pygtklib_PYTHON)'; dlist=''; for p in $$list; do\ if test -f "$$p"; then b=; else b="$(srcdir)/"; fi; \ if test -f $$b$$p; then \ @@ -431,7 +410,7 @@ done install-demoimgDATA: $(demoimg_DATA) @$(NORMAL_INSTALL) - test -z "$(demoimgdir)" || $(mkdir_p) "$(DESTDIR)$(demoimgdir)" + test -z "$(demoimgdir)" || $(MKDIR_P) "$(DESTDIR)$(demoimgdir)" @list='$(demoimg_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ @@ -454,23 +433,21 @@ distdir: $(DISTFILES) - $(mkdir_p) $(distdir)/atk $(distdir)/glade $(distdir)/gobject $(distdir)/gtk $(distdir)/ide $(distdir)/pango $(distdir)/pygtk-demo $(distdir)/pygtk-demo/demos $(distdir)/pygtk-demo/demos/images $(distdir)/simple - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ - list='$(DISTFILES)'; for file in $$list; do \ - case $$file in \ - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ - esac; \ + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test "$$dir" != "$$file" && test "$$dir" != "."; then \ - dir="/$$dir"; \ - $(mkdir_p) "$(distdir)$$dir"; \ - else \ - dir=''; \ - fi; \ if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ @@ -486,7 +463,7 @@ all-am: Makefile $(SCRIPTS) $(DATA) installdirs: for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(demodir)" "$(DESTDIR)$(pygtklibdir)" "$(DESTDIR)$(demoimgdir)"; do \ - test -z "$$dir" || $(mkdir_p) "$$dir"; \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am @@ -519,7 +496,7 @@ distclean: distclean-am -rm -f Makefile -distclean-am: clean-am distclean-generic distclean-libtool +distclean-am: clean-am distclean-generic dvi: dvi-am @@ -534,12 +511,20 @@ install-data-am: install-demoPYTHON install-demoimgDATA \ install-pygtklibPYTHON +install-dvi: install-dvi-am + install-exec-am: install-binSCRIPTS +install-html: install-html-am + install-info: install-info-am install-man: +install-pdf: install-pdf-am + +install-ps: install-ps-am + installcheck-am: maintainer-clean: maintainer-clean-am @@ -559,22 +544,24 @@ ps-am: uninstall-am: uninstall-binSCRIPTS uninstall-demoPYTHON \ - uninstall-demoimgDATA uninstall-info-am \ - uninstall-pygtklibPYTHON + uninstall-demoimgDATA uninstall-pygtklibPYTHON + +.MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ distclean distclean-generic distclean-libtool distdir dvi \ dvi-am html html-am info info-am install install-am \ install-binSCRIPTS install-data install-data-am \ - install-demoPYTHON install-demoimgDATA install-exec \ - install-exec-am install-info install-info-am install-man \ + install-demoPYTHON install-demoimgDATA install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-info install-info-am install-man \ + install-pdf install-pdf-am install-ps install-ps-am \ install-pygtklibPYTHON install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \ uninstall-binSCRIPTS uninstall-demoPYTHON \ - uninstall-demoimgDATA uninstall-info-am \ - uninstall-pygtklibPYTHON + uninstall-demoimgDATA uninstall-pygtklibPYTHON pygtk-demo/pygtk-demo: pygtk-demo/pygtk-demo.in @mkdir -p pygtk-demo diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/examples/pygtk-demo/demos/pixbufs.py /tmp/vg4GBciBVb/pygtk-2.15.1/examples/pygtk-demo/demos/pixbufs.py --- pygtk-2.14.1/examples/pygtk-demo/demos/pixbufs.py 2009-03-05 22:06:53.000000000 +0000 +++ pygtk-2.15.1/examples/pygtk-demo/demos/pixbufs.py 2009-04-26 16:11:17.000000000 +0100 @@ -69,7 +69,7 @@ da.connect("expose_event", self.expose_cb) self.add(da) - self.timeout_id = gtk.timeout_add(FRAME_DELAY, self.timeout) + self.timeout_id = gobject.timeout_add(FRAME_DELAY, self.timeout) self.show_all() @@ -120,7 +120,7 @@ def cleanup_callback(self, win): if self.timeout_id is not None: - gtk.timeout_remove(self.timeout_id) + gobject.source_remove(self.timeout_id) self.timeout_id = None def timeout(self): diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/examples/pygtk-demo/pygtk-demo.py /tmp/vg4GBciBVb/pygtk-2.15.1/examples/pygtk-demo/pygtk-demo.py --- pygtk-2.14.1/examples/pygtk-demo/pygtk-demo.py 2009-03-05 22:06:53.000000000 +0000 +++ pygtk-2.15.1/examples/pygtk-demo/pygtk-demo.py 2009-04-26 16:11:17.000000000 +0100 @@ -1,6 +1,6 @@ #!/usr/bin/env python ''' - $Id: pygtk-demo.py 1828 2004-10-01 23:35:38Z finlay $ + $Id$ pygtk-demo.py 2004-07-18: Some enhancements for building the demolist like in gtk-demos of the @@ -203,6 +203,8 @@ module_name = model.get_value(iter, MODULE_COLUMN) func_name = model.get_value(iter, FUNC_COLUMN) italic_value = model.get_value(iter, ITALIC_COLUMN) + if module_name is None: # a "category" row is activated + return True try: self.module_cache[module_name].present() except KeyError: @@ -221,7 +223,8 @@ return False name = model.get_value(iter, MODULE_COLUMN) - self.load_module(name) + if name is not None: + self.load_module(name) def window_closed_cb (self, window, model, path): iter = model.get_iter(path) @@ -306,7 +309,6 @@ def load_module(self, name): self.clear_buffers() - if name is None: return module = getattr(demos, name) if module.__doc__: self.insert_documentation(module) diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/compat.py /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/compat.py --- pygtk-2.14.1/gtk/compat.py 2009-03-05 22:06:49.000000000 +0000 +++ pygtk-2.15.1/gtk/compat.py 2009-04-26 16:11:17.000000000 +0100 @@ -16,7 +16,7 @@ # # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 # USA __all__ = ['GTK', 'GDK', 'gtk'] diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/deprecation.py /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/deprecation.py --- pygtk-2.14.1/gtk/deprecation.py 2009-03-05 22:06:49.000000000 +0000 +++ pygtk-2.15.1/gtk/deprecation.py 2009-04-26 16:11:17.000000000 +0100 @@ -16,7 +16,7 @@ # # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 # USA import os diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/gdk-2.14.defs /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/gdk-2.14.defs --- pygtk-2.14.1/gtk/gdk-2.14.defs 2009-03-05 22:06:49.000000000 +0000 +++ pygtk-2.15.1/gtk/gdk-2.14.defs 2009-04-26 16:11:17.000000000 +0100 @@ -57,7 +57,7 @@ (c-name "gdk_app_launch_context_set_icon") (return-type "none") (parameters - '("GIcon*" "icon") + '("GIcon*" "icon" (null-ok)) ) ) @@ -66,7 +66,7 @@ (c-name "gdk_app_launch_context_set_icon_name") (return-type "none") (parameters - '("const-char*" "icon_name") + '("const-char*" "icon_name" (null-ok)) ) ) @@ -105,6 +105,21 @@ ;; From gdkwindow.h +(define-method redirect_to_drawable + (of-object "GdkWindow") + (c-name "gdk_window_redirect_to_drawable") + (return-type "none") + (parameters + '("GdkDrawable*" "drawable") + '("gint" "src_x") + '("gint" "src_y") + '("gint" "dest_x") + '("gint" "dest_y") + '("gint" "width") + '("gint" "height") + ) +) + (define-method remove_redirection (of-object "GdkWindow") (c-name "gdk_window_remove_redirection") diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/gdk-2.16.defs /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/gdk-2.16.defs --- pygtk-2.14.1/gtk/gdk-2.16.defs 1970-01-01 01:00:00.000000000 +0100 +++ pygtk-2.15.1/gtk/gdk-2.16.defs 2009-04-26 16:11:17.000000000 +0100 @@ -0,0 +1,13 @@ +;; -*- scheme -*- +; object definitions ... + + + +;; From gdkkeys.h + +(define-method get_caps_lock_state + (of-object "GdkKeymap") + (c-name "gdk_keymap_get_caps_lock_state") + (return-type "gboolean") +) + diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/gdk-base.defs /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/gdk-base.defs --- pygtk-2.14.1/gtk/gdk-base.defs 2009-03-05 22:06:49.000000000 +0000 +++ pygtk-2.15.1/gtk/gdk-base.defs 2009-04-26 16:11:17.000000000 +0100 @@ -3921,7 +3921,7 @@ (return-type "gboolean") (parameters '("GdkDisplay*" "display") - '("GdkWindow*" "owner") + '("GdkWindow*" "owner" (null-ok)) '("GdkAtom" "selection") '("guint32" "time") '("gboolean" "send_event") diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/gdk-base-types.defs /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/gdk-base-types.defs --- pygtk-2.14.1/gtk/gdk-base-types.defs 2009-03-05 22:06:49.000000000 +0000 +++ pygtk-2.15.1/gtk/gdk-base-types.defs 2009-05-24 23:08:41.000000000 +0100 @@ -228,6 +228,14 @@ '("guint16" "red") '("guint16" "green") '("guint16" "blue") + ;; Fake. Only defined since codegen currently doesn't support + ;; defining attributes in '.override' files. + '("gfloat" "red_float") + '("gfloat" "green_float") + '("gfloat" "blue_float") + '("gfloat" "hue") + '("gfloat" "saturation") + '("gfloat" "value") ) ) diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/gdkcairo.override /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/gdkcairo.override --- pygtk-2.14.1/gtk/gdkcairo.override 2009-03-05 22:06:49.000000000 +0000 +++ pygtk-2.15.1/gtk/gdkcairo.override 2009-04-26 16:11:17.000000000 +0100 @@ -16,7 +16,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA */ %% diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/gdkcolor.override /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/gdkcolor.override --- pygtk-2.14.1/gtk/gdkcolor.override 2009-03-05 22:06:49.000000000 +0000 +++ pygtk-2.15.1/gtk/gdkcolor.override 2009-05-24 23:08:41.000000000 +0100 @@ -16,7 +16,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA */ %% @@ -32,25 +32,19 @@ { static char *kwlist1[] = {"red", "green", "blue", "pixel", NULL }; static char *kwlist2[] = { "spec", NULL }; - int red = 0, green = 0, blue = 0; - unsigned int pixel = 0; - const char *spec; + PyObject *red = Py_None, *green = Py_None, *blue = Py_None; + const char *spec = NULL; GdkColor colour; - if (PyArg_ParseTupleAndKeywords(args, kwargs, "|iiik:gdk.Color", kwlist1, - &red, &green, &blue, &pixel)) { - colour.red = red; - colour.green = green; - colour.blue = blue; - colour.pixel = pixel; - goto success; - } + /* Note: this constructor has become quite complicated, because it + * is heavily overloaded. Additionally, we try to optimize a + * little. */ - PyErr_Clear(); - - if (PyArg_ParseTupleAndKeywords(args, kwargs, "s:color_parse|gdk.Color", kwlist2, + if (PyArg_ParseTupleAndKeywords(args, kwargs, "|s:gdk.Color", kwlist2, &spec)) { - if (!gdk_color_parse(spec, &colour)) { + if (!spec) + memset(&colour, 0, sizeof(colour)); + else if (!gdk_color_parse(spec, &colour)) { PyErr_SetString(PyExc_ValueError, "unable to parse colour specification"); return -1; @@ -60,6 +54,77 @@ } PyErr_Clear(); + + if (PyArg_ParseTupleAndKeywords(args, kwargs, "|OOOk:gdk.Color", kwlist1, + &red, &green, &blue, &colour.pixel)) { + /* We don't allow mixing floats and non-floats as that is too + * error-prone. All non-floats are deemed integers in case + * they have __int__() method. */ + int have_floats = 0; + int have_nonfloats = 0; + + if (red == Py_None) + colour.red = 0; + else { + if (PyFloat_Check(red)) { + have_floats = 1; + colour.red = MIN(MAX(0.0, PyFloat_AsDouble(red)), 1.0) * 65535.0; + } + else { + have_nonfloats = 1; + colour.red = PyInt_AsLong(red); + } + } + + if (PyErr_Occurred()) + return -1; + + if (green == Py_None) + colour.green = 0; + else { + if (PyFloat_Check(green)) { + if (have_nonfloats) + goto mixed_types_error; + have_floats = 1; + colour.green = MIN(MAX(0.0, PyFloat_AsDouble(green)), 1.0) * 65535.0; + } + else { + if (have_floats) + goto mixed_types_error; + have_nonfloats = 1; + colour.green = PyInt_AsLong(green); + } + } + + if (PyErr_Occurred()) + return -1; + + if (blue == Py_None) + colour.blue = 0; + else { + if (PyFloat_Check(blue)) { + if (have_nonfloats) + goto mixed_types_error; + colour.blue = MIN(MAX(0.0, PyFloat_AsDouble(blue)), 1.0) * 65535.0; + } + else { + if (have_floats) + goto mixed_types_error; + colour.blue = PyInt_AsLong(blue); + } + } + + if (PyErr_Occurred()) + return -1; + + goto success; + + mixed_types_error: + PyErr_SetString(PyExc_TypeError, "arguments must either be all integers or all floats"); + return -1; + } + + PyErr_Clear(); PyErr_SetString(PyExc_TypeError, "Usage:\n" " gtk.gdk.Color(red, green, blue, pixel) [all are optional]\n" " gtk.gdk.Color(spec) [see gtk.gdk.color_parse()]"); @@ -72,35 +137,201 @@ return 0; } + +%% +define color_from_hsv +static PyObject * +_wrap_color_from_hsv (PyObject *ignored, PyObject *args, PyObject*kwargs) +{ + static char *kwlist[] = { "hue", "saturation", "value", NULL }; + gdouble hue, saturation, value; + gdouble red, green, blue; + GdkColor color; + + if (!PyArg_ParseTupleAndKeywords(args, kwargs, "ddd:gtk.gdk.color_from_hsv", kwlist, + &hue, &saturation, &value)) + return NULL; + + /* See documentation of the class for rationale. */ + + hue -= floor(hue); + + if (saturation > 1.0) + saturation = 1.0; + else if (saturation < 0.0) + saturation = 0.0; + + if (value > 1.0) + value = 1.0; + else if (value < 0.0) + value = 0.0; + + gtk_hsv_to_rgb(hue, saturation, value, + &red, &green, &blue); + + color.red = red * 65535.0; + color.green = green * 65535.0; + color.blue = blue * 65535.0; + + return pyg_boxed_new(GDK_TYPE_COLOR, &color, TRUE, TRUE); +} + +%% +override-attr GdkColor.red +static int +_wrap_gdk_color__set_red(PyObject *self, PyObject *value, void *closure) +{ + long red = PyInt_AsLong(value); + if (red == -1 && PyErr_Occurred()) + return -1; + else { + pyg_boxed_get(self, GdkColor)->red = red; + return 0; + } +} +%% +override-attr GdkColor.blue +static int +_wrap_gdk_color__set_blue(PyObject *self, PyObject *value, void *closure) +{ + long blue = PyInt_AsLong(value); + if (blue == -1 && PyErr_Occurred()) + return -1; + else { + pyg_boxed_get(self, GdkColor)->blue = blue; + return 0; + } +} +%% +override-attr GdkColor.green +static int +_wrap_gdk_color__set_green(PyObject *self, PyObject *value, void *closure) +{ + long green = PyInt_AsLong(value); + if (green == -1 && PyErr_Occurred()) + return -1; + else { + pyg_boxed_get(self, GdkColor)->green = green; + return 0; + } +} %% -override-slot GdkColor.tp_setattr +override-attr GdkColor.pixel static int -_wrap_gdk_color_tp_setattr(PyGBoxed *self, char *attr, PyObject *value) +_wrap_gdk_color__set_pixel(PyObject *self, PyObject *value, void *closure) { - if (value == NULL) { - PyErr_SetString(PyExc_TypeError, "can't delete attributes"); + long pixel = PyInt_AsLong(value); + if (pixel == -1 && PyErr_Occurred()) return -1; + else { + pyg_boxed_get(self, GdkColor)->pixel = pixel; + return 0; } +} +%% +override-attr GdkColor.red_float - if (PyInt_Check(value)) { - int i = PyInt_AsLong(value); - if (!strcmp(attr, "red")) { - pyg_boxed_get(self, GdkColor)->red = i; - return 0; - } else if (!strcmp(attr, "green")) { - pyg_boxed_get(self, GdkColor)->green = i; - return 0; - } else if (!strcmp(attr, "blue")) { - pyg_boxed_get(self, GdkColor)->blue = i; - return 0; - } else if (!strcmp(attr, "pixel")) { - pyg_boxed_get(self, GdkColor)->pixel = i; - return 0; - } +static PyObject * +_wrap_gdk_color__get_red_float(PyObject *self, void *closure) +{ + return PyFloat_FromDouble(pyg_boxed_get(self, GdkColor)->red / 65535.0); +} + +static int +_wrap_gdk_color__set_red_float(PyObject *self, PyObject *value, void *closure) +{ + double red = PyFloat_AsDouble(value); + if (red == -1 && PyErr_Occurred()) + return -1; + else { + pyg_boxed_get(self, GdkColor)->red = MIN(MAX(0.0, red), 1.0) * 65535.0; + return 0; } +} +%% +override-attr GdkColor.green_float - PyErr_SetString(PyExc_AttributeError, "could not write attribute"); - return -1; +static PyObject * +_wrap_gdk_color__get_green_float(PyObject *self, void *closure) +{ + return PyFloat_FromDouble(pyg_boxed_get(self, GdkColor)->green / 65535.0); +} + +static int +_wrap_gdk_color__set_green_float(PyObject *self, PyObject *value, void *closure) +{ + double green = PyFloat_AsDouble(value); + if (green == -1 && PyErr_Occurred()) + return -1; + else { + pyg_boxed_get(self, GdkColor)->green = MIN(MAX(0.0, green), 1.0) * 65535.0; + return 0; + } +} +%% +override-attr GdkColor.blue_float + +static PyObject * +_wrap_gdk_color__get_blue_float(PyObject *self, void *closure) +{ + return PyFloat_FromDouble(pyg_boxed_get(self, GdkColor)->blue / 65535.0); +} + +static int +_wrap_gdk_color__set_blue_float(PyObject *self, PyObject *value, void *closure) +{ + double blue = PyFloat_AsDouble(value); + if (blue == -1 && PyErr_Occurred()) + return -1; + else { + pyg_boxed_get(self, GdkColor)->blue = MIN(MAX(0.0, blue), 1.0) * 65535.0; + return 0; + } +} +%% +override-attr GdkColor.hue + +static PyObject * +_wrap_gdk_color__get_hue(PyObject *self, void *closure) +{ + GdkColor *color = pyg_boxed_get(self, GdkColor); + gdouble red = color->red / 65535.0; + gdouble green = color->green / 65535.0; + gdouble blue = color->blue / 65535.0; + gdouble hue; + + gtk_rgb_to_hsv(red, green, blue, &hue, NULL, NULL); + return PyFloat_FromDouble(hue); +} +%% +override-attr GdkColor.saturation + +static PyObject * +_wrap_gdk_color__get_saturation(PyObject *self, void *closure) +{ + GdkColor *color = pyg_boxed_get(self, GdkColor); + gdouble red = color->red / 65535.0; + gdouble green = color->green / 65535.0; + gdouble blue = color->blue / 65535.0; + gdouble saturation; + + gtk_rgb_to_hsv(red, green, blue, NULL, &saturation, NULL); + return PyFloat_FromDouble(saturation); +} +%% +override-attr GdkColor.value + +static PyObject * +_wrap_gdk_color__get_value(PyObject *self, void *closure) +{ + GdkColor *color = pyg_boxed_get(self, GdkColor); + gdouble red = color->red / 65535.0; + gdouble green = color->green / 65535.0; + gdouble blue = color->blue / 65535.0; + gdouble value; + + gtk_rgb_to_hsv(red, green, blue, NULL, NULL, &value); + return PyFloat_FromDouble(value); } %% override gdk_color_parse kwargs diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/gdkdraw.override /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/gdkdraw.override --- pygtk-2.14.1/gtk/gdkdraw.override 2009-03-05 22:06:49.000000000 +0000 +++ pygtk-2.15.1/gtk/gdkdraw.override 2009-04-26 16:11:17.000000000 +0100 @@ -16,7 +16,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA */ %% diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/gdkevent.override /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/gdkevent.override --- pygtk-2.14.1/gtk/gdkevent.override 2009-03-05 22:06:49.000000000 +0000 +++ pygtk-2.15.1/gtk/gdkevent.override 2009-05-24 23:08:41.000000000 +0100 @@ -16,7 +16,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA */ %% @@ -26,6 +26,11 @@ PyErr_Format(PyExc_TypeError, "%s must be an int", attr); \ return -1; \ } +#define INT_OR_LONG_CHECK() \ + if (!PyInt_Check(value) && !PyLong_Check(value)) { \ + PyErr_Format(PyExc_TypeError, "%s must be an int or a long", attr); \ + return -1; \ + } #define FLOAT_CHECK() \ if (!PyFloat_Check(value)) { \ PyErr_Format(PyExc_TypeError, "%s must be a float", attr); \ @@ -84,8 +89,8 @@ break; case GDK_MOTION_NOTIFY: /*GdkEventMotion motion*/ if (!strcmp(attr, "time")) { - INT_CHECK(); - event->motion.time = PyInt_AsLong(value); + INT_OR_LONG_CHECK(); + event->motion.time = PyInt_AsUnsignedLongMask(value); return 0; } else if (attr[0] == 'x' && attr[1] == '\0') { FLOAT_CHECK(); @@ -124,8 +129,8 @@ case GDK_3BUTTON_PRESS: /*GdkEventButton button*/ case GDK_BUTTON_RELEASE: /*GdkEventButton button*/ if (!strcmp(attr, "time")) { - INT_CHECK(); - event->button.time = PyInt_AsLong(value); + INT_OR_LONG_CHECK(); + event->button.time = PyInt_AsUnsignedLongMask(value); return 0; } else if (attr[0] == 'x' && attr[1] == '\0') { FLOAT_CHECK(); @@ -162,8 +167,8 @@ case GDK_KEY_PRESS: /*GdkEventKey key*/ case GDK_KEY_RELEASE: /*GdkEventKey key*/ if (!strcmp(attr, "time")) { - INT_CHECK(); - event->key.time = PyInt_AsLong(value); + INT_OR_LONG_CHECK(); + event->key.time = PyInt_AsUnsignedLongMask(value); return 0; } else if (!strcmp(attr, "state")) { INT_CHECK(); @@ -204,8 +209,8 @@ event->crossing.subwindow = g_object_ref(GDK_WINDOW(((PyGObject*)value)->obj)); return 0; } else if (!strcmp(attr, "time")) { - INT_CHECK(); - event->crossing.time = PyInt_AsLong(value); + INT_OR_LONG_CHECK(); + event->crossing.time = PyInt_AsUnsignedLongMask(value); return 0; } else if (attr[0] == 'x' && attr[1] == '\0') { FLOAT_CHECK(); @@ -273,8 +278,8 @@ PyErr_SetString(PyExc_TypeError, "atom is not writable"); return -1; } else if (!strcmp(attr, "time")) { - INT_CHECK(); - event->property.time = PyInt_AsLong(value); + INT_OR_LONG_CHECK(); + event->property.time = PyInt_AsUnsignedLongMask(value); return 0; } else if (!strcmp(attr, "state")) { INT_CHECK(); @@ -299,8 +304,8 @@ event->selection.requestor = PyInt_AsLong(value); return 0; } else if (!strcmp(attr, "time")) { - INT_CHECK(); - event->selection.time = PyInt_AsLong(value); + INT_OR_LONG_CHECK(); + event->selection.time = PyInt_AsUnsignedLongMask(value); return 0; } @@ -308,8 +313,8 @@ case GDK_PROXIMITY_IN: /*GdkEventProximity proximity*/ case GDK_PROXIMITY_OUT: /*GdkEventProximity proximity*/ if (!strcmp(attr, "time")) { - INT_CHECK(); - event->proximity.time = PyInt_AsLong(value); + INT_OR_LONG_CHECK(); + event->proximity.time = PyInt_AsUnsignedLongMask(value); return 0; } else if (!strcmp(attr, "device")) { PyErr_SetString(PyExc_TypeError, "device is not writable"); @@ -326,8 +331,8 @@ PyErr_SetString(PyExc_TypeError, "context is not writable"); return -1; } else if (!strcmp(attr, "time")) { - INT_CHECK(); - event->dnd.time = PyInt_AsLong(value); + INT_OR_LONG_CHECK(); + event->dnd.time = PyInt_AsUnsignedLongMask(value); return 0; } else if (!strcmp(attr, "x_root")) { FLOAT_CHECK(); @@ -370,8 +375,8 @@ break; case GDK_SCROLL: /*GdkEventScroll scroll*/ if (!strcmp(attr, "time")) { - INT_CHECK(); - event->scroll.time = PyInt_AsLong(value); + INT_OR_LONG_CHECK(); + event->scroll.time = PyInt_AsUnsignedLongMask(value); return 0; } else if (attr[0] == 'x' && attr[1] == '\0') { FLOAT_CHECK(); @@ -435,8 +440,8 @@ PyErr_SetString(PyExc_TypeError, "selection is not writable"); return -1; } else if (!strcmp(attr, "time")) { - INT_CHECK(); - event->owner_change.time = PyInt_AsLong(value); + INT_OR_LONG_CHECK(); + event->owner_change.time = PyInt_AsUnsignedLongMask(value); } else if (!strcmp(attr, "selection_time")) { INT_CHECK(); event->owner_change.selection_time = PyInt_AsLong(value); @@ -462,6 +467,7 @@ return -1; } #undef INT_CHECK +#undef INT_OR_LONG_CHECK #undef FLOAT_CHECK #undef STRING_CHECK %% diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/gdkgc.override /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/gdkgc.override --- pygtk-2.14.1/gtk/gdkgc.override 2009-03-05 22:06:49.000000000 +0000 +++ pygtk-2.15.1/gtk/gdkgc.override 2009-04-26 16:11:17.000000000 +0100 @@ -16,7 +16,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA */ %% diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/gdk.override /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/gdk.override --- pygtk-2.14.1/gtk/gdk.override 2009-03-05 22:06:49.000000000 +0000 +++ pygtk-2.15.1/gtk/gdk.override 2009-04-26 16:11:17.000000000 +0100 @@ -16,7 +16,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA */ %% @@ -44,7 +44,7 @@ #define GDK_DISPLAY(object) (GDK_DISPLAY_OBJECT(object)) #ifdef HAVE_NUMPY -# include +# include static int have_numpy(void); #endif @@ -93,7 +93,8 @@ import pango.Font as PyPangoFont_Type import pango.Layout as PyPangoLayout_Type import pango.Renderer as PyPangoRenderer_Type -import gio.AppLaunchContext as PyGAppLaunchContext_Type +import gio.AppLaunchContext as PyGAppLaunchContext_Type for GAppLaunchContext +import gio.Icon as PyGIcon_Type for GIcon %% ignore gdk_window_set_debug_updates diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/gdkpixbuf.override /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/gdkpixbuf.override --- pygtk-2.14.1/gtk/gdkpixbuf.override 2009-03-05 22:06:49.000000000 +0000 +++ pygtk-2.15.1/gtk/gdkpixbuf.override 2009-04-26 16:11:17.000000000 +0100 @@ -16,7 +16,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA */ %% @@ -75,7 +75,7 @@ } if (!import_done) { import_done = 1; - import_array(); + import_array1(1); if (PyErr_Occurred()) { PyErr_Fetch(&exc_type, &exc_value, &exc_tb); Py_INCREF(exc_type); diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/gdkrectangle.override /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/gdkrectangle.override --- pygtk-2.14.1/gtk/gdkrectangle.override 2009-03-05 22:06:49.000000000 +0000 +++ pygtk-2.15.1/gtk/gdkrectangle.override 2009-04-26 16:11:17.000000000 +0100 @@ -16,7 +16,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA */ %% diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/gdkwindow.override /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/gdkwindow.override --- pygtk-2.14.1/gtk/gdkwindow.override 2009-03-05 22:06:49.000000000 +0000 +++ pygtk-2.15.1/gtk/gdkwindow.override 2009-04-26 16:11:17.000000000 +0100 @@ -15,7 +15,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA */ %% diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/gtk-2.14.defs /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/gtk-2.14.defs --- pygtk-2.14.1/gtk/gtk-2.14.defs 2009-03-05 22:06:49.000000000 +0000 +++ pygtk-2.15.1/gtk/gtk-2.14.defs 2009-04-26 16:11:17.000000000 +0100 @@ -18,6 +18,99 @@ +;; From gtkadjustment.h + +(define-method get_lower + (of-object "GtkAdjustment") + (c-name "gtk_adjustment_get_lower") + (return-type "gdouble") +) + +(define-method set_lower + (of-object "GtkAdjustment") + (c-name "gtk_adjustment_set_lower") + (return-type "none") + (parameters + '("gdouble" "lower") + ) +) + +(define-method get_upper + (of-object "GtkAdjustment") + (c-name "gtk_adjustment_get_upper") + (return-type "gdouble") +) + +(define-method set_upper + (of-object "GtkAdjustment") + (c-name "gtk_adjustment_set_upper") + (return-type "none") + (parameters + '("gdouble" "upper") + ) +) + +(define-method get_step_increment + (of-object "GtkAdjustment") + (c-name "gtk_adjustment_get_step_increment") + (return-type "gdouble") +) + +(define-method set_step_increment + (of-object "GtkAdjustment") + (c-name "gtk_adjustment_set_step_increment") + (return-type "none") + (parameters + '("gdouble" "step_increment") + ) +) + +(define-method get_page_increment + (of-object "GtkAdjustment") + (c-name "gtk_adjustment_get_page_increment") + (return-type "gdouble") +) + +(define-method set_page_increment + (of-object "GtkAdjustment") + (c-name "gtk_adjustment_set_page_increment") + (return-type "none") + (parameters + '("gdouble" "page_increment") + ) +) + +(define-method get_page_size + (of-object "GtkAdjustment") + (c-name "gtk_adjustment_get_page_size") + (return-type "gdouble") +) + +(define-method set_page_size + (of-object "GtkAdjustment") + (c-name "gtk_adjustment_set_page_size") + (return-type "none") + (parameters + '("gdouble" "page_size") + ) +) + +(define-method configure + (of-object "GtkAdjustment") + (c-name "gtk_adjustment_configure") + (return-type "none") + (parameters + '("gdouble" "value") + '("gdouble" "lower") + '("gdouble" "upper") + '("gdouble" "step_increment") + '("gdouble" "page_increment") + '("gdouble" "page_size") + ) +) + + + ;; From gtkbuilder.h (define-method add_objects_from_file @@ -124,6 +217,23 @@ (return-type "GtkWidget*") ) +;; From gtkcombobox.h + +(define-method set_button_sensitivity + (of-object "GtkComboBox") + (c-name "gtk_combo_box_set_button_sensitivity") + (return-type "none") + (parameters + '("GtkSensitivityType" "sensitivity") + ) +) + +(define-method get_button_sensitivity + (of-object "GtkComboBox") + (c-name "gtk_combo_box_get_button_sensitivity") + (return-type "GtkSensitivityType") +) + ;; From gtkcontainer.h @@ -177,6 +287,73 @@ +;; From gtkfilechooser.h + +(define-method get_file + (of-object "GtkFileChooser") + (c-name "gtk_file_chooser_get_file") + (return-type "GFile*") +) + +(define-method set_file + (of-object "GtkFileChooser") + (c-name "gtk_file_chooser_set_file") + (return-type "gboolean") + (parameters + '("GFile*" "file") + '("GError**" "error") + ) +) + +(define-method select_file + (of-object "GtkFileChooser") + (c-name "gtk_file_chooser_select_file") + (return-type "gboolean") + (parameters + '("GFile*" "file") + '("GError**" "error") + ) +) + +(define-method unselect_file + (of-object "GtkFileChooser") + (c-name "gtk_file_chooser_unselect_file") + (return-type "none") + (parameters + '("GFile*" "file") + ) +) + +(define-method get_files + (of-object "GtkFileChooser") + (c-name "gtk_file_chooser_get_files") + (return-type "GSList*") +) + +(define-method set_current_folder_file + (of-object "GtkFileChooser") + (c-name "gtk_file_chooser_set_current_folder_file") + (return-type "gboolean") + (parameters + '("GFile*" "file") + '("GError**" "error") + ) +) + +(define-method get_current_folder_file + (of-object "GtkFileChooser") + (c-name "gtk_file_chooser_get_current_folder_file") + (return-type "GFile*") +) + +(define-method get_preview_file + (of-object "GtkFileChooser") + (c-name "gtk_file_chooser_get_preview_file") + (return-type "GFile*") +) + + + ;; From gtkfontsel.h (define-method get_ok_button @@ -189,6 +366,7 @@ (of-object "GtkFontSelectionDialog") (c-name "gtk_font_selection_dialog_get_apply_button") (return-type "GtkWidget*") + (deprecated "don't use this method") ) (define-method get_cancel_button @@ -371,7 +549,7 @@ (is-constructor-of "GtkMountOperation") (return-type "GMountOperation*") (parameters - '("GtkWindow*" "parent") + '("GtkWindow*" "parent" (null-ok) (default "NULL")) ) ) @@ -477,6 +655,21 @@ ) ) +(define-method get_number_up_layout + (of-object "GtkPrintSettings") + (c-name "gtk_print_settings_get_number_up_layout") + (return-type "GtkNumberUpLayout") +) + +(define-method set_number_up_layout + (of-object "GtkPrintSettings") + (c-name "gtk_print_settings_set_number_up_layout") + (return-type "none") + (parameters + '("GtkNumberUpLayout" "number_up_layout") + ) +) + ;; From gtkscalebutton.h @@ -540,11 +733,15 @@ ; (of-object "GtkSelectionData") ; (c-name "gtk_selection_data_get_data") ; (return-type "const-guchar*") -; (parameters -; '("guint*" "length") -; ) ;) +(define-method get_length + (of-object "GtkSelectionData") + (c-name "gtk_selection_data_get_length") + (return-type "gint") +) + + (define-method get_display (of-object "GtkSelectionData") (c-name "gtk_selection_data_get_display") @@ -559,7 +756,7 @@ (c-name "gtk_show_uri") (return-type "gboolean") (parameters - '("GdkScreen*" "screen") + '("GdkScreen*" "screen" (null-ok)) '("const-gchar*" "uri") '("guint32" "timestamp") '("GError**" "error") @@ -580,12 +777,35 @@ ;; From gtkstatusicon.h +(define-function status_icon_new_from_gicon + (c-name "gtk_status_icon_new_from_gicon") + (return-type "GtkStatusIcon*") + (parameters + '("GIcon*" "icon") + ) +) + (define-method get_x11_window_id (of-object "GtkStatusIcon") (c-name "gtk_status_icon_get_x11_window_id") (return-type "guint32") ) +(define-method get_gicon + (of-object "GtkStatusIcon") + (c-name "gtk_status_icon_get_gicon") + (return-type "GIcon*") +) + +(define-method set_from_gicon + (of-object "GtkStatusIcon") + (c-name "gtk_status_icon_set_from_gicon") + (return-type "none") + (parameters + '("GIcon*" "icon") + ) +) + ;; From gtktooltip.h @@ -595,7 +815,7 @@ (c-name "gtk_tooltip_set_icon_from_icon_name") (return-type "none") (parameters - '("const-gchar*" "icon_name") + '("const-gchar*" "icon_name" (null-ok)) '("GtkIconSize" "size") ) ) diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/gtk-2.14-types.defs /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/gtk-2.14-types.defs --- pygtk-2.14.1/gtk/gtk-2.14-types.defs 2009-03-05 22:06:49.000000000 +0000 +++ pygtk-2.15.1/gtk/gtk-2.14-types.defs 2009-04-26 16:11:17.000000000 +0100 @@ -12,3 +12,23 @@ (c-name "GtkToolShell") (gtype-id "GTK_TYPE_TOOL_SHELL") ) + + + +;; Enumerations and flags ... + +(define-enum NumberUpLayout + (in-module "Gtk") + (c-name "GtkNumberUpLayout") + (gtype-id "GTK_TYPE_NUMBER_UP_LAYOUT") + (values + '("left-to-right-top-to-bottom" "GTK_NUMBER_UP_LAYOUT_LEFT_TO_RIGHT_TOP_TO_BOTTOM") + '("left-to-right-bottom-to-top" "GTK_NUMBER_UP_LAYOUT_LEFT_TO_RIGHT_BOTTOM_TO_TOP") + '("right-to-left-top-to-bottom" "GTK_NUMBER_UP_LAYOUT_RIGHT_TO_LEFT_TOP_TO_BOTTOM") + '("right-to-left-bottom-to-top" "GTK_NUMBER_UP_LAYOUT_RIGHT_TO_LEFT_BOTTOM_TO_TOP") + '("top-to-bottom-left-to-right" "GTK_NUMBER_UP_LAYOUT_TOP_TO_BOTTOM_LEFT_TO_RIGHT") + '("top-to-bottom-right-to-left" "GTK_NUMBER_UP_LAYOUT_TOP_TO_BOTTOM_RIGHT_TO_LEFT") + '("bottom-to-top-left-to-right" "GTK_NUMBER_UP_LAYOUT_BOTTOM_TO_TOP_LEFT_TO_RIGHT") + '("bottom-to-top-right-to-left" "GTK_NUMBER_UP_LAYOUT_BOTTOM_TO_TOP_RIGHT_TO_LEFT") + ) +) diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/gtk-2.16.defs /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/gtk-2.16.defs --- pygtk-2.14.1/gtk/gtk-2.16.defs 1970-01-01 01:00:00.000000000 +0100 +++ pygtk-2.15.1/gtk/gtk-2.16.defs 2009-04-26 16:11:17.000000000 +0100 @@ -0,0 +1,757 @@ +;; -*- scheme -*- + + + +;; From gtkaction.h + +(define-method block_activate + (of-object "GtkAction") + (c-name "gtk_action_block_activate") + (return-type "none") +) + +(define-method unblock_activate + (of-object "GtkAction") + (c-name "gtk_action_unblock_activate") + (return-type "none") +) + +(define-method set_gicon + (of-object "GtkAction") + (c-name "gtk_action_set_gicon") + (return-type "none") + (parameters + '("GIcon*" "icon") + ) +) + +(define-method get_gicon + (of-object "GtkAction") + (c-name "gtk_action_get_gicon") + (return-type "GIcon*") +) + + +(define-method set_icon_name + (of-object "GtkAction") + (c-name "gtk_action_set_icon_name") + (return-type "none") + (parameters + '("const-gchar*" "icon_name") + ) +) + +(define-method get_icon_name + (of-object "GtkAction") + (c-name "gtk_action_get_icon_name") + (return-type "const-gchar*") +) + +(define-method set_visible_horizontal + (of-object "GtkAction") + (c-name "gtk_action_set_visible_horizontal") + (return-type "none") + (parameters + '("gboolean" "visible_horizontal") + ) +) + +(define-method get_visible_horizontal + (of-object "GtkAction") + (c-name "gtk_action_get_visible_horizontal") + (return-type "gboolean") +) + +(define-method set_visible_vertical + (of-object "GtkAction") + (c-name "gtk_action_set_visible_vertical") + (return-type "none") + (parameters + '("gboolean" "visible_vertical") + ) +) + +(define-method get_visible_vertical + (of-object "GtkAction") + (c-name "gtk_action_get_visible_vertical") + (return-type "gboolean") +) + +(define-method set_is_important + (of-object "GtkAction") + (c-name "gtk_action_set_is_important") + (return-type "none") + (parameters + '("gboolean" "is_important") + ) +) + +(define-method get_is_important + (of-object "GtkAction") + (c-name "gtk_action_get_is_important") + (return-type "gboolean") +) + + +(define-method set_label + (of-object "GtkAction") + (c-name "gtk_action_set_label") + (return-type "none") + (parameters + '("const-gchar*" "label") + ) +) + +(define-method get_label + (of-object "GtkAction") + (c-name "gtk_action_get_label") + (return-type "const-gchar*") +) + +(define-method set_short_label + (of-object "GtkAction") + (c-name "gtk_action_set_short_label") + (return-type "none") + (parameters + '("const-gchar*" "short_label") + ) +) + +(define-method get_short_label + (of-object "GtkAction") + (c-name "gtk_action_get_short_label") + (return-type "const-gchar*") +) + +(define-method set_tooltip + (of-object "GtkAction") + (c-name "gtk_action_set_tooltip") + (return-type "none") + (parameters + '("const-gchar*" "tooltip") + ) +) + +(define-method get_tooltip + (of-object "GtkAction") + (c-name "gtk_action_get_tooltip") + (return-type "const-gchar*") +) + +(define-method set_stock_id + (of-object "GtkAction") + (c-name "gtk_action_set_stock_id") + (return-type "none") + (parameters + '("const-gchar*" "stock_id") + ) +) + +(define-method get_stock_id + (of-object "GtkAction") + (c-name "gtk_action_get_stock_id") + (return-type "const-gchar*") +) + + + +;; From gtkactivatable.h + +(define-function gtk_activatable_get_type + (c-name "gtk_activatable_get_type") + (return-type "GType") +) + +(define-method sync_action_properties + (of-object "GtkActivatable") + (c-name "gtk_activatable_sync_action_properties") + (return-type "none") + (parameters + '("GtkAction*" "action" (null-ok) (default "NULL")) + ) +) + +(define-method set_related_action + (of-object "GtkActivatable") + (c-name "gtk_activatable_set_related_action") + (return-type "none") + (parameters + '("GtkAction*" "action") + ) +) + +(define-method get_related_action + (of-object "GtkActivatable") + (c-name "gtk_activatable_get_related_action") + (return-type "GtkAction*") +) + +(define-method set_use_action_appearance + (of-object "GtkActivatable") + (c-name "gtk_activatable_set_use_action_appearance") + (return-type "none") + (parameters + '("gboolean" "use_appearance") + ) +) + +(define-method get_use_action_appearance + (of-object "GtkActivatable") + (c-name "gtk_activatable_get_use_action_appearance") + (return-type "gboolean") +) + +(define-method do_set_related_action + (of-object "GtkActivatable") + (c-name "gtk_activatable_do_set_related_action") + (return-type "none") + (parameters + '("GtkAction*" "action") + ) +) + +(define-virtual update + (of-object "GtkActivatable") + (return-type "none") + (parameters + '("GtkAction*" "action") + '("const-gchar*" "property_name") + ) +) + +(define-virtual sync_action_properties + (of-object "GtkActivatable") + (return-type "none") + (parameters + '("GtkAction*" "action") + ) +) + + +;; From gtkcellview.h + +(define-method get_model + (of-object "GtkCellView") + (c-name "gtk_cell_view_get_model") + (return-type "GtkTreeModel*") +) + + + +;; From gtkentry.h + +(define-method set_progress_fraction + (of-object "GtkEntry") + (c-name "gtk_entry_set_progress_fraction") + (return-type "none") + (parameters + '("gdouble" "fraction") + ) +) + +(define-method get_progress_fraction + (of-object "GtkEntry") + (c-name "gtk_entry_get_progress_fraction") + (return-type "gdouble") +) + +(define-method set_progress_pulse_step + (of-object "GtkEntry") + (c-name "gtk_entry_set_progress_pulse_step") + (return-type "none") + (parameters + '("gdouble" "fraction") + ) +) + +(define-method get_progress_pulse_step + (of-object "GtkEntry") + (c-name "gtk_entry_get_progress_pulse_step") + (return-type "gdouble") +) + +(define-method progress_pulse + (of-object "GtkEntry") + (c-name "gtk_entry_progress_pulse") + (return-type "none") +) + +(define-method set_icon_from_pixbuf + (of-object "GtkEntry") + (c-name "gtk_entry_set_icon_from_pixbuf") + (return-type "none") + (parameters + '("GtkEntryIconPosition" "icon_pos") + '("GdkPixbuf*" "pixbuf" (null-ok)) + ) +) + +(define-method set_icon_from_stock + (of-object "GtkEntry") + (c-name "gtk_entry_set_icon_from_stock") + (return-type "none") + (parameters + '("GtkEntryIconPosition" "icon_pos") + '("const-gchar*" "stock_id" (null-ok)) + ) +) + +(define-method set_icon_from_icon_name + (of-object "GtkEntry") + (c-name "gtk_entry_set_icon_from_icon_name") + (return-type "none") + (parameters + '("GtkEntryIconPosition" "icon_pos") + '("const-gchar*" "icon_name" (null-ok)) + ) +) + +(define-method set_icon_from_gicon + (of-object "GtkEntry") + (c-name "gtk_entry_set_icon_from_gicon") + (return-type "none") + (parameters + '("GtkEntryIconPosition" "icon_pos") + '("GIcon*" "icon" (null-ok)) + ) +) + +(define-method get_icon_storage_type + (of-object "GtkEntry") + (c-name "gtk_entry_get_icon_storage_type") + (return-type "GtkImageType") + (parameters + '("GtkEntryIconPosition" "icon_pos") + ) +) + +(define-method get_icon_pixbuf + (of-object "GtkEntry") + (c-name "gtk_entry_get_icon_pixbuf") + (return-type "GdkPixbuf*") + (parameters + '("GtkEntryIconPosition" "icon_pos") + ) +) + +(define-method get_icon_stock + (of-object "GtkEntry") + (c-name "gtk_entry_get_icon_stock") + (return-type "const-gchar*") + (parameters + '("GtkEntryIconPosition" "icon_pos") + ) +) + +(define-method get_icon_name + (of-object "GtkEntry") + (c-name "gtk_entry_get_icon_name") + (return-type "const-gchar*") + (parameters + '("GtkEntryIconPosition" "icon_pos") + ) +) + +(define-method get_icon_gicon + (of-object "GtkEntry") + (c-name "gtk_entry_get_icon_gicon") + (return-type "GIcon*") + (parameters + '("GtkEntryIconPosition" "icon_pos") + ) +) + +(define-method set_icon_activatable + (of-object "GtkEntry") + (c-name "gtk_entry_set_icon_activatable") + (return-type "none") + (parameters + '("GtkEntryIconPosition" "icon_pos") + '("gboolean" "activatable") + ) +) + +(define-method get_icon_activatable + (of-object "GtkEntry") + (c-name "gtk_entry_get_icon_activatable") + (return-type "gboolean") + (parameters + '("GtkEntryIconPosition" "icon_pos") + ) +) + +(define-method set_icon_sensitive + (of-object "GtkEntry") + (c-name "gtk_entry_set_icon_sensitive") + (return-type "none") + (parameters + '("GtkEntryIconPosition" "icon_pos") + '("gboolean" "sensitive") + ) +) + +(define-method get_icon_sensitive + (of-object "GtkEntry") + (c-name "gtk_entry_get_icon_sensitive") + (return-type "gboolean") + (parameters + '("GtkEntryIconPosition" "icon_pos") + ) +) + +(define-method get_icon_at_pos + (of-object "GtkEntry") + (c-name "gtk_entry_get_icon_at_pos") + (return-type "gint") + (parameters + '("gint" "x") + '("gint" "y") + ) +) + +(define-method set_icon_tooltip_text + (of-object "GtkEntry") + (c-name "gtk_entry_set_icon_tooltip_text") + (return-type "none") + (parameters + '("GtkEntryIconPosition" "icon_pos") + '("const-gchar*" "tooltip" (null-ok)) + ) +) + +(define-method get_icon_tooltip_text + (of-object "GtkEntry") + (c-name "gtk_entry_get_icon_tooltip_text") + (return-type "gchar*") + (parameters + '("GtkEntryIconPosition" "icon_pos") + ) +) + +(define-method set_icon_tooltip_markup + (of-object "GtkEntry") + (c-name "gtk_entry_set_icon_tooltip_markup") + (return-type "none") + (parameters + '("GtkEntryIconPosition" "icon_pos") + '("const-gchar*" "tooltip" (null-ok)) + ) +) + +(define-method get_icon_tooltip_markup + (of-object "GtkEntry") + (c-name "gtk_entry_get_icon_tooltip_markup") + (return-type "gchar*") + (parameters + '("GtkEntryIconPosition" "icon_pos") + ) +) + +(define-method unset_invisible_char + (of-object "GtkEntry") + (c-name "gtk_entry_unset_invisible_char") + (return-type "none") +) + + + +;; From gtkimagemenuitem.h + +(define-method set_always_show_image + (of-object "GtkImageMenuItem") + (c-name "gtk_image_menu_item_set_always_show_image") + (return-type "none") + (parameters + '("gboolean" "always_show") + ) +) + +(define-method get_always_show_image + (of-object "GtkImageMenuItem") + (c-name "gtk_image_menu_item_get_always_show_image") + (return-type "gboolean") +) + +(define-method set_use_stock + (of-object "GtkImageMenuItem") + (c-name "gtk_image_menu_item_set_use_stock") + (return-type "none") + (parameters + '("gboolean" "use_stock") + ) +) + +(define-method get_use_stock + (of-object "GtkImageMenuItem") + (c-name "gtk_image_menu_item_get_use_stock") + (return-type "gboolean") +) + +(define-method set_accel_group + (of-object "GtkImageMenuItem") + (c-name "gtk_image_menu_item_set_accel_group") + (return-type "none") + (parameters + '("GtkAccelGroup*" "accel_group") + ) +) + + + +;; From gtkimmulticontext.h + +(define-method get_context_id + (of-object "GtkIMMulticontext") + (c-name "gtk_im_multicontext_get_context_id") + (return-type "const-char*") +) + +(define-method set_context_id + (of-object "GtkIMMulticontext") + (c-name "gtk_im_multicontext_set_context_id") + (return-type "none") + (parameters + '("const-char*" "context_id") + ) +) + + + +;; From gtkmenuitem.h + +(define-method set_label + (of-object "GtkMenuItem") + (c-name "gtk_menu_item_set_label") + (return-type "none") + (parameters + '("const-gchar*" "label") + ) +) + +(define-method get_label + (of-object "GtkMenuItem") + (c-name "gtk_menu_item_get_label") + (return-type "const-gchar*") +) + +(define-method set_use_underline + (of-object "GtkMenuItem") + (c-name "gtk_menu_item_set_use_underline") + (return-type "none") + (parameters + '("gboolean" "setting") + ) +) + +(define-method get_use_underline + (of-object "GtkMenuItem") + (c-name "gtk_menu_item_get_use_underline") + (return-type "gboolean") +) + + + +;; From gtkorientable.h + +(define-function gtk_orientable_get_type + (c-name "gtk_orientable_get_type") + (return-type "GType") +) + +(define-method set_orientation + (of-object "GtkOrientable") + (c-name "gtk_orientable_set_orientation") + (return-type "none") + (parameters + '("GtkOrientation" "orientation") + ) +) + +(define-method get_orientation + (of-object "GtkOrientable") + (c-name "gtk_orientable_get_orientation") + (return-type "GtkOrientation") +) + + + +;; From gtkprintoperation.h + +(define-method draw_page_finish + (of-object "GtkPrintOperation") + (c-name "gtk_print_operation_draw_page_finish") + (return-type "none") +) + +(define-method set_defer_drawing + (of-object "GtkPrintOperation") + (c-name "gtk_print_operation_set_defer_drawing") + (return-type "none") +) + + + +;; From gtkprintsettings.h + +(define-method get_resolution_x + (of-object "GtkPrintSettings") + (c-name "gtk_print_settings_get_resolution_x") + (return-type "gint") +) + +(define-method get_resolution_y + (of-object "GtkPrintSettings") + (c-name "gtk_print_settings_get_resolution_y") + (return-type "gint") +) + +(define-method set_resolution_xy + (of-object "GtkPrintSettings") + (c-name "gtk_print_settings_set_resolution_xy") + (return-type "none") + (parameters + '("gint" "resolution_x") + '("gint" "resolution_y") + ) +) + +(define-method get_printer_lpi + (of-object "GtkPrintSettings") + (c-name "gtk_print_settings_get_printer_lpi") + (return-type "gdouble") +) + +(define-method set_printer_lpi + (of-object "GtkPrintSettings") + (c-name "gtk_print_settings_set_printer_lpi") + (return-type "none") + (parameters + '("gdouble" "lpi") + ) +) + + + +;; From gtkscale.h + +(define-method add_mark + (of-object "GtkScale") + (c-name "gtk_scale_add_mark") + (return-type "none") + (parameters + '("gdouble" "value") + '("GtkPositionType" "position") + '("const-gchar*" "markup" (null-ok)) + ) +) + +(define-method clear_marks + (of-object "GtkScale") + (c-name "gtk_scale_clear_marks") + (return-type "none") +) + + + +;; From gtkselection.h + +(define-method get_selection + (of-object "GtkSelectionData") + (c-name "gtk_selection_data_get_selection") + (return-type "GdkAtom") +) + + + +;; From gtkstatusicon.h + +(define-method get_has_tooltip + (of-object "GtkStatusIcon") + (c-name "gtk_status_icon_get_has_tooltip") + (return-type "gboolean") +) + +(define-method get_tooltip_text + (of-object "GtkStatusIcon") + (c-name "gtk_status_icon_get_tooltip_text") + (return-type "gchar*") +) + +(define-method get_tooltip_markup + (of-object "GtkStatusIcon") + (c-name "gtk_status_icon_get_tooltip_markup") + (return-type "gchar*") +) + +(define-method set_has_tooltip + (of-object "GtkStatusIcon") + (c-name "gtk_status_icon_set_has_tooltip") + (return-type "none") + (parameters + '("gboolean" "has_tooltip") + ) +) + +(define-method set_tooltip_text + (of-object "GtkStatusIcon") + (c-name "gtk_status_icon_set_tooltip_text") + (return-type "none") + (parameters + '("const-gchar*" "text") + ) +) + +(define-method set_tooltip_markup + (of-object "GtkStatusIcon") + (c-name "gtk_status_icon_set_tooltip_markup") + (return-type "none") + (parameters + '("const-gchar*" "markup" (null-ok)) + ) +) + + + +;; From gtkstyle.h + +(define-method get_style_property + (of-object "GtkStyle") + (c-name "gtk_style_get_style_property") + (return-type "none") + (parameters + '("GType" "widget_type") + '("const-gchar*" "property_name") + '("GValue*" "value") + ) +) + +(define-method get_valist + (of-object "GtkStyle") + (c-name "gtk_style_get_valist") + (return-type "none") + (parameters + '("GType" "widget_type") + '("const-gchar*" "first_property_name") + '("va_list" "var_args") + ) +) + +(define-method get + (of-object "GtkStyle") + (c-name "gtk_style_get") + (return-type "none") + (parameters + '("GType" "widget_type") + '("const-gchar*" "first_property_name") + ) + (varargs #t) +) + + + +;; From gtkwindow.h + +(define-function gtk_window_get_default_icon_name + (c-name "gtk_window_get_default_icon_name") + (return-type "const-gchar*") +) diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/gtk-2.16-types.defs /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/gtk-2.16-types.defs --- pygtk-2.14.1/gtk/gtk-2.16-types.defs 1970-01-01 01:00:00.000000000 +0100 +++ pygtk-2.15.1/gtk/gtk-2.16-types.defs 2009-04-26 16:11:17.000000000 +0100 @@ -0,0 +1,28 @@ +;; -*- scheme -*- +; object definitions ... + +(define-interface Activatable + (in-module "Gtk") + (c-name "GtkActivatable") + (gtype-id "GTK_TYPE_ACTIVATABLE") +) + +(define-interface Orientable + (in-module "Gtk") + (c-name "GtkOrientable") + (gtype-id "GTK_TYPE_ORIENTABLE") +) + + + +;; Enumerations and flags ... + +(define-enum EntryIconPosition + (in-module "Gtk") + (c-name "GtkEntryIconPosition") + (gtype-id "GTK_TYPE_ENTRY_ICON_POSITION") + (values + '("primary" "GTK_ENTRY_ICON_PRIMARY") + '("secondary" "GTK_ENTRY_ICON_SECONDARY") + ) +) diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/gtk-base.defs /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/gtk-base.defs --- pygtk-2.14.1/gtk/gtk-base.defs 2009-03-05 22:06:49.000000000 +0000 +++ pygtk-2.15.1/gtk/gtk-base.defs 2009-05-24 23:08:41.000000000 +0100 @@ -12733,7 +12733,7 @@ (c-name "gtk_menu_item_set_submenu") (return-type "none") (parameters - '("GtkWidget*" "submenu") + '("GtkWidget*" "submenu" (null-ok)) ) ) @@ -17489,6 +17489,12 @@ ) ) +(define-function gtk_border_new + (c-name "gtk_border_new") + (is-constructor-of "GtkBorder") + (return-type "GtkBorder") +) + (define-function gtk_border_get_type (c-name "gtk_border_get_type") (return-type "GType") @@ -21869,6 +21875,7 @@ (define-function gtk_tooltips_new (c-name "gtk_tooltips_new") + (deprecated "Use the new widget gtk.Tooltip") (is-constructor-of "GtkTooltips") (return-type "GtkTooltips*") ) @@ -21876,28 +21883,31 @@ (define-method enable (of-object "GtkTooltips") (c-name "gtk_tooltips_enable") + (deprecated "Use the new widget gtk.Tooltip") (return-type "none") ) (define-method disable (of-object "GtkTooltips") (c-name "gtk_tooltips_disable") + (deprecated "Use the new widget gtk.Tooltip") (return-type "none") ) (define-method set_delay (of-object "GtkTooltips") (c-name "gtk_tooltips_set_delay") + (deprecated "Use the new widget gtk.Tooltip") (return-type "none") (parameters '("guint" "delay") ) - (deprecated "") ) (define-method set_tip (of-object "GtkTooltips") (c-name "gtk_tooltips_set_tip") + (deprecated "Use the new widget gtk.Tooltip") (return-type "none") (parameters '("GtkWidget*" "widget") @@ -21908,6 +21918,7 @@ (define-function tooltips_data_get (c-name "gtk_tooltips_data_get") + (deprecated "Use the new widget gtk.Tooltip") (return-type "GtkTooltipsData*") (parameters '("GtkWidget*" "widget") @@ -21916,22 +21927,24 @@ (define-function gtk_tooltips_data_get (c-name "gtk_tooltips_data_get1") + (deprecated "Use the new widget gtk.Tooltip") (return-type "GtkTooltipsData*") (parameters '("GtkWidget*" "widget") ) - (deprecated "use tooltips_data_get") ) (define-method force_window (of-object "GtkTooltips") (c-name "gtk_tooltips_force_window") + (deprecated "Use the new widget gtk.Tooltip") (return-type "none") ) (define-method tooltips_get_info_from_tip_window (of-object "GtkWindow") (c-name "gtk_tooltips_get_info_from_tip_window") + (deprecated "Use the new widget gtk.Tooltip") (return-type "gboolean") (parameters '("GtkTooltips**" "tooltips") diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/gtk-base-types.defs /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/gtk-base-types.defs --- pygtk-2.14.1/gtk/gtk-base-types.defs 2009-03-05 22:06:49.000000000 +0000 +++ pygtk-2.15.1/gtk/gtk-base-types.defs 2009-05-24 23:08:41.000000000 +0100 @@ -2199,6 +2199,17 @@ (in-module "Gtk") (parent "GObject") (c-name "GtkRcStyle") + (fields + '("gchar*" "name") + '("gchar**" "bg_pixmap_name") + '("PangoFontDescription*" "font_desc") + '("GdkColor*" "fg") + '("GdkColor*" "bg") + '("GdkColor*" "text") + '("GdkColor*" "base") + '("gint" "xthickness") + '("gint" "ythickness") + ) (gtype-id "GTK_TYPE_RC_STYLE") ) diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/gtkborder.override /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/gtkborder.override --- pygtk-2.14.1/gtk/gtkborder.override 1970-01-01 01:00:00.000000000 +0100 +++ pygtk-2.15.1/gtk/gtkborder.override 2009-05-24 23:08:41.000000000 +0100 @@ -0,0 +1,159 @@ +/* -*- Mode: C; c-basic-offset: 4 -*- + * pygtk- Python bindings for the GTK toolkit. + * Copyright (C) 2007 Mariano Suárez-Alvarez + * + * gtkborder.override: gtk.Border overrides + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + */ +%% +override gtk_border_new kwargs +static int +_wrap_gtk_border_new(PyGBoxed *self, PyObject *args, PyObject *kwargs) +{ + static char *kwlist[] = { "left", "right", "top", "bottom", NULL }; + GtkBorder border = {0, 0, 0, 0}; + + if (!PyArg_ParseTupleAndKeywords(args, kwargs, + "|iiii:GdkRectangle.__init__", + kwlist, &border.left, &border.right, + &border.top, &border.bottom)) + return -1; + + self->boxed = g_boxed_copy(GTK_TYPE_BORDER, &border); + self->free_on_dealloc = TRUE; + self->gtype = GTK_TYPE_BORDER; + + return 0; +} +%% +override-slot GtkBorder.tp_as_sequence +static Py_ssize_t +_wrap_gtk_border_length(PyGBoxed *self) +{ + return 4; +} +static PyObject * +_wrap_gtk_border_getitem(PyGBoxed *self, Py_ssize_t pos) +{ + GtkBorder *border; + + if (pos < 0) + pos += 4; + if (pos < 0 || pos >= 4) { + PyErr_SetString(PyExc_IndexError, "index out of range"); + return NULL; + } + border = pyg_boxed_get(self, GtkBorder); + switch (pos) { + case 0: return PyInt_FromLong(border->left); + case 1: return PyInt_FromLong(border->right); + case 2: return PyInt_FromLong(border->top); + case 3: return PyInt_FromLong(border->bottom); + default: + g_assert_not_reached(); + return NULL; + } +} +static int +_wrap_gtk_border_setitem(PyGBoxed *self, Py_ssize_t pos, PyObject *value) +{ + GtkBorder *border; + gint val; + + if (pos < 0) + pos += 4; + if (pos < 0 || pos >= 4) { + PyErr_SetString(PyExc_IndexError, "index out of range"); + return -1; + } + border = pyg_boxed_get(self, GtkBorder); + val = PyInt_AsLong(value); + if (PyErr_Occurred()) + return -1; + switch(pos) { + case 0: border->left = val; break; + case 1: border->right = val; break; + case 2: border->top = val; break; + case 3: border->bottom = val; break; + default: + g_assert_not_reached(); + return -1; + } + return 0; +} +static PySequenceMethods _wrap_gtk_border_tp_as_sequence = { + (lenfunc)_wrap_gtk_border_length, + 0, + 0, + (ssizeargfunc)_wrap_gtk_border_getitem, + 0, + (ssizeobjargproc)_wrap_gtk_border_setitem, + 0, +}; +%% +override-attr GtkBorder.left +static int +_wrap_gtk_border__set_left(PyGBoxed *self, PyObject *value, void *closure) +{ + gint val; + + val = PyInt_AsLong(value); + if (PyErr_Occurred()) + return -1; + pyg_boxed_get(self, GtkBorder)->left = val; + return 0; +} +%% +override-attr GtkBorder.right +static int +_wrap_gtk_border__set_right(PyGBoxed *self, PyObject *value, void *closure) +{ + gint val; + + val = PyInt_AsLong(value); + if (PyErr_Occurred()) + return -1; + pyg_boxed_get(self, GtkBorder)->right = val; + return 0; +} +%% +override-attr GtkBorder.top +static int +_wrap_gtk_border__set_top(PyGBoxed *self, PyObject *value, void *closure) +{ + gint val; + + val = PyInt_AsLong(value); + if (PyErr_Occurred()) + return -1; + pyg_boxed_get(self, GtkBorder)->top = val; + return 0; +} +%% +override-attr GtkBorder.bottom +static int +_wrap_gtk_border__set_bottom(PyGBoxed *self, PyObject *value, void *closure) +{ + gint val; + + val = PyInt_AsLong(value); + if (PyErr_Occurred()) + return -1; + pyg_boxed_get(self, GtkBorder)->bottom = val; + return 0; +} + diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/gtkbuilder.override /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/gtkbuilder.override --- pygtk-2.14.1/gtk/gtkbuilder.override 2009-03-05 22:06:49.000000000 +0000 +++ pygtk-2.15.1/gtk/gtkbuilder.override 2009-04-26 16:11:17.000000000 +0100 @@ -16,13 +16,66 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA */ %% headers +static gboolean +pylist_to_strv (PyObject *list, + char ***strvp) +{ + int i, len; + char **ret; + + *strvp = NULL; + + if (list == Py_None) + return TRUE; + + if (!PySequence_Check (list)) + { + PyErr_Format (PyExc_TypeError, + "argument must be a list or tuple of strings"); + return FALSE; + } + + if ((len = PySequence_Size (list)) < 0) + return FALSE; + + ret = g_new (char*, len + 1); + for (i = 0; i <= len; ++i) + ret[i] = NULL; + + for (i = 0; i < len; ++i) + { + PyObject *item = PySequence_GetItem (list, i); + + if (!item) + { + g_strfreev (ret); + return FALSE; + } + + if (!PyString_Check (item)) + { + Py_DECREF (item); + g_strfreev (ret); + PyErr_Format (PyExc_TypeError, + "argument must be a list of strings"); + return FALSE; + } + + ret[i] = g_strdup (PyString_AsString (item)); + Py_DECREF (item); + } + + *strvp = ret; + return TRUE; +} + typedef struct{ PyObject *obj; PyObject *data; @@ -160,3 +213,69 @@ return pyobjects; } + +%% +override gtk_builder_add_objects_from_file kwargs +static PyObject * +_wrap_gtk_builder_add_objects_from_file(PyGObject *self, + PyObject *args, + PyObject *kwargs) +{ + static char *kwlist[] = { "filename", "object_ids", NULL }; + const gchar *filename; + PyObject *py_obj_ids; + char **object_ids; + guint ret; + GError *error = NULL; + + if (!PyArg_ParseTupleAndKeywords(args, kwargs, + "sO:GtkBuilder.add_objects_from_file", + kwlist, &filename, &py_obj_ids)) + return NULL; + + if (!pylist_to_strv (py_obj_ids, &object_ids)) + return NULL; + + ret = gtk_builder_add_objects_from_file (GTK_BUILDER (self->obj), + filename, object_ids, &error); + g_strfreev (object_ids); + + if (pyg_error_check(&error)) + return NULL; + + return PyInt_FromLong(ret); +} + +%% +override gtk_builder_add_objects_from_string kwargs +static PyObject * +_wrap_gtk_builder_add_objects_from_string(PyGObject *self, + PyObject *args, + PyObject *kwargs) +{ + static char *kwlist[] = { "buffer", "object_ids", NULL }; + const gchar *buffer; + gsize lenght = -1; + PyObject *py_obj_ids; + char **object_ids; + guint ret; + GError *error = NULL; + + if (!PyArg_ParseTupleAndKeywords(args, kwargs, + "sO:GtkBuilder.add_objects_from_string", + kwlist, &buffer, &py_obj_ids)) + return NULL; + + if (!pylist_to_strv (py_obj_ids, &object_ids)) + return NULL; + + ret = gtk_builder_add_objects_from_string (GTK_BUILDER (self->obj), + buffer, lenght, + object_ids, &error); + g_strfreev (object_ids); + + if (pyg_error_check(&error)) + return NULL; + + return PyInt_FromLong(ret); +} diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/gtkclist.override /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/gtkclist.override --- pygtk-2.14.1/gtk/gtkclist.override 2009-03-05 22:06:49.000000000 +0000 +++ pygtk-2.15.1/gtk/gtkclist.override 2009-04-26 16:11:17.000000000 +0100 @@ -16,7 +16,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA */ %% diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/gtkcontainer.override /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/gtkcontainer.override --- pygtk-2.14.1/gtk/gtkcontainer.override 2009-03-05 22:06:49.000000000 +0000 +++ pygtk-2.15.1/gtk/gtkcontainer.override 2009-04-26 16:11:17.000000000 +0100 @@ -16,7 +16,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA */ %% diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/gtkctree.override /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/gtkctree.override --- pygtk-2.14.1/gtk/gtkctree.override 2009-03-05 22:06:49.000000000 +0000 +++ pygtk-2.15.1/gtk/gtkctree.override 2009-04-26 16:11:17.000000000 +0100 @@ -16,7 +16,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA */ %% diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/gtkiconview.override /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/gtkiconview.override --- pygtk-2.14.1/gtk/gtkiconview.override 2009-03-05 22:06:49.000000000 +0000 +++ pygtk-2.15.1/gtk/gtkiconview.override 2009-04-26 16:11:17.000000000 +0100 @@ -16,7 +16,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA */ %% @@ -372,3 +372,24 @@ Py_INCREF(py_ret); return py_ret; } +%% +override gtk_icon_view_convert_widget_to_bin_window_coords kwargs +static PyObject* +_wrap_gtk_icon_view_convert_widget_to_bin_window_coords(PyGObject *self, + PyObject *args, + PyObject *kwargs) +{ + static char *kwlist[] = { "widget_x", "widget_y", NULL }; + gint widget_x, widget_y, window_x = 0, window_y = 0; + + if (!PyArg_ParseTupleAndKeywords(args, kwargs, + "ii:GtkIconView.convert_widget_to_bin_window_coords", + kwlist, &widget_x, &widget_y)) + return NULL; + + gtk_icon_view_convert_widget_to_bin_window_coords(GTK_ICON_VIEW(self->obj), + widget_x, widget_y, + &window_x, &window_y); + + return Py_BuildValue("(ii)", window_x, window_y); +} diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/gtkmodule.c /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/gtkmodule.c --- pygtk-2.14.1/gtk/gtkmodule.c 2009-03-05 22:06:49.000000000 +0000 +++ pygtk-2.15.1/gtk/gtkmodule.c 2009-04-26 16:11:17.000000000 +0100 @@ -16,7 +16,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA */ diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/gtkobject-support.c /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/gtkobject-support.c --- pygtk-2.14.1/gtk/gtkobject-support.c 2009-03-05 22:06:49.000000000 +0000 +++ pygtk-2.15.1/gtk/gtkobject-support.c 2009-05-24 23:08:41.000000000 +0100 @@ -16,7 +16,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA */ @@ -123,6 +123,10 @@ void pygtk_boxed_unref_shared(PyObject *boxed) { + if (boxed == Py_None) { + Py_DECREF(Py_None); + return; + } PyGBoxed *pyboxed; g_return_if_fail(boxed != NULL && PyObject_TypeCheck(boxed, &PyGBoxed_Type)); pyboxed = (PyGBoxed *) boxed; diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/gtk.override /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/gtk.override --- pygtk-2.14.1/gtk/gtk.override 2009-03-05 22:06:49.000000000 +0000 +++ pygtk-2.15.1/gtk/gtk.override 2009-06-12 23:48:15.000000000 +0100 @@ -16,7 +16,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA */ %% @@ -27,7 +27,6 @@ #include #include -#include #include #include @@ -104,13 +103,40 @@ return TRUE; } +static gboolean +_main_quit(GIOChannel* source, GIOCondition condition, gpointer data) +{ + gtk_main_quit(); + return FALSE; +} + +static int _loop(void) +{ + PyGILState_STATE gstate; + GIOChannel* channel; + + /* Watch for input on stdin */ + channel = g_io_channel_unix_new(fileno(stdin)); + g_io_add_watch(channel, G_IO_IN, _main_quit, NULL); + g_io_channel_unref(channel); + + /* Start the main loop */ + gstate = PyGILState_Ensure(); + gtk_main(); + PyGILState_Release(gstate); + + return 0; +} + %% include + gtkborder.override gtkbuilder.override gtkclist.override gtkcontainer.override gtkctree.override gtkiconview.override + gtkrcstyle.override gtkstyle.override gtktextview.override gtktoolbar.override @@ -125,23 +151,14 @@ import pango.Context as PyPangoContext_Type import pango.Font as PyPangoFont_Type import pango.Layout as PyPangoLayout_Type -import gio.MountOperation as PyGMountOperation_Type +import gio.File as PyGFile_Type for GFile +import gio.Icon as PyGIcon_Type for GIcon +import gio.MountOperation as PyGMountOperation_Type for GMountOperation %% ignore - gtk_accel_group_add gtk_accel_group_connect - gtk_accel_group_create_add - gtk_accel_group_create_remove gtk_accel_group_disconnect - gtk_accel_group_entries_from_object - gtk_accel_group_get_entry - gtk_accel_group_handle_add - gtk_accel_group_handle_remove - gtk_accel_group_lock_entry gtk_accel_group_ref - gtk_accel_group_remove - gtk_accel_groups_activate - gtk_accel_group_unlock_entry gtk_accel_group_unref gtk_action_group_add_actions_full gtk_action_group_add_toggle_actions_full @@ -435,6 +452,31 @@ return Py_None; } %% +define set_interactive +static PyObject * +_wrap_set_interactive(PyGObject *self, PyObject *args) +{ + int flag = 1; + if (!PyArg_ParseTuple(args, "|i", &flag)) return NULL; + if (flag) + { + if (PyOS_InputHook == NULL) { + PyOS_InputHook = _loop; + } + else if (PyOS_InputHook != _loop) + PyErr_Warn(PyExc_RuntimeWarning, "PyOS_InputHook is not available for interactive use of PyGTK"); + } + else + { + if (PyOS_InputHook == _loop) + PyOS_InputHook = NULL; + else if (PyOS_InputHook != NULL) + PyErr_Warn(PyExc_RuntimeWarning, "PyOS_InputHook was set by a module other than PyGTK"); + } + Py_INCREF(Py_None); + return Py_None; +} +%% define add_log_handlers static PyObject * _wrap_add_log_handlers(PyGObject *self, PyObject *args) @@ -1069,8 +1111,6 @@ pygtk_main_watch_prepare(GSource *source, int *timeout) { - PySignalWatchSource *real_source = (PySignalWatchSource *)source; - /* Python only invokes signal handlers from the main thread, * so if a thread other than the main thread receives the signal * from the kernel, PyErr_CheckSignals() from that thread will @@ -1087,24 +1127,27 @@ #endif #ifdef HAVE_PYSIGNAL_SETWAKEUPFD - if (real_source->fds[0] != 0) - return FALSE; + { + PySignalWatchSource *real_source = (PySignalWatchSource *)source; - /* Unfortunately we need to create a new pipe here instead of - * reusing the pipe inside the GMainContext. - * Ideally an api should be added to GMainContext which allows us - * to reuse that pipe which would suit us perfectly fine. - */ - if (pipe(real_source->fds) < 0) - g_error("Cannot create main loop pipe: %s\n", - g_strerror(errno)); - - real_source->fd.fd = real_source->fds[0]; - real_source->fd.events = G_IO_IN | G_IO_HUP | G_IO_ERR; - g_source_add_poll(source, &real_source->fd); + if (real_source->fds[0] != 0) + return FALSE; - PySignal_SetWakeupFd(real_source->fds[1]); + /* Unfortunately we need to create a new pipe here instead of + * reusing the pipe inside the GMainContext. Ideally an api + * should be added to GMainContext which allows us to reuse + * that pipe which would suit us perfectly fine. + */ + if (pipe(real_source->fds) < 0) + g_error("Cannot create main loop pipe: %s\n", + g_strerror(errno)); + + real_source->fd.fd = real_source->fds[0]; + real_source->fd.events = G_IO_IN | G_IO_HUP | G_IO_ERR; + g_source_add_poll(source, &real_source->fd); + PySignal_SetWakeupFd(real_source->fds[1]); + } #else /* !HAVE_PYSIGNAL_SETWAKEUPFD */ /* If we're using 2.5 or an earlier version of python we * will default to a timeout every second, be aware, @@ -1145,7 +1188,7 @@ } static void -pygtk_signal_watch_finalize(GSource *source) +pygtk_main_watch_finalize(GSource *source) { PySignalWatchSource *real_source = (PySignalWatchSource*)source; @@ -1153,8 +1196,17 @@ if (real_source->fds[0] != 0) close(real_source->fds[0]); - if (real_source->fds[1] != 0) - close(real_source->fds[1]); + if (real_source->fds[1] != 0) { +#if HAVE_PYSIGNAL_SETWAKEUPFD + int wakeup_fd = PySignal_SetWakeupFd(-1); + if (wakeup_fd != real_source->fds[1]) { + /* Probably should never happen. */ + PySignal_SetWakeupFd(wakeup_fd); + } +#endif + + close(real_source->fds[1]); + } } } @@ -1163,7 +1215,7 @@ pygtk_main_watch_prepare, pygtk_main_watch_check, pygtk_main_watch_dispatch, - pygtk_signal_watch_finalize + pygtk_main_watch_finalize }; static GSource * @@ -1184,6 +1236,7 @@ main_watch = pygtk_main_watch_new(); pyg_begin_allow_threads; g_source_attach(main_watch, NULL); + g_source_unref(main_watch); gtk_main(); g_source_destroy(main_watch); pyg_end_allow_threads; @@ -7496,7 +7549,8 @@ &time_); if (ret) { py_ret = Py_BuildValue("(sii)", app_exec, count, time_); - g_free(app_exec); + /* Note that we mustn't free 'app_exec' even though it's not + * 'const'. See bug #585458. */ } else { py_ret = Py_None; } @@ -8651,3 +8705,33 @@ return pyg_enum_from_gtype(GTK_TYPE_FILE_CHOOSER_ACTION, ret); } +%% +override-attr GtkMessageDialog.image +static PyObject * +_wrap_gtk_message_dialog__get_image(PyObject *self, void *closure) +{ + GtkWidget *ret; + + if (PyErr_Warn(PyExc_DeprecationWarning, + "use set_image() instead") < 0) + return NULL; + + ret = GTK_MESSAGE_DIALOG(pygobject_get(self))->image; + /* pygobject_new handles NULL checking */ + return pygobject_new((GObject *)ret); +} +%% +override-attr GtkMessageDialog.label +static PyObject * +_wrap_gtk_message_dialog__get_label(PyObject *self, void *closure) +{ + GtkWidget *ret; + + if (PyErr_Warn(PyExc_DeprecationWarning, + "use set_markup() instead") < 0) + return NULL; + + ret = GTK_MESSAGE_DIALOG(pygobject_get(self))->label; + /* pygobject_new handles NULL checking */ + return pygobject_new((GObject *)ret); +} diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/gtkrcstyle.override /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/gtkrcstyle.override --- pygtk-2.14.1/gtk/gtkrcstyle.override 1970-01-01 01:00:00.000000000 +0100 +++ pygtk-2.15.1/gtk/gtkrcstyle.override 2009-05-24 23:08:41.000000000 +0100 @@ -0,0 +1,150 @@ +/* -*- Mode: C; c-basic-offset: 4 -*- + * pygtk- Python bindings for the GTK toolkit. + * Copyright (C) 2007 Paul Pogonyshev + * + * gtkrcstyle.override: overrides for the gtk.RcStyle object. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + */ + +%% +override-attr GtkRcStyle.name +static int +_wrap_gtk_rc_style__set_name(PyGObject *self, PyObject *value, void *closure) +{ + GtkRcStyle *rc_style = GTK_RC_STYLE(self->obj); + gchar *name; + PyObject *as_string; + + if (value == Py_None) + name = NULL; + else if ((as_string = PyObject_Str(value)) != NULL) { + name = g_strdup(PyString_AsString(as_string)); + Py_DECREF(as_string); + } + else + return -1; + + g_free(rc_style->name); + rc_style->name = name; + return 0; +} + +%% +override-attr GtkRcStyle.bg_pixmap_name +static PyObject * +_wrap_gtk_rc_style__get_bg_pixmap_name(PyGObject *self, void *closure) +{ + GtkRcStyle *rc_style = GTK_RC_STYLE(self->obj); + + return _pygtk_rc_style_helper_new(rc_style, RC_STYLE_STRING_ARRAY, rc_style->bg_pixmap_name, 0); +} + +%% +override-attr GtkRcStyle.font_desc +static int +_wrap_gtk_rc_style__set_font_desc(PyGObject *self, PyObject *value, void *closure) +{ + GtkRcStyle *rc_style = GTK_RC_STYLE(self->obj); + PangoFontDescription *font_desc; + + if (value == Py_None) + font_desc = NULL; + else if (pyg_boxed_check(value, PANGO_TYPE_FONT_DESCRIPTION)) + font_desc = pango_font_description_copy(pyg_boxed_get(value, PangoFontDescription)); + else { + PyErr_SetString(PyExc_TypeError, "can only assign a pango.FontDescription or None"); + return -1; + } + + pango_font_description_free(rc_style->font_desc); + rc_style->font_desc = font_desc; + return 0; +} + +%% +override-attr GtkRcStyle.fg +static PyObject * +_wrap_gtk_rc_style__get_fg(PyGObject *self, void *closure) +{ + GtkRcStyle *rc_style = GTK_RC_STYLE(self->obj); + + return _pygtk_rc_style_helper_new(rc_style, RC_STYLE_COLOUR_ARRAY, rc_style->fg, GTK_RC_FG); +} + +%% +override-attr GtkRcStyle.bg +static PyObject * +_wrap_gtk_rc_style__get_bg(PyGObject *self, void *closure) +{ + GtkRcStyle *rc_style = GTK_RC_STYLE(self->obj); + + return _pygtk_rc_style_helper_new(rc_style, RC_STYLE_COLOUR_ARRAY, rc_style->bg, GTK_RC_BG); +} + +%% +override-attr GtkRcStyle.text +static PyObject * +_wrap_gtk_rc_style__get_text(PyGObject *self, void *closure) +{ + GtkRcStyle *rc_style = GTK_RC_STYLE(self->obj); + + return _pygtk_rc_style_helper_new(rc_style, RC_STYLE_COLOUR_ARRAY, rc_style->text, GTK_RC_TEXT); +} + +%% +override-attr GtkRcStyle.base +static PyObject * +_wrap_gtk_rc_style__get_base(PyGObject *self, void *closure) +{ + GtkRcStyle *rc_style = GTK_RC_STYLE(self->obj); + + return _pygtk_rc_style_helper_new(rc_style, RC_STYLE_COLOUR_ARRAY, rc_style->base, GTK_RC_BASE); +} + +%% +override-attr GtkRcStyle.xthickness +static int +_wrap_gtk_rc_style__set_xthickness(PyGObject *self, PyObject *value, void *closure) +{ + GtkRcStyle *rc_style = GTK_RC_STYLE(self->obj); + + if (PyInt_Check(value)) { + rc_style->xthickness = PyInt_AsLong(value); + return 0; + } + else { + PyErr_SetString(PyExc_TypeError, "can only assign an int"); + return -1; + } +} + +%% +override-attr GtkRcStyle.ythickness +static int +_wrap_gtk_rc_style__set_ythickness(PyGObject *self, PyObject *value, void *closure) +{ + GtkRcStyle *rc_style = GTK_RC_STYLE(self->obj); + + if (PyInt_Check(value)) { + rc_style->ythickness = PyInt_AsLong(value); + return 0; + } + else { + PyErr_SetString(PyExc_TypeError, "can only assign an int"); + return -1; + } +} diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/gtkstyle.override /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/gtkstyle.override --- pygtk-2.14.1/gtk/gtkstyle.override 2009-03-05 22:06:49.000000000 +0000 +++ pygtk-2.15.1/gtk/gtkstyle.override 2009-04-26 16:11:17.000000000 +0100 @@ -16,7 +16,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA */ %% diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/gtktextview.override /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/gtktextview.override --- pygtk-2.14.1/gtk/gtktextview.override 2009-03-05 22:06:49.000000000 +0000 +++ pygtk-2.15.1/gtk/gtktextview.override 2009-04-26 16:11:17.000000000 +0100 @@ -16,7 +16,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA */ %% @@ -218,6 +218,27 @@ TRUE, TRUE); } %% +define GtkTextIter.assign kwargs +static PyObject * +_wrap_gtk_text_iter_assign(PyGBoxed *self, PyObject *args, PyObject *kwargs) +{ + static char *kwlist[] = { "other", NULL }; + PyGBoxed *other; + + if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O:gtk.TextIter.assign", + kwlist, &other)) + return NULL; + if (!pyg_boxed_check(other, GTK_TYPE_TEXT_ITER)) { + PyErr_SetString(PyExc_TypeError, "other must be a GtkTextIter"); + return NULL; + } + + *pyg_boxed_get(self, GtkTextIter) = *pyg_boxed_get(other, GtkTextIter); + + Py_INCREF(Py_None); + return Py_None; +} +%% override gtk_text_iter_get_slice kwargs static PyObject * _wrap_gtk_text_iter_get_slice(PyGBoxed *self, PyObject *args, PyObject *kwargs) diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/gtktreeview.override /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/gtktreeview.override --- pygtk-2.14.1/gtk/gtktreeview.override 2009-03-05 22:06:49.000000000 +0000 +++ pygtk-2.15.1/gtk/gtktreeview.override 2009-05-24 23:08:41.000000000 +0100 @@ -16,7 +16,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA */ %% @@ -113,6 +113,12 @@ g_object_unref(tvc); return -1; } + + if (PyBool_Check(item)) { + g_warning("column number is a boolean, but will be interpreted " + "as an integer; this is likely not what you intended"); + } + gtk_tree_view_column_add_attribute(tvc, cell, attr, PyInt_AsLong(item)); } diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/gtk-types.c /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/gtk-types.c --- pygtk-2.14.1/gtk/gtk-types.c 2009-03-05 22:06:49.000000000 +0000 +++ pygtk-2.15.1/gtk/gtk-types.c 2009-05-24 23:08:41.000000000 +0100 @@ -16,7 +16,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA */ #define PY_SSIZE_T_CLEAN @@ -64,9 +64,10 @@ } -/* style helper code */ +/* style & rc-style helper code */ #define NUM_STATES 5 staticforward PyTypeObject PyGtkStyleHelper_Type; +staticforward PyTypeObject PyGtkRcStyleHelper_Type; PyObject * _pygtk_style_helper_new(GtkStyle *style, int type, gpointer array) @@ -233,6 +234,155 @@ NULL }; +PyObject * +_pygtk_rc_style_helper_new(GtkRcStyle *rc_style, int type, gpointer array, GtkRcFlags is_set_flag) +{ + PyGtkRcStyleHelper_Object *self; + + self = (PyGtkRcStyleHelper_Object *)PyObject_NEW(PyGtkRcStyleHelper_Object, + &PyGtkRcStyleHelper_Type); + if (self == NULL) + return NULL; + + self->rc_style = g_object_ref(rc_style); + self->type = type; + self->array = array; + self->is_set_flag = is_set_flag; + return (PyObject *)self; +} + +static void +pygtk_rc_style_helper_dealloc(PyGtkRcStyleHelper_Object *self) +{ + g_object_unref(self->rc_style); + PyObject_DEL(self); +} + +static Py_ssize_t +pygtk_rc_style_helper_length(PyGtkRcStyleHelper_Object *self) +{ + return NUM_STATES; +} + +static PyObject * +pygtk_rc_style_helper_getitem(PyGtkRcStyleHelper_Object *self, Py_ssize_t pos) +{ + if (pos < 0) pos += NUM_STATES; + if (pos < 0 || pos >= NUM_STATES) { + PyErr_SetString(PyExc_IndexError, "index out of range"); + return NULL; + } + switch (self->type) { + case RC_STYLE_STRING_ARRAY: + { + gchar **array = (gchar **)self->array; + if (array[pos]) + return PyString_FromString(array[pos]); + else { + Py_INCREF(Py_None); + return Py_None; + } + } + case RC_STYLE_COLOUR_ARRAY: + if (self->rc_style->color_flags[pos] & self->is_set_flag) { + GdkColor *array = (GdkColor *)self->array; + return pyg_boxed_new(GDK_TYPE_COLOR, &array[pos], TRUE, TRUE); + } + else { + Py_INCREF(Py_None); + return Py_None; + } + } + g_assert_not_reached(); + return NULL; +} + +static int +pygtk_rc_style_helper_setitem(PyGtkRcStyleHelper_Object *self, Py_ssize_t pos, + PyObject *value) +{ + extern PyTypeObject PyGdkGC_Type; + extern PyTypeObject PyGdkPixmap_Type; + + if (pos < 0) pos += NUM_STATES; + if (pos < 0 || pos >= NUM_STATES) { + PyErr_SetString(PyExc_IndexError, "index out of range"); + return -1; + } + switch (self->type) { + case RC_STYLE_STRING_ARRAY: + { + gchar **array = (gchar **)self->array; + gchar *string; + PyObject *as_string; + + if (value == Py_None) + string = NULL; + else if ((as_string = PyObject_Str(value)) != NULL) { + string = g_strdup(PyString_AsString(as_string)); + Py_DECREF(as_string); + } + else + return -1; + + g_free(array[pos]); + array[pos] = string; + return 0; + } + case RC_STYLE_COLOUR_ARRAY: + if (value == Py_None) { + self->rc_style->color_flags[pos] &= ~self->is_set_flag; + return 0; + } + if (pyg_boxed_check(value, GDK_TYPE_COLOR)) { + GdkColor *array = (GdkColor *)self->array; + array[pos] = *pyg_boxed_get(value, GdkColor); + self->rc_style->color_flags[pos] |= self->is_set_flag; + return 0; + } + else { + PyErr_SetString(PyExc_TypeError, "can only assign a gtk.gdk.Color or None"); + return -1; + } + } + g_assert_not_reached(); + return -1; +} + +static PySequenceMethods pygtk_rc_style_helper_seqmethods = { + (lenfunc)pygtk_rc_style_helper_length, + 0, + 0, + (ssizeargfunc)pygtk_rc_style_helper_getitem, + 0, + (ssizeobjargproc)pygtk_rc_style_helper_setitem, + 0, +}; +static PyTypeObject PyGtkRcStyleHelper_Type = { + PyObject_HEAD_INIT(NULL) + 0, + "gtk.GtkRcStyleHelper", + sizeof(PyGtkRcStyleHelper_Object), + 0, + (destructor)pygtk_rc_style_helper_dealloc, + (printfunc)0, + (getattrfunc)0, + (setattrfunc)0, + (cmpfunc)0, + (reprfunc)0, + 0, + &pygtk_rc_style_helper_seqmethods, + 0, + (hashfunc)0, + (ternaryfunc)0, + (reprfunc)0, + (getattrofunc)0, + (setattrofunc)0, + 0, + Py_TPFLAGS_DEFAULT, + NULL +}; + #if 0 static void PyGdkWindow_Dealloc(PyGdkWindow_Object *self) @@ -1352,11 +1502,13 @@ _pygtk_register_boxed_types(PyObject *moddict) { PyGtkStyleHelper_Type.ob_type = &PyType_Type; + PyGtkRcStyleHelper_Type.ob_type = &PyType_Type; PyGdkAtom_Type.ob_type = &PyType_Type; PyGtkTreeModelRow_Type.ob_type = &PyType_Type; PyGtkTreeModelRowIter_Type.ob_type = &PyType_Type; PyType_Ready(&PyGtkStyleHelper_Type); + PyType_Ready(&PyGtkRcStyleHelper_Type); PyType_Ready(&PyGdkAtom_Type); PyType_Ready(&PyGtkTreeModelRow_Type); PyType_Ready(&PyGtkTreeModelRowIter_Type); diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/gtkunixprintmodule.c /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/gtkunixprintmodule.c --- pygtk-2.14.1/gtk/gtkunixprintmodule.c 2009-03-05 22:06:49.000000000 +0000 +++ pygtk-2.15.1/gtk/gtkunixprintmodule.c 2009-04-26 16:11:17.000000000 +0100 @@ -16,7 +16,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA */ #ifdef HAVE_CONFIG_H @@ -27,10 +27,7 @@ #include #include #include -#include -#include -#include -#include +#include # include Pycairo_CAPI_t *Pycairo_CAPI; diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/gtkunixprint.override /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/gtkunixprint.override --- pygtk-2.14.1/gtk/gtkunixprint.override 2009-03-05 22:06:49.000000000 +0000 +++ pygtk-2.15.1/gtk/gtkunixprint.override 2009-04-26 16:11:17.000000000 +0100 @@ -16,7 +16,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA */ %% @@ -31,10 +31,7 @@ #include #include "pygtk-private.h" #include -#include -#include -#include -#include +#include #include extern Pycairo_CAPI_t *Pycairo_CAPI; diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/gtkwidget.override /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/gtkwidget.override --- pygtk-2.14.1/gtk/gtkwidget.override 2009-03-05 22:06:49.000000000 +0000 +++ pygtk-2.15.1/gtk/gtkwidget.override 2009-04-26 16:11:17.000000000 +0100 @@ -16,7 +16,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA */ %% @@ -256,9 +256,9 @@ g_type_class_unref(class); return NULL; } - + gtk_widget_class_install_style_property(class, pspec); - + g_type_class_unref(class); Py_INCREF(Py_None); @@ -332,7 +332,7 @@ PyErr_SetString(PyExc_TypeError, "must be a GdkWindow object"); return -1; } - + GTK_WIDGET(self->obj)->window = g_object_ref(GDK_WINDOW(value->obj)); return 0; @@ -348,7 +348,7 @@ } pygdk_rectangle_from_pyobject(value, >K_WIDGET(self->obj)->allocation); - + return 0; } %% @@ -573,3 +573,24 @@ g_type_class_unref(klass); return signame; } + +%% +override gtk_widget_list_accel_closures noargs +static PyObject * +_wrap_gtk_widget_list_accel_closures(PyGObject *self) +{ + int i; + GList *ret, *tmp; + PyObject *pyret; + + ret = gtk_widget_list_accel_closures(GTK_WIDGET(self->obj)); + + pyret = PyList_New(g_list_length(ret)); + for (tmp = ret, i = 0; tmp; tmp = tmp->next, i++) { + PyObject *item = pyg_boxed_new(G_TYPE_CLOSURE, tmp->data, TRUE, TRUE); + PyList_SET_ITEM(pyret, i, item); + } + + g_list_free(ret); + return pyret; +} diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/gtkwindow.override /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/gtkwindow.override --- pygtk-2.14.1/gtk/gtkwindow.override 2009-03-05 22:06:49.000000000 +0000 +++ pygtk-2.15.1/gtk/gtkwindow.override 2009-04-26 16:11:17.000000000 +0100 @@ -16,7 +16,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA */ %% diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/__init__.py /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/__init__.py --- pygtk-2.14.1/gtk/__init__.py 2009-03-05 22:06:49.000000000 +0000 +++ pygtk-2.15.1/gtk/__init__.py 2009-05-02 17:39:48.000000000 +0100 @@ -17,19 +17,11 @@ # # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 # USA import sys -# this can go when things are a little further along -try: - import ltihooks - # pyflakes - ltihooks -except ImportError: - ltihooks = None - # For broken embedded programs which forgot to call Sys_SetArgv if not hasattr(sys, 'argv'): sys.argv = [] @@ -49,13 +41,6 @@ import gdk -if ltihooks: - try: - ltihooks.uninstall() - del ltihooks - except: - pass - from gtk._lazyutils import LazyNamespace, LazyModule from gtk.deprecation import _Deprecated, _DeprecatedConstant @@ -90,6 +75,13 @@ gdk.INPUT_WRITE = _gobject.IO_OUT | _gobject.IO_HUP gdk.INPUT_EXCEPTION = _gobject.IO_PRI +# Python 2.5+ context manager, usable through 'with' keyword. +class _Lock(object): + __enter__ = gdk.threads_enter + def __exit__(*ignored): + gdk.threads_leave() +gdk.lock = _Lock() + # old names compatibility ... idle_add = _Deprecated(_gobject, 'idle_add', 'idle_add', 'gobject') idle_remove = _Deprecated(_gobject, 'source_remove', 'idle_remove', 'gobject') @@ -125,13 +117,16 @@ gdk.Warning = Warning # We don't want to export this -del _Deprecated, _DeprecatedConstant, _gobject, _init +del _Deprecated, _DeprecatedConstant, _gobject, _init, _Lock # Do this as late as possible, so programs like pyflakes can check # everything above from gtk._gtk import * -# # For testing, so you can just turn of dynamicnamespace in gtk.override +# Make PyGTK interactive +set_interactive(1) + +# # For testing, so you can just turn off dynamicnamespace in gtk.override # if hasattr(_gtk, '_get_symbol_names'): # import gtk # ns = LazyNamespace(_gtk, locals()) @@ -139,4 +134,3 @@ # ns.add_submodule('_gtk', 'gtk._gtk') # sys.modules['gtk'] = ns # sys.modules['gtk.glade'] = LazyModule('_glade', {}) - diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/keysyms.py /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/keysyms.py --- pygtk-2.14.1/gtk/keysyms.py 2009-03-05 22:06:49.000000000 +0000 +++ pygtk-2.15.1/gtk/keysyms.py 2009-04-26 16:11:17.000000000 +0100 @@ -16,7 +16,7 @@ # # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 # USA VoidSymbol = 0xFFFFFF diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/_lazyutils.py /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/_lazyutils.py --- pygtk-2.14.1/gtk/_lazyutils.py 2009-03-05 22:06:49.000000000 +0000 +++ pygtk-2.15.1/gtk/_lazyutils.py 2009-04-26 16:11:17.000000000 +0100 @@ -14,7 +14,7 @@ # # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 # USA # Private to PyGTK, do not use in applications diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/libglademodule.c /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/libglademodule.c --- pygtk-2.14.1/gtk/libglademodule.c 2009-03-05 22:06:49.000000000 +0000 +++ pygtk-2.15.1/gtk/libglademodule.c 2009-04-26 16:11:17.000000000 +0100 @@ -16,7 +16,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA */ #ifdef HAVE_CONFIG_H diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/libglade.override /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/libglade.override --- pygtk-2.14.1/gtk/libglade.override 2009-03-05 22:06:49.000000000 +0000 +++ pygtk-2.15.1/gtk/libglade.override 2009-04-26 16:11:17.000000000 +0100 @@ -16,7 +16,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA */ %% diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/Makefile.am /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/Makefile.am --- pygtk-2.14.1/gtk/Makefile.am 2009-03-05 22:06:49.000000000 +0000 +++ pygtk-2.15.1/gtk/Makefile.am 2009-05-24 23:08:41.000000000 +0100 @@ -81,6 +81,12 @@ GTKUNIXPRINT_DEFS += gtkunixprint-2.14.defs endif +if HAVE_GTK_2_16 +GDK_DEFS += gdk-2.16.defs +GTK_DEFS += gtk-2.16.defs +GTK_TYPES_DEFS += gtk-2.16-types.defs +endif + CREATEDEFS = $(PYTHON) $(CODEGENDIR)/createdefs.py GDK_OVERRIDES = \ @@ -96,11 +102,13 @@ GTK_OVERRIDES = \ gtk.override \ + gtkborder.override \ gtkbuilder.override \ gtkclist.override \ gtkcontainer.override \ gtkctree.override \ gtkiconview.override \ + gtkrcstyle.override \ gtkstyle.override \ gtktextview.override \ gtktoolbar.override \ @@ -189,7 +197,7 @@ gtkunixprint.c \ gtkunixprint.defs \ gtkunixprint-types.defs - + EXTRA_DIST += \ $(GTKUNIXPRINT_DEFS) \ @@ -216,11 +224,17 @@ endif +extra_codegen_args = + +if HAVE_GIO_TYPES_DEFS +extra_codegen_args += --register $(PYGOBJECT_DEFSDIR)/gio-types.defs +endif + .defs.c: ($(PYTHON) $(CODEGENDIR)/codegen.py \ $(PYGTK_CODEGEN_DEFINES) \ -I $(srcdir) \ - --py_ssize_t-clean \ + --py_ssize_t-clean $(extra_codegen_args) \ --register $(top_srcdir)/pango-types.defs \ --register $(top_srcdir)/atk-types.defs \ --register gdk-types.defs \ @@ -236,3 +250,9 @@ gtk-types.c: @: + +all: $(pygtkexec_LTLIBRARIES:.la=.so) $(pkgpyexec_LTLIBRARIES:.la=.so) +clean-local: + rm -f $(pygtkexec_LTLIBRARIES:.la=.so) $(pkgpyexec_LTLIBRARIES:.la=.so) +.la.so: + $(LN_S) .libs/$@ $@ || true diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/Makefile.in /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/Makefile.in --- pygtk-2.14.1/gtk/Makefile.in 2009-03-05 23:09:16.000000000 +0000 +++ pygtk-2.15.1/gtk/Makefile.in 2009-05-24 23:17:07.000000000 +0100 @@ -1,8 +1,8 @@ -# Makefile.in generated by automake 1.9.6 from Makefile.am. +# Makefile.in generated by automake 1.10.2 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005 Free Software Foundation, Inc. +# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -16,14 +16,10 @@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ -top_builddir = .. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c @@ -49,14 +45,18 @@ @HAVE_GTK_2_14_TRUE@am__append_10 = gtk-2.14.defs @HAVE_GTK_2_14_TRUE@am__append_11 = gtk-2.14-types.defs @HAVE_GTK_2_14_TRUE@am__append_12 = gtkunixprint-2.14.defs -@BUILD_GTK_TRUE@am__append_13 = _gtk.la -@BUILD_GTK_TRUE@am__append_14 = $(GDK_DEFS) $(GDK_TYPES_DEFS) $(GTK_DEFS) $(GTK_TYPES_DEFS) \ +@HAVE_GTK_2_16_TRUE@am__append_13 = gdk-2.16.defs +@HAVE_GTK_2_16_TRUE@am__append_14 = gtk-2.16.defs +@HAVE_GTK_2_16_TRUE@am__append_15 = gtk-2.16-types.defs +@BUILD_GTK_TRUE@am__append_16 = _gtk.la +@BUILD_GTK_TRUE@am__append_17 = $(GDK_DEFS) $(GDK_TYPES_DEFS) $(GTK_DEFS) $(GTK_TYPES_DEFS) \ @BUILD_GTK_TRUE@ gdk.defs gtk.defs gdk-types.defs gtk-types.defs gtk-extrafuncs.defs -@BUILD_LIBGLADE_TRUE@am__append_15 = glade.la -@BUILD_LIBGLADE_TRUE@am__append_16 = $(LIBGLADE_DEFS) -@BUILD_GTKUNIXPRINT_TRUE@am__append_17 = $(GTKUNIXPRINT_DEFS) $(GTKUNIXPRINT_TYPES_DEFS) -@PLATFORM_WIN32_TRUE@am__append_18 = -DPLATFORM_WIN32 +@BUILD_LIBGLADE_TRUE@am__append_18 = glade.la +@BUILD_LIBGLADE_TRUE@am__append_19 = $(LIBGLADE_DEFS) +@BUILD_GTKUNIXPRINT_TRUE@am__append_20 = $(GTKUNIXPRINT_DEFS) $(GTKUNIXPRINT_TYPES_DEFS) +@PLATFORM_WIN32_TRUE@am__append_21 = -DPLATFORM_WIN32 +@HAVE_GIO_TYPES_DEFS_TRUE@am__append_22 = --register $(PYGOBJECT_DEFSDIR)/gio-types.defs subdir = gtk DIST_COMMON = $(pkginclude_HEADERS) $(pygtk_PYTHON) \ $(srcdir)/Makefile.am $(srcdir)/Makefile.in @@ -87,30 +87,40 @@ _gtk_la-pygtktreemodel.lo nodist__gtk_la_OBJECTS = _gtk_la-gtk.lo _gtk_la-gdk.lo _gtk_la_OBJECTS = $(am__gtk_la_OBJECTS) $(nodist__gtk_la_OBJECTS) +_gtk_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=link $(CCLD) $(_gtk_la_CFLAGS) $(CFLAGS) \ + $(_gtk_la_LDFLAGS) $(LDFLAGS) -o $@ @BUILD_GTK_TRUE@am__gtk_la_rpath = -rpath $(pygtkexecdir) glade_la_DEPENDENCIES = $(am__DEPENDENCIES_1) am_glade_la_OBJECTS = glade_la-libglademodule.lo nodist_glade_la_OBJECTS = glade_la-libglade.lo glade_la_OBJECTS = $(am_glade_la_OBJECTS) $(nodist_glade_la_OBJECTS) +glade_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=link $(CCLD) $(glade_la_CFLAGS) $(CFLAGS) \ + $(glade_la_LDFLAGS) $(LDFLAGS) -o $@ @BUILD_LIBGLADE_TRUE@am_glade_la_rpath = -rpath $(pygtkexecdir) gtkunixprint_la_DEPENDENCIES = $(am__DEPENDENCIES_1) am_gtkunixprint_la_OBJECTS = gtkunixprint_la-gtkunixprintmodule.lo nodist_gtkunixprint_la_OBJECTS = gtkunixprint_la-gtkunixprint.lo gtkunixprint_la_OBJECTS = $(am_gtkunixprint_la_OBJECTS) \ $(nodist_gtkunixprint_la_OBJECTS) +gtkunixprint_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(gtkunixprint_la_CFLAGS) \ + $(CFLAGS) $(gtkunixprint_la_LDFLAGS) $(LDFLAGS) -o $@ @BUILD_GTKUNIXPRINT_TRUE@am_gtkunixprint_la_rpath = -rpath \ @BUILD_GTKUNIXPRINT_TRUE@ $(pkgpyexecdir) -DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ - $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ - $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) -LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ - $(AM_LDFLAGS) $(LDFLAGS) -o $@ +LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ + $(LDFLAGS) -o $@ SOURCES = $(_gtk_la_SOURCES) $(nodist__gtk_la_SOURCES) \ $(glade_la_SOURCES) $(nodist_glade_la_SOURCES) \ $(gtkunixprint_la_SOURCES) $(nodist_gtkunixprint_la_SOURCES) @@ -130,8 +140,6 @@ pkgincludedir = $(includedir)/pygtk-$(PLATFORM_VERSION)/pygtk ACLOCAL = @ACLOCAL@ ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@ -AMDEP_FALSE = @AMDEP_FALSE@ -AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AS = @AS@ @@ -141,18 +149,6 @@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ -BUILD_ATK_FALSE = @BUILD_ATK_FALSE@ -BUILD_ATK_TRUE = @BUILD_ATK_TRUE@ -BUILD_GTKUNIXPRINT_FALSE = @BUILD_GTKUNIXPRINT_FALSE@ -BUILD_GTKUNIXPRINT_TRUE = @BUILD_GTKUNIXPRINT_TRUE@ -BUILD_GTK_FALSE = @BUILD_GTK_FALSE@ -BUILD_GTK_TRUE = @BUILD_GTK_TRUE@ -BUILD_LIBGLADE_FALSE = @BUILD_LIBGLADE_FALSE@ -BUILD_LIBGLADE_TRUE = @BUILD_LIBGLADE_TRUE@ -BUILD_PANGOCAIRO_FALSE = @BUILD_PANGOCAIRO_FALSE@ -BUILD_PANGOCAIRO_TRUE = @BUILD_PANGOCAIRO_TRUE@ -BUILD_PANGO_FALSE = @BUILD_PANGO_FALSE@ -BUILD_PANGO_TRUE = @BUILD_PANGO_TRUE@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ @@ -169,8 +165,6 @@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ -ENABLE_DOCS_FALSE = @ENABLE_DOCS_FALSE@ -ENABLE_DOCS_TRUE = @ENABLE_DOCS_TRUE@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GLIB_CFLAGS = @GLIB_CFLAGS@ @@ -185,19 +179,17 @@ GTK212_LIBS = @GTK212_LIBS@ GTK214_CFLAGS = @GTK214_CFLAGS@ GTK214_LIBS = @GTK214_LIBS@ +GTK216_CFLAGS = @GTK216_CFLAGS@ +GTK216_LIBS = @GTK216_LIBS@ GTKUNIXPRINT_CFLAGS = @GTKUNIXPRINT_CFLAGS@ GTKUNIXPRINT_LIBS = @GTKUNIXPRINT_LIBS@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ HAVE_GTK_2_10 = @HAVE_GTK_2_10@ -HAVE_GTK_2_10_FALSE = @HAVE_GTK_2_10_FALSE@ -HAVE_GTK_2_10_TRUE = @HAVE_GTK_2_10_TRUE@ HAVE_GTK_2_12 = @HAVE_GTK_2_12@ -HAVE_GTK_2_12_FALSE = @HAVE_GTK_2_12_FALSE@ -HAVE_GTK_2_12_TRUE = @HAVE_GTK_2_12_TRUE@ HAVE_GTK_2_14 = @HAVE_GTK_2_14@ -HAVE_GTK_2_14_FALSE = @HAVE_GTK_2_14_FALSE@ -HAVE_GTK_2_14_TRUE = @HAVE_GTK_2_14_TRUE@ +HAVE_GTK_2_16 = @HAVE_GTK_2_16@ +INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ @@ -213,12 +205,11 @@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ +MKDIR_P = @MKDIR_P@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ -OS_WIN32_FALSE = @OS_WIN32_FALSE@ -OS_WIN32_TRUE = @OS_WIN32_TRUE@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ @@ -233,12 +224,11 @@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ -PLATFORM_WIN32_FALSE = @PLATFORM_WIN32_FALSE@ -PLATFORM_WIN32_TRUE = @PLATFORM_WIN32_TRUE@ PYCAIRO_CFLAGS = @PYCAIRO_CFLAGS@ PYCAIRO_LIBS = @PYCAIRO_LIBS@ PYGOBJECT_CFLAGS = @PYGOBJECT_CFLAGS@ PYGOBJECT_DATADIR = @PYGOBJECT_DATADIR@ +PYGOBJECT_DEFSDIR = @PYGOBJECT_DEFSDIR@ PYGOBJECT_FIXXREF = @PYGOBJECT_FIXXREF@ PYGOBJECT_INCLUDEDIR = @PYGOBJECT_INCLUDEDIR@ PYGOBJECT_LIBS = @PYGOBJECT_LIBS@ @@ -261,10 +251,12 @@ THREADING_CFLAGS = @THREADING_CFLAGS@ VERSION = @VERSION@ XSLTPROC = @XSLTPROC@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ @@ -276,6 +268,7 @@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ +builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ @@ -310,8 +303,12 @@ pythondir = @pythondir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ AUTOMAKE_OPTIONS = 1.7 PLATFORM_VERSION = 2.0 @@ -333,11 +330,11 @@ # defs files defsdir = $(pkgdatadir)/$(PLATFORM_VERSION)/defs -defs_DATA = $(am__append_14) $(am__append_16) $(am__append_17) +defs_DATA = $(am__append_17) $(am__append_19) $(am__append_20) # gtk python extension modules pygtkexecdir = $(pkgpyexecdir)/gtk -pygtkexec_LTLIBRARIES = $(am__append_13) $(am__append_15) +pygtkexec_LTLIBRARIES = $(am__append_16) $(am__append_18) # gtk python scripts pygtkdir = $(pkgpythondir)/gtk @@ -355,13 +352,13 @@ # gtk module GTK_DEFS = gtk-base.defs $(am__append_3) $(am__append_6) \ - $(am__append_10) + $(am__append_10) $(am__append_14) GDK_DEFS = gdk-base.defs $(am__append_2) $(am__append_5) \ - $(am__append_9) + $(am__append_9) $(am__append_13) GTKUNIXPRINT_DEFS = gtkunixprint-base.defs $(am__append_8) \ $(am__append_12) GTK_TYPES_DEFS = gtk-base-types.defs $(am__append_4) $(am__append_7) \ - $(am__append_11) + $(am__append_11) $(am__append_15) GDK_TYPES_DEFS = gdk-base-types.defs GTKUNIXPRINT_TYPES_DEFS = gtkunixprint-base-types.defs GTK_2_10_DEFS = gdk-2.10.defs gtk-2.10.defs gtk-2.10-types.defs @@ -381,11 +378,13 @@ GTK_OVERRIDES = \ gtk.override \ + gtkborder.override \ gtkbuilder.override \ gtkclist.override \ gtkcontainer.override \ gtkctree.override \ gtkiconview.override \ + gtkrcstyle.override \ gtkstyle.override \ gtktextview.override \ gtktoolbar.override \ @@ -393,7 +392,7 @@ gtkwidget.override \ gtkwindow.override -_gtk_la_CFLAGS = $(PYCAIRO_CFLAGS) $(GTK_CFLAGS) $(am__append_18) +_gtk_la_CFLAGS = $(PYCAIRO_CFLAGS) $(GTK_CFLAGS) $(am__append_21) _gtk_la_LDFLAGS = $(common_ldflags) -export-symbols-regex init_gtk _gtk_la_LIBADD = $(GTK_LIBS) _gtk_la_SOURCES = \ @@ -422,16 +421,17 @@ gtkunixprint_la_SOURCES = gtkunixprintmodule.c nodist_gtkunixprint_la_SOURCES = gtkunixprint.c @BUILD_GTKUNIXPRINT_TRUE@pkgpyexec_LTLIBRARIES = gtkunixprint.la +extra_codegen_args = $(am__append_22) all: all-am .SUFFIXES: -.SUFFIXES: .c .defs .lo .o .obj +.SUFFIXES: .c .defs .la .lo .o .obj .so $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ - && exit 0; \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ @@ -457,21 +457,21 @@ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh install-pkgpyexecLTLIBRARIES: $(pkgpyexec_LTLIBRARIES) @$(NORMAL_INSTALL) - test -z "$(pkgpyexecdir)" || $(mkdir_p) "$(DESTDIR)$(pkgpyexecdir)" + test -z "$(pkgpyexecdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgpyexecdir)" @list='$(pkgpyexec_LTLIBRARIES)'; for p in $$list; do \ if test -f $$p; then \ f=$(am__strip_dir) \ - echo " $(LIBTOOL) --mode=install $(pkgpyexecLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(pkgpyexecdir)/$$f'"; \ - $(LIBTOOL) --mode=install $(pkgpyexecLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(pkgpyexecdir)/$$f"; \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pkgpyexecLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(pkgpyexecdir)/$$f'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pkgpyexecLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(pkgpyexecdir)/$$f"; \ else :; fi; \ done uninstall-pkgpyexecLTLIBRARIES: @$(NORMAL_UNINSTALL) - @set -x; list='$(pkgpyexec_LTLIBRARIES)'; for p in $$list; do \ + @list='$(pkgpyexec_LTLIBRARIES)'; for p in $$list; do \ p=$(am__strip_dir) \ - echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(pkgpyexecdir)/$$p'"; \ - $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(pkgpyexecdir)/$$p"; \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkgpyexecdir)/$$p'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkgpyexecdir)/$$p"; \ done clean-pkgpyexecLTLIBRARIES: @@ -484,21 +484,21 @@ done install-pygtkexecLTLIBRARIES: $(pygtkexec_LTLIBRARIES) @$(NORMAL_INSTALL) - test -z "$(pygtkexecdir)" || $(mkdir_p) "$(DESTDIR)$(pygtkexecdir)" + test -z "$(pygtkexecdir)" || $(MKDIR_P) "$(DESTDIR)$(pygtkexecdir)" @list='$(pygtkexec_LTLIBRARIES)'; for p in $$list; do \ if test -f $$p; then \ f=$(am__strip_dir) \ - echo " $(LIBTOOL) --mode=install $(pygtkexecLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(pygtkexecdir)/$$f'"; \ - $(LIBTOOL) --mode=install $(pygtkexecLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(pygtkexecdir)/$$f"; \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pygtkexecLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(pygtkexecdir)/$$f'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pygtkexecLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(pygtkexecdir)/$$f"; \ else :; fi; \ done uninstall-pygtkexecLTLIBRARIES: @$(NORMAL_UNINSTALL) - @set -x; list='$(pygtkexec_LTLIBRARIES)'; for p in $$list; do \ + @list='$(pygtkexec_LTLIBRARIES)'; for p in $$list; do \ p=$(am__strip_dir) \ - echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(pygtkexecdir)/$$p'"; \ - $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(pygtkexecdir)/$$p"; \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pygtkexecdir)/$$p'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pygtkexecdir)/$$p"; \ done clean-pygtkexecLTLIBRARIES: @@ -510,11 +510,11 @@ rm -f "$${dir}/so_locations"; \ done _gtk.la: $(_gtk_la_OBJECTS) $(_gtk_la_DEPENDENCIES) - $(LINK) $(am__gtk_la_rpath) $(_gtk_la_LDFLAGS) $(_gtk_la_OBJECTS) $(_gtk_la_LIBADD) $(LIBS) + $(_gtk_la_LINK) $(am__gtk_la_rpath) $(_gtk_la_OBJECTS) $(_gtk_la_LIBADD) $(LIBS) glade.la: $(glade_la_OBJECTS) $(glade_la_DEPENDENCIES) - $(LINK) $(am_glade_la_rpath) $(glade_la_LDFLAGS) $(glade_la_OBJECTS) $(glade_la_LIBADD) $(LIBS) + $(glade_la_LINK) $(am_glade_la_rpath) $(glade_la_OBJECTS) $(glade_la_LIBADD) $(LIBS) gtkunixprint.la: $(gtkunixprint_la_OBJECTS) $(gtkunixprint_la_DEPENDENCIES) - $(LINK) $(am_gtkunixprint_la_rpath) $(gtkunixprint_la_LDFLAGS) $(gtkunixprint_la_OBJECTS) $(gtkunixprint_la_LIBADD) $(LIBS) + $(gtkunixprint_la_LINK) $(am_gtkunixprint_la_rpath) $(gtkunixprint_la_OBJECTS) $(gtkunixprint_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) @@ -535,115 +535,111 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gtkunixprint_la-gtkunixprintmodule.Plo@am__quote@ .c.o: -@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c $< .c.obj: -@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: -@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi +@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< _gtk_la-gtk-types.lo: gtk-types.c -@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(_gtk_la_CFLAGS) $(CFLAGS) -MT _gtk_la-gtk-types.lo -MD -MP -MF "$(DEPDIR)/_gtk_la-gtk-types.Tpo" -c -o _gtk_la-gtk-types.lo `test -f 'gtk-types.c' || echo '$(srcdir)/'`gtk-types.c; \ -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/_gtk_la-gtk-types.Tpo" "$(DEPDIR)/_gtk_la-gtk-types.Plo"; else rm -f "$(DEPDIR)/_gtk_la-gtk-types.Tpo"; exit 1; fi +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(_gtk_la_CFLAGS) $(CFLAGS) -MT _gtk_la-gtk-types.lo -MD -MP -MF $(DEPDIR)/_gtk_la-gtk-types.Tpo -c -o _gtk_la-gtk-types.lo `test -f 'gtk-types.c' || echo '$(srcdir)/'`gtk-types.c +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/_gtk_la-gtk-types.Tpo $(DEPDIR)/_gtk_la-gtk-types.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gtk-types.c' object='_gtk_la-gtk-types.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(_gtk_la_CFLAGS) $(CFLAGS) -c -o _gtk_la-gtk-types.lo `test -f 'gtk-types.c' || echo '$(srcdir)/'`gtk-types.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(_gtk_la_CFLAGS) $(CFLAGS) -c -o _gtk_la-gtk-types.lo `test -f 'gtk-types.c' || echo '$(srcdir)/'`gtk-types.c _gtk_la-gtkmodule.lo: gtkmodule.c -@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(_gtk_la_CFLAGS) $(CFLAGS) -MT _gtk_la-gtkmodule.lo -MD -MP -MF "$(DEPDIR)/_gtk_la-gtkmodule.Tpo" -c -o _gtk_la-gtkmodule.lo `test -f 'gtkmodule.c' || echo '$(srcdir)/'`gtkmodule.c; \ -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/_gtk_la-gtkmodule.Tpo" "$(DEPDIR)/_gtk_la-gtkmodule.Plo"; else rm -f "$(DEPDIR)/_gtk_la-gtkmodule.Tpo"; exit 1; fi +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(_gtk_la_CFLAGS) $(CFLAGS) -MT _gtk_la-gtkmodule.lo -MD -MP -MF $(DEPDIR)/_gtk_la-gtkmodule.Tpo -c -o _gtk_la-gtkmodule.lo `test -f 'gtkmodule.c' || echo '$(srcdir)/'`gtkmodule.c +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/_gtk_la-gtkmodule.Tpo $(DEPDIR)/_gtk_la-gtkmodule.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gtkmodule.c' object='_gtk_la-gtkmodule.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(_gtk_la_CFLAGS) $(CFLAGS) -c -o _gtk_la-gtkmodule.lo `test -f 'gtkmodule.c' || echo '$(srcdir)/'`gtkmodule.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(_gtk_la_CFLAGS) $(CFLAGS) -c -o _gtk_la-gtkmodule.lo `test -f 'gtkmodule.c' || echo '$(srcdir)/'`gtkmodule.c _gtk_la-gtkobject-support.lo: gtkobject-support.c -@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(_gtk_la_CFLAGS) $(CFLAGS) -MT _gtk_la-gtkobject-support.lo -MD -MP -MF "$(DEPDIR)/_gtk_la-gtkobject-support.Tpo" -c -o _gtk_la-gtkobject-support.lo `test -f 'gtkobject-support.c' || echo '$(srcdir)/'`gtkobject-support.c; \ -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/_gtk_la-gtkobject-support.Tpo" "$(DEPDIR)/_gtk_la-gtkobject-support.Plo"; else rm -f "$(DEPDIR)/_gtk_la-gtkobject-support.Tpo"; exit 1; fi +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(_gtk_la_CFLAGS) $(CFLAGS) -MT _gtk_la-gtkobject-support.lo -MD -MP -MF $(DEPDIR)/_gtk_la-gtkobject-support.Tpo -c -o _gtk_la-gtkobject-support.lo `test -f 'gtkobject-support.c' || echo '$(srcdir)/'`gtkobject-support.c +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/_gtk_la-gtkobject-support.Tpo $(DEPDIR)/_gtk_la-gtkobject-support.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gtkobject-support.c' object='_gtk_la-gtkobject-support.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(_gtk_la_CFLAGS) $(CFLAGS) -c -o _gtk_la-gtkobject-support.lo `test -f 'gtkobject-support.c' || echo '$(srcdir)/'`gtkobject-support.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(_gtk_la_CFLAGS) $(CFLAGS) -c -o _gtk_la-gtkobject-support.lo `test -f 'gtkobject-support.c' || echo '$(srcdir)/'`gtkobject-support.c _gtk_la-pygtkcellrenderer.lo: pygtkcellrenderer.c -@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(_gtk_la_CFLAGS) $(CFLAGS) -MT _gtk_la-pygtkcellrenderer.lo -MD -MP -MF "$(DEPDIR)/_gtk_la-pygtkcellrenderer.Tpo" -c -o _gtk_la-pygtkcellrenderer.lo `test -f 'pygtkcellrenderer.c' || echo '$(srcdir)/'`pygtkcellrenderer.c; \ -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/_gtk_la-pygtkcellrenderer.Tpo" "$(DEPDIR)/_gtk_la-pygtkcellrenderer.Plo"; else rm -f "$(DEPDIR)/_gtk_la-pygtkcellrenderer.Tpo"; exit 1; fi +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(_gtk_la_CFLAGS) $(CFLAGS) -MT _gtk_la-pygtkcellrenderer.lo -MD -MP -MF $(DEPDIR)/_gtk_la-pygtkcellrenderer.Tpo -c -o _gtk_la-pygtkcellrenderer.lo `test -f 'pygtkcellrenderer.c' || echo '$(srcdir)/'`pygtkcellrenderer.c +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/_gtk_la-pygtkcellrenderer.Tpo $(DEPDIR)/_gtk_la-pygtkcellrenderer.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='pygtkcellrenderer.c' object='_gtk_la-pygtkcellrenderer.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(_gtk_la_CFLAGS) $(CFLAGS) -c -o _gtk_la-pygtkcellrenderer.lo `test -f 'pygtkcellrenderer.c' || echo '$(srcdir)/'`pygtkcellrenderer.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(_gtk_la_CFLAGS) $(CFLAGS) -c -o _gtk_la-pygtkcellrenderer.lo `test -f 'pygtkcellrenderer.c' || echo '$(srcdir)/'`pygtkcellrenderer.c _gtk_la-pygtktreemodel.lo: pygtktreemodel.c -@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(_gtk_la_CFLAGS) $(CFLAGS) -MT _gtk_la-pygtktreemodel.lo -MD -MP -MF "$(DEPDIR)/_gtk_la-pygtktreemodel.Tpo" -c -o _gtk_la-pygtktreemodel.lo `test -f 'pygtktreemodel.c' || echo '$(srcdir)/'`pygtktreemodel.c; \ -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/_gtk_la-pygtktreemodel.Tpo" "$(DEPDIR)/_gtk_la-pygtktreemodel.Plo"; else rm -f "$(DEPDIR)/_gtk_la-pygtktreemodel.Tpo"; exit 1; fi +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(_gtk_la_CFLAGS) $(CFLAGS) -MT _gtk_la-pygtktreemodel.lo -MD -MP -MF $(DEPDIR)/_gtk_la-pygtktreemodel.Tpo -c -o _gtk_la-pygtktreemodel.lo `test -f 'pygtktreemodel.c' || echo '$(srcdir)/'`pygtktreemodel.c +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/_gtk_la-pygtktreemodel.Tpo $(DEPDIR)/_gtk_la-pygtktreemodel.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='pygtktreemodel.c' object='_gtk_la-pygtktreemodel.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(_gtk_la_CFLAGS) $(CFLAGS) -c -o _gtk_la-pygtktreemodel.lo `test -f 'pygtktreemodel.c' || echo '$(srcdir)/'`pygtktreemodel.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(_gtk_la_CFLAGS) $(CFLAGS) -c -o _gtk_la-pygtktreemodel.lo `test -f 'pygtktreemodel.c' || echo '$(srcdir)/'`pygtktreemodel.c _gtk_la-gtk.lo: gtk.c -@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(_gtk_la_CFLAGS) $(CFLAGS) -MT _gtk_la-gtk.lo -MD -MP -MF "$(DEPDIR)/_gtk_la-gtk.Tpo" -c -o _gtk_la-gtk.lo `test -f 'gtk.c' || echo '$(srcdir)/'`gtk.c; \ -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/_gtk_la-gtk.Tpo" "$(DEPDIR)/_gtk_la-gtk.Plo"; else rm -f "$(DEPDIR)/_gtk_la-gtk.Tpo"; exit 1; fi +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(_gtk_la_CFLAGS) $(CFLAGS) -MT _gtk_la-gtk.lo -MD -MP -MF $(DEPDIR)/_gtk_la-gtk.Tpo -c -o _gtk_la-gtk.lo `test -f 'gtk.c' || echo '$(srcdir)/'`gtk.c +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/_gtk_la-gtk.Tpo $(DEPDIR)/_gtk_la-gtk.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gtk.c' object='_gtk_la-gtk.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(_gtk_la_CFLAGS) $(CFLAGS) -c -o _gtk_la-gtk.lo `test -f 'gtk.c' || echo '$(srcdir)/'`gtk.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(_gtk_la_CFLAGS) $(CFLAGS) -c -o _gtk_la-gtk.lo `test -f 'gtk.c' || echo '$(srcdir)/'`gtk.c _gtk_la-gdk.lo: gdk.c -@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(_gtk_la_CFLAGS) $(CFLAGS) -MT _gtk_la-gdk.lo -MD -MP -MF "$(DEPDIR)/_gtk_la-gdk.Tpo" -c -o _gtk_la-gdk.lo `test -f 'gdk.c' || echo '$(srcdir)/'`gdk.c; \ -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/_gtk_la-gdk.Tpo" "$(DEPDIR)/_gtk_la-gdk.Plo"; else rm -f "$(DEPDIR)/_gtk_la-gdk.Tpo"; exit 1; fi +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(_gtk_la_CFLAGS) $(CFLAGS) -MT _gtk_la-gdk.lo -MD -MP -MF $(DEPDIR)/_gtk_la-gdk.Tpo -c -o _gtk_la-gdk.lo `test -f 'gdk.c' || echo '$(srcdir)/'`gdk.c +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/_gtk_la-gdk.Tpo $(DEPDIR)/_gtk_la-gdk.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gdk.c' object='_gtk_la-gdk.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(_gtk_la_CFLAGS) $(CFLAGS) -c -o _gtk_la-gdk.lo `test -f 'gdk.c' || echo '$(srcdir)/'`gdk.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(_gtk_la_CFLAGS) $(CFLAGS) -c -o _gtk_la-gdk.lo `test -f 'gdk.c' || echo '$(srcdir)/'`gdk.c glade_la-libglademodule.lo: libglademodule.c -@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(glade_la_CFLAGS) $(CFLAGS) -MT glade_la-libglademodule.lo -MD -MP -MF "$(DEPDIR)/glade_la-libglademodule.Tpo" -c -o glade_la-libglademodule.lo `test -f 'libglademodule.c' || echo '$(srcdir)/'`libglademodule.c; \ -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/glade_la-libglademodule.Tpo" "$(DEPDIR)/glade_la-libglademodule.Plo"; else rm -f "$(DEPDIR)/glade_la-libglademodule.Tpo"; exit 1; fi +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(glade_la_CFLAGS) $(CFLAGS) -MT glade_la-libglademodule.lo -MD -MP -MF $(DEPDIR)/glade_la-libglademodule.Tpo -c -o glade_la-libglademodule.lo `test -f 'libglademodule.c' || echo '$(srcdir)/'`libglademodule.c +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/glade_la-libglademodule.Tpo $(DEPDIR)/glade_la-libglademodule.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='libglademodule.c' object='glade_la-libglademodule.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(glade_la_CFLAGS) $(CFLAGS) -c -o glade_la-libglademodule.lo `test -f 'libglademodule.c' || echo '$(srcdir)/'`libglademodule.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(glade_la_CFLAGS) $(CFLAGS) -c -o glade_la-libglademodule.lo `test -f 'libglademodule.c' || echo '$(srcdir)/'`libglademodule.c glade_la-libglade.lo: libglade.c -@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(glade_la_CFLAGS) $(CFLAGS) -MT glade_la-libglade.lo -MD -MP -MF "$(DEPDIR)/glade_la-libglade.Tpo" -c -o glade_la-libglade.lo `test -f 'libglade.c' || echo '$(srcdir)/'`libglade.c; \ -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/glade_la-libglade.Tpo" "$(DEPDIR)/glade_la-libglade.Plo"; else rm -f "$(DEPDIR)/glade_la-libglade.Tpo"; exit 1; fi +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(glade_la_CFLAGS) $(CFLAGS) -MT glade_la-libglade.lo -MD -MP -MF $(DEPDIR)/glade_la-libglade.Tpo -c -o glade_la-libglade.lo `test -f 'libglade.c' || echo '$(srcdir)/'`libglade.c +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/glade_la-libglade.Tpo $(DEPDIR)/glade_la-libglade.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='libglade.c' object='glade_la-libglade.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(glade_la_CFLAGS) $(CFLAGS) -c -o glade_la-libglade.lo `test -f 'libglade.c' || echo '$(srcdir)/'`libglade.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(glade_la_CFLAGS) $(CFLAGS) -c -o glade_la-libglade.lo `test -f 'libglade.c' || echo '$(srcdir)/'`libglade.c gtkunixprint_la-gtkunixprintmodule.lo: gtkunixprintmodule.c -@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gtkunixprint_la_CFLAGS) $(CFLAGS) -MT gtkunixprint_la-gtkunixprintmodule.lo -MD -MP -MF "$(DEPDIR)/gtkunixprint_la-gtkunixprintmodule.Tpo" -c -o gtkunixprint_la-gtkunixprintmodule.lo `test -f 'gtkunixprintmodule.c' || echo '$(srcdir)/'`gtkunixprintmodule.c; \ -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/gtkunixprint_la-gtkunixprintmodule.Tpo" "$(DEPDIR)/gtkunixprint_la-gtkunixprintmodule.Plo"; else rm -f "$(DEPDIR)/gtkunixprint_la-gtkunixprintmodule.Tpo"; exit 1; fi +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gtkunixprint_la_CFLAGS) $(CFLAGS) -MT gtkunixprint_la-gtkunixprintmodule.lo -MD -MP -MF $(DEPDIR)/gtkunixprint_la-gtkunixprintmodule.Tpo -c -o gtkunixprint_la-gtkunixprintmodule.lo `test -f 'gtkunixprintmodule.c' || echo '$(srcdir)/'`gtkunixprintmodule.c +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/gtkunixprint_la-gtkunixprintmodule.Tpo $(DEPDIR)/gtkunixprint_la-gtkunixprintmodule.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gtkunixprintmodule.c' object='gtkunixprint_la-gtkunixprintmodule.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gtkunixprint_la_CFLAGS) $(CFLAGS) -c -o gtkunixprint_la-gtkunixprintmodule.lo `test -f 'gtkunixprintmodule.c' || echo '$(srcdir)/'`gtkunixprintmodule.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gtkunixprint_la_CFLAGS) $(CFLAGS) -c -o gtkunixprint_la-gtkunixprintmodule.lo `test -f 'gtkunixprintmodule.c' || echo '$(srcdir)/'`gtkunixprintmodule.c gtkunixprint_la-gtkunixprint.lo: gtkunixprint.c -@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gtkunixprint_la_CFLAGS) $(CFLAGS) -MT gtkunixprint_la-gtkunixprint.lo -MD -MP -MF "$(DEPDIR)/gtkunixprint_la-gtkunixprint.Tpo" -c -o gtkunixprint_la-gtkunixprint.lo `test -f 'gtkunixprint.c' || echo '$(srcdir)/'`gtkunixprint.c; \ -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/gtkunixprint_la-gtkunixprint.Tpo" "$(DEPDIR)/gtkunixprint_la-gtkunixprint.Plo"; else rm -f "$(DEPDIR)/gtkunixprint_la-gtkunixprint.Tpo"; exit 1; fi +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gtkunixprint_la_CFLAGS) $(CFLAGS) -MT gtkunixprint_la-gtkunixprint.lo -MD -MP -MF $(DEPDIR)/gtkunixprint_la-gtkunixprint.Tpo -c -o gtkunixprint_la-gtkunixprint.lo `test -f 'gtkunixprint.c' || echo '$(srcdir)/'`gtkunixprint.c +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/gtkunixprint_la-gtkunixprint.Tpo $(DEPDIR)/gtkunixprint_la-gtkunixprint.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gtkunixprint.c' object='gtkunixprint_la-gtkunixprint.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gtkunixprint_la_CFLAGS) $(CFLAGS) -c -o gtkunixprint_la-gtkunixprint.lo `test -f 'gtkunixprint.c' || echo '$(srcdir)/'`gtkunixprint.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gtkunixprint_la_CFLAGS) $(CFLAGS) -c -o gtkunixprint_la-gtkunixprint.lo `test -f 'gtkunixprint.c' || echo '$(srcdir)/'`gtkunixprint.c mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs - -distclean-libtool: - -rm -f libtool -uninstall-info-am: install-pygtkPYTHON: $(pygtk_PYTHON) @$(NORMAL_INSTALL) - test -z "$(pygtkdir)" || $(mkdir_p) "$(DESTDIR)$(pygtkdir)" + test -z "$(pygtkdir)" || $(MKDIR_P) "$(DESTDIR)$(pygtkdir)" @list='$(pygtk_PYTHON)'; dlist=''; for p in $$list; do\ if test -f "$$p"; then b=; else b="$(srcdir)/"; fi; \ if test -f $$b$$p; then \ @@ -671,7 +667,7 @@ done install-defsDATA: $(defs_DATA) @$(NORMAL_INSTALL) - test -z "$(defsdir)" || $(mkdir_p) "$(DESTDIR)$(defsdir)" + test -z "$(defsdir)" || $(MKDIR_P) "$(DESTDIR)$(defsdir)" @list='$(defs_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ @@ -688,7 +684,7 @@ done install-pkgincludeHEADERS: $(pkginclude_HEADERS) @$(NORMAL_INSTALL) - test -z "$(pkgincludedir)" || $(mkdir_p) "$(DESTDIR)$(pkgincludedir)" + test -z "$(pkgincludedir)" || $(MKDIR_P) "$(DESTDIR)$(pkgincludedir)" @list='$(pkginclude_HEADERS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ @@ -709,8 +705,8 @@ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS @@ -722,8 +718,8 @@ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ @@ -733,13 +729,12 @@ CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ - here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique @@ -753,22 +748,21 @@ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ - list='$(DISTFILES)'; for file in $$list; do \ - case $$file in \ - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ - esac; \ + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test "$$dir" != "$$file" && test "$$dir" != "."; then \ - dir="/$$dir"; \ - $(mkdir_p) "$(distdir)$$dir"; \ - else \ - dir=''; \ - fi; \ if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ @@ -784,7 +778,7 @@ all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS) installdirs: for dir in "$(DESTDIR)$(pkgpyexecdir)" "$(DESTDIR)$(pygtkexecdir)" "$(DESTDIR)$(pygtkdir)" "$(DESTDIR)$(defsdir)" "$(DESTDIR)$(pkgincludedir)"; do \ - test -z "$$dir" || $(mkdir_p) "$$dir"; \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am @@ -813,14 +807,15 @@ @echo "it deletes files that may require special tools to rebuild." clean: clean-am -clean-am: clean-generic clean-libtool clean-pkgpyexecLTLIBRARIES \ - clean-pygtkexecLTLIBRARIES mostlyclean-am +clean-am: clean-generic clean-libtool clean-local \ + clean-pkgpyexecLTLIBRARIES clean-pygtkexecLTLIBRARIES \ + mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ - distclean-libtool distclean-tags + distclean-tags dvi: dvi-am @@ -835,13 +830,21 @@ install-data-am: install-defsDATA install-pkgincludeHEADERS \ install-pygtkPYTHON +install-dvi: install-dvi-am + install-exec-am: install-pkgpyexecLTLIBRARIES \ install-pygtkexecLTLIBRARIES +install-html: install-html-am + install-info: install-info-am install-man: +install-pdf: install-pdf-am + +install-ps: install-ps-am + installcheck-am: maintainer-clean: maintainer-clean-am @@ -862,26 +865,29 @@ ps-am: -uninstall-am: uninstall-defsDATA uninstall-info-am \ - uninstall-pkgincludeHEADERS uninstall-pkgpyexecLTLIBRARIES \ - uninstall-pygtkPYTHON uninstall-pygtkexecLTLIBRARIES +uninstall-am: uninstall-defsDATA uninstall-pkgincludeHEADERS \ + uninstall-pkgpyexecLTLIBRARIES uninstall-pygtkPYTHON \ + uninstall-pygtkexecLTLIBRARIES + +.MAKE: install-am install-strip .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ - clean-libtool clean-pkgpyexecLTLIBRARIES \ + clean-libtool clean-local clean-pkgpyexecLTLIBRARIES \ clean-pygtkexecLTLIBRARIES ctags distclean distclean-compile \ distclean-generic distclean-libtool distclean-tags distdir dvi \ dvi-am html html-am info info-am install install-am \ - install-data install-data-am install-defsDATA install-exec \ - install-exec-am install-info install-info-am install-man \ - install-pkgincludeHEADERS install-pkgpyexecLTLIBRARIES \ + install-data install-data-am install-defsDATA install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-info install-info-am install-man \ + install-pdf install-pdf-am install-pkgincludeHEADERS \ + install-pkgpyexecLTLIBRARIES install-ps install-ps-am \ install-pygtkPYTHON install-pygtkexecLTLIBRARIES install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags uninstall uninstall-am uninstall-defsDATA \ - uninstall-info-am uninstall-pkgincludeHEADERS \ - uninstall-pkgpyexecLTLIBRARIES uninstall-pygtkPYTHON \ - uninstall-pygtkexecLTLIBRARIES + uninstall-pkgincludeHEADERS uninstall-pkgpyexecLTLIBRARIES \ + uninstall-pygtkPYTHON uninstall-pygtkexecLTLIBRARIES gdk-2.12.defs \ gtk-2.12.defs \ @@ -923,7 +929,7 @@ ($(PYTHON) $(CODEGENDIR)/codegen.py \ $(PYGTK_CODEGEN_DEFINES) \ -I $(srcdir) \ - --py_ssize_t-clean \ + --py_ssize_t-clean $(extra_codegen_args) \ --register $(top_srcdir)/pango-types.defs \ --register $(top_srcdir)/atk-types.defs \ --register gdk-types.defs \ @@ -938,6 +944,12 @@ # could use pattern rules. Perhaps we should rename gtk-types.c. gtk-types.c: @: + +all: $(pygtkexec_LTLIBRARIES:.la=.so) $(pkgpyexec_LTLIBRARIES:.la=.so) +clean-local: + rm -f $(pygtkexec_LTLIBRARIES:.la=.so) $(pkgpyexec_LTLIBRARIES:.la=.so) +.la.so: + $(LN_S) .libs/$@ $@ || true # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/pygtkcellrenderer.c /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/pygtkcellrenderer.c --- pygtk-2.14.1/gtk/pygtkcellrenderer.c 2009-03-05 22:06:49.000000000 +0000 +++ pygtk-2.15.1/gtk/pygtkcellrenderer.c 2009-04-26 16:11:17.000000000 +0100 @@ -16,7 +16,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA */ #ifdef HAVE_CONFIG_H diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/pygtkcellrenderer.h /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/pygtkcellrenderer.h --- pygtk-2.14.1/gtk/pygtkcellrenderer.h 2009-03-05 22:06:49.000000000 +0000 +++ pygtk-2.15.1/gtk/pygtkcellrenderer.h 2009-04-26 16:11:17.000000000 +0100 @@ -16,11 +16,11 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA */ -#include +#include #define PYGTK_TYPE_GENERIC_CELL_RENDERER (pygtk_generic_cell_renderer_get_type()) #define PYGTK_GENERIC_CELL_RENDERER(object) (G_TYPE_CHECK_INSTANCE_CAST((object), PYGTK_TYPE_GENERIC_CELL_RENDERER, PyGtkGenericCellRenderer)) diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/pygtk-private.h /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/pygtk-private.h --- pygtk-2.14.1/gtk/pygtk-private.h 2009-03-05 22:06:49.000000000 +0000 +++ pygtk-2.15.1/gtk/pygtk-private.h 2009-05-24 23:08:41.000000000 +0100 @@ -52,7 +52,18 @@ gpointer array; } PyGtkStyleHelper_Object; +/* helper object for the rc-style helper */ +typedef struct { + PyObject_HEAD + GtkRcStyle *rc_style; /* parent style */ + enum {RC_STYLE_COLOUR_ARRAY, RC_STYLE_STRING_ARRAY} type; + gpointer array; + GtkRcFlags is_set_flag; /* ignored for RC_STYLE_STRING_ARRAY */ +} PyGtkRcStyleHelper_Object; + PyObject *_pygtk_style_helper_new(GtkStyle *style, int type, gpointer array); +PyObject *_pygtk_rc_style_helper_new(GtkRcStyle *rc_style, int type, gpointer array, + GtkRcFlags is_set_flag); PyObject *_pygtk_tree_model_row_new(GtkTreeModel *model, GtkTreeIter *iter); PyObject *_pygtk_tree_model_row_iter_new(GtkTreeModel *model, diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/pygtktreemodel.c /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/pygtktreemodel.c --- pygtk-2.14.1/gtk/pygtktreemodel.c 2009-03-05 22:06:49.000000000 +0000 +++ pygtk-2.15.1/gtk/pygtktreemodel.c 2009-04-26 16:11:17.000000000 +0100 @@ -16,7 +16,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA */ #ifdef HAVE_CONFIG_H diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/gtk/pygtktreemodel.h /tmp/vg4GBciBVb/pygtk-2.15.1/gtk/pygtktreemodel.h --- pygtk-2.14.1/gtk/pygtktreemodel.h 2009-03-05 22:06:49.000000000 +0000 +++ pygtk-2.15.1/gtk/pygtktreemodel.h 2009-04-26 16:11:17.000000000 +0100 @@ -16,13 +16,13 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA */ #include -#include +#include #define PYGTK_TYPE_GENERIC_TREE_MODEL (pygtk_generic_tree_model_get_type()) #define PYGTK_GENERIC_TREE_MODEL(object) (G_TYPE_CHECK_INSTANCE_CAST((object), PYGTK_TYPE_GENERIC_TREE_MODEL, PyGtkGenericTreeModel)) diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/INSTALL /tmp/vg4GBciBVb/pygtk-2.15.1/INSTALL --- pygtk-2.14.1/INSTALL 2009-03-05 22:31:39.000000000 +0000 +++ pygtk-2.15.1/INSTALL 2009-05-02 18:22:28.000000000 +0100 @@ -1,16 +1,19 @@ Installation Instructions ************************* -Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free -Software Foundation, Inc. +Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005, +2006, 2007, 2008 Free Software Foundation, Inc. -This file is free documentation; the Free Software Foundation gives + This file is free documentation; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. Basic Installation ================== -These are generic installation instructions. + Briefly, the shell commands `./configure; make; make install' should +configure, build, and install this package. The following +more-detailed instructions are generic; see the `README' file for +instructions specific to this package. The `configure' shell script attempts to guess correct values for various system-dependent variables used during compilation. It uses @@ -23,9 +26,9 @@ It can also use an optional file (typically called `config.cache' and enabled with `--cache-file=config.cache' or simply `-C') that saves -the results of its tests to speed up reconfiguring. (Caching is +the results of its tests to speed up reconfiguring. Caching is disabled by default to prevent problems with accidental use of stale -cache files.) +cache files. If you need to do unusual things to compile the package, please try to figure out how `configure' could check whether to do them, and mail @@ -35,20 +38,17 @@ may remove or edit it. The file `configure.ac' (or `configure.in') is used to create -`configure' by a program called `autoconf'. You only need -`configure.ac' if you want to change it or regenerate `configure' using -a newer version of `autoconf'. +`configure' by a program called `autoconf'. You need `configure.ac' if +you want to change it or regenerate `configure' using a newer version +of `autoconf'. The simplest way to compile this package is: 1. `cd' to the directory containing the package's source code and type - `./configure' to configure the package for your system. If you're - using `csh' on an old version of System V, you might need to type - `sh ./configure' instead to prevent `csh' from trying to execute - `configure' itself. + `./configure' to configure the package for your system. - Running `configure' takes awhile. While running, it prints some - messages telling which features it is checking for. + Running `configure' might take a while. While running, it prints + some messages telling which features it is checking for. 2. Type `make' to compile the package. @@ -67,42 +67,57 @@ all sorts of other programs in order to regenerate files that came with the distribution. + 6. Often, you can also type `make uninstall' to remove the installed + files again. + Compilers and Options ===================== -Some systems require unusual options for compilation or linking that the -`configure' script does not know about. Run `./configure --help' for -details on some of the pertinent environment variables. + Some systems require unusual options for compilation or linking that +the `configure' script does not know about. Run `./configure --help' +for details on some of the pertinent environment variables. You can give `configure' initial values for configuration parameters by setting variables in the command line or in the environment. Here is an example: - ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix + ./configure CC=c99 CFLAGS=-g LIBS=-lposix *Note Defining Variables::, for more details. Compiling For Multiple Architectures ==================================== -You can compile the package for more than one kind of computer at the + You can compile the package for more than one kind of computer at the same time, by placing the object files for each architecture in their -own directory. To do this, you must use a version of `make' that -supports the `VPATH' variable, such as GNU `make'. `cd' to the +own directory. To do this, you can use GNU `make'. `cd' to the directory where you want the object files and executables to go and run the `configure' script. `configure' automatically checks for the source code in the directory that `configure' is in and in `..'. - If you have to use a `make' that does not support the `VPATH' -variable, you have to compile the package for one architecture at a -time in the source code directory. After you have installed the -package for one architecture, use `make distclean' before reconfiguring -for another architecture. + With a non-GNU `make', it is safer to compile the package for one +architecture at a time in the source code directory. After you have +installed the package for one architecture, use `make distclean' before +reconfiguring for another architecture. + + On MacOS X 10.5 and later systems, you can create libraries and +executables that work on multiple system types--known as "fat" or +"universal" binaries--by specifying multiple `-arch' options to the +compiler but only a single `-arch' option to the preprocessor. Like +this: + + ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ + CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ + CPP="gcc -E" CXXCPP="g++ -E" + + This is not guaranteed to produce working output in all cases, you +may have to build one architecture at a time and combine the results +using the `lipo' tool if you have problems. Installation Names ================== -By default, `make install' installs the package's commands under + By default, `make install' installs the package's commands under `/usr/local/bin', include files under `/usr/local/include', etc. You can specify an installation prefix other than `/usr/local' by giving `configure' the option `--prefix=PREFIX'. @@ -125,7 +140,7 @@ Optional Features ================= -Some packages pay attention to `--enable-FEATURE' options to + Some packages pay attention to `--enable-FEATURE' options to `configure', where FEATURE indicates an optional part of the package. They may also pay attention to `--with-PACKAGE' options, where PACKAGE is something like `gnu-as' or `x' (for the X Window System). The @@ -137,14 +152,36 @@ you can use the `configure' options `--x-includes=DIR' and `--x-libraries=DIR' to specify their locations. +Particular systems +================== + + On HP-UX, the default C compiler is not ANSI C compatible. If GNU +CC is not installed, it is recommended to use the following options in +order to use an ANSI C compiler: + + ./configure CC="cc -Ae" + +and if that doesn't work, install pre-built binaries of GCC for HP-UX. + + On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot +parse its `' header file. The option `-nodtk' can be used as +a workaround. If GNU CC is not installed, it is therefore recommended +to try + + ./configure CC="cc" + +and if that doesn't work, try + + ./configure CC="cc -nodtk" + Specifying the System Type ========================== -There may be some features `configure' cannot figure out automatically, -but needs to determine by the type of machine the package will run on. -Usually, assuming the package is built to be run on the _same_ -architectures, `configure' can figure that out, but if it prints a -message saying it cannot guess the machine type, give it the + There may be some features `configure' cannot figure out +automatically, but needs to determine by the type of machine the package +will run on. Usually, assuming the package is built to be run on the +_same_ architectures, `configure' can figure that out, but if it prints +a message saying it cannot guess the machine type, give it the `--build=TYPE' option. TYPE can either be a short name for the system type, such as `sun4', or a canonical name which has the form: @@ -170,9 +207,9 @@ Sharing Defaults ================ -If you want to set default values for `configure' scripts to share, you -can create a site shell script called `config.site' that gives default -values for variables like `CC', `cache_file', and `prefix'. + If you want to set default values for `configure' scripts to share, +you can create a site shell script called `config.site' that gives +default values for variables like `CC', `cache_file', and `prefix'. `configure' looks for `PREFIX/share/config.site' if it exists, then `PREFIX/etc/config.site' if it exists. Or, you can set the `CONFIG_SITE' environment variable to the location of the site script. @@ -181,7 +218,7 @@ Defining Variables ================== -Variables not defined in a site shell script can be set in the + Variables not defined in a site shell script can be set in the environment passed to `configure'. However, some packages may run configure again during the build, and the customized values of these variables may be lost. In order to avoid this problem, you should set @@ -190,21 +227,29 @@ ./configure CC=/usr/local2/bin/gcc causes the specified `gcc' to be used as the C compiler (unless it is -overridden in the site shell script). Here is a another example: +overridden in the site shell script). - /bin/bash ./configure CONFIG_SHELL=/bin/bash +Unfortunately, this technique does not work for `CONFIG_SHELL' due to +an Autoconf bug. Until the bug is fixed you can use this workaround: -Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent -configuration-related scripts to be executed by `/bin/bash'. + CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash `configure' Invocation ====================== -`configure' recognizes the following options to control how it operates. + `configure' recognizes the following options to control how it +operates. `--help' `-h' - Print a summary of the options to `configure', and exit. + Print a summary of all of the options to `configure', and exit. + +`--help=short' +`--help=recursive' + Print a summary of the options unique to this package's + `configure', and exit. The `short' variant lists options used + only in the top level, while the `recursive' variant lists options + also present in any nested packages. `--version' `-V' @@ -231,6 +276,16 @@ Look for the package's source code in directory DIR. Usually `configure' can determine that directory automatically. +`--prefix=DIR' + Use DIR as the installation prefix. *Note Installation Names:: + for more details, including other options available for fine-tuning + the installation locations. + +`--no-create' +`-n' + Run the configure checks, but stop before creating any output + files. + `configure' also accepts some other, not widely useful, options. Run `configure --help' for more details. diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/install-sh /tmp/vg4GBciBVb/pygtk-2.15.1/install-sh --- pygtk-2.14.1/install-sh 2009-03-05 22:31:38.000000000 +0000 +++ pygtk-2.15.1/install-sh 2009-05-02 18:22:27.000000000 +0100 @@ -1,7 +1,7 @@ #!/bin/sh # install - install a program, script, or datafile -scriptversion=2005-05-14.22 +scriptversion=2006-12-25.00 # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the @@ -39,38 +39,68 @@ # when there is no Makefile. # # This script is compatible with the BSD install script, but was written -# from scratch. It can only install one file at a time, a restriction -# shared with many OS's install programs. +# from scratch. + +nl=' +' +IFS=" "" $nl" # set DOITPROG to echo to test this script # Don't use :- since 4.3BSD and earlier shells don't like it. -doit="${DOITPROG-}" +doit=${DOITPROG-} +if test -z "$doit"; then + doit_exec=exec +else + doit_exec=$doit +fi -# put in absolute paths if you don't have them in your path; or use env. vars. +# Put in absolute file names if you don't have them in your path; +# or use environment vars. -mvprog="${MVPROG-mv}" -cpprog="${CPPROG-cp}" -chmodprog="${CHMODPROG-chmod}" -chownprog="${CHOWNPROG-chown}" -chgrpprog="${CHGRPPROG-chgrp}" -stripprog="${STRIPPROG-strip}" -rmprog="${RMPROG-rm}" -mkdirprog="${MKDIRPROG-mkdir}" +chgrpprog=${CHGRPPROG-chgrp} +chmodprog=${CHMODPROG-chmod} +chownprog=${CHOWNPROG-chown} +cmpprog=${CMPPROG-cmp} +cpprog=${CPPROG-cp} +mkdirprog=${MKDIRPROG-mkdir} +mvprog=${MVPROG-mv} +rmprog=${RMPROG-rm} +stripprog=${STRIPPROG-strip} + +posix_glob='?' +initialize_posix_glob=' + test "$posix_glob" != "?" || { + if (set -f) 2>/dev/null; then + posix_glob= + else + posix_glob=: + fi + } +' + +posix_mkdir= + +# Desired mode of installed file. +mode=0755 -chmodcmd="$chmodprog 0755" -chowncmd= chgrpcmd= -stripcmd= +chmodcmd=$chmodprog +chowncmd= +mvcmd=$mvprog rmcmd="$rmprog -f" -mvcmd="$mvprog" +stripcmd= + src= dst= dir_arg= -dstarg= +dst_arg= + +copy_on_change=false no_target_directory= -usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE +usage="\ +Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE or: $0 [OPTION]... SRCFILES... DIRECTORY or: $0 [OPTION]... -t DIRECTORY SRCFILES... or: $0 [OPTION]... -d DIRECTORIES... @@ -80,81 +110,86 @@ In the 4th, create DIRECTORIES. Options: --c (ignored) --d create directories instead of installing files. --g GROUP $chgrpprog installed files to GROUP. --m MODE $chmodprog installed files to MODE. --o USER $chownprog installed files to USER. --s $stripprog installed files. --t DIRECTORY install into DIRECTORY. --T report an error if DSTFILE is a directory. ---help display this help and exit. ---version display version info and exit. + --help display this help and exit. + --version display version info and exit. + + -c (ignored) + -C install only if different (preserve the last data modification time) + -d create directories instead of installing files. + -g GROUP $chgrpprog installed files to GROUP. + -m MODE $chmodprog installed files to MODE. + -o USER $chownprog installed files to USER. + -s $stripprog installed files. + -t DIRECTORY install into DIRECTORY. + -T report an error if DSTFILE is a directory. Environment variables override the default commands: - CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG + CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG + RMPROG STRIPPROG " -while test -n "$1"; do +while test $# -ne 0; do case $1 in - -c) shift - continue;; + -c) ;; - -d) dir_arg=true - shift - continue;; + -C) copy_on_change=true;; + + -d) dir_arg=true;; -g) chgrpcmd="$chgrpprog $2" - shift - shift - continue;; + shift;; --help) echo "$usage"; exit $?;; - -m) chmodcmd="$chmodprog $2" - shift - shift - continue;; + -m) mode=$2 + case $mode in + *' '* | *' '* | *' +'* | *'*'* | *'?'* | *'['*) + echo "$0: invalid mode: $mode" >&2 + exit 1;; + esac + shift;; -o) chowncmd="$chownprog $2" - shift - shift - continue;; - - -s) stripcmd=$stripprog - shift - continue;; - - -t) dstarg=$2 - shift - shift - continue;; - - -T) no_target_directory=true - shift - continue;; + shift;; + + -s) stripcmd=$stripprog;; + + -t) dst_arg=$2 + shift;; + + -T) no_target_directory=true;; --version) echo "$0 $scriptversion"; exit $?;; - *) # When -d is used, all remaining arguments are directories to create. - # When -t is used, the destination is already specified. - test -n "$dir_arg$dstarg" && break - # Otherwise, the last argument is the destination. Remove it from $@. - for arg - do - if test -n "$dstarg"; then - # $@ is not empty: it contains at least $arg. - set fnord "$@" "$dstarg" - shift # fnord - fi - shift # arg - dstarg=$arg - done + --) shift break;; + + -*) echo "$0: invalid option: $1" >&2 + exit 1;; + + *) break;; esac + shift done -if test -z "$1"; then +if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then + # When -d is used, all remaining arguments are directories to create. + # When -t is used, the destination is already specified. + # Otherwise, the last argument is the destination. Remove it from $@. + for arg + do + if test -n "$dst_arg"; then + # $@ is not empty: it contains at least $arg. + set fnord "$@" "$dst_arg" + shift # fnord + fi + shift # arg + dst_arg=$arg + done +fi + +if test $# -eq 0; then if test -z "$dir_arg"; then echo "$0: no input file specified." >&2 exit 1 @@ -164,24 +199,47 @@ exit 0 fi +if test -z "$dir_arg"; then + trap '(exit $?); exit' 1 2 13 15 + + # Set umask so as not to create temps with too-generous modes. + # However, 'strip' requires both read and write access to temps. + case $mode in + # Optimize common cases. + *644) cp_umask=133;; + *755) cp_umask=22;; + + *[0-7]) + if test -z "$stripcmd"; then + u_plus_rw= + else + u_plus_rw='% 200' + fi + cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; + *) + if test -z "$stripcmd"; then + u_plus_rw= + else + u_plus_rw=,u+rw + fi + cp_umask=$mode$u_plus_rw;; + esac +fi + for src do # Protect names starting with `-'. case $src in - -*) src=./$src ;; + -*) src=./$src;; esac if test -n "$dir_arg"; then dst=$src - src= - - if test -d "$dst"; then - mkdircmd=: - chmodcmd= - else - mkdircmd=$mkdirprog - fi + dstdir=$dst + test -d "$dstdir" + dstdir_status=$? else + # Waiting for this to be detected by the "$cpprog $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. @@ -190,71 +248,199 @@ exit 1 fi - if test -z "$dstarg"; then + if test -z "$dst_arg"; then echo "$0: no destination specified." >&2 exit 1 fi - dst=$dstarg + dst=$dst_arg # Protect names starting with `-'. case $dst in - -*) dst=./$dst ;; + -*) dst=./$dst;; esac # If destination is a directory, append the input filename; won't work # if double slashes aren't ignored. if test -d "$dst"; then if test -n "$no_target_directory"; then - echo "$0: $dstarg: Is a directory" >&2 + echo "$0: $dst_arg: Is a directory" >&2 exit 1 fi - dst=$dst/`basename "$src"` + dstdir=$dst + dst=$dstdir/`basename "$src"` + dstdir_status=0 + else + # Prefer dirname, but fall back on a substitute if dirname fails. + dstdir=` + (dirname "$dst") 2>/dev/null || + expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$dst" : 'X\(//\)[^/]' \| \ + X"$dst" : 'X\(//\)$' \| \ + X"$dst" : 'X\(/\)' \| . 2>/dev/null || + echo X"$dst" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q' + ` + + test -d "$dstdir" + dstdir_status=$? fi fi - # This sed command emulates the dirname command. - dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'` - - # Make sure that the destination directory exists. + obsolete_mkdir_used=false - # Skip lots of stat calls in the usual case. - if test ! -d "$dstdir"; then - defaultIFS=' - ' - IFS="${IFS-$defaultIFS}" - - oIFS=$IFS - # Some sh's can't handle IFS=/ for some reason. - IFS='%' - set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'` - shift - IFS=$oIFS + if test $dstdir_status != 0; then + case $posix_mkdir in + '') + # Create intermediate dirs using mode 755 as modified by the umask. + # This is like FreeBSD 'install' as of 1997-10-28. + umask=`umask` + case $stripcmd.$umask in + # Optimize common cases. + *[2367][2367]) mkdir_umask=$umask;; + .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; + + *[0-7]) + mkdir_umask=`expr $umask + 22 \ + - $umask % 100 % 40 + $umask % 20 \ + - $umask % 10 % 4 + $umask % 2 + `;; + *) mkdir_umask=$umask,go-w;; + esac + + # With -d, create the new directory with the user-specified mode. + # Otherwise, rely on $mkdir_umask. + if test -n "$dir_arg"; then + mkdir_mode=-m$mode + else + mkdir_mode= + fi + + posix_mkdir=false + case $umask in + *[123567][0-7][0-7]) + # POSIX mkdir -p sets u+wx bits regardless of umask, which + # is incompatible with FreeBSD 'install' when (umask & 300) != 0. + ;; + *) + tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ + trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 + + if (umask $mkdir_umask && + exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 + then + if test -z "$dir_arg" || { + # Check for POSIX incompatibilities with -m. + # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or + # other-writeable bit of parent directory when it shouldn't. + # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. + ls_ld_tmpdir=`ls -ld "$tmpdir"` + case $ls_ld_tmpdir in + d????-?r-*) different_mode=700;; + d????-?--*) different_mode=755;; + *) false;; + esac && + $mkdirprog -m$different_mode -p -- "$tmpdir" && { + ls_ld_tmpdir_1=`ls -ld "$tmpdir"` + test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" + } + } + then posix_mkdir=: + fi + rmdir "$tmpdir/d" "$tmpdir" + else + # Remove any dirs left behind by ancient mkdir implementations. + rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null + fi + trap '' 0;; + esac;; + esac - pathcomp= + if + $posix_mkdir && ( + umask $mkdir_umask && + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" + ) + then : + else - while test $# -ne 0 ; do - pathcomp=$pathcomp$1 + # The umask is ridiculous, or mkdir does not conform to POSIX, + # or it failed possibly due to a race condition. Create the + # directory the slow way, step by step, checking for races as we go. + + case $dstdir in + /*) prefix='/';; + -*) prefix='./';; + *) prefix='';; + esac + + eval "$initialize_posix_glob" + + oIFS=$IFS + IFS=/ + $posix_glob set -f + set fnord $dstdir shift - if test ! -d "$pathcomp"; then - $mkdirprog "$pathcomp" - # mkdir can fail with a `File exist' error in case several - # install-sh are creating the directory concurrently. This - # is OK. - test -d "$pathcomp" || exit + $posix_glob set +f + IFS=$oIFS + + prefixes= + + for d + do + test -z "$d" && continue + + prefix=$prefix$d + if test -d "$prefix"; then + prefixes= + else + if $posix_mkdir; then + (umask=$mkdir_umask && + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break + # Don't fail if two instances are running concurrently. + test -d "$prefix" || exit 1 + else + case $prefix in + *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; + *) qprefix=$prefix;; + esac + prefixes="$prefixes '$qprefix'" + fi + fi + prefix=$prefix/ + done + + if test -n "$prefixes"; then + # Don't fail if two instances are running concurrently. + (umask $mkdir_umask && + eval "\$doit_exec \$mkdirprog $prefixes") || + test -d "$dstdir" || exit 1 + obsolete_mkdir_used=true fi - pathcomp=$pathcomp/ - done + fi fi if test -n "$dir_arg"; then - $doit $mkdircmd "$dst" \ - && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \ - && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \ - && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \ - && { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; } - + { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && + { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && + { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || + test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 else - dstfile=`basename "$dst"` # Make a couple of temp file names in the proper directory. dsttmp=$dstdir/_inst.$$_ @@ -262,10 +448,9 @@ # Trap to clean up those temp files at exit. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 - trap '(exit $?); exit' 1 2 13 15 # Copy the file name to the temp name. - $doit $cpprog "$src" "$dsttmp" && + (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && # and set any options; do chmod last to preserve setuid bits. # @@ -273,47 +458,58 @@ # ignore errors from any of these, just make sure not to ignore # errors from the above "$doit $cpprog $src $dsttmp" command. # - { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \ - && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \ - && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \ - && { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } && - - # Now rename the file to the real destination. - { $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \ - || { - # The rename failed, perhaps because mv can't rename something else - # to itself, or perhaps because mv is so ancient that it does not - # support -f. - - # Now remove or move aside any old file at destination location. - # We try this two ways since rm can't unlink itself on some - # systems and the destination file might be busy for other - # reasons. In this case, the final cleanup might fail but the new - # file should still install successfully. - { - if test -f "$dstdir/$dstfile"; then - $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \ - || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \ - || { - echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2 - (exit 1); exit 1 - } - else - : - fi - } && - - # Now rename the file to the real destination. - $doit $mvcmd "$dsttmp" "$dstdir/$dstfile" - } - } - fi || { (exit 1); exit 1; } -done + { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && + { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && + { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && + { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && + + # If -C, don't bother to copy if it wouldn't change the file. + if $copy_on_change && + old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && + new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && + + eval "$initialize_posix_glob" && + $posix_glob set -f && + set X $old && old=:$2:$4:$5:$6 && + set X $new && new=:$2:$4:$5:$6 && + $posix_glob set +f && + + test "$old" = "$new" && + $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 + then + rm -f "$dsttmp" + else + # Rename the file to the real destination. + $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || -# The final little trick to "correctly" pass the exit status to the exit trap. -{ - (exit 0); exit 0 -} + # The rename failed, perhaps because mv can't rename something else + # to itself, or perhaps because mv is so ancient that it does not + # support -f. + { + # Now remove or move aside any old file at destination location. + # We try this two ways since rm can't unlink itself on some + # systems and the destination file might be busy for other + # reasons. In this case, the final cleanup might fail but the new + # file should still install successfully. + { + test ! -f "$dst" || + $doit $rmcmd -f "$dst" 2>/dev/null || + { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && + { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } + } || + { echo "$0: cannot unlink or rename $dst" >&2 + (exit 1); exit 1 + } + } && + + # Now rename the file to the real destination. + $doit $mvcmd "$dsttmp" "$dst" + } + fi || exit 1 + + trap '' 0 + fi +done # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/ltihooks.py /tmp/vg4GBciBVb/pygtk-2.15.1/ltihooks.py --- pygtk-2.14.1/ltihooks.py 2009-03-05 22:06:53.000000000 +0000 +++ pygtk-2.15.1/ltihooks.py 1970-01-01 01:00:00.000000000 +0100 @@ -1,60 +0,0 @@ -# -*- Mode: Python; py-indent-offset: 4 -*- -# ltihooks.py: python import hooks that understand libtool libraries. -# Copyright (C) 2000 James Henstridge. -# -# This program 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 2 of the License, or -# (at your option) any later version. -# -# This program 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 this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -import os, ihooks - -class LibtoolHooks(ihooks.Hooks): - def get_suffixes(self): - """Like normal get_suffixes, but adds .la suffixes to list""" - ret = ihooks.Hooks.get_suffixes(self) - ret.insert(0, ('module.la', 'rb', 3)) - ret.insert(0, ('.la', 'rb', 3)) - return ret - - def load_dynamic(self, name, filename, file=None): - """Like normal load_dynamic, but treat .la files specially""" - if len(filename) > 3 and filename[-3:] == '.la': - fp = open(filename, 'r') - dlname = '' - installed = 1 - line = fp.readline() - while line: - if len(line) > 7 and line[:7] == 'dlname=': - dlname = line[8:-2] - elif len(line) > 10 and line[:10] == 'installed=': - installed = line[10:-1] == 'yes' - line = fp.readline() - fp.close() - if dlname: - if installed: - filename = os.path.join(os.path.dirname(filename), - dlname) - else: - filename = os.path.join(os.path.dirname(filename), - '.libs', dlname) - return ihooks.Hooks.load_dynamic(self, name, filename, file) - -importer = ihooks.ModuleImporter() -importer.set_hooks(LibtoolHooks()) - -def install(): - importer.install() -def uninstall(): - importer.uninstall() - -install() diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/ltmain.sh /tmp/vg4GBciBVb/pygtk-2.15.1/ltmain.sh --- pygtk-2.14.1/ltmain.sh 2009-03-05 22:31:29.000000000 +0000 +++ pygtk-2.15.1/ltmain.sh 2009-05-02 18:22:23.000000000 +0100 @@ -1,6 +1,6 @@ # Generated from ltmain.m4sh. -# ltmain.sh (GNU libtool) 2.2.4 +# ltmain.sh (GNU libtool) 2.2.6 # Written by Gordon Matzigkeit , 1996 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc. @@ -65,7 +65,7 @@ # compiler: $LTCC # compiler flags: $LTCFLAGS # linker: $LD (gnu? $with_gnu_ld) -# $progname: (GNU libtool) 2.2.4 Debian-2.2.4-0ubuntu4 +# $progname: (GNU libtool) 2.2.6 Debian-2.2.6a-1ubuntu1 # automake: $automake_version # autoconf: $autoconf_version # @@ -73,9 +73,9 @@ PROGRAM=ltmain.sh PACKAGE=libtool -VERSION="2.2.4 Debian-2.2.4-0ubuntu4" +VERSION="2.2.6 Debian-2.2.6a-1ubuntu1" TIMESTAMP="" -package_revision=1.2976 +package_revision=1.3012 # Be Bourne compatible if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then @@ -805,7 +805,7 @@ case $host in - *cygwin* | *mingw* | *pw32*) + *cygwin* | *mingw* | *pw32* | *cegcc*) # don't eliminate duplications in $postdeps and $predeps opt_duplicate_compiler_generated_deps=: ;; @@ -893,8 +893,9 @@ # determined imposters. func_lalib_p () { - $SED -e 4q "$1" 2>/dev/null \ - | $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1 + test -f "$1" && + $SED -e 4q "$1" 2>/dev/null \ + | $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1 } # func_lalib_unsafe_p file @@ -907,7 +908,7 @@ func_lalib_unsafe_p () { lalib_p=no - if test -r "$1" && exec 5<&0 <"$1"; then + if test -f "$1" && test -r "$1" && exec 5<&0 <"$1"; then for lalib_p_l in 1 2 3 4 do read lalib_p_line @@ -1275,7 +1276,7 @@ # On Cygwin there's no "real" PIC flag so we must build both object types case $host_os in - cygwin* | mingw* | pw32* | os2*) + cygwin* | mingw* | pw32* | os2* | cegcc*) pic_mode=default ;; esac @@ -2046,7 +2047,7 @@ 'exit $?' tstripme="$stripme" case $host_os in - cygwin* | mingw* | pw32*) + cygwin* | mingw* | pw32* | cegcc*) case $realname in *.dll.a) tstripme="" @@ -2152,7 +2153,7 @@ # Do a test to see if this is really a libtool program. case $host in - *cygwin*|*mingw*) + *cygwin* | *mingw*) if func_ltwrapper_executable_p "$file"; then func_ltwrapper_scriptname "$file" wrapper=$func_ltwrapper_scriptname_result @@ -2358,7 +2359,7 @@ $RM $export_symbols eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' case $host in - *cygwin* | *mingw* ) + *cygwin* | *mingw* | *cegcc* ) eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"' ;; @@ -2370,7 +2371,7 @@ eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T' eval '$MV "$nlist"T "$nlist"' case $host in - *cygwin | *mingw* ) + *cygwin | *mingw* | *cegcc* ) eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' eval 'cat "$nlist" >> "$output_objdir/$outputname.def"' ;; @@ -2426,7 +2427,7 @@ } lt_dlsymlist; " case $host in - *cygwin* | *mingw* ) + *cygwin* | *mingw* | *cegcc* ) $ECHO >> "$output_objdir/$my_dlsyms" "\ /* DATA imports from DLLs on WIN32 con't be const, because runtime relocations are performed -- see ld's documentation @@ -2512,7 +2513,7 @@ # Transform the symbol file into the correct name. symfileobj="$output_objdir/${my_outputname}S.$objext" case $host in - *cygwin* | *mingw* ) + *cygwin* | *mingw* | *cegcc* ) if test -f "$output_objdir/$my_outputname.def"; then compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` @@ -2691,25 +2692,16 @@ -# func_emit_wrapper arg +# func_emit_wrapper_part1 [arg=no] # -# emit a libtool wrapper script on stdout -# don't directly open a file because we may want to -# incorporate the script contents within a cygwin/mingw -# wrapper executable. Must ONLY be called from within -# func_mode_link because it depends on a number of variable -# set therein. -# -# arg is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR -# variable will take. If 'yes', then the emitted script -# will assume that the directory in which it is stored is -# the '.lib' directory. This is a cygwin/mingw-specific -# behavior. -func_emit_wrapper () +# Emit the first part of a libtool wrapper script on stdout. +# For more information, see the description associated with +# func_emit_wrapper(), below. +func_emit_wrapper_part1 () { - func_emit_wrapper_arg1=no + func_emit_wrapper_part1_arg1=no if test -n "$1" ; then - func_emit_wrapper_arg1=$1 + func_emit_wrapper_part1_arg1=$1 fi $ECHO "\ @@ -2794,10 +2786,27 @@ file=\`\$ECHO \"X\$file\" | \$Xsed -e 's%^.*/%%'\` file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\` done +" +} +# end: func_emit_wrapper_part1 + +# func_emit_wrapper_part2 [arg=no] +# +# Emit the second part of a libtool wrapper script on stdout. +# For more information, see the description associated with +# func_emit_wrapper(), below. +func_emit_wrapper_part2 () +{ + func_emit_wrapper_part2_arg1=no + if test -n "$1" ; then + func_emit_wrapper_part2_arg1=$1 + fi + + $ECHO "\ # Usually 'no', except on cygwin/mingw when embedded into # the cwrapper. - WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_arg1 + WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_part2_arg1 if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then # special case for '.' if test \"\$thisdir\" = \".\"; then @@ -2888,7 +2897,7 @@ " case $host in # Backslashes separate directories on plain windows - *-*-mingw | *-*-os2*) + *-*-mingw | *-*-os2* | *-cegcc*) $ECHO "\ exec \"\$progdir\\\\\$program\" \${1+\"\$@\"} " @@ -2914,7 +2923,207 @@ fi\ " } -# end: func_emit_wrapper +# end: func_emit_wrapper_part2 + + +# func_emit_wrapper [arg=no] +# +# Emit a libtool wrapper script on stdout. +# Don't directly open a file because we may want to +# incorporate the script contents within a cygwin/mingw +# wrapper executable. Must ONLY be called from within +# func_mode_link because it depends on a number of variables +# set therein. +# +# ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR +# variable will take. If 'yes', then the emitted script +# will assume that the directory in which it is stored is +# the $objdir directory. This is a cygwin/mingw-specific +# behavior. +func_emit_wrapper () +{ + func_emit_wrapper_arg1=no + if test -n "$1" ; then + func_emit_wrapper_arg1=$1 + fi + + # split this up so that func_emit_cwrapperexe_src + # can call each part independently. + func_emit_wrapper_part1 "${func_emit_wrapper_arg1}" + func_emit_wrapper_part2 "${func_emit_wrapper_arg1}" +} + + +# func_to_host_path arg +# +# Convert paths to host format when used with build tools. +# Intended for use with "native" mingw (where libtool itself +# is running under the msys shell), or in the following cross- +# build environments: +# $build $host +# mingw (msys) mingw [e.g. native] +# cygwin mingw +# *nix + wine mingw +# where wine is equipped with the `winepath' executable. +# In the native mingw case, the (msys) shell automatically +# converts paths for any non-msys applications it launches, +# but that facility isn't available from inside the cwrapper. +# Similar accommodations are necessary for $host mingw and +# $build cygwin. Calling this function does no harm for other +# $host/$build combinations not listed above. +# +# ARG is the path (on $build) that should be converted to +# the proper representation for $host. The result is stored +# in $func_to_host_path_result. +func_to_host_path () +{ + func_to_host_path_result="$1" + if test -n "$1" ; then + case $host in + *mingw* ) + lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' + case $build in + *mingw* ) # actually, msys + # awkward: cmd appends spaces to result + lt_sed_strip_trailing_spaces="s/[ ]*\$//" + func_to_host_path_tmp1=`( cmd //c echo "$1" |\ + $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""` + func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\ + $SED -e "$lt_sed_naive_backslashify"` + ;; + *cygwin* ) + func_to_host_path_tmp1=`cygpath -w "$1"` + func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\ + $SED -e "$lt_sed_naive_backslashify"` + ;; + * ) + # Unfortunately, winepath does not exit with a non-zero + # error code, so we are forced to check the contents of + # stdout. On the other hand, if the command is not + # found, the shell will set an exit code of 127 and print + # *an error message* to stdout. So we must check for both + # error code of zero AND non-empty stdout, which explains + # the odd construction: + func_to_host_path_tmp1=`winepath -w "$1" 2>/dev/null` + if test "$?" -eq 0 && test -n "${func_to_host_path_tmp1}"; then + func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\ + $SED -e "$lt_sed_naive_backslashify"` + else + # Allow warning below. + func_to_host_path_result="" + fi + ;; + esac + if test -z "$func_to_host_path_result" ; then + func_error "Could not determine host path corresponding to" + func_error " '$1'" + func_error "Continuing, but uninstalled executables may not work." + # Fallback: + func_to_host_path_result="$1" + fi + ;; + esac + fi +} +# end: func_to_host_path + +# func_to_host_pathlist arg +# +# Convert pathlists to host format when used with build tools. +# See func_to_host_path(), above. This function supports the +# following $build/$host combinations (but does no harm for +# combinations not listed here): +# $build $host +# mingw (msys) mingw [e.g. native] +# cygwin mingw +# *nix + wine mingw +# +# Path separators are also converted from $build format to +# $host format. If ARG begins or ends with a path separator +# character, it is preserved (but converted to $host format) +# on output. +# +# ARG is a pathlist (on $build) that should be converted to +# the proper representation on $host. The result is stored +# in $func_to_host_pathlist_result. +func_to_host_pathlist () +{ + func_to_host_pathlist_result="$1" + if test -n "$1" ; then + case $host in + *mingw* ) + lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' + # Remove leading and trailing path separator characters from + # ARG. msys behavior is inconsistent here, cygpath turns them + # into '.;' and ';.', and winepath ignores them completely. + func_to_host_pathlist_tmp2="$1" + # Once set for this call, this variable should not be + # reassigned. It is used in tha fallback case. + func_to_host_pathlist_tmp1=`echo "$func_to_host_pathlist_tmp2" |\ + $SED -e 's|^:*||' -e 's|:*$||'` + case $build in + *mingw* ) # Actually, msys. + # Awkward: cmd appends spaces to result. + lt_sed_strip_trailing_spaces="s/[ ]*\$//" + func_to_host_pathlist_tmp2=`( cmd //c echo "$func_to_host_pathlist_tmp1" |\ + $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""` + func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\ + $SED -e "$lt_sed_naive_backslashify"` + ;; + *cygwin* ) + func_to_host_pathlist_tmp2=`cygpath -w -p "$func_to_host_pathlist_tmp1"` + func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\ + $SED -e "$lt_sed_naive_backslashify"` + ;; + * ) + # unfortunately, winepath doesn't convert pathlists + func_to_host_pathlist_result="" + func_to_host_pathlist_oldIFS=$IFS + IFS=: + for func_to_host_pathlist_f in $func_to_host_pathlist_tmp1 ; do + IFS=$func_to_host_pathlist_oldIFS + if test -n "$func_to_host_pathlist_f" ; then + func_to_host_path "$func_to_host_pathlist_f" + if test -n "$func_to_host_path_result" ; then + if test -z "$func_to_host_pathlist_result" ; then + func_to_host_pathlist_result="$func_to_host_path_result" + else + func_to_host_pathlist_result="$func_to_host_pathlist_result;$func_to_host_path_result" + fi + fi + fi + IFS=: + done + IFS=$func_to_host_pathlist_oldIFS + ;; + esac + if test -z "$func_to_host_pathlist_result" ; then + func_error "Could not determine the host path(s) corresponding to" + func_error " '$1'" + func_error "Continuing, but uninstalled executables may not work." + # Fallback. This may break if $1 contains DOS-style drive + # specifications. The fix is not to complicate the expression + # below, but for the user to provide a working wine installation + # with winepath so that path translation in the cross-to-mingw + # case works properly. + lt_replace_pathsep_nix_to_dos="s|:|;|g" + func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp1" |\ + $SED -e "$lt_replace_pathsep_nix_to_dos"` + fi + # Now, add the leading and trailing path separators back + case "$1" in + :* ) func_to_host_pathlist_result=";$func_to_host_pathlist_result" + ;; + esac + case "$1" in + *: ) func_to_host_pathlist_result="$func_to_host_pathlist_result;" + ;; + esac + ;; + esac + fi +} +# end: func_to_host_pathlist # func_emit_cwrapperexe_src # emit the source code for a wrapper executable on stdout @@ -2951,6 +3160,12 @@ # include # ifdef __CYGWIN__ # include +# define HAVE_SETENV +# ifdef __STRICT_ANSI__ +char *realpath (const char *, char *); +int putenv (char *); +int setenv (const char *, const char *, int); +# endif # endif #endif #include @@ -3057,29 +3272,105 @@ int check_executable (const char *path); char *strendzap (char *str, const char *pat); void lt_fatal (const char *message, ...); +void lt_setenv (const char *name, const char *value); +char *lt_extend_str (const char *orig_value, const char *add, int to_end); +void lt_opt_process_env_set (const char *arg); +void lt_opt_process_env_prepend (const char *arg); +void lt_opt_process_env_append (const char *arg); +int lt_split_name_value (const char *arg, char** name, char** value); +void lt_update_exe_path (const char *name, const char *value); +void lt_update_lib_path (const char *name, const char *value); -static const char *script_text = +static const char *script_text_part1 = EOF - func_emit_wrapper yes | + func_emit_wrapper_part1 yes | + $SED -e 's/\([\\"]\)/\\\1/g' \ + -e 's/^/ "/' -e 's/$/\\n"/' + echo ";" + cat </dev/null || echo $SHELL` - case $lt_newargv0 in - *.exe | *.EXE) ;; - *) lt_newargv0=$lt_newargv0.exe ;; - esac - ;; - * ) lt_newargv0=$SHELL ;; - esac - fi - - cat <"))); + for (i = 0; i < newargc; i++) { - LTWRAPPER_DEBUGPRINTF (("(main) newargz[%d] : %s\n", i, newargz[i])); + LTWRAPPER_DEBUGPRINTF (("(main) newargz[%d] : %s\n", i, (newargz[i] ? newargz[i] : ""))); } EOF case $host_os in mingw*) - cat <"), + (value ? value : ""))); + { +#ifdef HAVE_SETENV + /* always make a copy, for consistency with !HAVE_SETENV */ + char *str = xstrdup (value); + setenv (name, str, 1); +#else + int len = strlen (name) + 1 + strlen (value) + 1; + char *str = XMALLOC (char, len); + sprintf (str, "%s=%s", name, value); + if (putenv (str) != EXIT_SUCCESS) + { + XFREE (str); + } +#endif + } +} + +char * +lt_extend_str (const char *orig_value, const char *add, int to_end) +{ + char *new_value; + if (orig_value && *orig_value) + { + int orig_value_len = strlen (orig_value); + int add_len = strlen (add); + new_value = XMALLOC (char, add_len + orig_value_len + 1); + if (to_end) + { + strcpy (new_value, orig_value); + strcpy (new_value + orig_value_len, add); + } + else + { + strcpy (new_value, add); + strcpy (new_value + add_len, orig_value); + } + } + else + { + new_value = xstrdup (add); + } + return new_value; +} + +int +lt_split_name_value (const char *arg, char** name, char** value) +{ + const char *p; + int len; + if (!arg || !*arg) + return 1; + + p = strchr (arg, (int)'='); + + if (!p) + return 1; + + *value = xstrdup (++p); + + len = strlen (arg) - strlen (*value); + *name = XMALLOC (char, len); + strncpy (*name, arg, len-1); + (*name)[len - 1] = '\0'; + + return 0; +} + +void +lt_opt_process_env_set (const char *arg) +{ + char *name = NULL; + char *value = NULL; + + if (lt_split_name_value (arg, &name, &value) != 0) + { + XFREE (name); + XFREE (value); + lt_fatal ("bad argument for %s: '%s'", env_set_opt, arg); + } + + lt_setenv (name, value); + XFREE (name); + XFREE (value); +} + +void +lt_opt_process_env_prepend (const char *arg) +{ + char *name = NULL; + char *value = NULL; + char *new_value = NULL; + + if (lt_split_name_value (arg, &name, &value) != 0) + { + XFREE (name); + XFREE (value); + lt_fatal ("bad argument for %s: '%s'", env_prepend_opt, arg); + } + + new_value = lt_extend_str (getenv (name), value, 0); + lt_setenv (name, new_value); + XFREE (new_value); + XFREE (name); + XFREE (value); +} + +void +lt_opt_process_env_append (const char *arg) +{ + char *name = NULL; + char *value = NULL; + char *new_value = NULL; + + if (lt_split_name_value (arg, &name, &value) != 0) + { + XFREE (name); + XFREE (value); + lt_fatal ("bad argument for %s: '%s'", env_append_opt, arg); + } + + new_value = lt_extend_str (getenv (name), value, 1); + lt_setenv (name, new_value); + XFREE (new_value); + XFREE (name); + XFREE (value); +} + +void +lt_update_exe_path (const char *name, const char *value) +{ + LTWRAPPER_DEBUGPRINTF (("(lt_update_exe_path) modifying '%s' by prepending '%s'\n", + (name ? name : ""), + (value ? value : ""))); + + if (name && *name && value && *value) + { + char *new_value = lt_extend_str (getenv (name), value, 0); + /* some systems can't cope with a ':'-terminated path #' */ + int len = strlen (new_value); + while (((len = strlen (new_value)) > 0) && IS_PATH_SEPARATOR (new_value[len-1])) + { + new_value[len-1] = '\0'; + } + lt_setenv (name, new_value); + XFREE (new_value); + } +} + +void +lt_update_lib_path (const char *name, const char *value) +{ + LTWRAPPER_DEBUGPRINTF (("(lt_update_lib_path) modifying '%s' by prepending '%s'\n", + (name ? name : ""), + (value ? value : ""))); + + if (name && *name && value && *value) + { + char *new_value = lt_extend_str (getenv (name), value, 0); + lt_setenv (name, new_value); + XFREE (new_value); + } +} + + EOF } # end: func_emit_cwrapperexe_src @@ -3515,7 +4033,7 @@ { $opt_debug case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) # It is impossible to link a dll without this setting, and # we shouldn't force the makefile maintainer to figure out # which system we are compiling for in order to pass an extra @@ -3959,6 +4477,13 @@ -L*) func_stripname '-L' '' "$arg" dir=$func_stripname_result + if test -z "$dir"; then + if test "$#" -gt 0; then + func_fatal_error "require no space between \`-L' and \`$1'" + else + func_fatal_error "need path for \`-L' option" + fi + fi # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) ;; @@ -3977,14 +4502,16 @@ ;; esac case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) testbindir=`$ECHO "X$dir" | $Xsed -e 's*/lib$*/bin*'` case :$dllsearchpath: in *":$dir:"*) ;; + ::) dllsearchpath=$dir;; *) dllsearchpath="$dllsearchpath:$dir";; esac case :$dllsearchpath: in *":$testbindir:"*) ;; + ::) dllsearchpath=$testbindir;; *) dllsearchpath="$dllsearchpath:$testbindir";; esac ;; @@ -3995,7 +4522,7 @@ -l*) if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos*) + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc*) # These systems don't actually have a C or math library (as such) continue ;; @@ -4072,7 +4599,7 @@ -no-install) case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin*) + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*) # The PATH hackery in wrapper scripts is required on Windows # and Darwin in order for the loader to find any dlls it needs. func_warning "\`-no-install' is ignored for $host" @@ -5032,7 +5559,7 @@ if test -n "$library_names" && { test "$use_static_libs" = no || test -z "$old_library"; }; then case $host in - *cygwin* | *mingw*) + *cygwin* | *mingw* | *cegcc*) # No point in relinking DLLs because paths are not encoded notinst_deplibs="$notinst_deplibs $lib" need_relink=no @@ -5102,7 +5629,7 @@ elif test -n "$soname_spec"; then # bleh windows case $host in - *cygwin* | mingw*) + *cygwin* | mingw* | *cegcc*) func_arith $current - $age major=$func_arith_result versuffix="-$major" @@ -5884,7 +6411,7 @@ tempremovelist=`$ECHO "$output_objdir/*"` for p in $tempremovelist; do case $p in - *.$objext) + *.$objext | *.gcno) ;; $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*) if test "X$precious_files_regex" != "X"; then @@ -5955,7 +6482,7 @@ if test "$build_libtool_libs" = yes; then if test -n "$rpath"; then case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*) + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc*) # these systems don't actually have a c library (as such)! ;; *-*-rhapsody* | *-*-darwin1.[012]) @@ -6454,7 +6981,7 @@ orig_export_symbols= case $host_os in - cygwin* | mingw*) + cygwin* | mingw* | cegcc*) if test -n "$export_symbols" && test -z "$export_symbols_regex"; then # exporting using user supplied symfile if test "x`$SED 1q $export_symbols`" != xEXPORTS; then @@ -7079,14 +7606,16 @@ esac fi case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) testbindir=`${ECHO} "$libdir" | ${SED} -e 's*/lib$*/bin*'` case :$dllsearchpath: in *":$libdir:"*) ;; + ::) dllsearchpath=$libdir;; *) dllsearchpath="$dllsearchpath:$libdir";; esac case :$dllsearchpath: in *":$testbindir:"*) ;; + ::) dllsearchpath=$testbindir;; *) dllsearchpath="$dllsearchpath:$testbindir";; esac ;; @@ -7156,6 +7685,10 @@ wrappers_required=no fi ;; + *cegcc) + # Disable wrappers for cegcc, we are cross compiling anyway. + wrappers_required=no + ;; *) if test "$need_relink" = no || test "$build_libtool_libs" != yes; then wrappers_required=no @@ -7308,11 +7841,10 @@ func_emit_cwrapperexe_src > $cwrappersource - # we should really use a build-platform specific compiler - # here, but OTOH, the wrappers (shell script and this C one) - # are only useful if you want to execute the "real" binary. - # Since the "real" binary is built for $host, then this - # wrapper might as well be built for $host, too. + # The wrapper executable is built using the $host compiler, + # because it contains $host paths and files. If cross- + # compiling, it, like the target executable, must be + # executed on the $host or under an emulation environment. $opt_dry_run || { $LTCC $LTCFLAGS -o $cwrapper $cwrappersource $STRIP $cwrapper @@ -7597,7 +8129,7 @@ # place dlname in correct position for cygwin tdlname=$dlname case $host,$output,$installed,$module,$dlname in - *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;; + *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;; esac $ECHO > $output "\ # $outputname - a libtool library file diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/Makefile.am /tmp/vg4GBciBVb/pygtk-2.15.1/Makefile.am --- pygtk-2.14.1/Makefile.am 2009-03-05 22:06:53.000000000 +0000 +++ pygtk-2.15.1/Makefile.am 2009-05-24 23:08:41.000000000 +0100 @@ -14,6 +14,7 @@ EXTRA_DIST = \ ChangeLog.pre-2-0 \ ChangeLog.pre-2-6 \ + ChangeLog.pre-2-16 \ config.h.win32 \ MANIFEST.in \ MAPPING \ @@ -29,6 +30,9 @@ m4/jhflags.m4 \ m4/python.m4 +BUILT_EXTRA_DIST = \ + ChangeLog + INCLUDES = \ $(PYTHON_INCLUDES) \ $(PYGOBJECT_CFLAGS) \ @@ -44,10 +48,6 @@ defsdir = $(pkgdatadir)/$(PLATFORM_VERSION)/defs defs_DATA = -# python -pyexec_LTLIBRARIES = -noinst_PYTHON = ltihooks.py - # pygtk scripts pkgpythondir = $(pyexecdir)/gtk-2.0 @@ -141,3 +141,39 @@ cp -r docs/cursors/* pygtk/cursors tar cfz $(PACKAGE)-docs.tar.gz pygtk rm -fr pygtk + + +distclean-local: + if test $(srcdir) = .; then :; else \ + rm -f $(BUILT_EXTRA_DIST); \ + fi + +dist-hook: $(BUILT_EXTRA_DIST) + files='$(BUILT_EXTRA_DIST)'; \ + for f in $$files; do \ + if test -f $$f; then d=.; else d=$(srcdir); fi; \ + rm -f $(distdir)/$$f && cp $$d/$$f $(distdir) || exit 1; done + + +.PHONY: ChangeLog + +ChangeLog: + @echo Creating $@ + @if test -d "$(srcdir)/.git"; then \ + (GIT_DIR=$(top_srcdir)/.git ./missing --run git log PYGTK_2_15_0^^.. --stat) | fmt --split-only > $@.tmp \ + && mv -f $@.tmp $@ \ + || ($(RM) $@.tmp; \ + echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \ + (test -f $@ || echo git-log is required to generate this file >> $@)); \ + else \ + test -f $@ || \ + (echo A git checkout and git-log is required to generate ChangeLog >&2 && \ + echo A git checkout and git-log is required to generate this file >> $@); \ + fi + + +all: $(pkgpyexec_LTLIBRARIES:.la=.so) +clean-local: + rm -f $(pkgpyexec_LTLIBRARIES:.la=.so) +.la.so: + $(LN_S) .libs/$@ $@ || true diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/Makefile.in /tmp/vg4GBciBVb/pygtk-2.15.1/Makefile.in --- pygtk-2.14.1/Makefile.in 2009-03-05 23:09:16.000000000 +0000 +++ pygtk-2.15.1/Makefile.in 2009-05-24 23:17:07.000000000 +0100 @@ -1,8 +1,8 @@ -# Makefile.in generated by automake 1.9.6 from Makefile.am. +# Makefile.in generated by automake 1.10.2 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005 Free Software Foundation, Inc. +# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -16,15 +16,11 @@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ -top_builddir = . am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c @@ -45,22 +41,22 @@ @BUILD_PANGO_TRUE@am__append_5 = $(PANGO_DEFS) @BUILD_PANGOCAIRO_TRUE@am__append_6 = pangocairo.la @BUILD_PANGOCAIRO_TRUE@am__append_7 = $(PANGOCAIRO_DEFS) -DIST_COMMON = README $(am__configure_deps) $(noinst_PYTHON) \ - $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ - $(srcdir)/PKG-INFO.in $(srcdir)/config.h.in \ - $(srcdir)/pygtk-2.0.pc.in $(srcdir)/pygtk-codegen-2.0.in \ - $(srcdir)/pygtk.spec.in $(top_srcdir)/configure \ - $(top_srcdir)/docs/reference/entities.docbook.in AUTHORS \ - COPYING ChangeLog INSTALL NEWS TODO compile config.guess \ - config.sub depcomp install-sh ltmain.sh missing py-compile subdir = . +DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ + $(srcdir)/Makefile.in $(srcdir)/PKG-INFO.in \ + $(srcdir)/config.h.in $(srcdir)/pygtk-2.0.pc.in \ + $(srcdir)/pygtk-codegen-2.0.in $(srcdir)/pygtk.spec.in \ + $(top_srcdir)/configure \ + $(top_srcdir)/docs/reference/entities.docbook.in AUTHORS \ + COPYING ChangeLog INSTALL NEWS TODO config.guess config.sub \ + depcomp install-sh ltmain.sh missing py-compile ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/jhflags.m4 \ $(top_srcdir)/m4/python.m4 $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ - configure.lineno configure.status.lineno + configure.lineno config.status.lineno mkinstalldirs = $(install_sh) -d CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = pygtk-2.0.pc pygtk-codegen-2.0 \ @@ -71,42 +67,50 @@ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; -am__installdirs = "$(DESTDIR)$(pkgpyexecdir)" "$(DESTDIR)$(pyexecdir)" \ - "$(DESTDIR)$(bindir)" "$(DESTDIR)$(defsdir)" \ - "$(DESTDIR)$(pkgconfigdir)" +am__installdirs = "$(DESTDIR)$(pkgpyexecdir)" "$(DESTDIR)$(bindir)" \ + "$(DESTDIR)$(defsdir)" "$(DESTDIR)$(pkgconfigdir)" pkgpyexecLTLIBRARIES_INSTALL = $(INSTALL) -pyexecLTLIBRARIES_INSTALL = $(INSTALL) -LTLIBRARIES = $(pkgpyexec_LTLIBRARIES) $(pyexec_LTLIBRARIES) +LTLIBRARIES = $(pkgpyexec_LTLIBRARIES) am__DEPENDENCIES_1 = atk_la_DEPENDENCIES = $(am__DEPENDENCIES_1) am_atk_la_OBJECTS = atk_la-atkmodule.lo nodist_atk_la_OBJECTS = atk_la-atk.lo atk_la_OBJECTS = $(am_atk_la_OBJECTS) $(nodist_atk_la_OBJECTS) +atk_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=link $(CCLD) $(atk_la_CFLAGS) $(CFLAGS) \ + $(atk_la_LDFLAGS) $(LDFLAGS) -o $@ @BUILD_ATK_TRUE@am_atk_la_rpath = -rpath $(pkgpyexecdir) pango_la_DEPENDENCIES = $(am__DEPENDENCIES_1) am_pango_la_OBJECTS = pango_la-pangomodule.lo nodist_pango_la_OBJECTS = pango_la-pango.lo pango_la_OBJECTS = $(am_pango_la_OBJECTS) $(nodist_pango_la_OBJECTS) +pango_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=link $(CCLD) $(pango_la_CFLAGS) $(CFLAGS) \ + $(pango_la_LDFLAGS) $(LDFLAGS) -o $@ @BUILD_PANGO_TRUE@am_pango_la_rpath = -rpath $(pkgpyexecdir) pangocairo_la_DEPENDENCIES = $(am__DEPENDENCIES_1) am_pangocairo_la_OBJECTS = pangocairo_la-pangocairomodule.lo nodist_pangocairo_la_OBJECTS = pangocairo_la-pangocairo.lo pangocairo_la_OBJECTS = $(am_pangocairo_la_OBJECTS) \ $(nodist_pangocairo_la_OBJECTS) +pangocairo_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(pangocairo_la_CFLAGS) \ + $(CFLAGS) $(pangocairo_la_LDFLAGS) $(LDFLAGS) -o $@ @BUILD_PANGOCAIRO_TRUE@am_pangocairo_la_rpath = -rpath $(pkgpyexecdir) binSCRIPT_INSTALL = $(INSTALL_SCRIPT) SCRIPTS = $(bin_SCRIPTS) -DEFAULT_INCLUDES = -I. -I$(srcdir) -I. +DEFAULT_INCLUDES = -I.@am__isrc@ depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ - $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ - $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) -LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ - $(AM_LDFLAGS) $(LDFLAGS) -o $@ +LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ + $(LDFLAGS) -o $@ SOURCES = $(atk_la_SOURCES) $(nodist_atk_la_SOURCES) \ $(pango_la_SOURCES) $(nodist_pango_la_SOURCES) \ $(pangocairo_la_SOURCES) $(nodist_pangocairo_la_SOURCES) @@ -114,14 +118,16 @@ $(pangocairo_la_SOURCES) RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ - install-exec-recursive install-info-recursive \ - install-recursive installcheck-recursive installdirs-recursive \ - pdf-recursive ps-recursive uninstall-info-recursive \ - uninstall-recursive -py_compile = $(top_srcdir)/py-compile + install-dvi-recursive install-exec-recursive \ + install-html-recursive install-info-recursive \ + install-pdf-recursive install-ps-recursive install-recursive \ + installcheck-recursive installdirs-recursive pdf-recursive \ + ps-recursive uninstall-recursive defsDATA_INSTALL = $(INSTALL_DATA) pkgconfigDATA_INSTALL = $(INSTALL_DATA) DATA = $(defs_DATA) $(pkgconfig_DATA) +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive ETAGS = etags CTAGS = ctags DIST_SUBDIRS = . gtk examples tests docs @@ -138,8 +144,6 @@ distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@ -AMDEP_FALSE = @AMDEP_FALSE@ -AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AS = @AS@ @@ -149,18 +153,6 @@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ -BUILD_ATK_FALSE = @BUILD_ATK_FALSE@ -BUILD_ATK_TRUE = @BUILD_ATK_TRUE@ -BUILD_GTKUNIXPRINT_FALSE = @BUILD_GTKUNIXPRINT_FALSE@ -BUILD_GTKUNIXPRINT_TRUE = @BUILD_GTKUNIXPRINT_TRUE@ -BUILD_GTK_FALSE = @BUILD_GTK_FALSE@ -BUILD_GTK_TRUE = @BUILD_GTK_TRUE@ -BUILD_LIBGLADE_FALSE = @BUILD_LIBGLADE_FALSE@ -BUILD_LIBGLADE_TRUE = @BUILD_LIBGLADE_TRUE@ -BUILD_PANGOCAIRO_FALSE = @BUILD_PANGOCAIRO_FALSE@ -BUILD_PANGOCAIRO_TRUE = @BUILD_PANGOCAIRO_TRUE@ -BUILD_PANGO_FALSE = @BUILD_PANGO_FALSE@ -BUILD_PANGO_TRUE = @BUILD_PANGO_TRUE@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ @@ -177,8 +169,6 @@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ -ENABLE_DOCS_FALSE = @ENABLE_DOCS_FALSE@ -ENABLE_DOCS_TRUE = @ENABLE_DOCS_TRUE@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GLIB_CFLAGS = @GLIB_CFLAGS@ @@ -193,19 +183,17 @@ GTK212_LIBS = @GTK212_LIBS@ GTK214_CFLAGS = @GTK214_CFLAGS@ GTK214_LIBS = @GTK214_LIBS@ +GTK216_CFLAGS = @GTK216_CFLAGS@ +GTK216_LIBS = @GTK216_LIBS@ GTKUNIXPRINT_CFLAGS = @GTKUNIXPRINT_CFLAGS@ GTKUNIXPRINT_LIBS = @GTKUNIXPRINT_LIBS@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ HAVE_GTK_2_10 = @HAVE_GTK_2_10@ -HAVE_GTK_2_10_FALSE = @HAVE_GTK_2_10_FALSE@ -HAVE_GTK_2_10_TRUE = @HAVE_GTK_2_10_TRUE@ HAVE_GTK_2_12 = @HAVE_GTK_2_12@ -HAVE_GTK_2_12_FALSE = @HAVE_GTK_2_12_FALSE@ -HAVE_GTK_2_12_TRUE = @HAVE_GTK_2_12_TRUE@ HAVE_GTK_2_14 = @HAVE_GTK_2_14@ -HAVE_GTK_2_14_FALSE = @HAVE_GTK_2_14_FALSE@ -HAVE_GTK_2_14_TRUE = @HAVE_GTK_2_14_TRUE@ +HAVE_GTK_2_16 = @HAVE_GTK_2_16@ +INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ @@ -221,12 +209,11 @@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ +MKDIR_P = @MKDIR_P@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ -OS_WIN32_FALSE = @OS_WIN32_FALSE@ -OS_WIN32_TRUE = @OS_WIN32_TRUE@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ @@ -241,12 +228,11 @@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ -PLATFORM_WIN32_FALSE = @PLATFORM_WIN32_FALSE@ -PLATFORM_WIN32_TRUE = @PLATFORM_WIN32_TRUE@ PYCAIRO_CFLAGS = @PYCAIRO_CFLAGS@ PYCAIRO_LIBS = @PYCAIRO_LIBS@ PYGOBJECT_CFLAGS = @PYGOBJECT_CFLAGS@ PYGOBJECT_DATADIR = @PYGOBJECT_DATADIR@ +PYGOBJECT_DEFSDIR = @PYGOBJECT_DEFSDIR@ PYGOBJECT_FIXXREF = @PYGOBJECT_FIXXREF@ PYGOBJECT_INCLUDEDIR = @PYGOBJECT_INCLUDEDIR@ PYGOBJECT_LIBS = @PYGOBJECT_LIBS@ @@ -269,10 +255,12 @@ THREADING_CFLAGS = @THREADING_CFLAGS@ VERSION = @VERSION@ XSLTPROC = @XSLTPROC@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ @@ -284,6 +272,7 @@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ +builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ @@ -320,21 +309,28 @@ pythondir = @pythondir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ AUTOMAKE_OPTIONS = 1.7 @BUILD_GTK_TRUE@GTK_SUBDIR = gtk SUBDIRS = . $(GTK_SUBDIR) examples tests docs PLATFORM_VERSION = 2.0 bin_SCRIPTS = pygtk-codegen-$(PLATFORM_VERSION) CLEANFILES = atk.c pango.c pangocairo.c -EXTRA_DIST = ChangeLog.pre-2-0 ChangeLog.pre-2-6 config.h.win32 \ - MANIFEST.in MAPPING pygtk.spec pygtk.spec.in \ +EXTRA_DIST = ChangeLog.pre-2-0 ChangeLog.pre-2-6 ChangeLog.pre-2-16 \ + config.h.win32 MANIFEST.in MAPPING pygtk.spec pygtk.spec.in \ pygtk-$(PLATFORM_VERSION).pc.in \ pygtk-codegen-$(PLATFORM_VERSION).in pygtk_postinstall.py \ PKG-INFO PKG-INFO.in setup.py THREADS m4/jhflags.m4 \ m4/python.m4 $(ATK_DEFS) $(ATK_OVERRIDES) $(PANGO_DEFS) \ pango.override $(PANGOCAIRO_DEFS) pangocairo.override +BUILT_EXTRA_DIST = \ + ChangeLog + INCLUDES = \ $(PYTHON_INCLUDES) \ $(PYGOBJECT_CFLAGS) \ @@ -349,10 +345,6 @@ # defs files defsdir = $(pkgdatadir)/$(PLATFORM_VERSION)/defs defs_DATA = $(am__append_3) $(am__append_5) $(am__append_7) - -# python -pyexec_LTLIBRARIES = -noinst_PYTHON = ltihooks.py pkgpyexec_LTLIBRARIES = $(am__append_2) $(am__append_4) \ $(am__append_6) @@ -387,7 +379,7 @@ $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: -.SUFFIXES: .c .defs .lo .o .obj +.SUFFIXES: .c .defs .la .lo .o .obj .so am--refresh: @: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @@ -425,7 +417,7 @@ config.h: stamp-h1 @if test ! -f $@; then \ rm -f stamp-h1; \ - $(MAKE) stamp-h1; \ + $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ else :; fi stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status @@ -450,21 +442,21 @@ cd $(top_builddir) && $(SHELL) ./config.status $@ install-pkgpyexecLTLIBRARIES: $(pkgpyexec_LTLIBRARIES) @$(NORMAL_INSTALL) - test -z "$(pkgpyexecdir)" || $(mkdir_p) "$(DESTDIR)$(pkgpyexecdir)" + test -z "$(pkgpyexecdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgpyexecdir)" @list='$(pkgpyexec_LTLIBRARIES)'; for p in $$list; do \ if test -f $$p; then \ f=$(am__strip_dir) \ - echo " $(LIBTOOL) --mode=install $(pkgpyexecLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(pkgpyexecdir)/$$f'"; \ - $(LIBTOOL) --mode=install $(pkgpyexecLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(pkgpyexecdir)/$$f"; \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pkgpyexecLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(pkgpyexecdir)/$$f'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pkgpyexecLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(pkgpyexecdir)/$$f"; \ else :; fi; \ done uninstall-pkgpyexecLTLIBRARIES: @$(NORMAL_UNINSTALL) - @set -x; list='$(pkgpyexec_LTLIBRARIES)'; for p in $$list; do \ + @list='$(pkgpyexec_LTLIBRARIES)'; for p in $$list; do \ p=$(am__strip_dir) \ - echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(pkgpyexecdir)/$$p'"; \ - $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(pkgpyexecdir)/$$p"; \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkgpyexecdir)/$$p'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkgpyexecdir)/$$p"; \ done clean-pkgpyexecLTLIBRARIES: @@ -475,42 +467,15 @@ echo "rm -f \"$${dir}/so_locations\""; \ rm -f "$${dir}/so_locations"; \ done -install-pyexecLTLIBRARIES: $(pyexec_LTLIBRARIES) - @$(NORMAL_INSTALL) - test -z "$(pyexecdir)" || $(mkdir_p) "$(DESTDIR)$(pyexecdir)" - @list='$(pyexec_LTLIBRARIES)'; for p in $$list; do \ - if test -f $$p; then \ - f=$(am__strip_dir) \ - echo " $(LIBTOOL) --mode=install $(pyexecLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(pyexecdir)/$$f'"; \ - $(LIBTOOL) --mode=install $(pyexecLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(pyexecdir)/$$f"; \ - else :; fi; \ - done - -uninstall-pyexecLTLIBRARIES: - @$(NORMAL_UNINSTALL) - @set -x; list='$(pyexec_LTLIBRARIES)'; for p in $$list; do \ - p=$(am__strip_dir) \ - echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(pyexecdir)/$$p'"; \ - $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(pyexecdir)/$$p"; \ - done - -clean-pyexecLTLIBRARIES: - -test -z "$(pyexec_LTLIBRARIES)" || rm -f $(pyexec_LTLIBRARIES) - @list='$(pyexec_LTLIBRARIES)'; for p in $$list; do \ - dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ - test "$$dir" != "$$p" || dir=.; \ - echo "rm -f \"$${dir}/so_locations\""; \ - rm -f "$${dir}/so_locations"; \ - done atk.la: $(atk_la_OBJECTS) $(atk_la_DEPENDENCIES) - $(LINK) $(am_atk_la_rpath) $(atk_la_LDFLAGS) $(atk_la_OBJECTS) $(atk_la_LIBADD) $(LIBS) + $(atk_la_LINK) $(am_atk_la_rpath) $(atk_la_OBJECTS) $(atk_la_LIBADD) $(LIBS) pango.la: $(pango_la_OBJECTS) $(pango_la_DEPENDENCIES) - $(LINK) $(am_pango_la_rpath) $(pango_la_LDFLAGS) $(pango_la_OBJECTS) $(pango_la_LIBADD) $(LIBS) + $(pango_la_LINK) $(am_pango_la_rpath) $(pango_la_OBJECTS) $(pango_la_LIBADD) $(LIBS) pangocairo.la: $(pangocairo_la_OBJECTS) $(pangocairo_la_DEPENDENCIES) - $(LINK) $(am_pangocairo_la_rpath) $(pangocairo_la_LDFLAGS) $(pangocairo_la_OBJECTS) $(pangocairo_la_LIBADD) $(LIBS) + $(pangocairo_la_LINK) $(am_pangocairo_la_rpath) $(pangocairo_la_OBJECTS) $(pangocairo_la_LIBADD) $(LIBS) install-binSCRIPTS: $(bin_SCRIPTS) @$(NORMAL_INSTALL) - test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)" + test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" @list='$(bin_SCRIPTS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f $$d$$p; then \ @@ -542,67 +507,67 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pangocairo_la-pangocairomodule.Plo@am__quote@ .c.o: -@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c $< .c.obj: -@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: -@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi +@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< atk_la-atkmodule.lo: atkmodule.c -@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(atk_la_CFLAGS) $(CFLAGS) -MT atk_la-atkmodule.lo -MD -MP -MF "$(DEPDIR)/atk_la-atkmodule.Tpo" -c -o atk_la-atkmodule.lo `test -f 'atkmodule.c' || echo '$(srcdir)/'`atkmodule.c; \ -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/atk_la-atkmodule.Tpo" "$(DEPDIR)/atk_la-atkmodule.Plo"; else rm -f "$(DEPDIR)/atk_la-atkmodule.Tpo"; exit 1; fi +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(atk_la_CFLAGS) $(CFLAGS) -MT atk_la-atkmodule.lo -MD -MP -MF $(DEPDIR)/atk_la-atkmodule.Tpo -c -o atk_la-atkmodule.lo `test -f 'atkmodule.c' || echo '$(srcdir)/'`atkmodule.c +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/atk_la-atkmodule.Tpo $(DEPDIR)/atk_la-atkmodule.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='atkmodule.c' object='atk_la-atkmodule.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(atk_la_CFLAGS) $(CFLAGS) -c -o atk_la-atkmodule.lo `test -f 'atkmodule.c' || echo '$(srcdir)/'`atkmodule.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(atk_la_CFLAGS) $(CFLAGS) -c -o atk_la-atkmodule.lo `test -f 'atkmodule.c' || echo '$(srcdir)/'`atkmodule.c atk_la-atk.lo: atk.c -@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(atk_la_CFLAGS) $(CFLAGS) -MT atk_la-atk.lo -MD -MP -MF "$(DEPDIR)/atk_la-atk.Tpo" -c -o atk_la-atk.lo `test -f 'atk.c' || echo '$(srcdir)/'`atk.c; \ -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/atk_la-atk.Tpo" "$(DEPDIR)/atk_la-atk.Plo"; else rm -f "$(DEPDIR)/atk_la-atk.Tpo"; exit 1; fi +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(atk_la_CFLAGS) $(CFLAGS) -MT atk_la-atk.lo -MD -MP -MF $(DEPDIR)/atk_la-atk.Tpo -c -o atk_la-atk.lo `test -f 'atk.c' || echo '$(srcdir)/'`atk.c +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/atk_la-atk.Tpo $(DEPDIR)/atk_la-atk.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='atk.c' object='atk_la-atk.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(atk_la_CFLAGS) $(CFLAGS) -c -o atk_la-atk.lo `test -f 'atk.c' || echo '$(srcdir)/'`atk.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(atk_la_CFLAGS) $(CFLAGS) -c -o atk_la-atk.lo `test -f 'atk.c' || echo '$(srcdir)/'`atk.c pango_la-pangomodule.lo: pangomodule.c -@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(pango_la_CFLAGS) $(CFLAGS) -MT pango_la-pangomodule.lo -MD -MP -MF "$(DEPDIR)/pango_la-pangomodule.Tpo" -c -o pango_la-pangomodule.lo `test -f 'pangomodule.c' || echo '$(srcdir)/'`pangomodule.c; \ -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/pango_la-pangomodule.Tpo" "$(DEPDIR)/pango_la-pangomodule.Plo"; else rm -f "$(DEPDIR)/pango_la-pangomodule.Tpo"; exit 1; fi +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(pango_la_CFLAGS) $(CFLAGS) -MT pango_la-pangomodule.lo -MD -MP -MF $(DEPDIR)/pango_la-pangomodule.Tpo -c -o pango_la-pangomodule.lo `test -f 'pangomodule.c' || echo '$(srcdir)/'`pangomodule.c +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/pango_la-pangomodule.Tpo $(DEPDIR)/pango_la-pangomodule.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='pangomodule.c' object='pango_la-pangomodule.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(pango_la_CFLAGS) $(CFLAGS) -c -o pango_la-pangomodule.lo `test -f 'pangomodule.c' || echo '$(srcdir)/'`pangomodule.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(pango_la_CFLAGS) $(CFLAGS) -c -o pango_la-pangomodule.lo `test -f 'pangomodule.c' || echo '$(srcdir)/'`pangomodule.c pango_la-pango.lo: pango.c -@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(pango_la_CFLAGS) $(CFLAGS) -MT pango_la-pango.lo -MD -MP -MF "$(DEPDIR)/pango_la-pango.Tpo" -c -o pango_la-pango.lo `test -f 'pango.c' || echo '$(srcdir)/'`pango.c; \ -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/pango_la-pango.Tpo" "$(DEPDIR)/pango_la-pango.Plo"; else rm -f "$(DEPDIR)/pango_la-pango.Tpo"; exit 1; fi +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(pango_la_CFLAGS) $(CFLAGS) -MT pango_la-pango.lo -MD -MP -MF $(DEPDIR)/pango_la-pango.Tpo -c -o pango_la-pango.lo `test -f 'pango.c' || echo '$(srcdir)/'`pango.c +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/pango_la-pango.Tpo $(DEPDIR)/pango_la-pango.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='pango.c' object='pango_la-pango.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(pango_la_CFLAGS) $(CFLAGS) -c -o pango_la-pango.lo `test -f 'pango.c' || echo '$(srcdir)/'`pango.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(pango_la_CFLAGS) $(CFLAGS) -c -o pango_la-pango.lo `test -f 'pango.c' || echo '$(srcdir)/'`pango.c pangocairo_la-pangocairomodule.lo: pangocairomodule.c -@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(pangocairo_la_CFLAGS) $(CFLAGS) -MT pangocairo_la-pangocairomodule.lo -MD -MP -MF "$(DEPDIR)/pangocairo_la-pangocairomodule.Tpo" -c -o pangocairo_la-pangocairomodule.lo `test -f 'pangocairomodule.c' || echo '$(srcdir)/'`pangocairomodule.c; \ -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/pangocairo_la-pangocairomodule.Tpo" "$(DEPDIR)/pangocairo_la-pangocairomodule.Plo"; else rm -f "$(DEPDIR)/pangocairo_la-pangocairomodule.Tpo"; exit 1; fi +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(pangocairo_la_CFLAGS) $(CFLAGS) -MT pangocairo_la-pangocairomodule.lo -MD -MP -MF $(DEPDIR)/pangocairo_la-pangocairomodule.Tpo -c -o pangocairo_la-pangocairomodule.lo `test -f 'pangocairomodule.c' || echo '$(srcdir)/'`pangocairomodule.c +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/pangocairo_la-pangocairomodule.Tpo $(DEPDIR)/pangocairo_la-pangocairomodule.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='pangocairomodule.c' object='pangocairo_la-pangocairomodule.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(pangocairo_la_CFLAGS) $(CFLAGS) -c -o pangocairo_la-pangocairomodule.lo `test -f 'pangocairomodule.c' || echo '$(srcdir)/'`pangocairomodule.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(pangocairo_la_CFLAGS) $(CFLAGS) -c -o pangocairo_la-pangocairomodule.lo `test -f 'pangocairomodule.c' || echo '$(srcdir)/'`pangocairomodule.c pangocairo_la-pangocairo.lo: pangocairo.c -@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(pangocairo_la_CFLAGS) $(CFLAGS) -MT pangocairo_la-pangocairo.lo -MD -MP -MF "$(DEPDIR)/pangocairo_la-pangocairo.Tpo" -c -o pangocairo_la-pangocairo.lo `test -f 'pangocairo.c' || echo '$(srcdir)/'`pangocairo.c; \ -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/pangocairo_la-pangocairo.Tpo" "$(DEPDIR)/pangocairo_la-pangocairo.Plo"; else rm -f "$(DEPDIR)/pangocairo_la-pangocairo.Tpo"; exit 1; fi +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(pangocairo_la_CFLAGS) $(CFLAGS) -MT pangocairo_la-pangocairo.lo -MD -MP -MF $(DEPDIR)/pangocairo_la-pangocairo.Tpo -c -o pangocairo_la-pangocairo.lo `test -f 'pangocairo.c' || echo '$(srcdir)/'`pangocairo.c +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/pangocairo_la-pangocairo.Tpo $(DEPDIR)/pangocairo_la-pangocairo.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='pangocairo.c' object='pangocairo_la-pangocairo.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(pangocairo_la_CFLAGS) $(CFLAGS) -c -o pangocairo_la-pangocairo.lo `test -f 'pangocairo.c' || echo '$(srcdir)/'`pangocairo.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(pangocairo_la_CFLAGS) $(CFLAGS) -c -o pangocairo_la-pangocairo.lo `test -f 'pangocairo.c' || echo '$(srcdir)/'`pangocairo.c mostlyclean-libtool: -rm -f *.lo @@ -611,11 +576,10 @@ -rm -rf .libs _libs distclean-libtool: - -rm -f libtool -uninstall-info-am: + -rm -f libtool config.lt install-defsDATA: $(defs_DATA) @$(NORMAL_INSTALL) - test -z "$(defsdir)" || $(mkdir_p) "$(DESTDIR)$(defsdir)" + test -z "$(defsdir)" || $(MKDIR_P) "$(DESTDIR)$(defsdir)" @list='$(defs_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ @@ -632,7 +596,7 @@ done install-pkgconfigDATA: $(pkgconfig_DATA) @$(NORMAL_INSTALL) - test -z "$(pkgconfigdir)" || $(mkdir_p) "$(DESTDIR)$(pkgconfigdir)" + test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" @list='$(pkgconfig_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ @@ -679,8 +643,7 @@ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" -mostlyclean-recursive clean-recursive distclean-recursive \ -maintainer-clean-recursive: +$(RECURSIVE_CLEAN_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ @@ -724,8 +687,8 @@ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS @@ -750,8 +713,8 @@ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ @@ -761,13 +724,12 @@ CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ - here=`pwd`; \ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique @@ -782,24 +744,22 @@ distdir: $(DISTFILES) $(am__remove_distdir) - mkdir $(distdir) - $(mkdir_p) $(distdir)/. $(distdir)/docs/reference $(distdir)/m4 - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ - list='$(DISTFILES)'; for file in $$list; do \ - case $$file in \ - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ - esac; \ + test -d $(distdir) || mkdir $(distdir) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test "$$dir" != "$$file" && test "$$dir" != "."; then \ - dir="/$$dir"; \ - $(mkdir_p) "$(distdir)$$dir"; \ - else \ - dir=''; \ - fi; \ if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ @@ -813,7 +773,7 @@ list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ - || $(mkdir_p) "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ distdir=`$(am__cd) $(distdir) && pwd`; \ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ @@ -821,14 +781,19 @@ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$top_distdir" \ distdir="$$distdir/$$subdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ distdir) \ || exit 1; \ fi; \ done + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$(top_distdir)" distdir="$(distdir)" \ + dist-hook -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ - ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \ + ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r $(distdir) dist-gzip: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz @@ -838,6 +803,10 @@ tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 $(am__remove_distdir) +dist-lzma: distdir + tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma + $(am__remove_distdir) + dist-tarZ: distdir tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__remove_distdir) @@ -864,6 +833,8 @@ GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ + *.tar.lzma*) \ + unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ @@ -903,7 +874,7 @@ $(am__remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ - sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}' + sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' distuninstallcheck: @cd $(distuninstallcheck_dir) \ && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ @@ -927,8 +898,8 @@ all-am: Makefile $(LTLIBRARIES) $(SCRIPTS) $(DATA) config.h installdirs: installdirs-recursive installdirs-am: - for dir in "$(DESTDIR)$(pkgpyexecdir)" "$(DESTDIR)$(pyexecdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(defsdir)" "$(DESTDIR)$(pkgconfigdir)"; do \ - test -z "$$dir" || $(mkdir_p) "$$dir"; \ + for dir in "$(DESTDIR)$(pkgpyexecdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(defsdir)" "$(DESTDIR)$(pkgconfigdir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive @@ -957,15 +928,15 @@ @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive -clean-am: clean-generic clean-libtool clean-pkgpyexecLTLIBRARIES \ - clean-pyexecLTLIBRARIES mostlyclean-am +clean-am: clean-generic clean-libtool clean-local \ + clean-pkgpyexecLTLIBRARIES mostlyclean-am distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ - distclean-hdr distclean-libtool distclean-tags + distclean-hdr distclean-libtool distclean-local distclean-tags dvi: dvi-recursive @@ -979,13 +950,20 @@ install-data-am: install-defsDATA install-pkgconfigDATA -install-exec-am: install-binSCRIPTS install-pkgpyexecLTLIBRARIES \ - install-pyexecLTLIBRARIES +install-dvi: install-dvi-recursive + +install-exec-am: install-binSCRIPTS install-pkgpyexecLTLIBRARIES + +install-html: install-html-recursive install-info: install-info-recursive install-man: +install-pdf: install-pdf-recursive + +install-ps: install-ps-recursive + installcheck-am: maintainer-clean: maintainer-clean-recursive @@ -1009,32 +987,31 @@ ps-am: uninstall-am: uninstall-binSCRIPTS uninstall-defsDATA \ - uninstall-info-am uninstall-pkgconfigDATA \ - uninstall-pkgpyexecLTLIBRARIES uninstall-pyexecLTLIBRARIES + uninstall-pkgconfigDATA uninstall-pkgpyexecLTLIBRARIES -uninstall-info: uninstall-info-recursive +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ + install-strip -.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \ - check-am clean clean-generic clean-libtool \ - clean-pkgpyexecLTLIBRARIES clean-pyexecLTLIBRARIES \ - clean-recursive ctags ctags-recursive dist dist-all dist-bzip2 \ - dist-gzip dist-shar dist-tarZ dist-zip distcheck distclean \ +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ + all all-am am--refresh check check-am clean clean-generic \ + clean-libtool clean-local clean-pkgpyexecLTLIBRARIES ctags \ + ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-hook \ + dist-lzma dist-shar dist-tarZ dist-zip distcheck distclean \ distclean-compile distclean-generic distclean-hdr \ - distclean-libtool distclean-recursive distclean-tags \ + distclean-libtool distclean-local distclean-tags \ distcleancheck distdir distuninstallcheck dvi dvi-am html \ html-am info info-am install install-am install-binSCRIPTS \ - install-data install-data-am install-defsDATA install-exec \ - install-exec-am install-info install-info-am install-man \ - install-pkgconfigDATA install-pkgpyexecLTLIBRARIES \ - install-pyexecLTLIBRARIES install-strip installcheck \ - installcheck-am installdirs installdirs-am maintainer-clean \ - maintainer-clean-generic maintainer-clean-recursive \ + install-data install-data-am install-defsDATA install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-info install-info-am install-man \ + install-pdf install-pdf-am install-pkgconfigDATA \ + install-pkgpyexecLTLIBRARIES install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + installdirs-am maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \ - tags tags-recursive uninstall uninstall-am \ - uninstall-binSCRIPTS uninstall-defsDATA uninstall-info-am \ - uninstall-pkgconfigDATA uninstall-pkgpyexecLTLIBRARIES \ - uninstall-pyexecLTLIBRARIES + mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \ + uninstall uninstall-am uninstall-binSCRIPTS uninstall-defsDATA \ + uninstall-pkgconfigDATA uninstall-pkgpyexecLTLIBRARIES atk.c: $(ATK_DEFS) $(ATK_OVERRIDES) pango.c: $(PANGO_DEFS) pango.override @@ -1074,6 +1051,39 @@ cp -r docs/cursors/* pygtk/cursors tar cfz $(PACKAGE)-docs.tar.gz pygtk rm -fr pygtk + +distclean-local: + if test $(srcdir) = .; then :; else \ + rm -f $(BUILT_EXTRA_DIST); \ + fi + +dist-hook: $(BUILT_EXTRA_DIST) + files='$(BUILT_EXTRA_DIST)'; \ + for f in $$files; do \ + if test -f $$f; then d=.; else d=$(srcdir); fi; \ + rm -f $(distdir)/$$f && cp $$d/$$f $(distdir) || exit 1; done + +.PHONY: ChangeLog + +ChangeLog: + @echo Creating $@ + @if test -d "$(srcdir)/.git"; then \ + (GIT_DIR=$(top_srcdir)/.git ./missing --run git log PYGTK_2_15_0^^.. --stat) | fmt --split-only > $@.tmp \ + && mv -f $@.tmp $@ \ + || ($(RM) $@.tmp; \ + echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \ + (test -f $@ || echo git-log is required to generate this file >> $@)); \ + else \ + test -f $@ || \ + (echo A git checkout and git-log is required to generate ChangeLog >&2 && \ + echo A git checkout and git-log is required to generate this file >> $@); \ + fi + +all: $(pkgpyexec_LTLIBRARIES:.la=.so) +clean-local: + rm -f $(pkgpyexec_LTLIBRARIES:.la=.so) +.la.so: + $(LN_S) .libs/$@ $@ || true # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/missing /tmp/vg4GBciBVb/pygtk-2.15.1/missing --- pygtk-2.14.1/missing 2009-03-05 22:31:38.000000000 +0000 +++ pygtk-2.15.1/missing 2009-05-02 18:22:27.000000000 +0100 @@ -1,9 +1,9 @@ #! /bin/sh # Common stub for a few missing GNU programs while installing. -scriptversion=2005-06-08.21 +scriptversion=2006-05-10.23 -# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005 +# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006 # Free Software Foundation, Inc. # Originally by Fran,cois Pinard , 1996. @@ -33,6 +33,8 @@ fi run=: +sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p' +sed_minuso='s/.* -o \([^ ]*\).*/\1/p' # In the cases where this matters, `missing' is being run in the # srcdir already. @@ -44,7 +46,7 @@ msg="missing on your system" -case "$1" in +case $1 in --run) # Try to run requested program, and just exit if it succeeds. run= @@ -77,6 +79,7 @@ aclocal touch file \`aclocal.m4' autoconf touch file \`configure' autoheader touch file \`config.h.in' + autom4te touch the output file, or create a stub one automake touch all \`Makefile.in' files bison create \`y.tab.[ch]', if possible, from existing .[ch] flex create \`lex.yy.c', if possible, from existing .c @@ -106,7 +109,7 @@ # Now exit if we have it, but it failed. Also exit now if we # don't have it and --version was passed (most likely to detect # the program). -case "$1" in +case $1 in lex|yacc) # Not GNU programs, they don't have --version. ;; @@ -135,7 +138,7 @@ # If it does not exist, or fails to run (possibly an outdated version), # try to emulate it. -case "$1" in +case $1 in aclocal*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if @@ -164,7 +167,7 @@ test -z "$files" && files="config.h" touch_files= for f in $files; do - case "$f" in + case $f in *:*) touch_files="$touch_files "`echo "$f" | sed -e 's/^[^:]*://' -e 's/:.*//'`;; *) touch_files="$touch_files $f.in";; @@ -192,8 +195,8 @@ You can get \`$1' as part of \`Autoconf' from any GNU archive site." - file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'` - test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'` + file=`echo "$*" | sed -n "$sed_output"` + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -f "$file"; then touch $file else @@ -214,25 +217,25 @@ in order for those modifications to take effect. You can get \`Bison' from any GNU archive site." rm -f y.tab.c y.tab.h - if [ $# -ne 1 ]; then + if test $# -ne 1; then eval LASTARG="\${$#}" - case "$LASTARG" in + case $LASTARG in *.y) SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` - if [ -f "$SRCFILE" ]; then + if test -f "$SRCFILE"; then cp "$SRCFILE" y.tab.c fi SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` - if [ -f "$SRCFILE" ]; then + if test -f "$SRCFILE"; then cp "$SRCFILE" y.tab.h fi ;; esac fi - if [ ! -f y.tab.h ]; then + if test ! -f y.tab.h; then echo >y.tab.h fi - if [ ! -f y.tab.c ]; then + if test ! -f y.tab.c; then echo 'main() { return 0; }' >y.tab.c fi ;; @@ -244,18 +247,18 @@ in order for those modifications to take effect. You can get \`Flex' from any GNU archive site." rm -f lex.yy.c - if [ $# -ne 1 ]; then + if test $# -ne 1; then eval LASTARG="\${$#}" - case "$LASTARG" in + case $LASTARG in *.l) SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` - if [ -f "$SRCFILE" ]; then + if test -f "$SRCFILE"; then cp "$SRCFILE" lex.yy.c fi ;; esac fi - if [ ! -f lex.yy.c ]; then + if test ! -f lex.yy.c; then echo 'main() { return 0; }' >lex.yy.c fi ;; @@ -267,11 +270,9 @@ \`Help2man' package in order for those modifications to take effect. You can get \`Help2man' from any GNU archive site." - file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` - if test -z "$file"; then - file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'` - fi - if [ -f "$file" ]; then + file=`echo "$*" | sed -n "$sed_output"` + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` + if test -f "$file"; then touch $file else test -z "$file" || exec >$file @@ -289,11 +290,17 @@ DU, IRIX). You might want to install the \`Texinfo' package or the \`GNU make' package. Grab either from any GNU archive site." # The file to touch is that specified with -o ... - file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` + file=`echo "$*" | sed -n "$sed_output"` + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -z "$file"; then # ... or it is the one specified with @setfilename ... infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` - file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile` + file=`sed -n ' + /^@setfilename/{ + s/.* \([^ ]*\) *$/\1/ + p + q + }' $infile` # ... or it is derived from the source name (dir/f.texi becomes f.info) test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info fi @@ -317,13 +324,13 @@ fi firstarg="$1" if shift; then - case "$firstarg" in + case $firstarg in *o*) firstarg=`echo "$firstarg" | sed s/o//` tar "$firstarg" "$@" && exit 0 ;; esac - case "$firstarg" in + case $firstarg in *h*) firstarg=`echo "$firstarg" | sed s/h//` tar "$firstarg" "$@" && exit 0 diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/NEWS /tmp/vg4GBciBVb/pygtk-2.15.1/NEWS --- pygtk-2.14.1/NEWS 2009-03-05 23:08:16.000000000 +0000 +++ pygtk-2.15.1/NEWS 2009-05-24 23:22:04.000000000 +0100 @@ -1,3 +1,34 @@ +pygtk-2.15.1 25-May-2009 + - (Add HSV support to gtk.gdk.Color objects) + - Add floating-point support to gtk.gdk.Color (Paul) + - Retire hand-written ChangeLog; autocreate from Git history (Paul) + - Fix conditional in docs/Makefile.am (Frederic Peters) + - Document that gtk.gdk.GC coordinates are not related to allocation (Paul) + - Make pygtk_boxed_unref_shared() also handle Py_None (Paul) + - Make gtk.MenuItem.set_submenu accept None (Paul) + - Don't run 'fixxref.py' if documentation is not built (Bjrn Lindqvist) + - Apply libtool 2.2 compatibility patch (Gian) + - Plug reference leak on main signal watch source (Paul) + - Add extra warning against accidental misuse of tree model columns (Paul) + - Wrap gtk.Border attributes and constructor (Mariano Surez-Alvarez) + - Make gtk.gdk.Event.time accept 'long' in assignments (Paul) + - Wrap gtk.RcStyle attributes (Paul) + +pygtk-2.15.0 01-May-2009 + - Update pygtk to use numpy instead of Numeric + (Josselin Mouette, Brian Cameron, #397544) + - Update the address of the FSF (Tobias Mueller, #577154) + - Wrap gtk_builder_add_objects_from_string and + gtk_builder_add_objects_from_file. + - Add GTK+ 2.16 API (Gian) + - wrap gtk.IconView.convert_widget_to_bin_window_coords (Gian) + - add gtk.gdk.Window.redirect_to_drawable (Gian) + - add GtkNumberUpLayout enum (Gian) + - some method argument fixes (Gian) + - add gtk.PrintSettings.[get|set]_number_up_layout (Gian) + - Some demo fixes (Gian, Andi Albrecht) + - Add various deprecation warnings (Gian Mario) + pygtk-2.14.1 06-March-2009 - Return the deserialized string as a new memory buffer (Gustavo, #567747) - Complete docs with 2.14 API (Gian Mario) diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/pangocairomodule.c /tmp/vg4GBciBVb/pygtk-2.15.1/pangocairomodule.c --- pygtk-2.14.1/pangocairomodule.c 2009-03-05 22:06:53.000000000 +0000 +++ pygtk-2.15.1/pangocairomodule.c 2009-04-26 16:11:17.000000000 +0100 @@ -16,7 +16,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA */ #ifdef HAVE_CONFIG_H diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/pango.defs /tmp/vg4GBciBVb/pygtk-2.15.1/pango.defs --- pygtk-2.14.1/pango.defs 2009-03-05 22:06:53.000000000 +0000 +++ pygtk-2.15.1/pango.defs 2009-04-26 16:11:17.000000000 +0100 @@ -912,6 +912,7 @@ (of-object "PangoFontDescription") (c-name "pango_font_description_copy_static") (return-type "PangoFontDescription*") + (deprecated "use copy pango.FontDescription.copy instead") ) (define-method hash @@ -960,6 +961,7 @@ (parameters '("const-char*" "family") ) + (deprecated "use copy pango.FontDescription.set_family instead") ) (define-method get_family @@ -1106,6 +1108,7 @@ '("const-PangoFontDescription*" "desc_to_merge") '("gboolean" "replace_existing") ) + (deprecated "use copy pango.FontDescription.merge instead") ) (define-method better_match diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/pangomodule.c /tmp/vg4GBciBVb/pygtk-2.15.1/pangomodule.c --- pygtk-2.14.1/pangomodule.c 2009-03-05 22:06:53.000000000 +0000 +++ pygtk-2.15.1/pangomodule.c 2009-04-26 16:11:17.000000000 +0100 @@ -16,7 +16,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA */ #ifdef HAVE_CONFIG_H diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/pango.override /tmp/vg4GBciBVb/pygtk-2.15.1/pango.override --- pygtk-2.14.1/pango.override 2009-03-05 22:06:53.000000000 +0000 +++ pygtk-2.15.1/pango.override 2009-04-26 16:11:17.000000000 +0100 @@ -16,7 +16,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA */ %% diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/PKG-INFO /tmp/vg4GBciBVb/pygtk-2.15.1/PKG-INFO --- pygtk-2.14.1/PKG-INFO 2009-03-05 23:09:24.000000000 +0000 +++ pygtk-2.15.1/PKG-INFO 2009-05-24 23:17:14.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.0 Name: PyGTK -Version: 2.14.1 +Version: 2.15.1 Summary: Python bindings for GTK Home-page: http://www.pygtk.org/ Author: James Henstridge @@ -8,7 +8,7 @@ Maintainer: Johan Dahlin Maintainer-email: johan@gnome.org License: GNU LGPL -Download-url: ftp://ftp.gnome.org/pub/GNOME/sources/pygtk/2.14/pygtk-2.14.1.tar.gz +Download-url: ftp://ftp.gnome.org/pub/GNOME/sources/pygtk/2.15/pygtk-2.15.1.tar.gz Description: PyGTK allows you to write full featured GTK programs in Python. It is targetted at GTK 2.x, and can be used in conjunction with gnome-python to write Gnome applications. diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/pygtk.spec /tmp/vg4GBciBVb/pygtk-2.15.1/pygtk.spec --- pygtk-2.14.1/pygtk.spec 2009-03-05 23:09:24.000000000 +0000 +++ pygtk-2.15.1/pygtk.spec 2009-05-24 23:17:14.000000000 +0100 @@ -4,7 +4,7 @@ Summary: Python bindings for the GTK+ widget set. Name: pygtk2 -Version: 2.14.1 +Version: 2.15.1 Release: 1 Copyright: LGPL Group: Development/Languages diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/README /tmp/vg4GBciBVb/pygtk-2.15.1/README --- pygtk-2.14.1/README 2009-03-05 22:06:53.000000000 +0000 +++ pygtk-2.15.1/README 2009-05-01 09:22:12.000000000 +0100 @@ -20,12 +20,12 @@ diffs which don't have any context, as these make it very difficult to see what the patch does. -What's new in PyGTK 2.14 +What's new in PyGTK 2.16 ======================== -See the wiki page for an overview of the features in PyGTK 2.14: +See the wiki page for an overview of the features in PyGTK 2.16 -http://live.gnome.org/PyGTK/WhatsNew214 +http://live.gnome.org/PyGTK/WhatsNew216 New Versions ============ @@ -52,9 +52,10 @@ GTK+ 2.10.0 or higher for 2.10 API GTK+ 2.12.0 or higher for 2.12 API GTK+ 2.14.0 or higher for 2.14 API + GTK+ 2.16.0 or higher for 2.16 API * libglade 2.5.0 or higher (optional) * pycairo 1.0.2 or higher (optional) - * Numeric (optional) + * numpy (optional) This release is supporting the following GTK+ releases: @@ -62,6 +63,7 @@ 2.10.x 2.12.x 2.14.x + 2.16.x To include support for the 2.10 API you'll need GTK+ 2.10.0 etc. diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/setup.py /tmp/vg4GBciBVb/pygtk-2.15.1/setup.py --- pygtk-2.14.1/setup.py 2009-03-05 22:06:53.000000000 +0000 +++ pygtk-2.15.1/setup.py 2009-04-26 16:11:17.000000000 +0100 @@ -228,16 +228,16 @@ data_files.append((DEFS_DIR, ('pangocairo.defs',))) GLOBAL_MACROS.append(('HAVE_PYCAIRO',1)) if gtk.can_build(): - if '--disable-numeric' in sys.argv: - sys.argv.remove('--disable-numeric') + if '--disable-numpy' in sys.argv: + sys.argv.remove('--disable-numpy') else: try: - import Numeric - Numeric # pyflakes + import numpy + numpy # pyflakes GLOBAL_MACROS.append(('HAVE_NUMPY', 1)) except ImportError: - print ('* Numeric module could not be found, ' - 'will build without Numeric support.') + print ('* numpy module could not be found, ' + 'will build without numpy support.') ext_modules.append(gtk) data_files.append((os.path.join(INCLUDE_DIR, 'pygtk'), ('gtk/pygtk.h',))) data_files.append((DEFS_DIR, ('gtk/gdk.defs', 'gtk/gdk-types.defs', diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/tests/common.py /tmp/vg4GBciBVb/pygtk-2.15.1/tests/common.py --- pygtk-2.14.1/tests/common.py 2009-03-05 22:06:53.000000000 +0000 +++ pygtk-2.15.1/tests/common.py 2009-05-02 17:39:48.000000000 +0100 @@ -7,29 +7,19 @@ # Be very careful when you change this code, it's # fragile and the order is really significant - # ltihooks - sys.path.insert(0, srcDir) # atk, pango sys.path.insert(0, buildDir) # _gtk, keysyms, glade sys.path.insert(0, os.path.join(buildDir, 'gtk')) sys.argv.append('--g-fatal-warnings') - import ltihooks atk = importModule('atk', buildDir) pango = importModule('pango', buildDir) gtk = importModule('gtk', buildDir, 'gtk') gdk = importModule('gtk.gdk', buildDir, '_gdk.la') - # gtk/__init__.py removes the ltihooks, readd them - import gtk - - ltihooks.install() glade = importModule('gtk.glade', buildDir) - ltihooks.uninstall() - del ltihooks - globals().update(locals()) os.environ['PYGTK_USE_GIL_STATE_API'] = '' diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/tests/Makefile.am /tmp/vg4GBciBVb/pygtk-2.15.1/tests/Makefile.am --- pygtk-2.14.1/tests/Makefile.am 2009-03-05 22:06:53.000000000 +0000 +++ pygtk-2.15.1/tests/Makefile.am 2009-04-26 16:11:17.000000000 +0100 @@ -20,7 +20,8 @@ test_rectangle.py \ test_style.py \ test_textview.py \ - test_treeview.py + test_treeview.py \ + test_accel_closures.py GTK_PY_FILES = __init__.py _lazyutils.py compat.py deprecation.py keysyms.py @@ -36,4 +37,4 @@ rm -f $(top_builddir)/gtk/$${gtk_py}*; \ done \ fi - @rm -fr *.pyc + @rm -fr *.pyc diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/tests/Makefile.in /tmp/vg4GBciBVb/pygtk-2.15.1/tests/Makefile.in --- pygtk-2.14.1/tests/Makefile.in 2009-03-05 23:09:16.000000000 +0000 +++ pygtk-2.15.1/tests/Makefile.in 2009-05-24 23:17:07.000000000 +0100 @@ -1,8 +1,8 @@ -# Makefile.in generated by automake 1.9.6 from Makefile.am. +# Makefile.in generated by automake 1.10.2 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005 Free Software Foundation, Inc. +# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -13,15 +13,11 @@ # PARTICULAR PURPOSE. @SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ -top_builddir = .. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c @@ -50,8 +46,6 @@ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@ -AMDEP_FALSE = @AMDEP_FALSE@ -AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AS = @AS@ @@ -61,18 +55,6 @@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ -BUILD_ATK_FALSE = @BUILD_ATK_FALSE@ -BUILD_ATK_TRUE = @BUILD_ATK_TRUE@ -BUILD_GTKUNIXPRINT_FALSE = @BUILD_GTKUNIXPRINT_FALSE@ -BUILD_GTKUNIXPRINT_TRUE = @BUILD_GTKUNIXPRINT_TRUE@ -BUILD_GTK_FALSE = @BUILD_GTK_FALSE@ -BUILD_GTK_TRUE = @BUILD_GTK_TRUE@ -BUILD_LIBGLADE_FALSE = @BUILD_LIBGLADE_FALSE@ -BUILD_LIBGLADE_TRUE = @BUILD_LIBGLADE_TRUE@ -BUILD_PANGOCAIRO_FALSE = @BUILD_PANGOCAIRO_FALSE@ -BUILD_PANGOCAIRO_TRUE = @BUILD_PANGOCAIRO_TRUE@ -BUILD_PANGO_FALSE = @BUILD_PANGO_FALSE@ -BUILD_PANGO_TRUE = @BUILD_PANGO_TRUE@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ @@ -89,8 +71,6 @@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ -ENABLE_DOCS_FALSE = @ENABLE_DOCS_FALSE@ -ENABLE_DOCS_TRUE = @ENABLE_DOCS_TRUE@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GLIB_CFLAGS = @GLIB_CFLAGS@ @@ -105,19 +85,17 @@ GTK212_LIBS = @GTK212_LIBS@ GTK214_CFLAGS = @GTK214_CFLAGS@ GTK214_LIBS = @GTK214_LIBS@ +GTK216_CFLAGS = @GTK216_CFLAGS@ +GTK216_LIBS = @GTK216_LIBS@ GTKUNIXPRINT_CFLAGS = @GTKUNIXPRINT_CFLAGS@ GTKUNIXPRINT_LIBS = @GTKUNIXPRINT_LIBS@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ HAVE_GTK_2_10 = @HAVE_GTK_2_10@ -HAVE_GTK_2_10_FALSE = @HAVE_GTK_2_10_FALSE@ -HAVE_GTK_2_10_TRUE = @HAVE_GTK_2_10_TRUE@ HAVE_GTK_2_12 = @HAVE_GTK_2_12@ -HAVE_GTK_2_12_FALSE = @HAVE_GTK_2_12_FALSE@ -HAVE_GTK_2_12_TRUE = @HAVE_GTK_2_12_TRUE@ HAVE_GTK_2_14 = @HAVE_GTK_2_14@ -HAVE_GTK_2_14_FALSE = @HAVE_GTK_2_14_FALSE@ -HAVE_GTK_2_14_TRUE = @HAVE_GTK_2_14_TRUE@ +HAVE_GTK_2_16 = @HAVE_GTK_2_16@ +INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ @@ -133,12 +111,11 @@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ +MKDIR_P = @MKDIR_P@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ -OS_WIN32_FALSE = @OS_WIN32_FALSE@ -OS_WIN32_TRUE = @OS_WIN32_TRUE@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ @@ -153,12 +130,11 @@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ -PLATFORM_WIN32_FALSE = @PLATFORM_WIN32_FALSE@ -PLATFORM_WIN32_TRUE = @PLATFORM_WIN32_TRUE@ PYCAIRO_CFLAGS = @PYCAIRO_CFLAGS@ PYCAIRO_LIBS = @PYCAIRO_LIBS@ PYGOBJECT_CFLAGS = @PYGOBJECT_CFLAGS@ PYGOBJECT_DATADIR = @PYGOBJECT_DATADIR@ +PYGOBJECT_DEFSDIR = @PYGOBJECT_DEFSDIR@ PYGOBJECT_FIXXREF = @PYGOBJECT_FIXXREF@ PYGOBJECT_INCLUDEDIR = @PYGOBJECT_INCLUDEDIR@ PYGOBJECT_LIBS = @PYGOBJECT_LIBS@ @@ -181,10 +157,12 @@ THREADING_CFLAGS = @THREADING_CFLAGS@ VERSION = @VERSION@ XSLTPROC = @XSLTPROC@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ @@ -196,6 +174,7 @@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ +builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ @@ -228,8 +207,12 @@ pythondir = @pythondir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ EXTRA_DIST = $(tests) common.py runtests.py testmodule.py leak.glade tests = \ test_actiongroup.py \ @@ -251,7 +234,8 @@ test_rectangle.py \ test_style.py \ test_textview.py \ - test_treeview.py + test_treeview.py \ + test_accel_closures.py GTK_PY_FILES = __init__.py _lazyutils.py compat.py deprecation.py keysyms.py all: all-am @@ -261,8 +245,8 @@ @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ - && exit 0; \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ @@ -292,10 +276,6 @@ clean-libtool: -rm -rf .libs _libs - -distclean-libtool: - -rm -f libtool -uninstall-info-am: tags: TAGS TAGS: @@ -304,22 +284,21 @@ distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ - list='$(DISTFILES)'; for file in $$list; do \ - case $$file in \ - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ - esac; \ + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test "$$dir" != "$$file" && test "$$dir" != "."; then \ - dir="/$$dir"; \ - $(mkdir_p) "$(distdir)$$dir"; \ - else \ - dir=''; \ - fi; \ if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ @@ -365,7 +344,7 @@ distclean: distclean-am -rm -f Makefile -distclean-am: clean-am distclean-generic distclean-libtool +distclean-am: clean-am distclean-generic dvi: dvi-am @@ -379,12 +358,20 @@ install-data-am: +install-dvi: install-dvi-am + install-exec-am: +install-html: install-html-am + install-info: install-info-am install-man: +install-pdf: install-pdf-am + +install-ps: install-ps-am + installcheck-am: maintainer-clean: maintainer-clean-am @@ -403,17 +390,21 @@ ps-am: -uninstall-am: uninstall-info-am +uninstall-am: + +.MAKE: install-am install-strip .PHONY: all all-am check check-am check-local clean clean-generic \ clean-libtool distclean distclean-generic distclean-libtool \ distdir dvi dvi-am html html-am info info-am install \ - install-am install-data install-data-am install-exec \ - install-exec-am install-info install-info-am install-man \ + install-am install-data install-data-am install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-info install-info-am install-man \ + install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ - uninstall uninstall-am uninstall-info-am + uninstall uninstall-am check-local: $(top_srcdir)/gtk/__init__.py @@ -428,7 +419,7 @@ rm -f $(top_builddir)/gtk/$${gtk_py}*; \ done \ fi - @rm -fr *.pyc + @rm -fr *.pyc # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/tests/test_accel_closures.py /tmp/vg4GBciBVb/pygtk-2.15.1/tests/test_accel_closures.py --- pygtk-2.14.1/tests/test_accel_closures.py 1970-01-01 01:00:00.000000000 +0100 +++ pygtk-2.15.1/tests/test_accel_closures.py 2009-04-26 16:11:17.000000000 +0100 @@ -0,0 +1,20 @@ +import unittest + +from common import gtk, gobject + +class AccelClosures(unittest.TestCase): + + def testListAccelClosures(self): + group = gtk.AccelGroup() + window = gtk.Window() + window.add_accel_group(group) + button = gtk.Button() + window.add(button) + button.add_accelerator("clicked", group, gtk.keysyms.x, gtk.gdk.CONTROL_MASK, 0) + for closure in button.list_accel_closures(): + group1 = gtk.accel_group_from_accel_closure(closure) + self.assert_(group1 is group) + window.destroy() + +if __name__ == '__main__': + unittest.main() diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/tests/test_color.py /tmp/vg4GBciBVb/pygtk-2.15.1/tests/test_color.py --- pygtk-2.14.1/tests/test_color.py 2009-03-05 22:06:53.000000000 +0000 +++ pygtk-2.15.1/tests/test_color.py 2009-05-24 23:08:41.000000000 +0100 @@ -15,6 +15,14 @@ self.assertEqual(c.green, 2) self.assertEqual(c.blue, 3) + c = gtk.gdk.Color(1.0, 0.7, 0.2) + self.assertAlmostEqual(c.red_float, 1.0, 4) + self.assertAlmostEqual(c.green_float, 0.7, 4) + self.assertAlmostEqual(c.blue_float, 0.2, 4) + + # Mixing integers and floats is not allowed. + self.assertRaises(TypeError, lambda: gtk.gdk.Color(0, 0.5)) + c = gtk.gdk.Color(pixel=0xffff) self.assertEqual(c.pixel, 0xffff) @@ -36,6 +44,38 @@ self.assertRaises(TypeError, lambda: gtk.gdk.Color([])) + def test_color_from_hsv(self): + self.assertEqual(gtk.gdk.Color('red'), gtk.gdk.color_from_hsv(0.0, 1.0, 1.0)) + + def test_float_attributes(self): + c = gtk.gdk.Color(0, 10000, 65535) + self.assertAlmostEqual(c.red_float, 0.0) + self.assertAlmostEqual(c.green_float, 10000.0 / 65535.0) + self.assertAlmostEqual(c.blue_float, 1.0) + + c.red_float = 0.57 + self.assert_(c.red == int(0.57 * 65535) or c.red == int(0.57 * 65535) + 1) + self.assertAlmostEqual(c.red_float, 0.57, 4) + + c.green = 12345 + self.assertAlmostEqual(c.green_float, 12345.0 / 65535.0) + + def test_hue(self): + self.assertAlmostEqual(gtk.gdk.Color('red').hue, 0 * 1.0 / 6) + self.assertAlmostEqual(gtk.gdk.Color('yellow').hue, 1 * 1.0 / 6) + self.assertAlmostEqual(gtk.gdk.Color('green').hue, 2 * 1.0 / 6) + self.assertAlmostEqual(gtk.gdk.Color('cyan').hue, 3 * 1.0 / 6) + self.assertAlmostEqual(gtk.gdk.Color('blue').hue, 4 * 1.0 / 6) + self.assertAlmostEqual(gtk.gdk.Color('magenta').hue, 5 * 1.0 / 6) + + def test_saturation(self): + self.assertAlmostEqual(gtk.gdk.Color('red').saturation, 1.0) + self.assertAlmostEqual(gtk.gdk.Color('gray').saturation, 0.0) + + def test_value(self): + self.assertAlmostEqual(gtk.gdk.Color('black').value, 0.0) + self.assertAlmostEqual(gtk.gdk.Color('white').value, 1.0) + def test_equal(self): self.assertEqual(gtk.gdk.Color(0, 0, 0), gtk.gdk.Color(0, 0, 0)) self.assertEqual(gtk.gdk.Color(100, 200, 300), gtk.gdk.Color(100, 200, 300)) diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/tests/test_textview.py /tmp/vg4GBciBVb/pygtk-2.15.1/tests/test_textview.py --- pygtk-2.14.1/tests/test_textview.py 2009-03-05 22:06:53.000000000 +0000 +++ pygtk-2.15.1/tests/test_textview.py 2009-04-26 16:11:17.000000000 +0100 @@ -2,6 +2,20 @@ from common import gtk + +class TextIterTest(unittest.TestCase): + def test_assign(self): + buffer = gtk.TextBuffer() + buffer.insert(buffer.get_start_iter(), 'blablabla') + + iter1, iter2 = buffer.get_bounds() + self.assert_(iter1 is not iter2) + self.assertNotEqual(iter1.get_offset(), iter2.get_offset()) + + iter2.assign(iter1) + self.assert_(iter1 is not iter2) + self.assertEqual(iter1.get_offset(), iter2.get_offset()) + class TextViewTest(unittest.TestCase): def test_default_attributes(self): textview = gtk.TextView()

    func :

    a function to call for each printer

    data :

    user data to pass to func

    wait :

    if True, wait in a recursive mainloop until all printers are enumerated; otherwise return diff -Nru /tmp/MlG94IlmE6/pygtk-2.14.1/docs/Makefile.am /tmp/vg4GBciBVb/pygtk-2.15.1/docs/Makefile.am --- pygtk-2.14.1/docs/Makefile.am 2009-03-05 22:09:46.000000000 +0000 +++ pygtk-2.15.1/docs/Makefile.am 2009-05-24 23:08:41.000000000 +0100 @@ -633,9 +633,6 @@ done; \ fi -install-data-hook: - @$(PYGOBJECT_FIXXREF) -i $(PYGOBJECT_PYGDOCS) $(DESTDIR)$(TARGET_DIR) - uninstall-local: rm -rf $(DESTDIR)$(TARGET_DIR)/* @@ -646,6 +643,9 @@ CSS_DATA = $(CSS_FILES) +install-data-hook: + @$(PYGOBJECT_FIXXREF) -i $(PYGOBJECT_PYGDOCS) $(DESTDIR)$(TARGET_DIR) + reference/builddate.xml: @$(PYTHON) -c 'import datetime; print datetime.date.today()' > $@ @@ -667,4 +667,8 @@ # pdfxmltex pygtk-ref.fo >output $@ @@ -1090,6 +1078,8 @@ # xsltproc --nonet --xinclude -o pygtk-ref.fo \ # $(PDF_STYLE) reference/pygtk2-ref.xml # pdfxmltex pygtk-ref.fo >output gtk.gdk.color_parse spec - + + gtk.gdk.color_from_hsv + hue + saturation + value + Attributes + + Floating-point and HSV attributes are available in PyGTK 2.16 and above. + +
    @@ -84,11 +93,49 @@ The value of the blue component of the color + + "red_float" + Read-Write + The value of the red component of the color as a float in the range 0.0--1.0 + + + + "green_float" + Read-Write + The value of the green component of the color as a float in the range 0.0--1.0 + + + + "blue_float" + Read-Write + The value of the blue component of the color as a float in the range 0.0--1.0 + + + + "hue" + Read + The hue (in HSV colorspace) of the color as a float in the range 0.0--1.0 + + + + "saturation" + Read + The saturation (in HSV colorspace) of the color as a float in the range 0.0--1.0 + + + + "value" + Read + The value (in HSV colorspace) of the color as a float in the range 0.0--1.0 + +