From mezlm@seznam.cz Mon Sep 1 15:12:25 2014 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id EB5327697C for ; Mon, 1 Sep 2014 15:12:24 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -0.953 X-Spam-Level: X-Spam-Status: No, score=-0.953 tagged_above=-999 required=2 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-1.654, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ISGfIUU8INhR for ; Mon, 1 Sep 2014 15:12:22 +0000 (UTC) X-Greylist: delayed 829 seconds by postgrey-1.34 at restaurant.gnome.org; Mon, 01 Sep 2014 15:12:22 UTC Received: from mxs1.seznam.cz (mxs1.seznam.cz [77.75.72.125]) by restaurant.gnome.org (Postfix) with ESMTP id 585447695D for ; Mon, 1 Sep 2014 15:12:11 +0000 (UTC) Received: from email.seznam.cz by email-smtpc12a.go.seznam.cz (email-smtpc12a.go.seznam.cz [192.168.92.54]) id 419eba314fe17cba4009e84a; Mon, 01 Sep 2014 17:12:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seznam.cz; s=beta; t=1409584329; bh=fT2xHcTbnNnc70rYxE5sXkgD0CpsP9UWbiOkSgYpfJw=; h=Received:From:To:Subject:Date:Message-Id:Mime-Version:X-Mailer: Content-Type; b=G4Ddk+q2QWfia6PQLyIxCSdj9ca6JNwvtpIsfqTeluvhbSog4KwHEOuXOMofcK98c DbjLX1FNQkjr2uEbOpYv8h+2pG4F97z/HtsQNtuPpc1pbWloqVNxwaEapJ7IjKbzXP qPx2AeT6iI3yfctHXVJDKYrytci0C61XtGn6ym1c= Received: from 218.89.broadband4.iol.cz (218.89.broadband4.iol.cz [85.71.89.218]) by email.seznam.cz (szn-ebox-4.4.211) with HTTP; Mon, 01 Sep 2014 17:01:06 +0200 (CEST) From: To: Subject: Code Date: Mon, 01 Sep 2014 17:01:06 +0200 (CEST) Message-Id: Mime-Version: 1.0 (szn-mime-1.1.15) X-Mailer: szn-ebox-4.4.211 Content-Type: multipart/mixed; boundary="=_735da4326ffff2133eb50a6e=54f26d99-de71-5e28-89b4-7042f5324639_=" X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Sep 2014 15:12:25 -0000 --=_735da4326ffff2133eb50a6e=54f26d99-de71-5e28-89b4-7042f5324639_= Content-Type: multipart/alternative; boundary="=_19c48d7c77ee0b4e6ddaa322=54f26d99-de71-5e28-89b4-7042f5324639_=" --=_19c48d7c77ee0b4e6ddaa322=54f26d99-de71-5e28-89b4-7042f5324639_= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Sorry, I forgot to attach the code. Here it is.=0A= =0A= Martin M=C3=A9zl=0A= --=_19c48d7c77ee0b4e6ddaa322=54f26d99-de71-5e28-89b4-7042f5324639_= Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Sorry, I forgot to attach the code. Here it is.

Martin = M=C3=A9zl
= --=_19c48d7c77ee0b4e6ddaa322=54f26d99-de71-5e28-89b4-7042f5324639_=-- --=_735da4326ffff2133eb50a6e=54f26d99-de71-5e28-89b4-7042f5324639_= Content-Type: application/octet-stream; name=clipboard.pl Content-Transfer-Encoding: base64 Content-Disposition: attachment; size=3704; filename=clipboard.pl Content-Id: IyEvdXNyL2Jpbi9lbnYgcGVybAp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7CnVzZSBkaWFnbm9z dGljczsKdXNlIGZlYXR1cmUgcXcoc2F5KTsKdXNlIHV0Zjg7CnVzZSBHdGszOwp1c2UgUmVhZG9u bHk7CgpSZWFkb25seSBteSBATElOS1MgPT4gKAogICAgewogICAgICAgIHVybCAgID0+ICdodHRw Oi8vd3d3LnNlem5hbS5jei8nLAogICAgICAgIHRpdGxlID0+ICdTZXpuYW0uY3onLAogICAgfSwK ICAgIHsKICAgICAgICB1cmwgICA9PiAnaHR0cDovL3d3dy5nb29nbGUuY3ovJywKICAgICAgICB0 aXRsZSA9PiAnR29vZ2xlJywKICAgIH0sCiAgICB7CiAgICAgICAgdXJsICAgPT4gJ2h0dHA6Ly93 d3cubmV4dC11cmwuY3ovJywKICAgICAgICB0aXRsZSA9PiAnTmV4dCBVUkwnLAogICAgfSwKKTsK IyBMaW5rcyB0byBkaXNwbGF5ClJlYWRvbmx5IG15ICVDT05TVCA9PiAoCiAgICBXSU5ET1dfVElU TEUgICAgICAgID0+ICdDbGlwYm9hcmQnLAogICAgV0lORE9XX0JPUkRFUl9XSURUSCA9PiAxMCwK ICAgIFdJTkRPV19XSURUSCAgICAgICAgPT4gNTAwLAogICAgV0lORE9XX0hFSUdIVCAgICAgICA9 PiAzMDAsCiAgICBTUEFDSU5HICAgICAgICAgICAgID0+IDEwLAogICAgIyBBbGwgdGhlc2UgbnVt YmVycyBhcmUgaW4gcGl4ZWxzCik7CiMgU29tZSBjb25zdGFudHMgZm9yIGJldHRlciB1bmRlcnN0 YW5kaW5nCgpHdGszLT5pbml0OwojIEluaXRpYWxpemUgR3RrMwoKbXkgJHdpbmRvdyAgICAgICA9 IEd0azM6OldpbmRvdy0+bmV3KCd0b3BsZXZlbCcpOwpteSAkc2Nyb2xsZWR3aW4gID0gR3RrMzo6 U2Nyb2xsZWRXaW5kb3ctPm5ldyh1bmRlZiwgdW5kZWYpOwpteSAkcHJlc3NlZF9jdHJsID0gMDsK bXkgJHN0b3JlICAgICAgICA9IEd0azM6Okxpc3RTdG9yZS0+bmV3KCdHbGliOjpTdHJpbmcnLCAn R2xpYjo6U3RyaW5nJyk7Cm15ICR2aWV3ICAgICAgICAgPSBHdGszOjpUcmVlVmlldy0+bmV3Owpt eSAkcmVuZGVyZXIgICAgID0gR3RrMzo6Q2VsbFJlbmRlcmVyVGV4dC0+bmV3OwpteSAkdmJveF9t YWluICAgID0gR3RrMzo6Qm94LT5uZXcoJ3ZlcnRpY2FsJywgJENPTlNUe1NQQUNJTkd9KTsKbXkg JGhib3hfYmxhICAgICA9IEd0azM6OkJveC0+bmV3KCdob3Jpem9udGFsJywgJENPTlNUe1NQQUNJ Tkd9KTsKbXkgJGJ1dHRvbl9jb3B5ICA9IEd0azM6OkJ1dHRvbi0+bmV3OwpteSAkY29sdW1uOwpt eSAkaXRlcjsKCmZvciBteSAkaXRlbSAoQExJTktTKSB7CiAgICAkaXRlciA9ICRzdG9yZS0+YXBw ZW5kOwogICAgJHN0b3JlLT5zZXQoJGl0ZXIsIDAgPT4gJGl0ZW0tPnt0aXRsZX0sIDEgPT4gJGl0 ZW0tPnt1cmx9KTsKfQoKJHZpZXctPnNldF9tb2RlbCgkc3RvcmUpOwoKJGNvbHVtbiA9IEd0azM6 OlRyZWVWaWV3Q29sdW1uLT5uZXdfd2l0aF9hdHRyaWJ1dGVzKAogICAgJ1RpdGxlIG9mIHBhZ2Un LAogICAgJHJlbmRlcmVyLAogICAgdGV4dCA9PiAwCik7CiR2aWV3LT5hcHBlbmRfY29sdW1uKCRj b2x1bW4pOwoKJGNvbHVtbiA9IEd0azM6OlRyZWVWaWV3Q29sdW1uLT5uZXdfd2l0aF9hdHRyaWJ1 dGVzKAogICAgJ1VSTCBvZiBwYWdlJywKICAgICRyZW5kZXJlciwKICAgIHRleHQgPT4gMQopOwok dmlldy0+YXBwZW5kX2NvbHVtbigkY29sdW1uKTsKCiRzY3JvbGxlZHdpbi0+YWRkKCR2aWV3KTsK CiRidXR0b25fY29weS0+c2V0X2xhYmVsKCdDb3B5IFVSTCB0byBjbGlwYm9hcmQnKTsKJGJ1dHRv bl9jb3B5LT5zaWduYWxfY29ubmVjdChjbGlja2VkID0+IHN1YiB7CiAgICBteSAkc2VsZWN0aW9u ID0gJHZpZXctPmdldF9zZWxlY3Rpb247CiAgICBteSBAc2VscGF0aHMgID0gJHNlbGVjdGlvbi0+ Z2V0X3NlbGVjdGVkX3Jvd3M7CiAgICBmb3IgbXkgJHRwYXRoICgkc2VscGF0aHNbMF0pIHsKICAg ICAgICBzYXkgJyR0cGF0aCAtLT4gJywgJHRwYXRoOwogICAgICAgIGZvciBteSAkdHAgKEAkdHBh dGgpIHsKICAgICAgICAgICAgc2F5ICckdHAgLS0+ICcsICR0cDsKICAgICAgICAgICAgbXkgJGl0 ZXIgPSAkc3RvcmUtPmdldF9pdGVyKCR0cCk7CiAgICAgICAgICAgIG15ICRjb2wwY29udGVudCA9 ICRzdG9yZS0+Z2V0KCRpdGVyLCAwKTsKICAgICAgICAgICAgbXkgJGNvbDFjb250ZW50ID0gJHN0 b3JlLT5nZXQoJGl0ZXIsIDEpOwogICAgICAgICAgICBzYXkgJyRjb2wwY29udGVudCAtLT4gJywg JGNvbDBjb250ZW50OwogICAgICAgICAgICBzYXkgJyRjb2wxY29udGVudCAtLT4gJywgJGNvbDFj b250ZW50OwoKICAgICAgICAgICAgbXkgJGNsaXBib2FyZCA9IEd0azM6OkNsaXBib2FyZDo6Z2V0 KEd0azM6Okdkazo6QXRvbTo6aW50ZXJuKCdjbGlwYm9hcmQnLCAwKSk7CgogICAgICAgICAgICBz YXkgJyRjbGlwYm9hcmQgLS0+ICcsICRjbGlwYm9hcmQ7CgogICAgICAgICAgICAkY2xpcGJvYXJk LT5zZXRfdGV4dCgkY29sMWNvbnRlbnQsIGxlbmd0aCAkY29sMWNvbnRlbnQpOwogICAgICAgIH0K ICAgIH0KICAgIHJldHVybjsKfSk7CgokdmJveF9tYWluLT5wYWNrX3N0YXJ0KCRzY3JvbGxlZHdp biwgMSwgMSwgMCk7CiR2Ym94X21haW4tPnBhY2tfc3RhcnQoJGhib3hfYmxhLCAwLCAwLCAwKTsK CiRoYm94X2JsYS0+cGFja19zdGFydCgkYnV0dG9uX2NvcHksIDAsIDAsIDApOwoKJHdpbmRvdy0+ c2V0X3RpdGxlKCRDT05TVHtXSU5ET1dfVElUTEV9KTsKJHdpbmRvdy0+c2V0X2JvcmRlcl93aWR0 aCgkQ09OU1R7V0lORE9XX0JPUkRFUl9XSURUSH0pOwokd2luZG93LT5zZXRfZGVmYXVsdF9zaXpl KCRDT05TVHtXSU5ET1dfV0lEVEh9LCAkQ09OU1R7V0lORE9XX0hFSUdIVH0pOwokd2luZG93LT5z aWduYWxfY29ubmVjdChkZXN0cm95ID0+IHN1YiB7CiAgICBHdGszLT5tYWluX3F1aXQ7CiAgICBy ZXR1cm47Cn0pOwokd2luZG93LT5zaWduYWxfY29ubmVjdChrZXlfcHJlc3NfZXZlbnQgPT4gc3Vi IHsKICAgIG15ICRzZWxmICA9IHNoaWZ0OwogICAgbXkgJGV2ZW50ID0gc2hpZnQ7CgogICAgJGV2 ZW50ID0gJGV2ZW50LT5rZXl2YWw7CiAgICBpZiAoJGV2ZW50ID09IEd0azM6Okdkazo6S0VZX0Nv bnRyb2xfTCBvcgogICAgICAgICRldmVudCA9PSBHdGszOjpHZGs6OktFWV9Db250cm9sX1IKICAg ICkgewogICAgICAgICRwcmVzc2VkX2N0cmwgPSAxOwogICAgICAgIHJldHVybjsKICAgIH0KICAg IGlmICgkZXZlbnQgPT0gR3RrMzo6R2RrOjpLRVlfdyBvcgogICAgICAgICRldmVudCA9PSBHdGsz OjpHZGs6OktFWV9xCiAgICApIHsKICAgICAgICBpZiAoJHByZXNzZWRfY3RybCkgewogICAgICAg ICAgICBHdGszLT5tYWluX3F1aXQ7CiAgICAgICAgICAgIHJldHVybjsKICAgICAgICB9CiAgICAg ICAgcmV0dXJuOwogICAgfQogICAgcmV0dXJuOwp9KTsKJHdpbmRvdy0+c2lnbmFsX2Nvbm5lY3Qo a2V5X3JlbGVhc2VfZXZlbnQgPT4gc3ViIHsKICAgIG15ICRzZWxmICA9IHNoaWZ0OwogICAgbXkg JGV2ZW50ID0gc2hpZnQ7CgogICAgJGV2ZW50ID0gJGV2ZW50LT5rZXl2YWw7CiAgICBpZiAoJGV2 ZW50ID09IEd0azM6Okdkazo6S0VZX0NvbnRyb2xfTCBvcgogICAgICAgICRldmVudCA9PSBHdGsz OjpHZGs6OktFWV9Db250cm9sX1IKICAgICkgewogICAgICAgICRwcmVzc2VkX2N0cmwgPSAwOwog ICAgICAgIHJldHVybjsKICAgIH0KICAgIHJldHVybjsKfSk7CiR3aW5kb3ctPmFkZCgkdmJveF9t YWluKTsKJHdpbmRvdy0+c2hvd19hbGw7CgpHdGszLT5tYWluOwojIEd0azMgbWFpbiBsb29wCgo= --=_735da4326ffff2133eb50a6e=54f26d99-de71-5e28-89b4-7042f5324639_=-- From mezlm@seznam.cz Mon Sep 1 15:12:56 2014 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 0F27D76964 for ; Mon, 1 Sep 2014 15:12:56 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -3.653 X-Spam-Level: X-Spam-Status: No, score=-3.653 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-1.654, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JZ75hgVQl7Hx for ; Mon, 1 Sep 2014 15:12:55 +0000 (UTC) Received: from mxs1.seznam.cz (mxs1.seznam.cz [77.75.72.125]) by restaurant.gnome.org (Postfix) with ESMTP id 3C0397695D for ; Mon, 1 Sep 2014 15:12:44 +0000 (UTC) Received: from email.seznam.cz by email-smtpc1b.go.seznam.cz (email-smtpc1b.go.seznam.cz [192.168.92.33]) id 565ddb1d58221d9657ca8966; Mon, 01 Sep 2014 17:12:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seznam.cz; s=beta; t=1409584362; bh=lJB3x830sPDhEm4paRNXSRWP8aLFgyCVcC8UgDkMEWM=; h=Received:From:To:Subject:Date:Message-Id:Mime-Version:X-Mailer: Content-Type; b=KThKro91V+4Bf6D8jZQaH0I5ruc9CblWIL4n/fV6RPNW+W99qV5C3O0z3Rur8eJLI tdXcTTjGq5ZZfma11xA/p9HiDsiPbnzaeSKaDI70/XUeb0alV38TdE9Tk7OyJFMnjA ZC3toYehpIcUb+m1qkK0Jw7L/mPdP1YgJD7haJEU= Received: from 218.89.broadband4.iol.cz (218.89.broadband4.iol.cz [85.71.89.218]) by email.seznam.cz (szn-ebox-4.4.211) with HTTP; Mon, 01 Sep 2014 16:58:15 +0200 (CEST) From: To: Subject: Gtk3::Clipboard problem Date: Mon, 01 Sep 2014 16:58:15 +0200 (CEST) Message-Id: Mime-Version: 1.0 (szn-mime-1.1.15) X-Mailer: szn-ebox-4.4.211 Content-Type: multipart/alternative; boundary="=_3cb943c87c49f6af2089ee09=54f26d99-de71-5e28-89b4-7042f5324639_=" X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Sep 2014 15:12:56 -0000 --=_3cb943c87c49f6af2089ee09=54f26d99-de71-5e28-89b4-7042f5324639_= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello.=0A= =0A= I am playing with Gtk3 Perl. I want to make an application to show people = =0A= that it is possible in Perl to write desktop apps in GTK+ 3 toolkit.=0A= =0A= Everything was fine but now I want to in my example application copy some = =0A= text data to clipboard to share it between my app and other apps. How to d= o =0A= that? Is the code below the right way how to do that?=0A= =0A= my $clipboard =3D Gtk3::Clipboard::get(Gtk3::Gdk::Atom::intern('clipboard'= , =0A= 0));=0A= $clipboard->set_text($col1content, length $col1content);=0A= =0A= Source code of my little example app is in attachment. Now the code does n= ot=0A= generate any error messages but is still not working.=0A= =0A= Regards,=0A= Martin M=C3=A9zl= --=_3cb943c87c49f6af2089ee09=54f26d99-de71-5e28-89b4-7042f5324639_= Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello.

I am playing with Gtk3 Perl. I want to make an a= pplication to show people that it is possible in Perl to write desktop app= s in GTK+ 3 toolkit.

Everything was fine but now I want to in my ex= ample application copy some text data to clipboard to share it between my = app and other apps. How to do that? Is the code below the right way how to= do that?

my $clipboard =3D Gtk3::Clipboard::get(Gtk3::Gdk::Atom::i= ntern('clipboard', 0));
$clipboard->set_text($col1content, length $c= ol1content);

Source code of my little example app is in attachment.= Now the code does not generate any error messages but is still not workin= g.

Regards,
Martin M=C3=A9zl= --=_3cb943c87c49f6af2089ee09=54f26d99-de71-5e28-89b4-7042f5324639_=-- From kaffeetisch@gmx.de Tue Sep 2 07:52:50 2014 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id A723E76964 for ; Tue, 2 Sep 2014 07:52:50 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -0.9 X-Spam-Level: X-Spam-Status: No, score=-0.9 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=no Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id l5zYnk9fjhwC for ; Tue, 2 Sep 2014 07:52:48 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) by restaurant.gnome.org (Postfix) with ESMTP id 507DE762A3 for ; Tue, 2 Sep 2014 07:52:32 +0000 (UTC) Received: from [192.53.103.200] by 3capp-gmx-bs13.server.lan (via HTTP); Tue, 2 Sep 2014 09:52:31 +0200 MIME-Version: 1.0 Message-ID: From: =?UTF-8?Q?=22Torsten_Sch=C3=B6nfeld=22?= To: gtk-perl-list@gnome.org Subject: Re: Gtk3::Clipboard problem Content-Type: text/plain; charset=UTF-8 Date: Tue, 2 Sep 2014 09:52:31 +0200 Importance: normal Sensitivity: Normal In-Reply-To: References: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K0:djXqNShpq5f7yTQzCsNAvtgsVhywbDScGLlLCT+bMX4 O9cQLt21QNFYb2b+6r1mQImutwdnFWKzuVCvEXTFOGGEcielVx kIDrY19sJVzpUQu/0AsTHzbgU3CSsNHW3gH4gWoubW3MuDASXp Qa5RB/7r3HeMceOEpeYtIqTScbeePtRqtlWJxDiqvhFxh+3Tao +CDKqHr95ynYu0LUj8TPJN/OK7DPUX2vl8p30Ky0loJMRE1S4v D6ty6Ic/DX3UgNr3/IYlETLnVDW75hdteCQe8idCnCWkFuJolC HhCpeE= X-UI-Out-Filterresults: notjunk:1; X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Sep 2014 07:52:50 -0000 mezlm@seznam.cz: > my $clipboard = Gtk3::Clipboard::get(Gtk3::Gdk::Atom::intern('clipboard', 0)); > $clipboard->set_text($col1content, length $col1content); Try capitalizing the name, as in "CLIPBOARD". I'm not sure whether capitalization matters, but this spelling is what is generally advertised and what worked for me in the past. From mezlm@seznam.cz Tue Sep 2 13:26:26 2014 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 0DA3876964 for ; Tue, 2 Sep 2014 13:26:26 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.312 X-Spam-Level: X-Spam-Status: No, score=-2.312 tagged_above=-999 required=2 tests=[BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-1.713, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DWXCIo8-4T2w for ; Tue, 2 Sep 2014 13:26:22 +0000 (UTC) X-Greylist: delayed 695 seconds by postgrey-1.34 at restaurant.gnome.org; Tue, 02 Sep 2014 13:26:22 UTC Received: from mxs2.seznam.cz (mxs2.seznam.cz [77.75.76.125]) by restaurant.gnome.org (Postfix) with ESMTP id 5C7B9762A3 for ; Tue, 2 Sep 2014 13:26:11 +0000 (UTC) Received: from email.seznam.cz by email-smtpc12a.ng.seznam.cz (email-smtpc12a.ng.seznam.cz [10.2.92.54]) id 3fdb526731a494ec3e4c001c; Tue, 02 Sep 2014 15:26:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seznam.cz; s=beta; t=1409664369; bh=HYHIEF22+QPpKCP4i38EvWbh+/QP0UVWybTw9VYV8ko=; h=Received:From:To:Subject:Date:Message-Id:Mime-Version:X-Mailer: Content-Type; b=gDmI6hOSn99sb7uUZsx6UowBsTjsqMHooDk+B+b+mOkIKQE51Thi7DgRIOEm+n/qg 4BHeJjZXq4YHEyLix3rDNvG4PFQ50WdN642J/9PVJaDD/t+5NgejmwlwWl8b685Jbi Rcn4qPwxkjC2IhJ+PUcTzW1nuNnHB8rydrYBf9Bw= Received: from 218.89.broadband4.iol.cz (218.89.broadband4.iol.cz [85.71.89.218]) by email.seznam.cz (szn-ebox-4.4.211) with HTTP; Tue, 02 Sep 2014 15:14:34 +0200 (CEST) From: To: Subject: Glib::IO Date: Tue, 02 Sep 2014 15:14:34 +0200 (CEST) Message-Id: Mime-Version: 1.0 (szn-mime-1.1.17) X-Mailer: szn-ebox-4.4.211 Content-Type: multipart/alternative; boundary="=_4a5a433101b45a1220d59f5c=e3d4f995-7a60-577d-815f-0a179f31d578_=" X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Sep 2014 13:26:26 -0000 --=_4a5a433101b45a1220d59f5c=e3d4f995-7a60-577d-815f-0a179f31d578_= Content-Type: text/plain Content-Transfer-Encoding: 7bit I looked at Glib::IO. It is not available in Fedora's repositories and I'm not sure what I have to do now. Command: $ perl -MGlib::IO -e 1 produces output: Can't locate Glib/IO.pm in @INC (etc.) Where is this module available to download? M. Mezl --=_4a5a433101b45a1220d59f5c=e3d4f995-7a60-577d-815f-0a179f31d578_= Content-Type: text/html Content-Transfer-Encoding: 7bit I looked at Glib::IO. It is not available in Fedora's repositories and I'm not sure what I have to do now. Command:

$ perl -MGlib::IO -e 1

produces output:

Can't locate Glib/IO.pm in @INC (etc.)

Where is this module available to download?

M. Mezl
--=_4a5a433101b45a1220d59f5c=e3d4f995-7a60-577d-815f-0a179f31d578_=-- From brian@xaoc.org Tue Sep 2 13:40:26 2014 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 4925076964 for ; Tue, 2 Sep 2014 13:40:26 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.7 X-Spam-Level: X-Spam-Status: No, score=-2.7 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MojOnUkecIPU for ; Tue, 2 Sep 2014 13:40:24 +0000 (UTC) Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) by restaurant.gnome.org (Postfix) with ESMTP id AD7807697C for ; Tue, 2 Sep 2014 13:40:07 +0000 (UTC) Received: by mail-wi0-f180.google.com with SMTP id ex7so7890247wid.7 for ; Tue, 02 Sep 2014 06:40:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xaoc.org; s=google; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=aVgfXwJ0iOuHoi4ESKUrO5+oO4gwaaHW68TiR0e7tFY=; b=oIryCqt2CJf0by1JEqpUbhSayhkustEfpkDyrBqEhsQgPSegcf6MRHuM0zM/6nUmXP MdIUHIET8398Sg8DNqC99DtYzy+EQEo3FUzWY15f64DX9JuLd5EH+PRlySO5zMXy//Kp HBGYWvKWeHiRwTFZgA5cQqtc5CUOt2GM56A+o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=aVgfXwJ0iOuHoi4ESKUrO5+oO4gwaaHW68TiR0e7tFY=; b=JkPoyc4ezh5G3FNmXBMNkxZV3pPkKRHjGC6mxrOPUT9gYhzL70cYoVpImVxcGOPiGE pNVXnwV/G6eLWGj7JlEme+zHAkFrGTTzKFFQbRU90oj0Jc2rNJCm3YgPcyL7R4DuZRf+ XssM1bkY2KR7gAqRL+/8noVshiuisZglY/6Yk8Bf98ovuI0AZlNYYaU0gTc9ZHjHP4TW 3Xf/mfybAaZPe+VPNzyIaSn10D3IC8MdodJ9th+2t+yJGzxVtYkrwKlECZpvmOkvsdxM FycivFbCujOx1c3Ii/4gwAclGHt53r8Sn7CBe0MLN/BR/5QQP47fY+LiQyMrDtfQ8+mS SGRA== X-Gm-Message-State: ALoCoQki9v15dcB08oOHiq7DgaSuu/mGzkyxzHSk+tQKuJh9pPw7QWgBNyHT4EGMsLSFMLNuov4T MIME-Version: 1.0 X-Received: by 10.194.249.164 with SMTP id yv4mr40514367wjc.34.1409665205733; Tue, 02 Sep 2014 06:40:05 -0700 (PDT) Sender: brian@xaoc.org Received: by 10.194.92.73 with HTTP; Tue, 2 Sep 2014 06:40:05 -0700 (PDT) X-Originating-IP: [65.49.60.56] In-Reply-To: References: Date: Tue, 2 Sep 2014 22:40:05 +0900 X-Google-Sender-Auth: oNZ8jNJaXcBUF6ZUPJoXnfusAyU Message-ID: Subject: Re: Glib::IO From: Brian Manning To: mezlm@seznam.cz Content-Type: text/plain; charset=UTF-8 Cc: GTK-Perl List X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Sep 2014 13:40:26 -0000 The Glib::IO Git repo is available here: https://git.gnome.org/browse/perl-Glib-IO/ There's currently no release tarball, so you would need to install Glib::IO from Git via Dist::Zilla. Once the repo is cloned, issue 'dzil build' in the cloned repo to create a tarball that you can then install via standard 'perl Makefile.PL' or cpanm. Thanks, Brian On Tue, Sep 2, 2014 at 10:14 PM, wrote: > I looked at Glib::IO. It is not available in Fedora's repositories and I'm > not sure what I have to do now. Command: > > $ perl -MGlib::IO -e 1 > > produces output: > > Can't locate Glib/IO.pm in @INC (etc.) > > Where is this module available to download? > > M. Mezl > > _______________________________________________ > gtk-perl-list mailing list > gtk-perl-list@gnome.org > https://mail.gnome.org/mailman/listinfo/gtk-perl-list > From mezlm@seznam.cz Tue Sep 2 16:46:24 2014 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 136017697C for ; Tue, 2 Sep 2014 16:46:24 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -3.712 X-Spam-Level: X-Spam-Status: No, score=-3.712 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-1.713, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uYoObZZpzVmI for ; Tue, 2 Sep 2014 16:46:22 +0000 (UTC) Received: from mxs2.seznam.cz (mxs2.seznam.cz [77.75.76.125]) by restaurant.gnome.org (Postfix) with ESMTP id 27C0476964 for ; Tue, 2 Sep 2014 16:46:11 +0000 (UTC) Received: from email.seznam.cz by email-smtpc5b.ng.seznam.cz (email-smtpc5b.ng.seznam.cz [10.2.92.41]) id 04b661210ac9a7aa0521335a; Tue, 02 Sep 2014 18:46:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seznam.cz; s=beta; t=1409676369; bh=0yhp9BP/idqWrQOkJDwprULX/0bA77NWAcoRUOMeNJk=; h=Received:From:To:Subject:Date:Message-Id:Mime-Version:X-Mailer: Content-Type; b=A8A5ipBWTnURh4MSxF99w1haPqdWoNj2e8MvW1KfIE28pzGFfrDhkmPDnYq5SuVhD 2sKw9cXfitiINwyQVu7tKyMlX9s6D7oXbvtJlcyvKGTjeLiyqVn+fy6i3T6NMtUXTB cWnFQYYrBzwXT7phkn8Zt4tFtx10pdYQdqDA2Zvo= Received: from 218.89.broadband4.iol.cz (218.89.broadband4.iol.cz [85.71.89.218]) by email.seznam.cz (szn-ebox-4.4.211) with HTTP; Tue, 02 Sep 2014 18:46:09 +0200 (CEST) From: To: Subject: =?utf-8?q?=5Bgperl=5Fsv=5Ffrom=5Fvalue=5D_FIXME=3A_unhandled_type?= =?utf-8?q?_-_84_=28GVariant_fundamental_for_GVariant=29?= Date: Tue, 02 Sep 2014 18:46:09 +0200 (CEST) Message-Id: <1n}.1bqJB.7SzsZ5aKbcC.1K1VHH@seznam.cz> Mime-Version: 1.0 (szn-mime-1.1.17) X-Mailer: szn-ebox-4.4.211 Content-Type: multipart/alternative; boundary="=_1ef68311683b620240354dbc=e3d4f995-7a60-577d-815f-0a179f31d578_=" X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Sep 2014 16:46:24 -0000 --=_1ef68311683b620240354dbc=e3d4f995-7a60-577d-815f-0a179f31d578_= Content-Type: text/plain Content-Transfer-Encoding: 7bit Now I have my application menu. But if I click on item in the application menu, my application prints this to terminal and exits: [gperl_sv_from_value] FIXME: unhandled type - 84 (GVariant fundamental for GVariant) What does it mean? Martin --=_1ef68311683b620240354dbc=e3d4f995-7a60-577d-815f-0a179f31d578_= Content-Type: text/html Content-Transfer-Encoding: 7bit Now I have my application menu. But if I click on item in the application menu, my application prints this to terminal and exits:

[gperl_sv_from_value] FIXME: unhandled type - 84 (GVariant fundamental for GVariant)

What does it mean?

Martin
--=_1ef68311683b620240354dbc=e3d4f995-7a60-577d-815f-0a179f31d578_=-- From ebassi@gmail.com Tue Sep 2 20:04:27 2014 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id DA014762A3 for ; Tue, 2 Sep 2014 20:04:27 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.7 X-Spam-Level: X-Spam-Status: No, score=-2.7 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mrq-HRluKLy4 for ; Tue, 2 Sep 2014 20:04:23 +0000 (UTC) Received: from mail-vc0-f174.google.com (mail-vc0-f174.google.com [209.85.220.174]) by restaurant.gnome.org (Postfix) with ESMTP id 4172C7697C for ; Tue, 2 Sep 2014 20:04:12 +0000 (UTC) Received: by mail-vc0-f174.google.com with SMTP id hy4so7658368vcb.19 for ; Tue, 02 Sep 2014 13:04:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=29eysneeWWwRrTQJhXot0dyzhKgIuCwgmhZ24SrX8QM=; b=YH9/8kEo6qCknkDwtRtAhtdyF1sKOmkiB9vttqzX7TxvPViAvgYp2n1sIGoVWUNhSl rLYGlDZogHoi8JbAWJhdVmeq2VsV2yEobBc66YIe8QjgrSD+TTiXezV0ZYvQwGIzIB6J KoHmA1tQ9Ns8n8RSN/R8YMAn5wZPJrz2FBKll4PaJB74uh3j3ggFl9RiwY3786n3qwtc C+gIcRQqeUc0mr4tTKqq7QWw6tFjDnQJZtDwD2pyuu9pGQWPCOJ7U2gMUdpESMVgeJdC 79SCydkvOtN0DzUISMGymUetMVQpi6tBwdPIEXUjcP4qfH1llT966F2FvPTAAxavVMJP xXdw== MIME-Version: 1.0 X-Received: by 10.220.163.69 with SMTP id z5mr31531779vcx.10.1409688251117; Tue, 02 Sep 2014 13:04:11 -0700 (PDT) Received: by 10.220.208.135 with HTTP; Tue, 2 Sep 2014 13:04:11 -0700 (PDT) In-Reply-To: <1n}.1bqJB.7SzsZ5aKbcC.1K1VHH@seznam.cz> References: <1n}.1bqJB.7SzsZ5aKbcC.1K1VHH@seznam.cz> Date: Tue, 2 Sep 2014 21:04:11 +0100 Message-ID: Subject: Re: [gperl_sv_from_value] FIXME: unhandled type - 84 (GVariant fundamental for GVariant) From: Emmanuele Bassi To: mezlm@seznam.cz Content-Type: text/plain; charset=UTF-8 Cc: gtk-perl mailing list X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Sep 2014 20:04:27 -0000 hi; On 2 September 2014 17:46, wrote: > Now I have my application menu. But if I click on item in the application > menu, my application prints this to terminal and exits: > > [gperl_sv_from_value] FIXME: unhandled type - 84 (GVariant fundamental for > GVariant) > > What does it mean? it means that perl-Glib does not support GVariant, which is true: the whole API is missing, and will need binding. ciao, Emmanuele. -- http://www.bassi.io [@] ebassi [@gmail.com] From kaffeetisch@gmx.de Tue Sep 2 20:15:52 2014 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id A3FD47699D for ; Tue, 2 Sep 2014 20:15:52 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yrWilH1ngY3f for ; Tue, 2 Sep 2014 20:15:51 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by restaurant.gnome.org (Postfix) with ESMTP id 9684B76964 for ; Tue, 2 Sep 2014 20:15:41 +0000 (UTC) Received: from home.hcsiteeffak.de ([87.152.227.77]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0LhkiL-1YBhZC1TPt-00muU1 for ; Tue, 02 Sep 2014 22:15:39 +0200 Message-ID: <5406256A.1030402@gmx.de> Date: Tue, 02 Sep 2014 22:15:38 +0200 From: Torsten Schoenfeld User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: gtk-perl-list@gnome.org Subject: Re: [gperl_sv_from_value] FIXME: unhandled type - 84 (GVariant fundamental for GVariant) References: <1n}.1bqJB.7SzsZ5aKbcC.1K1VHH@seznam.cz> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:ONRCIFnWP1pMCbIdQdRjbLhilYMDsmcOrkP3m956h01vPyFrNSR VepfRY7YInB6Uo/igu3hfLscZcBQqFzfB+kwdaaoODK5OuGVlazc/WiXV0an2pDwsduJAs2 jgktRy1iH/ou4bYlihJchsIusAuF1fSI4+BMQExsFpYZNW8fPC7gd/xpgEn4+WmaaSS77Q1 usUDPGZlo/ykiIq2rgggg== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Sep 2014 20:15:52 -0000 On 02.09.2014 22:04, Emmanuele Bassi wrote: >> [gperl_sv_from_value] FIXME: unhandled type - 84 (GVariant fundamental for >> GVariant) >> >> What does it mean? > > it means that perl-Glib does not support GVariant, which is true: the > whole API is missing, and will need binding. Yeah. It might make sense to try to use Glib::Object::Introspection for that. From mezlm@seznam.cz Wed Sep 3 07:14:59 2014 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id BE19B760AB for ; Wed, 3 Sep 2014 07:14:59 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -3.716 X-Spam-Level: X-Spam-Status: No, score=-3.716 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-1.717, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bvzPgX2kgoyi for ; Wed, 3 Sep 2014 07:14:58 +0000 (UTC) Received: from mxs2.seznam.cz (mxs2.seznam.cz [77.75.76.125]) by restaurant.gnome.org (Postfix) with ESMTP id B253E760A5 for ; Wed, 3 Sep 2014 07:14:46 +0000 (UTC) Received: from email.seznam.cz by email-smtpc14b.ng.seznam.cz (email-smtpc14b.ng.seznam.cz [10.2.92.59]) id 502513415e5ad5ca51b2413a; Wed, 03 Sep 2014 09:14:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seznam.cz; s=beta; t=1409728484; bh=v41GX+dtXm/ajDwMfOfoxNBY0ogmjUGh0V3yoD59fx0=; h=Received:From:To:Subject:Date:Message-Id:Mime-Version:X-Mailer: Content-Type; b=EdRvwMbK+dy2+G129LAwwDY19xTToV/GQ+UIcwOACuCbWBvBEcNUynYFV+deSO6qO bdfRLFdUlNGfxYKJniGnd+Wy8kB6HybC5LnD9BHxs+IlYkiNehy0ttIfsGwSx7miub 57VenGFDrrH6ruiq+ItB1Ru9dzK4IFCUl61dDDrU= Received: from 218.89.broadband4.iol.cz (218.89.broadband4.iol.cz [85.71.89.218]) by email.seznam.cz (szn-ebox-4.4.211) with HTTP; Wed, 03 Sep 2014 09:14:43 +0200 (CEST) From: To: Subject: GNOME 3 Application Menu Date: Wed, 03 Sep 2014 09:14:43 +0200 (CEST) Message-Id: <5Pl.1bqJ7.6atVm0kKlHG.1K1h}Z@seznam.cz> Mime-Version: 1.0 (szn-mime-1.1.17) X-Mailer: szn-ebox-4.4.211 Content-Type: multipart/alternative; boundary="=_594351a60dc6b74c0b3545a4=e3d4f995-7a60-577d-815f-0a179f31d578_=" X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Sep 2014 07:14:59 -0000 --=_594351a60dc6b74c0b3545a4=e3d4f995-7a60-577d-815f-0a179f31d578_= Content-Type: text/plain Content-Transfer-Encoding: 7bit If perl-Glib does not support GVariant and API is missing, how to make GNOME's application menu then? Is it possible? I can add items in application menu but if I click on them, application crashes. Martin --=_594351a60dc6b74c0b3545a4=e3d4f995-7a60-577d-815f-0a179f31d578_= Content-Type: text/html Content-Transfer-Encoding: 7bit If perl-Glib does not support GVariant and API is missing, how to make GNOME's application menu then? Is it possible?

I can add items in application menu but if I click on them, application crashes.

Martin
--=_594351a60dc6b74c0b3545a4=e3d4f995-7a60-577d-815f-0a179f31d578_=-- From ebassi@gmail.com Wed Sep 3 09:22:05 2014 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 60FF0769D4 for ; Wed, 3 Sep 2014 09:22:05 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.7 X-Spam-Level: X-Spam-Status: No, score=-2.7 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qHMb3-cdt6EB for ; Wed, 3 Sep 2014 09:22:03 +0000 (UTC) Received: from mail-vc0-f172.google.com (mail-vc0-f172.google.com [209.85.220.172]) by restaurant.gnome.org (Postfix) with ESMTP id 922A4760A5 for ; Wed, 3 Sep 2014 09:21:48 +0000 (UTC) Received: by mail-vc0-f172.google.com with SMTP id ij19so8603808vcb.3 for ; Wed, 03 Sep 2014 02:21:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=/aNlN4TP0GZ3bx+fjz0IPddwZQ+wX6tG8dls72uxmso=; b=v8r+eTO27RViOoHzg8qln5OG0TMtMYCaSdoi4MOdsd9PkMZY5dnitz7R6giiXdoDQy cIaaJVzw7X0oPtpAs6SorBtxVJ5aDh3E53QEGdFfe1xhxqOXlNlUllobA/APwRPdZH6O UroplQOXOiNf3ShmrOEMQA1bOMYi7kiSW+tjqFxkGJvoZChiTatn0kJ8dNxrYjQPFV2k xeEjSb1y0674GI1B9AfKZ4CyoCDVB/4uRUYl4PNF3qjeVC10qfFQoGvrcc3Ni95nU7tf mLCooExREGav+D2+jS1btH6il2II000yyGn1WRH3ROdZJ6mRtFCKwxK8QRAnJfjIqvjC A9Fw== MIME-Version: 1.0 X-Received: by 10.220.159.204 with SMTP id k12mr34139146vcx.15.1409736106379; Wed, 03 Sep 2014 02:21:46 -0700 (PDT) Received: by 10.220.208.135 with HTTP; Wed, 3 Sep 2014 02:21:46 -0700 (PDT) In-Reply-To: <5Pl.1bqJ7.6atVm0kKlHG.1K1h}Z@seznam.cz> References: <5Pl.1bqJ7.6atVm0kKlHG.1K1h}Z@seznam.cz> Date: Wed, 3 Sep 2014 10:21:46 +0100 Message-ID: Subject: Re: GNOME 3 Application Menu From: Emmanuele Bassi To: mezlm@seznam.cz Content-Type: text/plain; charset=UTF-8 Cc: gtk-perl mailing list X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Sep 2014 09:22:05 -0000 On 3 September 2014 08:14, wrote: > If perl-Glib does not support GVariant and API is missing, how to make > GNOME's application menu then? Is it possible? nope, not really. > I can add items in application menu but if I click on them, application > crashes. likely because the GAction API heavily relies on GVariant. ciao, Emmanuele. -- http://www.bassi.io [@] ebassi [@gmail.com] From ebassi@gmail.com Wed Sep 3 09:25:33 2014 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 10B31760A5 for ; Wed, 3 Sep 2014 09:25:33 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.7 X-Spam-Level: X-Spam-Status: No, score=-2.7 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2JEgLA2eHCP7 for ; Wed, 3 Sep 2014 09:25:32 +0000 (UTC) Received: from mail-vc0-f180.google.com (mail-vc0-f180.google.com [209.85.220.180]) by restaurant.gnome.org (Postfix) with ESMTP id 187BE768D5 for ; Wed, 3 Sep 2014 09:25:21 +0000 (UTC) Received: by mail-vc0-f180.google.com with SMTP id lf12so8407620vcb.39 for ; Wed, 03 Sep 2014 02:25:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=LALx+stUw/3AJEAEqaGjk0jan8EhxfpFgWgaScYKbh4=; b=0pJeZWQwaLvYAqSczO5v30iR8fjKCVoXceAHaafKw9mFZUbe9GX9EOb2LnM5Bu3EJN /KhTxNG3FHaQobh7b1wmfdmT7vN0A0kC7rlHuMfYXy+z96Y3HAweHw4WXsqgB+c+3smb JLtY3eb37jzSVnnYCF4HOCDb2gYR2imzlovqSluWKFBx0l0A3+uTpqHcpRGoerV94zoa QUoZRAOgVooZDl1iCg5tcwl1QSNU2F534H1k06sg1tnWfwDHetB+V0qSihjgTPJPvgyG RlQQx6hq8pAw6qFgPhzbNps1Qb3azwZSIhEBmMRQ6dsMurluEguicMaGNGqRfmaXx0jW xXrA== MIME-Version: 1.0 X-Received: by 10.220.247.3 with SMTP id ma3mr5671198vcb.29.1409736319829; Wed, 03 Sep 2014 02:25:19 -0700 (PDT) Received: by 10.220.208.135 with HTTP; Wed, 3 Sep 2014 02:25:19 -0700 (PDT) In-Reply-To: <5406256A.1030402@gmx.de> References: <1n}.1bqJB.7SzsZ5aKbcC.1K1VHH@seznam.cz> <5406256A.1030402@gmx.de> Date: Wed, 3 Sep 2014 10:25:19 +0100 Message-ID: Subject: Re: [gperl_sv_from_value] FIXME: unhandled type - 84 (GVariant fundamental for GVariant) From: Emmanuele Bassi To: Torsten Schoenfeld Content-Type: text/plain; charset=UTF-8 Cc: gtk-perl mailing list X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Sep 2014 09:25:33 -0000 hi Torsten; On 2 September 2014 21:15, Torsten Schoenfeld wrote: > On 02.09.2014 22:04, Emmanuele Bassi wrote: >>> [gperl_sv_from_value] FIXME: unhandled type - 84 (GVariant fundamental for >>> GVariant) >>> >>> What does it mean? >> >> it means that perl-Glib does not support GVariant, which is true: the >> whole API is missing, and will need binding. > > Yeah. It might make sense to try to use Glib::Object::Introspection for > that. I doubt it: the GVariant API relies pretty strongly on variadic arguments, and it's likely that you want to turn GVariants into scalars wherever appropriate. there is *some* API that we can probably bind using introspection, but that raises a series of interesting questions as to which parts of GLib (core and gobject) we can bind through introspection. I know that the pygobject bindings are trying to get more and more gobject-level API bound through introspection, and just leave the lower levels of GLib (i.e. data structures), as well as the python <-> gtype type system matching. it would be worth it to investigate what is the "permeability level" of the hardcoded to introspected API ratio. ciao, Emmanuele. -- http://www.bassi.io [@] ebassi [@gmail.com] From kaffeetisch@gmx.de Thu Sep 4 07:35:32 2014 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 681D076AE8 for ; Thu, 4 Sep 2014 07:35:32 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -0.9 X-Spam-Level: X-Spam-Status: No, score=-0.9 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=no Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id i3Ctb2MdpkSw for ; Thu, 4 Sep 2014 07:35:31 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) by restaurant.gnome.org (Postfix) with ESMTP id 15A67762A9 for ; Thu, 4 Sep 2014 07:35:20 +0000 (UTC) Received: from [192.53.103.200] by 3capp-gmx-bs62.server.lan (via HTTP); Thu, 4 Sep 2014 09:35:18 +0200 MIME-Version: 1.0 Message-ID: From: =?UTF-8?Q?=22Torsten_Sch=C3=B6nfeld=22?= To: gtk-perl-list@gnome.org Subject: Re: GNOME 3 Application Menu Content-Type: text/plain; charset=UTF-8 Date: Thu, 4 Sep 2014 09:35:18 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <5Pl.1bqJ7.6atVm0kKlHG.1K1h}Z@seznam.cz> References: <5Pl.1bqJ7.6atVm0kKlHG.1K1h}Z@seznam.cz> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K0:GYZyWG/FkZQhkGTj68C5EHZGJcvj0rUCZD/ClCOQr4X 5j+gpw6ybWyywqEdw3KHoj5hLVMxaSFQF1CNcaPwCcO+3sDGkW 81jJY3ZDb5ZvC8aT9Lq10UE9UY89iKJmBQtMm+JxzPH/sBT7tg oAGF2DNJ7713g8TcGbycs3g6OxfKplPYjwpMPjewXODbJ6j8yB fNlznd7ZipnLhHc1kIz8kFXPw046pu0OuS8/2ya49tAMCJGWK2 gvLuFskzV6F9iEyVuR0EFziBjOdvhSuYeQE4IF6x2NOu8BJ7Eg xk4bi4= X-UI-Out-Filterresults: notjunk:1; X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Sep 2014 07:35:32 -0000 mezlm@seznam.cz: > If perl-Glib does not support GVariant and API is missing, how to make GNOME's application menu then? Is it possible? > > I can add items in application menu but if I click on them, application crashes. Can you provide a small but complete example program that shows this problem? From t.funk@web.de Mon Sep 8 07:16:53 2014 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 43AC976982 for ; Mon, 8 Sep 2014 07:16:53 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -4.399 X-Spam-Level: X-Spam-Status: No, score=-4.399 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-2.499, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VZ3WFedQtED5 for ; Mon, 8 Sep 2014 07:16:51 +0000 (UTC) Received: from mout.web.de (mout.web.de [212.227.17.11]) by restaurant.gnome.org (Postfix) with ESMTP id 064A476973 for ; Mon, 8 Sep 2014 07:16:35 +0000 (UTC) Received: from [62.159.102.26] by 3capp-webde-bs24.dlan.cinetic.de (via HTTP); Mon, 8 Sep 2014 09:16:33 +0200 MIME-Version: 1.0 Message-ID: From: "Thomas Funk" To: "gtk-perl Mailinglist" Subject: Notify signal font size has changed Content-Type: text/plain; charset=UTF-8 Date: Mon, 8 Sep 2014 09:16:33 +0200 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K0:+jkC23Ka7FgB836cVtjQYHOIECb0GPP68Bblfc1WkeJ 7HoXJwaZxj7/4xMsDqW2CAi+WNK7Vj4VO2ZsFe1QMTlvSNdCVb k5bHdDN1bwEcfXOA35FctfuJLgd+IIY2/Sk2Iki2TXIOehTGh/ w04yZf709GYzf0yNIBUswcvYx38Cv0V4PpjVvmwfwu6VzaVlPU EyY9XA2rCDIlaI84kIQ95CKVvWD7xk6XY7D3E9kaqFH7NMZrDw MJoeSYvJdjQXvCf1rmD3DL3jIW7YXN955GP1nQn5qkygaot88V 9ASo+Nn8P9LXBknPSY+2GAtIjJ2 X-UI-Out-Filterresults: notjunk:1; X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Sep 2014 07:16:53 -0000 Hi there, I'm developing a RAD library to create GUI applications based on Gtk2::Fixed. At the moment I am working on the widget scaling depending on the font size. This works fine if the application is started _after_ the font size change. Is it open _while_ the change happens only the size of the font is switched (that's clear because the size and position are fixed). So I thought catching the event which signals Gtk to switch the font size would be fine to rescale all the fixed widgets. I found in GtkFontButton the hint to use notify::font-name to react on font changes. But I need it for the font size change. The notify event comes from Gobject but I haven't no clue on which notify event I have to react. Does anybody knows that? Would be great! Thanks in advance, Thomas -- "Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe." -- Albert Einstein From kaffeetisch@gmx.de Mon Sep 8 20:20:18 2014 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 098A3769D4 for ; Mon, 8 Sep 2014 20:20:18 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pWtyw8c9AP0W for ; Mon, 8 Sep 2014 20:20:17 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) by restaurant.gnome.org (Postfix) with ESMTP id C8FFE769B4 for ; Mon, 8 Sep 2014 20:20:06 +0000 (UTC) Received: from home.hcsiteeffak.de ([87.152.233.148]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0MFdPZ-1XdVT727bp-00EhGu for ; Mon, 08 Sep 2014 22:20:04 +0200 Message-ID: <540E0F74.5000501@gmx.de> Date: Mon, 08 Sep 2014 22:20:04 +0200 From: Torsten Schoenfeld User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: gtk-perl-list@gnome.org Subject: Re: Notify signal font size has changed References: In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:8JkjCPwex1Lx6keH0sUVboykmyHUPbQyl7Gt3KonMznYDYvlDj2 kvQJacTfofegiTMvxKdtj/b9LjY/YsFmZNFIbJz5yjDayZtfCWdk3jKhQtUNMDdmE2kVHEd 73FZHFZ2dftcEBfUAyBnlGSALQJ0YhV1RXibfKjVgmfFtIl/VkUBQLg9rwF5h9Y44LyEwuF 7VwblNvo4MWxbAlrHJbow== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Sep 2014 20:20:18 -0000 On 08.09.2014 09:16, Thomas Funk wrote: > I'm developing a RAD library to create GUI applications based on Gtk2::Fixed. First, are you aware of Glade and GtkBuilder? Second, are you absolutely sure you want to use GtkFixed as a basis, as opposed to, say, the box model based on GtkBox? > So I thought catching the event which signals Gtk to switch the font size would > be fine to rescale all the fixed widgets. In principle, GtkSettings' "notify::gtk-font-name" can be used for this, but it's not available in perl-Gtk2, only perl-Gtk3: perl -MGtk3=-init -E'my $s = Gtk3::Settings::get_default (); say $s->get ("gtk-font-name"); $s->signal_connect ("notify::gtk-font-name", sub { say $s->get ("gtk-font-name") }); Gtk3::main ();' From t.funk@web.de Mon Sep 8 21:20:57 2014 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id B4B4F769D4 for ; Mon, 8 Sep 2014 21:20:57 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -4.399 X-Spam-Level: X-Spam-Status: No, score=-4.399 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-2.499, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UI5T9Bv1oUF7 for ; Mon, 8 Sep 2014 21:20:55 +0000 (UTC) Received: from mout.web.de (mout.web.de [212.227.15.3]) by restaurant.gnome.org (Postfix) with ESMTP id 5B5B976987 for ; Mon, 8 Sep 2014 21:20:44 +0000 (UTC) Received: from [192.168.178.40] ([92.74.163.228]) by smtp.web.de (mrweb001) with ESMTPSA (Nemesis) id 0ML8F7-1XRNOP02KX-000HUI for ; Mon, 08 Sep 2014 23:15:08 +0200 Message-ID: <540E1C5B.70304@web.de> Date: Mon, 08 Sep 2014 23:15:07 +0200 From: Thomas Funk User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.5.0 MIME-Version: 1.0 To: gtk-perl-list@gnome.org Subject: Re: Notify signal font size has changed References: <540E0F74.5000501@gmx.de> In-Reply-To: <540E0F74.5000501@gmx.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:g4enN63cYPp2Xo8+c/gwH4wRvYAWeYXy1q3uGzfdYi52ApMQQge umXb0il5sQ14dioCKftJwNH6wyTPHRSoAbtCelg4Uf2qtMVn4ksaR5iCxPhffDaNGAeytQZ y5A87dBPmfG/3KVqIzW/T6bwrwnLxH7NKIUURD9zHs2p7ya39TdVpKJL+RBRJzHP0CJ+RBL zL3df4jengbGyuysltg+A== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Sep 2014 21:20:57 -0000 Am 08.09.2014 22:20, schrieb Torsten Schoenfeld: > On 08.09.2014 09:16, Thomas Funk wrote: >> I'm developing a RAD library to create GUI applications based on Gtk2::Fixed. > > First, are you aware of Glade and GtkBuilder? Yes, of course. But there're some problems with them: 1. not all widgets are available depending on the lib version installed on a system. 2. the creation of a GUI with Glade isn't mostly the problem but getting access to different elements. 3. some widgets can't be created in Glade like Treeviews/lists - only the skeletal structure. The rest is coding by hand 4. GtkBuilder lacks with dynamic layouts e.g. appending/deleting of notebook tabs. 5. the creation of a layout in Gtk is ... very flexible and needs practice ;-) > Second, are you absolutely sure you want to use GtkFixed as a basis, as > opposed to, say, the box model based on GtkBox? Yes. I know the problems described in the GtkFixed docu. But it's so damned easy to create a GUI with it that I hazard the consequences. And the most people want creating a GUI fast and without hours in google and with a long learn curve to understand Gtk it's design. >> So I thought catching the event which signals Gtk to switch the font size would >> be fine to rescale all the fixed widgets. > > In principle, GtkSettings' "notify::gtk-font-name" can be used for this, > but it's not available in perl-Gtk2, only perl-Gtk3: > > perl -MGtk3=-init -E'my $s = Gtk3::Settings::get_default (); say $s->get > ("gtk-font-name"); $s->signal_connect ("notify::gtk-font-name", sub { > say $s->get ("gtk-font-name") }); Gtk3::main ();' What a pitty :-( To be honest I don't dare Gtk3-Perl at the moment - I red from time to time here on the list about problems with Gtk3 ... So I'll wait a some time before trying it... Thank you very much for the fast reply :-) Ok, keep on searching for a solution ... perhaps I find something ... or someone else has another hint? ... Best, Thomas -- -- "Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe." -- Albert Einstein From kaffeetisch@gmx.de Tue Sep 9 20:29:06 2014 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 1A07C76987 for ; Tue, 9 Sep 2014 20:29:06 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fyaqMqWaFNl3 for ; Tue, 9 Sep 2014 20:29:04 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by restaurant.gnome.org (Postfix) with ESMTP id 16D31762A9 for ; Tue, 9 Sep 2014 20:28:48 +0000 (UTC) Received: from home.hcsiteeffak.de ([87.152.233.225]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0MgGDK-1XlkYy1vMc-00NgA9 for ; Tue, 09 Sep 2014 22:28:46 +0200 Message-ID: <540F62FD.4090706@gmx.de> Date: Tue, 09 Sep 2014 22:28:45 +0200 From: Torsten Schoenfeld User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: gtk-perl-list@gnome.org Subject: Re: Notify signal font size has changed References: <540E0F74.5000501@gmx.de> In-Reply-To: <540E0F74.5000501@gmx.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:Sbmu5n7MmFH6BGOLVAFXR25popdzIGuRqmgPiJpAZGwUixk23yd cu9K2W/yttVsebZnZ0QIZqJHL9ZB3xF03k5h2dM7l6izSj3N5nsCrT45TP4RDFZsVpTbehd icx+1Y1nlajdmGEVLLNIcDCLcSW7howtRKe6buR1XpNKOouqaSikEY2rUYyaBPNBkUqzUWF OSZXgJerBh7K6qxXHBmFQ== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Sep 2014 20:29:06 -0000 On 08.09.2014 22:20, Torsten Schoenfeld wrote: > In principle, GtkSettings' "notify::gtk-font-name" can be used for this, > but it's not available in perl-Gtk2, only perl-Gtk3: > > perl -MGtk3=-init -E'my $s = Gtk3::Settings::get_default (); say $s->get > ("gtk-font-name"); $s->signal_connect ("notify::gtk-font-name", sub { > say $s->get ("gtk-font-name") }); Gtk3::main ();' That was not entirely correct, it turns out. While gtk_settings_get_default is not bound in perl-Gtk2 (patches welcome), gtk_widget_get_settings is. So try this: perl -MGtk2=-init -E'my $w = Gtk2::Window->new; my $s = $w->get_settings; say $s->get ("gtk-font-name"); $s->signal_connect ("notify::gtk-font-name", sub { say $s->get ("gtk-font-name"); }); Gtk2->main ();' To parse the font name, you can use Pango::FontDescription->from_string. From t.funk@web.de Wed Sep 10 22:25:33 2014 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 8D97C762EB for ; Wed, 10 Sep 2014 22:25:33 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -4.399 X-Spam-Level: X-Spam-Status: No, score=-4.399 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-2.499, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4wqiXrF2fbxW for ; Wed, 10 Sep 2014 22:25:31 +0000 (UTC) X-Greylist: delayed 320 seconds by postgrey-1.34 at restaurant.gnome.org; Wed, 10 Sep 2014 22:25:31 UTC Received: from mout.web.de (mout.web.de [212.227.15.4]) by restaurant.gnome.org (Postfix) with ESMTP id 0D317762AE for ; Wed, 10 Sep 2014 22:25:20 +0000 (UTC) Received: from [192.168.178.40] ([94.217.125.28]) by smtp.web.de (mrweb002) with ESMTPSA (Nemesis) id 0MINI7-1XVx6f0fl9-004EQ0 for ; Thu, 11 Sep 2014 00:19:58 +0200 Message-ID: <5410CE8D.4020405@web.de> Date: Thu, 11 Sep 2014 00:19:57 +0200 From: Thomas Funk User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.5.0 MIME-Version: 1.0 To: gtk-perl-list@gnome.org Subject: Re: Notify signal font size has changed References: <540E0F74.5000501@gmx.de> <540F62FD.4090706@gmx.de> In-Reply-To: <540F62FD.4090706@gmx.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:oXImt2gidA96rAXdppTRfMpUq72/RtvcYilJAm2mtHw2xY+D/yF P0e804qfWqr3z0t+ZM6EKVU1V6VIGCPiCjGAqiN6sNZt82UQwbhpTEf5Ywunk8QE8lCFLxP pffo7qD8DS9jz/cgs6VTqaZc/v0p/60VdctBj/Gy7vS0mGhsjBct7ZvtKSF7KzqxUNUITI/ 4wWfILAwMZurGmL/+iU8g== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Sep 2014 22:25:33 -0000 Am 09.09.2014 22:28, schrieb Torsten Schoenfeld: > On 08.09.2014 22:20, Torsten Schoenfeld wrote: >> In principle, GtkSettings' "notify::gtk-font-name" can be used for this, >> but it's not available in perl-Gtk2, only perl-Gtk3: >> >> perl -MGtk3=-init -E'my $s = Gtk3::Settings::get_default (); say $s->get >> ("gtk-font-name"); $s->signal_connect ("notify::gtk-font-name", sub { >> say $s->get ("gtk-font-name") }); Gtk3::main ();' > > That was not entirely correct, it turns out. While > gtk_settings_get_default is not bound in perl-Gtk2 (patches welcome), > gtk_widget_get_settings is. So try this: > > perl -MGtk2=-init -E'my $w = Gtk2::Window->new; my $s = > $w->get_settings; say $s->get ("gtk-font-name"); $s->signal_connect > ("notify::gtk-font-name", sub { say $s->get ("gtk-font-name"); }); > Gtk2->main ();' > > To parse the font name, you can use Pango::FontDescription->from_string. Thanks Thorsten! Unfortunately your code doesn't work on my system (Perl 5.20. gtk2-perl 2.24). But after some searches I found a signal which works for me \O/ Here's my test code: #!/usr/bin/perl -w use strict; use Gtk2 '-init'; our $last_fsize; sub changed { my $window = shift; my $fontsize = get_fontsize($window); if ($last_fsize != $fontsize) { print "changed!\n"; # update it $last_fsize = $fontsize; } } sub get_fontsize { my $window = shift; my $context = $window->get_pango_context(); my $fontDesc = $context->get_font_description(); my $fontsize = $fontDesc->get_size(); my $pango_scale = Gtk2::Pango->scale(); if ($fontsize > 200) { $fontsize = $fontsize/$pango_scale ; } return $fontsize; } my $window = Gtk2::Window->new('toplevel'); $window->signal_connect(destroy => sub { Gtk2->main_quit; }); $window->signal_connect('style-set' => \&changed, $window); $last_fsize = get_fontsize($window); $window->show(); Gtk2->main; I found the hint about 'style-set' in a chrome bug report where're problems with wrong font size in menus against the set font size in Gtk2. If anybody interested to read: https://code.google.com/p/chromium/issues/detail?id=375824 The interesting part is the function void Gtk2UI::Initialize() in a git commit: https://chromium.googlesource.com/chromium/src.git/+/9816ff759cec9ef4b8774b649c695cd9d51ade80/chrome/browser/ui/libgtk2ui/gtk2_ui.cc Thanks again for your help :-) Best, Thomas -- -- "Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe." -- Albert Einstein From t.funk@web.de Mon Sep 29 10:37:09 2014 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 1E171769E8 for ; Mon, 29 Sep 2014 10:37:09 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -0.762 X-Spam-Level: X-Spam-Status: No, score=-0.762 tagged_above=-999 required=2 tests=[BAYES_20=-0.001, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.761, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ArDI4FVlTclW for ; Mon, 29 Sep 2014 10:37:08 +0000 (UTC) Received: from mout.web.de (mout.web.de [212.227.17.11]) by restaurant.gnome.org (Postfix) with ESMTP id D8B72764BC for ; Mon, 29 Sep 2014 10:36:56 +0000 (UTC) Received: from [62.159.102.26] by 3capp-webde-bs11.dlan.cinetic.de (via HTTP); Mon, 29 Sep 2014 12:36:54 +0200 MIME-Version: 1.0 Message-ID: From: "Thomas Funk" To: "gtk-perl Mailinglist" Subject: Differences between Gtk2::SimpleList and Gtk2::Ex::Simple::List Content-Type: text/plain; charset=UTF-8 Date: Mon, 29 Sep 2014 12:36:54 +0200 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K0:BEahRNyWIzji7D5sfZOgsokwRtWtBtsEiHupZc7StLU p3bWlYF7zroxDayWauxcR6Kb80dFKOPzVlGkA3oHZNr/PxqnoL ARYrCldJ9am1FVZWuJMu1qiyj5lveD0RExqFFACa5A25BsKiGA azla3Du6uM1TLyfVMRyRwDKKvo7BJR+fO5DFwo7hHgfd8Wt5K8 TxSjOj8UVgdpAKPdtezdPJr6u9T+AEhNnb/AoE9YNMYRoUPftw rp0ZZD8WxzaVvI5pguTZgbUGwRtgxjyVusXe9BZpsQUJDnHSCj Kbt/nrSgfmchDcKut5eokR9UGYG X-UI-Out-Filterresults: notjunk:1; X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2014 10:37:09 -0000 Hi there, I am wondering what're the differences between those two modules apart from the fact that Gtk2::SimpleList is deprecated in favor of Gtk2::Ex::Simple::List? I've googled around but found nothing told me the reasons... Would be great if someone can explain it (or give me a link). Another question I have is, is it possible to use Gtk2::SimpleList to create a treeview? This is only interesting if it's not a problem to use Gtk2::SimpleList in new code ;-) Thanks in advance, Thomas -- "Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe." -- Albert Einstein From brian@xaoc.org Tue Sep 30 05:58:31 2014 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 8A223769CC for ; Tue, 30 Sep 2014 05:58:31 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.928 X-Spam-Level: X-Spam-Status: No, score=-1.928 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_SORBS_WEB=0.77, URIBL_DBL_ABUSE_REDIR=0.001, URIBL_DBL_REDIR=0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id t8ZFPkk1I2vk for ; Tue, 30 Sep 2014 05:58:28 +0000 (UTC) Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com [209.85.212.175]) by restaurant.gnome.org (Postfix) with ESMTP id A786E765C8 for ; Tue, 30 Sep 2014 05:58:13 +0000 (UTC) Received: by mail-wi0-f175.google.com with SMTP id d1so2558289wiv.2 for ; Mon, 29 Sep 2014 22:58:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xaoc.org; s=google; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=FWJwv0iyeEWrrxTqOhkUmbClV8ZeapzSiuM2gF4xK1s=; b=EebcRjdxMoDYnRj2+n/wTEqDkKn2EoffvZRWUCRfM8JyPkPAD7iCFRfcoE2CUxORce 6QxOtz7F4YhGmnc1cID4q9NpoMDtkl+An+mA2shW9HoIFq1eqBTj2ZOtVHnvM6/j6JSS Uz5tYoFgWGLkjA0sxyN08rdb++eOTY8k3Fl60= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:date:message-id:subject:from :to:content-type; bh=FWJwv0iyeEWrrxTqOhkUmbClV8ZeapzSiuM2gF4xK1s=; b=Ol4IftXO6CcGAk7nsqe5RY8R2w9zkyNdKyInWogvBdZZzjypPtD4TZ50+AtEl9P9Gd KQlFHaSWkdl7BE6cSVcOFSfXYqqHcoOtc68RENpFV3MkXlQjXSubYvw2+6JT7R8Qs6WV OaTZFj8j6Tt/GpqWG2uEG5jD4Csje1D3AIQpNDdFNI/HplqPe1LqBRsrA2yHhtJx3WYJ bSbgU3W/v7jrIONitwLgKhP6QqXDQs+8g6vnQmo6Is2nmYK2sD0BCPkznor9RaY7OQjX zzsgzK86jHIDxni/xSmR0ZTjxsqftxLKonKqsgH+Tl0/lCMthyFdI6oqU8/yR6pA5SOk LzRg== X-Gm-Message-State: ALoCoQm+GoSVhZDXQcE5qz6NQLU1eomKq2j/353kEA0VSLcRUyBP/pXjVj1SZ7Vgsi/sapNaC6ta MIME-Version: 1.0 X-Received: by 10.180.36.244 with SMTP id t20mr2872994wij.73.1412056691390; Mon, 29 Sep 2014 22:58:11 -0700 (PDT) Sender: brian@xaoc.org Received: by 10.194.92.73 with HTTP; Mon, 29 Sep 2014 22:58:11 -0700 (PDT) X-Originating-IP: [213.87.135.3] Date: Tue, 30 Sep 2014 09:58:11 +0400 X-Google-Sender-Auth: x_bIOMIQ1nkH5og2wHFXkbrVKbE Message-ID: Subject: Glib::Object::Introspection 0.025 available From: Brian Manning To: GTK-Perl List Content-Type: text/plain; charset=UTF-8 X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2014 05:58:31 -0000 Overview of changes in Glib::Object::Introspection 0.025 [2014-09-30] ======================================================== * Fix many argument conversion bugs on 64bit big-endian architectures. * Added 'x_IRC' metadata tag so MetaCPAN displays a link to the IRC channel View the source in the Gtk2-Perl git repo at: http://git.gnome.org/browse/perl-Glib-Object-Introspection/tag/?id=rel-0-02-5 (http://bit.ly/10hSTHR) Or download the source release at: http://downloads.sourceforge.net/gtk2-perl/Glib-Object-Introspection-0.025.tar.gz (http://bit.ly/1rGZgit) Glib::Object::Introspection uses the gobject-introspection and libffi projects to dynamically create Perl bindings for a wide variety of libraries. Examples include gtk+, webkit, libsoup and many more. From scott@asofyet.org Tue Sep 30 12:22:55 2014 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id CF8A276A52 for ; Tue, 30 Sep 2014 12:22:55 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2 X-Spam-Level: X-Spam-Status: No, score=-2 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qQYtcp9M13x4 for ; Tue, 30 Sep 2014 12:22:53 +0000 (UTC) Received: from hapkido.dreamhost.com (hapkido.dreamhost.com [66.33.216.122]) by restaurant.gnome.org (Postfix) with ESMTP id B5CC6765C8 for ; Tue, 30 Sep 2014 12:22:42 +0000 (UTC) Received: from homiemail-a58.g.dreamhost.com (sub5.mail.dreamhost.com [208.113.200.129]) by hapkido.dreamhost.com (Postfix) with ESMTP id B68E08D54A for ; Tue, 30 Sep 2014 05:22:41 -0700 (PDT) Received: from homiemail-a58.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a58.g.dreamhost.com (Postfix) with ESMTP id A118F7D806A; Tue, 30 Sep 2014 05:22:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=asofyet.org; h=subject :mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s= asofyet.org; bh=HKonWwAy2HI5idQjnyEH90ITmTA=; b=R4Yt/bHdjtpwfYwj yQwBHDkY7116UU0SfSOu17BQKxiCVj2ikxc9zWZWXLsu/S6jPWjT0OlLsvCZHOZI /yY1Thrplu+GOWqB973uZ8qou54mbIVEDLzFESFrF/Wy+5fAsRYpAAYfiQCZ6/CO hKZ/30A4gNlKCxCtEXklRSVkIeM= Received: from [192.168.1.124] (h53.25.55.139.dynamic.ip.windstream.net [139.55.25.53]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: scott@asofyet.org) by homiemail-a58.g.dreamhost.com (Postfix) with ESMTPSA id DFC2C7D8060; Tue, 30 Sep 2014 05:22:22 -0700 (PDT) Subject: Re: Differences between Gtk2::SimpleList and Gtk2::Ex::Simple::List Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: text/plain; charset=us-ascii From: muppet X-Priority: 3 In-Reply-To: Date: Tue, 30 Sep 2014 08:22:16 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Thomas Funk X-Mailer: Apple Mail (2.1878.6) Cc: gtk-perl Mailinglist X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2014 12:22:55 -0000 On Sep 29, 2014, at 6:36 AM, Thomas Funk wrote: > Hi there, >=20 > I am wondering what're the differences between those two modules apart > from the fact that Gtk2::SimpleList is deprecated in favor of > Gtk2::Ex::Simple::List? >=20 > I've googled around but found nothing told me the reasons...=20 > Would be great if someone can explain it (or give me a link). As i recall, we realized that placing arbitrary perl modules directly = into the Gtk2 namespace was a bad idea in the long run, opening us up to = the possibility of name clashes and other problems as the upstream code = grew. Moving from the original to the new name allowed fixing a couple = of warts, and the new code continued to evolve. > Another question I have is, is it possible to use Gtk2::SimpleList to > create a treeview? This is only interesting if it's not a problem to > use Gtk2::SimpleList in new code ;-) >=20 > Thanks in advance, > Thomas -- I've been using emacs for 20+ years and have barely touched lisp. I = wouldn't know lambda calculus if it took all its clothes off and waved a = placard that reads "I am lambda calculus" in blinking 48-point Comic = Sans. -- Dave Hodgkinson, on london.pm From kaffeetisch@gmx.de Tue Sep 30 18:50:54 2014 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id E946F769F1 for ; Tue, 30 Sep 2014 18:50:53 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9VaDpOVmVoxI for ; Tue, 30 Sep 2014 18:50:52 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by restaurant.gnome.org (Postfix) with ESMTP id 7A994769B2 for ; Tue, 30 Sep 2014 18:50:42 +0000 (UTC) Received: from home.hcsiteeffak.de ([87.178.213.41]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0MRCCJ-1XgLzr19t1-00UXlx for ; Tue, 30 Sep 2014 20:50:40 +0200 Message-ID: <542AFB7F.5070708@gmx.de> Date: Tue, 30 Sep 2014 20:50:39 +0200 From: Torsten Schoenfeld User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 MIME-Version: 1.0 To: gtk-perl-list@gnome.org Subject: Gtk3 0.018 available Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:eMj3kWmO4GblOCl9o+qkN3v5inFj+Z79hQPvwbLqx0QGMxbxdSE M759X7P09JlFFc2r13CaeOJpkweJRG0p5+H2enQirG//Nq4FfYdNhS/LVfd15BefAD5q+ae EOYj+vrlQPb8zbUc0wPP6kfTpcVGnHKkcLuD8yfgt6m6W9PqbceHcd+fDjliiBQQaws6aR6 JER50xuuL6hg2l8/g1Aeg== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2014 18:50:54 -0000 Overview of changes in Gtk3 0.018 [2014-09-30] ============================================== * dist.ini: added x_IRC metadata tag * Attempt to reduce false negatives from CPAN testers * overrides.t: output current object being tested using note() Gtk3 is available as a tarball: http://downloads.sourceforge.net/gtk2-perl/Gtk3-0.018.tar.gz or from git: http://git.gnome.org/browse/perl-Gtk3/tag/?id=v0.018 Gtk3 provides Perl bindings to the 3.x series of the gtk+ toolkit. It allows you to write graphical user interfaces in a Perlish and object-oriented way, freeing you from the casting and memory management in C, yet remaining very close in spirit to the original API. From t.funk@web.de Tue Sep 30 19:10:51 2014 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 22946769B2 for ; Tue, 30 Sep 2014 19:10:51 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.604 X-Spam-Level: X-Spam-Status: No, score=-2.604 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.704, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id n4y4mzXT38wb for ; Tue, 30 Sep 2014 19:10:49 +0000 (UTC) Received: from mout.web.de (mout.web.de [212.227.17.11]) by restaurant.gnome.org (Postfix) with ESMTP id 65705769F1 for ; Tue, 30 Sep 2014 19:10:38 +0000 (UTC) Received: from [192.168.178.40] ([92.74.170.18]) by smtp.web.de (mrweb101) with ESMTPSA (Nemesis) id 0MLgZ5-1XYDs735Kl-000qfC for ; Tue, 30 Sep 2014 21:10:36 +0200 Message-ID: <542B002C.1010307@web.de> Date: Tue, 30 Sep 2014 21:10:36 +0200 From: Thomas Funk User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.0 MIME-Version: 1.0 To: gtk-perl Mailinglist Subject: Re: Differences between Gtk2::SimpleList and Gtk2::Ex::Simple::List References: In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:5V13QcEYvyYZGVLurQkOvLwg4bpkgesA+xrPoOwfCoLh9dJfZSG 9HchfXTv6sADwqOQyKiuk8/SQIZDTW+DrTFSBTNCtQJPToqQ2UBV0NIN2aR9zYIAYVRHEx1 mfxzteVJNqjgJz202wWUjs5dU3uDlWL1NUYq+M1owCUnlXOq6G0VvBan2YTuPhpfQoiezUB CgZuQS0P3jIPnu8iGZDnQ== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2014 19:10:51 -0000 muppet wrote: > > On Sep 29, 2014, at 6:36 AM, Thomas Funk wrote: > >> Hi there, >> >> I am wondering what're the differences between those two modules apart >> from the fact that Gtk2::SimpleList is deprecated in favor of >> Gtk2::Ex::Simple::List? >> >> I've googled around but found nothing told me the reasons... >> Would be great if someone can explain it (or give me a link). > > As i recall, we realized that placing arbitrary perl modules directly > into the Gtk2 namespace was a bad idea in the long run, opening us up to > the possibility of name clashes and other problems as the upstream code > grew. Moving from the original to the new name allowed fixing a couple > of warts, and the new code continued to evolve. Thank you very much muppet! This clarifies all :-) >From that point of view I will use Gtk2::Ex::Simple::List. Also Gtk2::Ex::Simple::Tree for the treeview. Unfortunately only Debian derivatives have Gtk2::Ex::Simple::List as a package however Gtk2::Ex::Simple::Tree has nobody (except cpan). So there's no getting around to ship both modules together with my package ... Best, Thomas -- -- "Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe." -- Albert Einstein From kaffeetisch@gmx.de Tue Sep 30 19:14:39 2014 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id D78D4769F1 for ; Tue, 30 Sep 2014 19:14:39 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1a_Th3QLMbT9 for ; Tue, 30 Sep 2014 19:14:38 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by restaurant.gnome.org (Postfix) with ESMTP id 21C34769B2 for ; Tue, 30 Sep 2014 19:14:27 +0000 (UTC) Received: from home.hcsiteeffak.de ([87.178.213.41]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0M3i8r-1YPlzM3Fhp-00rIFR for ; Tue, 30 Sep 2014 21:14:25 +0200 Message-ID: <542B0111.2090400@gmx.de> Date: Tue, 30 Sep 2014 21:14:25 +0200 From: Torsten Schoenfeld User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 MIME-Version: 1.0 To: gtk-perl-list@gnome.org Subject: Re: Differences between Gtk2::SimpleList and Gtk2::Ex::Simple::List References: In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:p9GlvyUk5OfIq0hRHzWdeFIQDA21MrWhrrBzKjbgA3ym1d+2Hok 3POKrOrM4fZV5zYty8Uyf+5s6ImM5ZKufjDm6ozW98I0QrLQhw8zd7Fd5quf6o6+EhPMjXN So+G85TUPt1oTGzF5v6BeQat66EhFG1pDl0WSJTDa0kbrHaoZ8T4vwvlNzuHQBqiP9V7WfY M+qQbFlTepxaWSRSZizyw== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2014 19:14:39 -0000 On 29.09.2014 12:36, Thomas Funk wrote: > Another question I have is, is it possible to use Gtk2::SimpleList to > create a treeview? Gtk2::Ex::Simple::List (and Gtk2::SimpleList) is a subclass of Gtk2::TreeView, so any instance can be treated just like a tree view.