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

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

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: 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: 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 &

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

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

Re: Treeview (liststore) CSS question

2019-03-18 Thread Daniel Kasak via gtk-app-devel-list
On Tue, Mar 19, 2019 at 3:01 AM Mike Martin via gtk-app-devel-list < gtk-app-devel-list@gnome.org> wrote: > Is it possible to set different background for a treestore, with a > liststore, for populated rows v blank area. > > ie: If I have a dynamic treeview I would like to have one background

Re: The Future?

2019-03-10 Thread Daniel Kasak via gtk-list
On Mon, Mar 11, 2019 at 7:54 AM Jerome Flesch wrote: > Le 2019-03-10 12:01, Kasper Peeters a écrit : > >> 1. GTK is not so cross-platform anymore: on Windows and macOS, you > >> are supposed to build your own library binaries (gvsbuild for Windows > >> and jhbuild for macOS exist, but are not

Re: GtkStack, builder and hidden objects

2019-02-19 Thread Daniel Kasak via gtk-list
gtk_widget_set_no_show_all() if you don't want > this behaviour. > > Ciao, > Emmanuele. > > On Tue, 19 Feb 2019 at 12:14, Daniel Kasak via gtk-list < > gtk-list@gnome.org> wrote: > >> Hi all. >> >> I'm using glade to lay out my UIs. I've just noticed

GtkStack, builder and hidden objects

2019-02-19 Thread Daniel Kasak via gtk-list
Hi all. I'm using glade to lay out my UIs. I've just noticed after porting some things that used GtkNotebook to GtkStack that objects that I've set as *not* visible ( in glade, select the object, go to the 'common' page, go to 'widget flags' and de-select 'Visible' ) are in fact visible. It seems

Detecting the gdk backend

2019-02-06 Thread Daniel Kasak via gtk-app-devel-list
Hi all. Is there a way to detect the gdk backend an app is using? I know about the environment variable - GDK_BACKEND. But often this is not set, and gtk just picks whatever's available. I need ever-so-slightly different app behaviour, depending on the backend. Any ideas? Dan

Re: Python- Modal Window

2018-12-10 Thread Daniel Kasak via gtk-list
On Tue, Dec 11, 2018 at 6:36 AM J.Arun Mani via gtk-list wrote: > Hello, > I'm making a Python3 powered project which opens whenever someone opens > their computer (assume Linux-Debain based) and asks them some details. The > user should not be allowed to use the computer without giving the

Re: GtkTextView and undo/redo

2018-11-28 Thread Daniel Kasak via gtk-list
On Thu, Nov 29, 2018 at 4:00 AM Igor Korot via gtk-list wrote: > Hi, ALL, > I'm surprised that there is no Undo/Redo functionality inside GtkTextView. > Or maybe I'm looking at the wrong class and Undo/Redo is in a different > one? > > Thank you. > There's no undo/redo facility in GtkTextView,

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

Signal for treeview column changing size

2018-09-19 Thread Daniel Kasak via gtk-list
Hi all. Is there a signal for when a treeview column is resized? I don't see anything on: - https://developer.gnome.org/gtk3/stable/GtkTreeViewColumn.html ( or up the object hierarchy - which gives permissions denied errors, by the way ), or -

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

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: First deprecate APIs and then remove them in the next major version

2017-12-17 Thread Daniel Kasak
il.com> wrote: > On 17 December 2017 at 23:14, Daniel Kasak <d.j.kasak...@gmail.com> wrote: > > >> Just one example, gtk3 (yes 3, not even 4) is currently completely > >> unusable on > >> Mac, so I sent a patch to fix this: > >> > >> htt

Re: First deprecate APIs and then remove them in the next major version

2017-12-17 Thread Daniel Kasak
On Sun, Dec 17, 2017 at 1:12 AM, Christian Schoenebeck < schoeneb...@linuxsampler.org> wrote: > On Samstag, 16. Dezember 2017 12:05:03 CET Sébastien Wilmet wrote: > > On Fri, Dec 15, 2017 at 11:10:46AM -0500, Matthias Clasen wrote: > > > I know this may sound harsh, but: If you want things to

Re: Gtk+4.x and broadway ( and other remote options )

2017-12-06 Thread Daniel Kasak
formal. Would it be worth it to you or Redhat? Dan On Fri, Dec 16, 2016 at 2:25 AM, Alexander Larsson <al...@redhat.com> wrote: > On ons, 2016-12-07 at 14:18 +1100, Daniel Kasak wrote: > > Hi all. > > > > I posting here in response to comments on bug: > > ht

Re: webassembly

2017-11-20 Thread Daniel Kasak
While I concede this ( webassembly ) and broadway are most likely dead-in-the-water for gtk+4, there's no harm in me putting my hand up as a possible user, if such things did eventuate. It's probably more likely that a wayland compositor gets welded to an RDP/VNC server and becomes usable? As for

Re: Broken link in docs - GdkEventMask

2017-11-04 Thread Daniel Kasak
Hey Eric. Yours is looking nice :) At the moment, I'm just drawing rectangular bars in my graphs: http://tesla.duckdns.org/downloads/screenshot.jpg I'm not on top of the maths required for nice curvy lines at this point, but I should read up on it. There have been more pressing issues to deal

Re: Broken link in docs - GdkEventMask

2017-11-02 Thread Daniel Kasak
Thanks Emmanuele :) On Fri, Nov 3, 2017 at 9:00 AM, Emmanuele Bassi <eba...@gmail.com> wrote: > On 2 November 2017 at 21:46, Daniel Kasak <d.j.kasak...@gmail.com> wrote: > > Hi all. > > > > On the page: https://developer.gnome.org/gtk3/stable/GtkWid

Broken link in docs - GdkEventMask

2017-11-02 Thread Daniel Kasak
Hi all. On the page: https://developer.gnome.org/gtk3/stable/GtkWidget.html#gtk-widget-add-events ... the link for GdkEventMask points to: https://developer.gnome.org/gtk3/gdk4/gdk4-Events.html#GdkEventMask ... which doesn't exist. Could anyone point me to some docs that would help me

Re: Drawing Area issues ( continued, with example )

2017-10-10 Thread Daniel Kasak
017 at 09:38:03PM +1100, Daniel Kasak wrote: >> >> I've cut down my app to a "relatively small" example which doesn't >> need a database connection or loads of other stuff. It's still 400+ >> lines ( with lots of whitespace ). I know it's asking a lot, but if >&

Drawing Area issues ( continued, with example )

2017-10-10 Thread Daniel Kasak
Hi again everyone. I've cut down my app to a "relatively small" example which doesn't need a database connection or loads of other stuff. It's still 400+ lines ( with lots of whitespace ). I know it's asking a lot, but if someone can figure out what I'm doing wrong, I'd be very grateful ... If

Re: How to get a "traditional" file-chooser

2017-09-14 Thread Daniel Kasak
;. On Fri, Sep 15, 2017 at 9:43 AM, Paul Davis <p...@linuxaudiosystems.com> wrote: > Now that was surely helpful. > > On Thu, Sep 14, 2017 at 6:48 PM, Daniel Kasak <d.j.kasak...@gmail.com> > wrote: >> >> Of course there is. Use GTK2 or QT apps. I suggest Redhat 5. That shit >>

Re: How to get a "traditional" file-chooser

2017-09-14 Thread Daniel Kasak
Of course there is. Use GTK2 or QT apps. I suggest Redhat 5. That shit is old school. On Fri, Sep 15, 2017 at 4:22 AM, Clemens Eisserer wrote: > Hi, > > Until recently I tried to avoid GTK3 applications, because the GTK3's > file chooser is driving me crazy. > However, as

Re: Motion events in a DrawingArea

2017-08-17 Thread Daniel Kasak
Pango::Cairo::update_layout( $cr, $layout ); my ( $width, $height ) = $layout->get_size; $cr->move_to( $x, $y ); Pango::Cairo::show_layout( $cr, $layout ); $cr->restore; } sub handle_graph_mouse_move { my ( $widget, $event ) = @_; use Data::Dumper; pr

Flatpak

2017-07-23 Thread Daniel Kasak
Has anyone played with packaging apps in Flatpak yet? AFAIK there are no runtimes that include perl at this point, so I'd have to package quite a bit ... might be worthwhile building a perl runtime that others can use. Dan ___ gtk-perl-list mailing list

Broken link in online docs - GdkRGBA

2017-07-05 Thread Daniel Kasak
Hi all. At https://developer.gnome.org/gtk3/stable/GtkColorButton.html#GtkColorButton--rgba there is a broken link for GdkRGBA. I guess it should be: https://developer.gnome.org/gdk3/stable/gdk3-RGBA-Colors.html ... but is: https://developer.gnome.org/gtk3/gdk4/gdk4-RGBA-Colors.html#GdkRGBA

Find path under mouse

2017-06-19 Thread Daniel Kasak
Hi all. Reposting from the gtk-perl list ... no responses there ... Back in gtk+-2.x, I had some code that could find the path underneath the mouse ( I was looking for double-click events in a treeview in this case ): --- my ( $self, $treeview, $event ) = @_; if ( $event->type eq

Re: gtk+ 4.x

2017-05-01 Thread Daniel Kasak
Great. Thanks :) On Mon, May 1, 2017 at 11:27 PM, Torsten Schoenfeld <kaffeeti...@gmx.de> wrote: > On 14.12.2016 01:47, Daniel Kasak wrote: >> Just curious ... with gtk+ 4.0 in development, what does the perl >> binding situation look like? Is it largely a matter of doin

Re: Async HTTP download with Glib event loop doesn't work on windows

2017-04-09 Thread Daniel Kasak
been challenging, and it's also difficult to do, not being the person who actually did the work ( ie the patches ). Anyway, hopefully this is useful to you. Enjoy :) Dan On Sat, Mar 11, 2017 at 7:42 PM, Daniel Kasak <d.j.kasak...@gmail.com> wrote: > I have some old(ish) binaries of Gli

Re: Combobox and columns

2017-04-02 Thread Daniel Kasak
This bit is a little non-obvious. The related documentation is: https://developer.gnome.org/gtk3/stable/GtkCellLayout.html#gtk-cell-layout-set-attributes So you can pass various attributes into the renderer / cell layout / whatever. I'm still slightly confused by it, but I can make it work :) In

Re: Glade crash

2017-03-02 Thread Daniel Kasak
There is no attachment. Try sharing it a different way - pastebin or something. Dan On Wed, Mar 1, 2017 at 5:18 AM, pozzugno wrote: > Most probably this isn't the most appropriate mailing list, because I > think my issue is related to Glade (and not Gtk libraries). > >

Re: Tooltip for GtkTextView contents

2017-02-21 Thread Daniel Kasak
Thanks for the response. It came down to a simple logic error. In this code: my $start_iter; if ( $iter->starts_word ) { $start_iter = $iter; } else { $iter->backward_word_start; $start_iter = $iter; } $iter->forward_word_end; ... I set $start_iter

Re: Tooltip for GtkTextView contents

2017-02-16 Thread Daniel Kasak
PM, Daniel Kasak <d.j.kasak...@gmail.com> wrote: > Hi all. > > I'd like to provide help on special text ( tokens in code ) in a > GtkSourceView / GtkTextView. I see my question is basically: > https://mail.gnome.org/archives/gtk-list/2010-May/msg00107.html > > ... and the

Tooltip for GtkTextView contents

2017-02-16 Thread Daniel Kasak
Hi all. I'd like to provide help on special text ( tokens in code ) in a GtkSourceView / GtkTextView. I see my question is basically: https://mail.gnome.org/archives/gtk-list/2010-May/msg00107.html ... and the important part of the response to this question was: "Simply set text view's

Re: GTK3 Glade and rendering in Windows/Linux]

2017-02-02 Thread Daniel Kasak
I'm not sure of the licensing implications ( maybe there are none ), but the current Ubuntu theme is implemented exclusively in css. If you have a Ubuntu box, you can locate them in /usr/share/themes ( eg /usr/share/themes/Ambiance/gtk-3.20 is one particular theme ). If you copy these into the

Re: GTK3 Glade and rendering in Windows/Linux]

2017-01-31 Thread Daniel Kasak
Neither of your messages had any attachments. Probably they're stripped out by the mailing list server. If you're trying to point people to files, screenshots, etc, try chucking them on a blog or pastebin or something. Dan On Sun, Jan 29, 2017 at 12:44 PM, Happy

gtk+ 4.x

2016-12-13 Thread Daniel Kasak
Hi all. Just curious ... with gtk+ 4.0 in development, what does the perl binding situation look like? Is it largely a matter of doing a search+replace ( in the binding code ) and rebuilding, or is it a larger effort to support? Dan ___ gtk-perl-list

Gtk+4.x and broadway ( and other remote options )

2016-12-06 Thread Daniel Kasak
Hi all. I posting here in response to comments on bug: https://bugzilla.gnome.org/show_bug.cgi?id=775680 ( summary: broadway support likely to be removed from Gtk+4.0 ). I think it would be a massive pity to drop broadway support from gtk. It's been a god-send for me and those I work with - it

Re: GTK+ with Broadway

2016-12-05 Thread Daniel Kasak
rom web browser to Broadway display > server via SSH ? > > Thanks, > Igor > > On Tue, Nov 29, 2016 at 12:15 PM, Daniel Kasak <d.j.kasak...@gmail.com> > wrote: >> >> Unfortunately, no there is no way to do this. *If* copy + paste were >> implemented betwee

Re: The Big Gtk limitations: a reliable GUI builder

2016-11-30 Thread Daniel Kasak
On Thu, Dec 1, 2016 at 12:32 AM, Pozz Pozz wrote: > So this is a Windows only *Gtk* bug, it isn't related to Glade. > Considering it affects all drag operations for every Gtk applications, > it's very strange it wasn't fixed yet. > > My first impression is Gtk is a product

Re: The Big Gtk limitations: a reliable GUI builder

2016-11-29 Thread Daniel Kasak
fZkZfdFE/view?usp=sharing > [2] > https://drive.google.com/file/d/0B1s7dNPGsJ3CQmpxTTVfZkZfdFE/view?usp=sharing > > > > Il 29/11/2016 23:08, Daniel Kasak ha scritto: >> >> Glade crashes sometimes, yes. It's been much better recently - 3.20 >> seems pretty stable for me.

Re: The Big Gtk limitations: a reliable GUI builder

2016-11-29 Thread Daniel Kasak
Glade crashes sometimes, yes. It's been much better recently - 3.20 seems pretty stable for me. I don't edit liststores in glade at all, so I can't comment on that - I construct and populate them dynamically, and use glade just to place the treeview. I don't really have the other issues you're

Re: GTK+ with Broadway

2016-11-29 Thread Daniel Kasak
uts are optimistic :-) >> >> Thanks a lot for the help. >> Igor >> >> >> >> On Thu, Oct 13, 2016 at 2:04 PM, Daniel Kasak <d.j.kasak...@gmail.com> >> wrote: >>> >>> On Thu, Oct 13, 2016 at 5:31 PM, Igor D <ivb...@gmail.com&

Re: GtkTreeView does not show data after clear()

2016-11-25 Thread Daniel Kasak
You might want to check out one of my projects - Gtk3::Ex::DBI. Example constructor: $self->{param} = Gtk3::Ex::DBI::Datasheet->new( { dbh => $self->{globals}->{connections}->{CONTROL} , sql => { select

Re: GTK glade SQLite Problem

2016-10-24 Thread Daniel Kasak
Have a look at one of my projects. They're in Perl, but the logic flow is the same: http://search.cpan.org/~dkasak/Gtk3-Ex-DBI-3.2/lib/Gtk3/Ex/DBI/Form.pm Briefly, there are issues in your example code. In insert_sqlite() you need to fetch values back from your builder object. In perl, you'd do

Re: GTK+ with Broadway

2016-10-13 Thread Daniel Kasak
If it's just things like icon packs, it might be worth documenting what's needed to get on-par with X11. Dan > > Thanks, > Igor > > On Thu, Oct 13, 2016 at 1:21 AM, Daniel Kasak <d.j.kasak...@gmail.com> > wrote: >> >> I've been using it on+off for a couple of ye

Re: GTK+ with Broadway

2016-10-12 Thread Daniel Kasak
I've been using it on+off for a couple of years. As far as widget toolkit functionality goes, it's a stable platform for me. Security is not handled by broadway, except for basic password authentication ( 1 password per linux user who runs broadway apps ). I posted on this topic a little while

Transparent proxy / multiplexing for Gtk+ / broadway applications

2016-10-04 Thread Daniel Kasak
Hi all. I've written a blog post with an approach that I've just gotten working for transparent proxying of broadway applications ... so you can have a single port ( eg https ) open, and proxy each client to their own broadway instance. It's not pretty, but it works :)

Dynamically proxy broadway traffic

2016-09-15 Thread Daniel Kasak
Hi all. This question is mildly off-topic, but on the other hand I assume it would also be of great interest to people here. I'm trying to set up a reverse proxy for broadway ( gtk's html5 backend ) traffic. The idea is: 1) The browser hits a login page, which is regular html. After a login is

Re: 'Cannot convert arbitrary SV to GValue' when setting child property of GtkStack

2016-08-10 Thread Daniel Kasak
That's it :) Thanks Torsten. Dan On Tue, Aug 9, 2016 at 5:53 PM, "Torsten Schönfeld" <kaffeeti...@gmx.de> wrote: > "Daniel Kasak" <d.j.kasak...@gmail.com>: >> I'm trying to set the 'needs-attention' property of a GtkStack's child page. >> >>

'Cannot convert arbitrary SV to GValue' when setting child property of GtkStack

2016-08-08 Thread Daniel Kasak
Hi all. I'm trying to set the 'needs-attention' property of a GtkStack's child page. When I go: use Glib qw( TRUE FALSE ); my $needs_attention = FALSE; if ( $self->{ 'Column' . $i . 'Datasheet' }->count ) { $needs_attention = TRUE; } my $child = $self->{stack}->get_child_by_name( 'page'

Re: GtkStack and needs-attention property

2016-08-08 Thread Daniel Kasak
OK never mind. I've found this one myself: https://developer.gnome.org/gtk3/stable/GtkContainer.html#gtk-container-child-set-property On Tue, Aug 9, 2016 at 10:03 AM, Daniel Kasak <d.j.kasak...@gmail.com> wrote: > Hi all. > > I can see how to set the 'needs-attention' property

GtkStack and needs-attention property

2016-08-08 Thread Daniel Kasak
Hi all. I can see how to set the 'needs-attention' property while creating and adding children to a GtkStack. However I don't see how to set the 'needs-attention' property once all widgets are constructed. If I later use 'gtk_stack_get_child_by_name' I can get the widget that I added to the

Re: Gtk3 version of GtkSourceView

2016-08-01 Thread Daniel Kasak
, > Max > > Gesendet: Montag, 01. August 2016 um 07:31 Uhr > Von: "Daniel Kasak" <d.j.kasak...@gmail.com> > An: "GTK-Perl List" <gtk-perl-list@gnome.org> > Betreff: Gtk3 version of GtkSourceView > Hi all. > > The GtkSourceView page: ht

Re: gtk_main_iteration under broadway

2016-08-01 Thread Daniel Kasak
temperamental. Anyway, thanks for the response and explanation. Dan On Mon, Aug 1, 2016 at 7:16 PM, Emmanuele Bassi <eba...@gmail.com> wrote: > Hi; > > On 29 July 2016 at 04:48, Daniel Kasak <d.j.kasak...@gmail.com> wrote: >> Hi all. >> >> I've got some convenien

Gtk3 version of GtkSourceView

2016-07-31 Thread Daniel Kasak
Hi all. The GtkSourceView page: https://wiki.gnome.org/Projects/GtkSourceView says: "Can be used from many programming languages. Thanks to GObject Introspection, automatic bindings are available for JavaScript, Python, Vala and others." Does that include Perl? I don't quite follow what's

gtk_main_iteration under broadway

2016-07-28 Thread Daniel Kasak
Hi all. I've got some convenience functions that update a progress bar for long running operations. I do: Gtk3::main_iteration() while ( Gtk3::events_pending() ); ... ( in Perl ) after updating the progress bar, so that the window's contents are updated while my code continues to run. This

"A new combobox"

2016-07-28 Thread Daniel Kasak
Hi all. I'm a Perl god and C "relative newbie', and I'm interested in the new combobox work, ie https://raw.githubusercontent.com/gnome-design-team/gnome-mockups/master/theming/widgets/combobox-replacements.png and https://git.gnome.org/browse/gtk+/log/?h=wip/combo If someone can mentor me, I'd

Re: Re[2]: argv revisited

2016-05-08 Thread Daniel Kasak
On Mon, May 9, 2016 at 2:24 AM, Andrew Robinson wrote: > Because you are entertaining. Ditto. In fact every single one of your posts has had multiple dummy spits. Your particular balance of begging for more help vs pouring scorn on those who try to help is unique. Where

Remote gtk3 app rendering issues

2016-04-20 Thread Daniel Kasak
Greetings all. I have a bizarre issue that makes me wonder if I understand how remote X applications work ... I'm running Sabayon Linux on my dev laptop. My work has a bunch of Ubuntu 14.04 LTS servers. When I ssh into a server and run a gtk3 app, it renders widgets in a horrible 3.1 style, and

Re: Get a list of object *names* from GtkBuilder

2015-11-26 Thread Daniel Kasak
e an external parser, but I concede it's kinda a corner case, and not too difficult to work around. Dan On Wed, Nov 18, 2015 at 12:14 PM, Daniel Kasak <d.j.kasak...@gmail.com> wrote: > I anticipated this question :) > > Here's what I'm trying to do ... > > I've got an abstract

Re: Get a list of object *names* from GtkBuilder

2015-11-17 Thread Daniel Kasak
ally as above would be a far better solution. Thoughts? Dan On Tue, Nov 17, 2015 at 4:57 AM, Emmanuele Bassi <eba...@gmail.com> wrote: > Hi; > > On 16 November 2015 at 02:26, Daniel Kasak <d.j.kasak...@gmail.com> wrote: >> Greetings all. >> >> I'd like to get

Get a list of object *names* from GtkBuilder

2015-11-15 Thread Daniel Kasak
Greetings all. I'd like to get a list of object names from a GtkBuilder object ( I'm using Perl ). I know about https://developer.gnome.org/gtk3/stable/GtkBuilder.html#gtk-builder-get-objects - which returns a list of objects, but I really need the names. Is it possible? Dan

Re: Gtk3::Ex::DBI::Datasheet query() signal problem

2015-11-08 Thread Daniel Kasak
Yikes :) I'll try to reproduce it here. If not, I might get back to you and ask for a small sample script that triggers the issue. I have to admit, since the port from Gtk2, I lost quite a bit of functionality ( custom cell renderers ) and haven't quite investigated all errors that didn't cause

Broadway on Ubuntu 14.04

2015-11-05 Thread Daniel Kasak
Hi all. Reposting from http://ubuntuforums.org/showthread.php?t=2301869 ... ( I'm not getting any takers there ). I'm a long-time Gentoo user, and attempting to get an application running on a Ubuntu VM ( 14.04 LTS ) for work. I'm using gtk's broadway backend, which in Gentoo can be enabled by

Anyone used Docker for packaging / distribution?

2015-10-14 Thread Daniel Kasak
As per the subject ... has anyone used Docker for gtk-perl apps? If so ... got any examples of docker-compose.yml files to share? :) Dan ___ gtk-perl-list mailing list gtk-perl-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-perl-list

Re: Trigger a GtkEntryCompletion's popup

2015-10-08 Thread Daniel Kasak
On Fri, Oct 9, 2015 at 8:21 AM, Stefan Salewski <m...@ssalewski.de> wrote: > On Thu, 2015-10-08 at 15:36 +1100, Daniel Kasak wrote: > > Hi all. I have some GtkEntry widgets with a GtkEntryCompletion > > attached. > > I've set the minimum key length to 0, hoping this would make

Trigger a GtkEntryCompletion's popup

2015-10-07 Thread Daniel Kasak
Hi all. I have some GtkEntry widgets with a GtkEntryCompletion attached. I've set the minimum key length to 0, hoping this would make the completion's popup appear on focus in, but it doesn't. I have noticed that if I type something, then hit backspace, the popup appears. So I guess I can hook up

Re: WHere is the icons

2015-08-11 Thread Daniel Kasak
I posted on this topic a little while back ( a month or 2 from memory ). The icon theme you're using has to have icons of the same name that you're trying to use. If you're using a 'default' ( eg adwaita ) icon theme in conjunction with icon names that *used* to work a couple of years ago, you're

Re: WHere is the icons

2015-08-11 Thread Daniel Kasak
On Wed, Aug 12, 2015 at 7:15 AM, Igor Korot ikoro...@gmail.com wrote: Daniel, On Tue, Aug 11, 2015 at 2:09 AM, Daniel Kasak d.j.kasak...@gmail.com wrote: I posted on this topic a little while back ( a month or 2 from memory ). The icon theme you're using has to have icons of the same

Re: What to use on GTK+3

2015-08-08 Thread Daniel Kasak
No no no. Everybody is wrong. What we need is: [ Actually, now that I come to think about it, this is not the action I would like to take at this time. Thankyou all the same] [ This is precisely the action that I require, and I thank you for the explicit dialog and verbose text in the buttons; it

Re: Bindings for a 3rd-party library

2015-07-09 Thread Daniel Kasak
at 12:11, Daniel Kasak d.j.kasak...@gmail.com wrote: On Fri, May 22, 2015 at 5:37 PM, Torsten Schönfeld kaffeeti...@gmx.de wrote: Daniel Kasak d.j.kasak...@gmail.com: I'm wondering ... how much work is involved in getting Perl bindings for this library working? I guess it would depend on how it's

Re: Bindings for a 3rd-party library

2015-07-09 Thread Daniel Kasak
there is just something simple I'm missing. Sorry - I don't understand the new introspection stuff at all. Dan On Thu, Jul 9, 2015 at 4:00 PM, Daniel Kasak d.j.kasak...@gmail.com wrote: OK I'm returning to this after a long period of not doing anything ... This part does *something: Glib::Object

Distributing OSX binaries

2015-07-03 Thread Daniel Kasak
Hi all. I've previously built OSX binaries, just for myself, but now I'd like to share amongst some workmates. I'm not really up-to-speed with OSX and packaging ( new job, Mac-only shop ). I built using jhbuild, and by default, it installed into ~/gtk/inst. I moved the 'inst' folder to

Re: Glib-Object-Introspection on Windows

2015-06-23 Thread Daniel Kasak
Ah sorry. Yes it did fix things. Thanks :) Dan On Tue, Jun 23, 2015 at 10:18 AM, Brian Manning c...@xaoc.org wrote: On Sun, May 17, 2015 at 7:24 PM, Daniel Kasak d.j.kasak...@gmail.com wrote: Thanks a LOT for the quick response Torsten. My Windows VM is sitting @ home, waiting for me

Re: Outdated win32 bundle

2015-06-18 Thread Daniel Kasak
Hi all. I've got my own builds of Gtk+ for Windows, available at: http://tesla.duckdns.org/jewelkit-1-0-released/ ( I have another build I'm ready to upload in the next week actually ). This contains perl as well as Gtk+. I make regular releases ( currently ). I also have a bunch of patches I've

Re: Treeviews: changing the color of column headers

2015-06-13 Thread Daniel Kasak
I've done this in Gtk2. I don't have my laptop and old code handy right now, but from memory: - create a label - set_markup() on the label, and set your colour(s) in there - use TreeViewColumn.set_widget() to override the default label If you can't get it working, post again and I'll go and dig

Combos NULL values and/or 'no value selected'

2015-05-26 Thread Daniel Kasak
Greetings. I'm trying to find a sensible approach to dealing with NULL values, combos, and database values. It's of course a valid situation where a database field has a NULL value. It's also valid that someone wants to SET a database field to NULL, by somehow de-selecting a currently selected

Re: Bindings for a 3rd-party library

2015-05-22 Thread Daniel Kasak
On Fri, May 22, 2015 at 5:37 PM, Torsten Schönfeld kaffeeti...@gmx.de wrote: Daniel Kasak d.j.kasak...@gmail.com: I'm wondering ... how much work is involved in getting Perl bindings for this library working? I guess it would depend on how it's written? Or does the introspection that comes

Re: Flowgraphs for Gtk3!

2015-05-21 Thread Daniel Kasak
Excellent! I was actually just thinking about how I'd do this. I'd very much like for this to work with the Perl bindings. I'll have a chat to people in the gtk-perl list and see how difficult it would be to make it work. Dan On Thu, May 21, 2015 at 1:24 PM, Lee Fallat ircsurfe...@gmail.com

Bindings for a 3rd-party library

2015-05-21 Thread Daniel Kasak
Hi all. I just saw this announced in the gtk list: https://github.com/grindhold/libgtkflow This would be S handy for me. I want to write a query builder like MS Access, and this would be a god-send. I'm wondering ... how much work is involved in getting Perl bindings for this library

Re: Gtk-3.14.3 on Windows: icon rendering issues

2015-05-20 Thread Daniel Kasak
Aha. Thanks Emmanuele. I'm now totally on top of what is needed :) Dan On Wed, May 20, 2015 at 8:01 PM, Emmanuele Bassi eba...@gmail.com wrote: Hi; sorry, it was late at night and I was on my phone, so I was unhelpfully terse. On 20 May 2015 at 01:32, Daniel Kasak d.j.kasak...@gmail.com

Re: Gtk-3.14.3 on Windows: icon rendering issues

2015-05-19 Thread Daniel Kasak
://cgit.freedesktop.org/xorg/util/macros On 19 October 2014 03:42, Daniel Kasak d.j.kasak...@gmail.com wrote: Thanks for the response. I just attempted to build adwaita-icon-theme, and it wants me to install gnome-common. I wonder if this is *really* necessary, but anyway I'll persist ( when I get a full

GtkSettings

2015-05-19 Thread Daniel Kasak
Hi all. I'm still battling with my Windows build :/ I've been posting in the gtk list ... basically I have some major issues with rendering icons from icon themes, for some reason. It used to work ... now I'm getting lots of 'broken' type images. Anyway, to help debug, I'm looking for a way to

Re: Gtk-3.14.3 on Windows: icon rendering issues

2015-05-19 Thread Daniel Kasak
the icon themes are ending up in this location. Thanks to all those who responded and pointed my in the right direction. I predict I will return in 6 months with the exact same problem :P Dan On Wed, May 20, 2015 at 10:32 AM, Daniel Kasak d.j.kasak...@gmail.com wrote: Can you please explain

Re: Gtk-3.14.3 on Windows: icon rendering issues

2015-05-19 Thread Daniel Kasak
...@gmail.com wrote: Hi; Do not use gtk-new and other stock button names: use the correctly named icons from the theme. Ciao, Emmanuele. On Tuesday, May 19, 2015, Daniel Kasak d.j.kasak...@gmail.com wrote: Here's a screenshot, showing *some* icons rendering ( no idea which icon theme

Re: Gtk-3.14.3 on Windows: icon rendering issues

2015-05-19 Thread Daniel Kasak
to override either the theme name, or preferably the theme *path* for an application? Dan On Tue, May 19, 2015 at 9:45 PM, LRN lrn1...@gmail.com wrote: On 19.05.2015 14:44, LRN wrote: On 19.05.2015 14:34, Daniel Kasak wrote: On Sun, Oct 19, 2014 at 10:17 PM, Emmanuele Bassi wrote: On 19

Re: Gtk-3.14.3 on Windows: icon rendering issues

2015-05-19 Thread Daniel Kasak
On Wed, May 20, 2015 at 12:08 AM, LRN lrn1...@gmail.com wrote: On 19.05.2015 15:44, Daniel Kasak wrote: On Tue, May 19, 2015 at 9:45 PM, LRN wrote: On 19.05.2015 14:44, LRN wrote: On 19.05.2015 14:34, Daniel Kasak wrote: On Sun, Oct 19, 2014 at 10:17 PM, Emmanuele Bassi wrote: On 19 October

Re: Gtk-3.14.3 on Windows: icon rendering issues

2015-05-19 Thread Daniel Kasak
the missing images in the buttons in the header bar. It works fine on Linux and OSX. Dan On Wed, May 20, 2015 at 7:16 AM, Daniel Kasak d.j.kasak...@gmail.com wrote: On Wed, May 20, 2015 at 12:08 AM, LRN lrn1...@gmail.com wrote: On 19.05.2015 15:44, Daniel Kasak wrote: On Tue, May 19, 2015 at 9

Re: Glib-Object-Introspection on Windows

2015-05-17 Thread Daniel Kasak
: On 17.05.2015 15:34, Daniel Kasak wrote: dlltool --def Introspection.def --output-exp dll.exp [ LD blib\arch\auto\Glib\Object\Introspection\Introspection.xs.dll ] GObjectIntrospection.o:GObjectIntrospection.c:(.text+0x4a80): undefined referenc e to `SvGVariant

Glib-Object-Introspection on Windows

2015-05-17 Thread Daniel Kasak
Hi all. I'm trying to build GIO-0.029 on Windows. I've previously been able to build version 0.025 like this from a cmd.exe shell: set CC=gcc set GI_TYPELIB_PATH=c:\jewelkit\c\lib\girepository-1.0 Makefile.PL dmake dmake test dmake install With version 0.029, I get:

Recommended way of building on OSX

2015-03-14 Thread Daniel Kasak
Hi all. I've successfully ( largely ) built on OSX using jhbuild, and compiling a local perl. This works pretty well, as far as I can tell, though I'm testing using vnc tunnelled through ssh and going half-way around the world, as I don't have an OSX box myself ... so it's kinda hard to tell how

Re: Gtk3::Gdk::EventKey mappings

2015-03-06 Thread Daniel Kasak
); } Hope this helps! *Terence J. Ferraro* On Tue, Mar 3, 2015 at 2:54 AM, Daniel Kasak d.j.kasak...@gmail.com wrote: Greetings. I'm trying to capture key press events like 'CTRL L'. I've found I can connect to the key-press-event of each window, and that method receives the window

unicode in a liststore

2015-03-06 Thread Daniel Kasak
Hi all. I'm battling unicode issues on multiple fronts :/ 1 front is in unixODBC, but that's another story. If I can actually get valid unicode out of a database, I'm *still* having issues pushing it into a liststore. Things get corrupted. I've modified liststore.pl from

  1   2   3   4   >