From max.augsburg@gmx.de Thu Mar 17 08:41:00 2016 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 C8AED76490 for ; Thu, 17 Mar 2016 08:41:00 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: 1.822 X-Spam-Level: * X-Spam-Status: No, score=1.822 tagged_above=-999 required=2 tests=[BAYES_40=-0.001, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, MIME_HTML_ONLY=0.723, MISSING_SUBJECT=1.799, RCVD_IN_DNSWL_LOW=-0.7, 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 mxN736KJp4c0 for ; Thu, 17 Mar 2016 08:40:59 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by restaurant.gnome.org (Postfix) with ESMTP id 7EC9376A60 for ; Thu, 17 Mar 2016 08:40:59 +0000 (UTC) Received: from [93.135.12.247] by 3capp-gmx-bs08.server.lan (via HTTP); Thu, 17 Mar 2016 09:41:01 +0100 MIME-Version: 1.0 Message-ID: From: max.augsburg@gmx.de To: gtk-perl-list@gnome.org Content-Type: text/html; charset=UTF-8 Date: Thu, 17 Mar 2016 09:41:01 +0100 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K0:D4SbM2QseSQKGARHAiiFz55DXbVyzN/4LedOFlWwaod /rbtBUJRMFYRA1HG6vjjDPtK5i+u8lXfW8vArlQjsX/PfbfKHF 1IM+vyYSmWzHBCbAyYgKbkIRPJahFEnpZ91fSIDpFZ/2V+bwVy LVp3a04Q4/EbyRmxUFxCQfhxKs57iUtS+NwXQYXI20p6F4DPCX Mu43MuSHvXogMxHS0kQLiUQuuIMDTP+hbALU+CSOUW0zsyRK3B cVQTVmtcG00B/o3/wJUBmMnvIsoKHONSqERRulwyaobKfZjuB/ 4mJsXc= X-UI-Out-Filterresults: notjunk:1;V01:K0:i24W7yi4G/I=:Uqx/hprqQ6CmNWZmZ1I3UZ nqwlxdTdY4SITgR0x8PbtvRm5FrX9H4hxC9ixM5KYsZNhWz7lBjfqmjWLll/HtVmmqpi3C1I3 lesNCao3i5owWlPDXksFmXBATnrfJb4JzlYgE1bBuBurnYwG+HmrJHdhQYXW8hAwLtM3GUx6e VPwcujULrXCZ3QU0KGUrfUDpQs3Mvi7DQXwrjCUtqRoRe2G7Wwnyk4QFUGJnaCjbJsF7xZArs M7A0tuTXigeRKx66yzyv6QRU7kiBC7i6cG44ZnZyXDbdoGarJi75LOZDSr3E3VbqqrqhtIiTz fdoX8oH8o/56GhN1zTMSNmTGjN7mO2RgAcwkZ0vqHgXkM4aQWe3NE631QvNqyFQR2vL3F4V6r T6BLUXieAjIYsUAZMrF9C2c3CLfoGLma4x3i4naXkHOFZ4o8SqVm/6YknlzeDEaPa/6y8Gwz/ 7RyXUgUftuKJoO2DwZa5fna7wPQmyWe35JJEsXYw9Ku3ZWqku6BcpouJ4iXG+I99NRftvJ2f7 kSJYensqFgJXHdA6qd3a9BEYdaPU2d06f5yOuiWvzQGuLw9X7Tr5UnFa9MzZ/21ffNn1jp9I6 dLP4FrYX55dkeFlW6I/HvEAldAOL2X+jW5 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, 17 Mar 2016 08:41:00 -0000
Hi All,
I try to translate the code examples of the python gtk tutorial. But trying to translate the GMenu example, I cannot find the modue Gtk3::Gio::Menu() or the module Gtk3::Gio::SimpleAction. Perhaps someone could help me. Thanks a lot!
 
Ps.: I hope this eMail doesn't come twice... I sended it befor without subscribing
 
 
From ebassi@gmail.com Thu Mar 17 08:48:41 2016 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 0D8D476A51 for ; Thu, 17 Mar 2016 08:48:41 +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 t8s9LCZ35YzJ for ; Thu, 17 Mar 2016 08:48:39 +0000 (UTC) Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) by restaurant.gnome.org (Postfix) with ESMTP id 8E3B676490 for ; Thu, 17 Mar 2016 08:48:39 +0000 (UTC) Received: by mail-wm0-f49.google.com with SMTP id l68so216973524wml.0 for ; Thu, 17 Mar 2016 01:48:44 -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; bh=k5ttzP3qwtig811ZSawAIa5WfV/UkzCu2T5GlHbDikQ=; b=PgkBsYt4dbZg6OGqG9oj02mWewWV9Yu/V1qUlNrKWAmVonZwOyxXlI37raYtdJzxff z+JN8beASlQ8rplKAZneEXV7i73VAIzY290UkKls5TX7DuKY0Mk90c00alO+FT3sebbI GwXS4fj0esvo/JzVLLt+IpnMvXM7B/G+RvKAQnaobDt+J0MkU5ZFs+sZYdhK5QLiCMmQ AM3tVUeYF9FEBsxZRdLOIVosHM/m+WheIV3rXcH9iazASqpOxR6soDctJOPWuEnr/Aqk 5/RYZIKi1ln2Gg85po71zcX+5Twzhp4ApvxsSauB5An6HrANAc4TTQQa6U6/Nt1Vjm3C ncew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=k5ttzP3qwtig811ZSawAIa5WfV/UkzCu2T5GlHbDikQ=; b=mVkSftGN/FosezuuVr6ZrJ1GG7ppnQJiNLkKpJVE1Jti5oyQZKsLI+uInu+TP+gZwY GZbD++Ai6rjdy0x/6GpfM4W/LwI9UbLhh6K6EPTbCLZjcWIcpGURg40erYn+VbpEzo/P C0+pe77K5hYNRhEHHzNZdBbS4OlpfaqUivTz/0tUydZn7jzvYw2xOXrFSnbmKe5N0s2c pawdT3NTEGefBHKcWLblkTNe8bJz3rOf3FSizkgZ8fui0dlKHC40P4yNfN7FOk328IwJ Mm34Rr0rvScRxgMlswxp7AsaS1dBdcmJiuhzcWuT+Mi+lYATsqVM/HTT1Pj7Z0mpDrwy tPAg== X-Gm-Message-State: AD7BkJLRwVC+RW0s1SQvbmZNs5ZZXNOckKIN/yQdFYfsO0u54swSpBqoC9PTKq6bYqC5PP2EwpPcCF4Xw9Bxrw== MIME-Version: 1.0 X-Received: by 10.194.84.66 with SMTP id w2mr8537575wjy.6.1458204523058; Thu, 17 Mar 2016 01:48:43 -0700 (PDT) Received: by 10.28.230.139 with HTTP; Thu, 17 Mar 2016 01:48:43 -0700 (PDT) In-Reply-To: References: Date: Thu, 17 Mar 2016 08:48:43 +0000 Message-ID: Subject: Re: From: Emmanuele Bassi To: max.augsburg@gmx.de 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: Thu, 17 Mar 2016 08:48:41 -0000 Hi; On 17 March 2016 at 08:41, wrote: > Hi All, > I try to translate the code examples of the python gtk tutorial. But trying > to translate the GMenu example, I cannot find the modue Gtk3::Gio::Menu() or > the module Gtk3::Gio::SimpleAction. Perhaps someone could help me. Thanks a > lot! GMenu is part of GIO, which is part of GLib, not GTK. You will need to build this module: https://git.gnome.org/browse/perl-Glib-IO The Glib::IO module may need some overrides in places, though. Ciao, Emmanuele. -- https://www.bassi.io [@] ebassi [@gmail.com] From max.augsburg@gmx.de Thu Mar 17 09:02:38 2016 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 D8DDA76A6C for ; Thu, 17 Mar 2016 09:02:38 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.876 X-Spam-Level: X-Spam-Status: No, score=-1.876 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, MIME_HTML_ONLY=0.723, RCVD_IN_DNSWL_LOW=-0.7, 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 PwtjPgIHV1Gn for ; Thu, 17 Mar 2016 09:02:38 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) by restaurant.gnome.org (Postfix) with ESMTP id E83C976490 for ; Thu, 17 Mar 2016 09:02:37 +0000 (UTC) Received: from [93.135.12.247] by 3capp-gmx-bs11.server.lan (via HTTP); Thu, 17 Mar 2016 10:02:36 +0100 MIME-Version: 1.0 Message-ID: From: max.augsburg@gmx.de To: "Emmanuele Bassi" Subject: Aw: Re: Content-Type: text/html; charset=UTF-8 Date: Thu, 17 Mar 2016 10:02:36 +0100 Importance: normal Sensitivity: Normal In-Reply-To: References: , X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K0:ZnekYhyPLC6PdqIT56lz2s5xgwoitrGRBDimyXdWnzj xaNYb16OAmUHLVoRwdPHHRadAsMwpaqFiKVTBIK0bIja/fvUVy TMr5Sh1ZLSA5n0Gk6ud6ez0MPy3TlS+/YtqsIl7mIrlRu25X/F cnjAsRiUpGRxsAWwLGL4RXPXJF4Q5/KX0I5FQoPG4lkyfs+D1e 8nzla8cvnQ4e1AXw3HtmvNvXbLDa2WI26TqZpFKx/3ukuSYobT MyEyRLJM5XoTmlJWdlKUPXT3Zbq6Eemo+cuaarbmZgF8hnrIPy b1Tdmc= X-UI-Out-Filterresults: notjunk:1;V01:K0:9IY8SR1r76E=:YG3frI9xUiFgilcDuUdIPc NlvoArkRgsRIGxdG2EWUL/32xol9eKAvHlBh9u8piZVfaIE2zTSJ7Y+wslHaEneyE07nxchmx uJrwdqPR7B4yb+Mxbc8l+T+eYPulZqcYYU6FRv57HaK3PtYqP7xrZ7qCS001klCjEXomDjtgO zKOMul+x368pokMlCmM7snHPhJbFV7FuXS7BpDWNZNtqdXfaoB9+rtsdOJcD8ePuCyb1HjiNb 9rKokF00h41xW/CfHfs5HC+F6X+wKCDt30JiCgvRexeVAy6zUI9beicMGz0/xYufbNWmf7g6q YP/vUNUwQ8YWHsl3LEZ9tZQGCMFsgQsWZ11nIpoOv4zqI690XEsHDyQC+4XAi5TiQySIx7Que zKBjwmneRSLqA5exV61sBBeFcUgUpn5E5IFG5ggJjrj2K8BfqQ0rSBzbC6bl+glr+wTV0wJW1 TzWeH+pHwxpfAZkmMvBpPGPDNdrWD/9m3Id9R0eu2ppufFlZswuLPgkcdqHpaNS/X29DPcoxu ZkUgYCADSOPVxv+s/lXM4Rq9IsHSJMROzprpaBJgPvJlLXRzctuDwrIud2bPBWcyJuEhhHgY+ oBff9hcJXDSbt9aKuGTWfElLG/TPSxHLzTF7Dfq+CAlIQN+8Iw+FKmLimF84kWEe3J1BnW69F 6jag= 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: Thu, 17 Mar 2016 09:02:38 -0000
Dear Emmanuele,
Thanks a lot for your fast answer. I will try it.
Max
 
Gesendet: Donnerstag, 17. März 2016 um 09:48 Uhr
Von: "Emmanuele Bassi" <ebassi@gmail.com>
An: max.augsburg@gmx.de
Cc: "gtk-perl mailing list" <gtk-perl-list@gnome.org>
Betreff: Re:
Hi;

On 17 March 2016 at 08:41, <max.augsburg@gmx.de> wrote:
> Hi All,
> I try to translate the code examples of the python gtk tutorial. But trying
> to translate the GMenu example, I cannot find the modue Gtk3::Gio::Menu() or
> the module Gtk3::Gio::SimpleAction. Perhaps someone could help me. Thanks a
> lot!

GMenu is part of GIO, which is part of GLib, not GTK.

You will need to build this module: https://git.gnome.org/browse/perl-Glib-IO

The Glib::IO module may need some overrides in places, though.

Ciao,
Emmanuele.

--
https://www.bassi.io
[@] ebassi [@gmail.com]
From kaffeetisch@gmx.de Thu Mar 17 09:54:02 2016 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 4B45D76A6C for ; Thu, 17 Mar 2016 09:54:02 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.6 X-Spam-Level: X-Spam-Status: No, score=-2.6 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, 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 Ta3GhSezqJ3Z for ; Thu, 17 Mar 2016 09:54:01 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) by restaurant.gnome.org (Postfix) with ESMTP id B125F76936 for ; Thu, 17 Mar 2016 09:54:00 +0000 (UTC) Received: from [192.53.103.119] by 3capp-gmx-bs60.server.lan (via HTTP); Thu, 17 Mar 2016 10:54:03 +0100 MIME-Version: 1.0 Message-ID: From: =?UTF-8?Q?=22Torsten_Sch=C3=B6nfeld=22?= To: gtk-perl-list@gnome.org Subject: Re: GIO in Perl Content-Type: text/plain; charset=UTF-8 Date: Thu, 17 Mar 2016 10:54:03 +0100 Importance: normal Sensitivity: Normal In-Reply-To: References: , , X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K0:OyjLIOEThIkymYxCIQ8ItQz8uleuWSe17he7rGR/v3p ocMlhPMx0q8mgRGDLYr3o5CZdDU/7vIwzhBet2Wf2vRVdsTXbW PKj/sNtoeXny0J3dkI48m58DEe/EcX+/eWpb2Vlf59nRPkqFSC TFL4T2ZxZ4q+ag4rkRY0SifJ/12IZYRLv03qj1p7oeEydK6yYu 2hNeFqMtURZrcywpv6Tvf/ZRuGGK8GPBkczw3M2OuGaUW75AFX 22retxXDOtynE5GjI4PAsLfA9GOdymCQczOF18qzXVSx2Inr1y qb6rVw= X-UI-Out-Filterresults: notjunk:1;V01:K0:m+vVWMbSN7g=:nJNoPWWCv+heCFOvD1O60H zpo0ltofTUf0Hs19VqpO1xsB/7sV7KO+2LLwQSgLo5nJQbssk1aYmiC1FejHXt33WrWt2nz9t hHsp3/JNzmCYHxRQQWgX8FbxbQxp12nxkwnsMzEAqKW9VlZ5gjbgI79MpZf21fQjN2URffyXL jSYsGHk1Tm5ZnJkb0OdG4kAjgK/v2DGzhqDppqYte1YCah9DyWd3r6aR5S/eDwEHP61OdGoVg fDCbIpjc8MSloSgN9Nr3mAnakYPDdwIVOVs4gMvUbV1BrMAP6PYTuT0CwhCxEiEa1PXZu7387 sZSBfwxqSkhiA+Dc0a1YJjWtPk6hrLb997knN0nJXzSAzSmje2VwfDptirQ9O2Q3t3wRZ15jq GJPBxzJv7EH7BbgOfxKOBQxz592PbO1cbbebCAKvoUv3G8DIlWlxYj9Ie7uLugBgCTQH0S806 K97S6S48/Q== 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, 17 Mar 2016 09:54:02 -0000 You can also use the tool perli11ndoc, which comes with Glib::Object::Introspection, to view API docs in the Perl conventions for all *.gir files available on your installation. From max.augsburg@gmx.de Thu Mar 17 11:18:00 2016 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 6A86976936 for ; Thu, 17 Mar 2016 11:18:00 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.876 X-Spam-Level: X-Spam-Status: No, score=-1.876 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, MIME_HTML_ONLY=0.723, RCVD_IN_DNSWL_LOW=-0.7, 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 UH7EO7ZcnIq5 for ; Thu, 17 Mar 2016 11:17:59 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by restaurant.gnome.org (Postfix) with ESMTP id D6DF576262 for ; Thu, 17 Mar 2016 11:17:58 +0000 (UTC) Received: from [93.133.19.83] by 3capp-gmx-bs31.server.lan (via HTTP); Thu, 17 Mar 2016 12:18:01 +0100 MIME-Version: 1.0 Message-ID: From: max.augsburg@gmx.de To: "gtk-perl mailing list" Subject: Fw: Aw: Re: GIO in Perl Content-Type: text/html; charset=UTF-8 Date: Thu, 17 Mar 2016 12:18:01 +0100 Importance: normal Sensitivity: Normal References: , , , , X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K0:DPYG7tpMC8diNETAnDDWhlczQ3DEnQDGxY2JUW0aLwg uuOhZyGJQO+/k94lfDs7e+JzEVru6YjuS0zi9dB4U+/DqIUTj9 WD10XQql/+brvS3qtiIT8cIkbFHdho2AVortZmzyQ2Wwr+aFkz oUYotqTxgBtyncp7vtKLt4lSLua5NDK4QX70a1aqw+YKOjZFUt yujrzUZoFmm2wyLuK9nMqX9Yc3mMm7fmzjSawbmodkP58EU8dh sD35al2P6inhwf6zhl9/YBVJynGAoEKPaq+MOpu48g1cGMLVuj u5oaaY= X-UI-Out-Filterresults: notjunk:1;V01:K0:wNsMZybFfAU=:QlWhgC2zWWdKEBGkocrX7b 7rjPAYs3RTv91ivnOx4BLFUbwdaLjSXlA35MPly/3X8DQYhpvT0uD80BfLddBYa0Wtt3I4wuA bj4Rd8BVRabRa42epfPHl5Mrr2rlrDdYdk47WZzE9xAKIO0y6WWozbz5JO3IztXEupLW9CFid wguXx1fDUxVO/UbqVAtSHu5U9/pzyONrxJGzwE9DxiWwZAeZNlhsOPLYGDTDQpodASCv76twn Jvgzz91XcEXmRzR1oxd/a3NirCGkBDRXIqTc1+1zJWFlRM/8SJ0OMUiKttWtuOOlj4GLdjpw+ RaPZHOqW1FHq4SfnxWnJJDcnsAkh+hWa2N5S0YwYKhxAREga7cX1V0FLSZ3mh8V8yZN/u2ruo vaE48Y91hgfoRC0cZTG9pFcIG1NULhNkH4gW6UcJiMkiRIUvRjzDHf6FXJjG5TxbTCSg/TMbl KB/aYKUDDw== 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, 17 Mar 2016 11:18:00 -0000
 
sorry for sending multiply. First wrong sender eMail, then sent only to Thorsten ;-)
Gesendet: Donnerstag, 17. März 2016 um 12:07 Uhr
Von: max.augsburg@gmx.de
An: "Torsten Schönfeld" <kaffeetisch@gmx.de>
Betreff: Aw: Re: GIO in Perl
Dear Thorsten,
dear Emmanuelle,

Thank you very much for your help. Unfortunatelly I couldn't translate
the menu example with Glib::IO. I got it with "old-style" Gtk3::Menu,
Gtk3::Menubar and  Gtk3::MenuItem. And i saw that some perl programmers
works with Gtk3::UIManager in a similiar way as with Gio. But on GNOME
dev page is said that this way is deprecated.

I really searched hard for examples of GMenu in perl. Perhaps the import
of Glib::IO is not so far or my knowledge isn't enough? Perhaps, you
could take a quick look at my code although I don't want to waste your
worthwile time? Perhaps you have an idea, how to implement a GMenu with
Perl using Glib::IO?

Thank you very much for all your support and work,
Max

CODE BEGIN
#!/usr/bin/perl

use strict;
use Gtk3 -init;
use Glib ("TRUE","FALSE");
use Glib::IO;

# construct a window
my $app = Gtk3::Application->new("a.app","flags-none");
my $window = Gtk3::Window->new("toplevel","app");
$window->set_title ("Gtk3 Menu Example");
$window->set_default_size (200, 200);
$window->signal_connect("delete_event" => sub {Gtk3->main_quit()});

# create a menu
my $menu = Glib::IO::Menu->new();
$menu->append("New", "app.new");

# set the menu as menu of the application
$app->set_app_menu($menu);

# create an action for the option "new" of the menu
my $new_action = Glib::IO::SimpleAction->new("new", "None");
# connect it to the callback function new_cb
$new_action->signal_connect("activate" => \&new_cb);
# add action to the application
$app->add_action($new_action);

# callback function for "new"
sub new_cb {
        print "This does nothing. It is only a demonstration.\n";
        }

# show the window and run the Application
$window -> show_all();
$app->run;

CODE END
 
Gesendet: Donnerstag, 17. März 2016 um 10:54 Uhr
Von: "Torsten Schönfeld" <kaffeetisch@gmx.de>
An: gtk-perl-list@gnome.org
Betreff: Re: GIO in Perl
You can also use the tool perli11ndoc, which comes with Glib::Object::Introspection, to view API docs in the Perl conventions for all *.gir files available on your installation.
_______________________________________________
gtk-perl-list mailing list
gtk-perl-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-perl-list
 
 
From cjcollier@linuxfoundation.org Wed Mar 23 06:00:41 2016 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 43DA376990 for ; Wed, 23 Mar 2016 06:00:41 +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, HTML_MESSAGE=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 mFZrMU5mN8zv for ; Wed, 23 Mar 2016 06:00:40 +0000 (UTC) Received: from mail-qg0-f41.google.com (mail-qg0-f41.google.com [209.85.192.41]) by restaurant.gnome.org (Postfix) with ESMTP id F0D247697F for ; Wed, 23 Mar 2016 06:00:39 +0000 (UTC) Received: by mail-qg0-f41.google.com with SMTP id w104so4325185qge.1 for ; Tue, 22 Mar 2016 23:00:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=mime-version:date:message-id:subject:from:to; bh=tJFCBbZwrlqpz33PmJu0jf8zhkt1hpxBxPBI3vuJF/g=; b=W+4Y+nBNZTX7Gb15zfuTqk+P8H3Im/xqZhrdNocqE4okgdN7vh9hLJ2uKg0NPnMZwL F5RS0f9ozoAHL+UxwJF789MVA0NHsA6p+ZYeX1/w3Ow10sdubk7iy4IP3o2abN9/s72k ZgJXTzZag4G4f57e7MjfVxHmmoJaVCv3Dz2XE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=tJFCBbZwrlqpz33PmJu0jf8zhkt1hpxBxPBI3vuJF/g=; b=VKk88c/+bp5QWQqd/kVEF/CS3nv89p6Q6kqkmzjebmozbu7yOZ3VE0LJZ8RRwH9xni CG4Pf/l+OY9nFHXjybNDa0WuDVEbLOJxiNvzKVzO5fWquLH7c1h9YIabw2iBtNrGQyRH poyKKutPu7vGhs7lJ40dTH6SCvH9MEtznlTqqxUXP04kxTY7bIG0uXmNWbmAMDVVtq+J iTviLMs6SnN87qhWUeMIxXd4VNt5rOyyX/1KPTdjFJ2b58nRErejyV6iglilOkIQU5aT DShvWD5KcpycSWUVKJxccdKJ4Qof0veINWjhFjjc3fvabE1ZPshN+8EHk5SyZ3hvQMJ6 YXEg== X-Gm-Message-State: AD7BkJJKOgc7pWJZz1+/6CewnGF8sPjFwTydEzAFZ72JeBoajs9my9FY8WQiGMCSbu+VCtHXS+0lw+DyL3Tsvuph MIME-Version: 1.0 X-Received: by 10.140.29.7 with SMTP id a7mr1058544qga.98.1458712843829; Tue, 22 Mar 2016 23:00:43 -0700 (PDT) Received: by 10.140.94.19 with HTTP; Tue, 22 Mar 2016 23:00:43 -0700 (PDT) Date: Tue, 22 Mar 2016 23:00:43 -0700 Message-ID: Subject: Prompting user for password with perl From: "C.J. Collier" To: gtk-perl-list@gnome.org Content-Type: multipart/alternative; boundary=001a113b3ef8e2e19a052eb10c7f 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, 23 Mar 2016 06:00:41 -0000 --001a113b3ef8e2e19a052eb10c7f Content-Type: text/plain; charset=UTF-8 Hey folks, I'm trying to write a script to prompt OpenVPN users for credentials with the GNOME password prompt. The same one that pops up when one tries to ssh to a host when one's ssh agent credential cache is cold, or when one opens virt-manager as a non-root user. Can has help? One of the complicating factors is that Gcr-3.typelib has a version of 3.broken or some such, which makes it impossible to import. I think this bug has something to do with it: https://bugzilla.gnome.org/show_bug.cgi?id=725501 Do any of you use Gcr? Do you have examples I could mooch off of you? Sincerely, C.J. --001a113b3ef8e2e19a052eb10c7f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hey folks,

I'm trying to write a sc= ript to prompt OpenVPN users for credentials with the GNOME password prompt= .=C2=A0 The same one that pops up when one tries to ssh to a host when one&= #39;s ssh agent credential cache is cold, or when one opens virt-manager as= a non-root user.

Can has help?

One of the complicating factors is that Gcr-3.typelib has a version = of 3.broken or some such, which makes it impossible to import.=C2=A0 I thin= k this bug has something to do with it:


Do any of y= ou use Gcr?=C2=A0 Do you have examples I could mooch off of you?
=
Sincerely,

C.J.

--001a113b3ef8e2e19a052eb10c7f-- From brian@xaoc.org Wed Mar 23 17:49:55 2016 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 F378D7656E for ; Wed, 23 Mar 2016 17:49:54 +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 N1u8O02AXBT7 for ; Wed, 23 Mar 2016 17:49:52 +0000 (UTC) Received: from mail-yw0-f181.google.com (mail-yw0-f181.google.com [209.85.161.181]) by restaurant.gnome.org (Postfix) with ESMTP id 9303A760B8 for ; Wed, 23 Mar 2016 17:49:52 +0000 (UTC) Received: by mail-yw0-f181.google.com with SMTP id h129so29319025ywb.1 for ; Wed, 23 Mar 2016 10:49:57 -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; bh=s0qMu8R+RNMNmdolmSA8DB6OYtEEkg12gkrzgQVLRjw=; b=Thkgd42YyH60WK8rCimCz+smgsCuWOeDz04bapaYs3620xdvHpP7kqBtnfajqU7e5o JKkPE3w88Viy+e6SKdbDzjMzEwhyEBaJXU8UJOdM7syyfQ005ancbQz3gsxpmuDV+w0p oKVP7H0qEbWRdSv+rDxaWBw2uHxYh8/XLupoY= 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; bh=s0qMu8R+RNMNmdolmSA8DB6OYtEEkg12gkrzgQVLRjw=; b=TFLN2A4mXNH7ljfMczfteYy222MHOLKCb6tY4Dn6q7xjCdcm/LAqqj8imyUXbYdQtU OXOyWmJ9P9JiPLwM4Ev9c5JgNzCpRfzXub9lHgwxc1V/mr7PPZXaepXNPP7hd7tN+n2g hwVtoQMY77W3cNJIm1Vf/3VZop2R7K/0VZ/eC4O9MGFS8P2W7C52AiGy14ZsM6qoq5gj igXKTEMhwm0eCEDoFUgAHq2WfXayxwtSyH8s/Gh1Vl4KnYY4xGE/0Yb1dSyEIS2nStrK eruXGjyOCcTcXMC5wuAyeZjtmolliG2thlklzYZ59BYeAT/Uz9Enyxvz/+IdBXBMBgnF qyug== X-Gm-Message-State: AD7BkJJqovqek6oFF0OmcWfOdmicYXhY8xnGPAAhZVh6sPcBWNbuqfRZ41MDvGMM5pQsczK4lQb99fucVurOmg== MIME-Version: 1.0 X-Received: by 10.129.86.8 with SMTP id k8mr1989198ywb.286.1458755396565; Wed, 23 Mar 2016 10:49:56 -0700 (PDT) Sender: brian@xaoc.org Received: by 10.37.208.216 with HTTP; Wed, 23 Mar 2016 10:49:56 -0700 (PDT) X-Originating-IP: [65.49.60.56] Date: Wed, 23 Mar 2016 10:49:56 -0700 X-Google-Sender-Auth: bFxEft5yc_2IBcNnBXFS3Vivu8Q Message-ID: Subject: No Gtk-Perl releases for March 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: Wed, 23 Mar 2016 17:49:55 -0000 Hi all, There's no new code in the Gtk-Perl repos, so there won't be any releases for March. I'll send out the release announcement for April shortly. Thanks, Brian From brian@xaoc.org Tue Mar 29 17:55:28 2016 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 98E4E760B8 for ; Tue, 29 Mar 2016 17:55:28 +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 GpL3Dpojs5yf for ; Tue, 29 Mar 2016 17:55:25 +0000 (UTC) Received: from mail-yw0-f171.google.com (mail-yw0-f171.google.com [209.85.161.171]) by restaurant.gnome.org (Postfix) with ESMTP id 60D2D76226 for ; Tue, 29 Mar 2016 17:55:25 +0000 (UTC) Received: by mail-yw0-f171.google.com with SMTP id h65so28715656ywe.0 for ; Tue, 29 Mar 2016 10:55:30 -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; bh=LtxQ08tZfFiHnlIdVDejXI/EAL3fGWOUSF7MmP2LHdE=; b=W4Xc9GPkYcKb9Ar8nuezxTxRvdcknGYVnvxLyi6St+Flf39I/3Q3mkjKrNUJZEPUUq jhmoa7akp5Dpr7TsjHIWiWXvPdvwBXiGbYPdnRuWGVtpoydNwQWmGChjvXa24qjZjNpS HjsJaFAxJnCpH01WZ3Ri/HjF+OMMElIWKvpqo= 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; bh=LtxQ08tZfFiHnlIdVDejXI/EAL3fGWOUSF7MmP2LHdE=; b=R03pqlPgIwL9boWx7pa4mDm3Fwr86/CdsDmwYjT5sMOcJJdBS8+Mi0uJFjKjsT3jku dFaJMS444oPMmcVqLRitf+YXEOgvFgR/mSblZlVuuBUTUqfiwNSaArpBfMsb+z9W214k Ra8cv4VyZly33jU2+Z8XhO8IgQc3+e8jbmxoAJCrjW4GhWcZlEf68iiF9feZr5lSNMPM hcfGK3iMTVVAzwlBw7lUYA415hNVM5bRW3+tnW8O/bgxXXSrL9qYBKvxxIdC7bbp10kg PSq0JyinqlqWxAvaMjEL5zd5QGgMIPHW6iu6xr7JxTeHk/62CNgfCEgK1oMjV2NjP5+i 4/tw== X-Gm-Message-State: AD7BkJKdOUcOmc0FOwX6v5h1wNdaH600BVgilA2HkJCWp7qG05i9GccWO8Eng4U5lOADeVwGv2OW8PixOAAa0w== MIME-Version: 1.0 X-Received: by 10.13.215.200 with SMTP id z191mr2003627ywd.304.1459274129313; Tue, 29 Mar 2016 10:55:29 -0700 (PDT) Sender: brian@xaoc.org Received: by 10.37.208.150 with HTTP; Tue, 29 Mar 2016 10:55:29 -0700 (PDT) X-Originating-IP: [65.49.60.56] Date: Tue, 29 Mar 2016 10:55:29 -0700 X-Google-Sender-Auth: 2tCzXh1-RL5esZK1bPnn3AxyMpU Message-ID: Subject: Next release deadline: Saturday, April 16th 2016 at 00:01 UTC 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, 29 Mar 2016 17:55:28 -0000 Hi folks, Based on the Gnome 3.19.x release calendar [1], I am setting the deadline for code submissions for the next release of Gtk-Perl modules to be Saturday, April 16th 2016, at 00:01 UTC. Please have all code submissions into the Gtk-Perl maintainers before the above deadline; please allow time for the maintainers to audit and test code submissions. If you have your favorite RT ticket[2][3] or Gnome bug tracker bug[4] that you would like looked at, don't be afraid to bring it up for discussion here on the mailing list. Once the above deadline date arrives, I will begin packaging any new code in the Gtk-Perl git repos. After packaging, I will distribute tarballs to CPAN and Sourceforge, and post the release announcements, usually within a few days of the release date. If you have any questions about the above, please ask. Heads up for May, the release deadline will be Saturday, May 21st 2016, at 00:01UTC. Thanks, Brian [1] https://wiki.gnome.org/ThreePointNineteen [2] https://rt.cpan.org/Public/Dist/ByMaintainer.html?Name=XAOC [3] https://rt.cpan.org/Public/Dist/ByMaintainer.html?Name=TSCH [4] https://bugzilla.gnome.org/browse.cgi?product=gnome-perl