Re: Missing gtk-config binary issues when building from source (Gtk3 only)

2018-11-02 Thread Daniel Kasak via gtk-perl-list
You're probably better off asking in the flatpak list. Anyway, I have things building nicely, after quite a bit of help from that list. Here's a template I used, mainly for building perl: https://github.com/flathub/org.frozen_bubble.frozen-bubble/blob/master/org.frozen_bubble.frozen-bubble.json

Deleting rows from a model

2018-09-13 Thread Daniel Kasak via gtk-perl-list
Hi all. I've been looking at a long-standing bug in one of my libraries, triggered when I delete multiple rows from a tree model. After looking closer, my original bug appears to be caused by the fact that after going: $model->remove( $iter ); ... $iter is now pointing at the *next* row,

Re: cannot make GdkRectangle synonymous to the unregistered type CairoRectangleInt at C:/msys64/mingw64/lib/perl5/site_perl/Gtk3.pm line 479.

2018-09-15 Thread Daniel Kasak via gtk-perl-list
Unrelated, and not offering help on this particular issue ( sorry ) ... but ... Do you have build scripts for Windows? I had some that worked at one point, but they stopped working shortly after, and I didn't have the time / skills to keep them maintained. Dan On Sun, Sep 16, 2018 at 5:09 AM

Glib::IO->add_watch

2019-04-02 Thread Daniel Kasak via gtk-perl-list
Hi all. I'm trying to adapt some code I have for tailing the output of an app. When I fork using open() ... things work ( I have some issues with tail never exiting, but that's to be expected ). When I open a filehandle for reading these redirected log files however, my callback I passed to

Discourse?

2019-04-02 Thread Daniel Kasak via gtk-perl-list
It looks like we were missed in the email ( ... no-one cares about Perl devs ) ... but I assume we'll be moving to discourse like the rest of the gtk pack? https://discourse.gnome.org/c/platform/language-bindings Dan ___ gtk-perl-list mailing list

Re: Glib::IO->add_watch

2019-04-03 Thread Daniel Kasak via gtk-perl-list
On Thu, Apr 4, 2019 at 6:45 AM Jeff via gtk-perl-list wrote: > > On 03/04/2019 00:35, Daniel Kasak via gtk-perl-list wrote: > > Hi all. I'm trying to adapt some code I have for tailing the output of > > an app. When I fork using open() ... things work ( I have some issues &

Re: mapping of Gtk3::main_iteration

2021-05-17 Thread Daniel Kasak via gtk-perl-list
On Sat, May 15, 2021 at 5:21 PM Juergen Harms via gtk-perl-list wrote: > > Hello, > > When I run > > if (Gtk3:::event_spending () ) { Gtk3->main_iteration (); } Quick note. I had used this pattern ( or something similar ) in various places to keep the GUI ticking over while waiting for something

Re: Some strings corrupted when inserting into liststore model

2021-10-18 Thread Daniel Kasak via gtk-perl-list
appears to work. Yay :) Thanks! Dan On Mon, Oct 18, 2021 at 11:12 PM Jeremy Volkening via gtk-perl-list wrote: > > On Mon, Oct 18, 2021 at 08:39:36PM +1100, Daniel Kasak via gtk-perl-list > wrote: > > It's not really clear if there's something *else* I'm > > supposed t

Some strings corrupted when inserting into liststore model

2021-10-17 Thread Daniel Kasak via gtk-perl-list
Hi all. I'm seeing some strings ( coming from a database ) corrupted when I insert into a liststore model. I've pasted a bare-bones script before which demonstrates the issue ( hard-coded string value in this case ). Any ideas what's happening and how to get the original string rendering?

Re: Some strings corrupted when inserting into liststore model

2021-10-18 Thread Daniel Kasak via gtk-perl-list
Hi Jeremy. Thanks for the response :) > In the case of your example script, you need 'use utf8;' in the preamble. In > the case of your example script, you > need 'use utf8;' in the preamble. This fixes handling of the hard-coded > unicode characters in the script -- it won't > necessarily fix