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

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

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

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

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

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: 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 (GtkTextView) and MacOS

2015-02-25 Thread Daniel Kasak
Sorry to wander slightly away from the original topic, but I'm also building gtk3 for OSX using jhbuild, and I've found a bunch of issues with themes and icons and fonts, as per the above discussion. I'm wondering where the 'responsibility' of setting up a nice vanilla configuration lies? Would

Re: GtkHeaderBar, broadway window manipulation ( moving, resizing ) with broadway

2015-02-17 Thread Daniel Kasak
/ff333d488f40acfd58b9a7cf58310c5ef1b13bef/src/paperwork/frontend/mainwindow/mainwindow.glade#L215 * the header bar: https://github.com/jflesch/paperwork/blob/ff333d488f40acfd58b9a7cf58310c5ef1b13bef/src/paperwork/frontend/mainwindow/mainwindow.glade#L231 2015-02-17 2:40 GMT+01:00 Daniel Kasak d.j.kasak...@gmail.com

GtkHeaderBar, broadway window manipulation ( moving, resizing ) with broadway

2015-02-16 Thread Daniel Kasak
Greetings. I just tried using a GtkHeaderBar in a window in my app. I'm using Glade, which doesn't support GtkHeaderBar yet, so I've generated the GtkHeaderBar in code, and in Glade, disabled the 'Decorated' checkbox for the window. I believe this is the proper way of disabling the window

Re: draw on textview, gtk3 3.14

2015-02-16 Thread Daniel Kasak
Not answering your question, but just FYI there are win32 binaries around. I have Gtk-3.14.3 ( bundled with Perl and other stuff ) at: http://tesla.duckdns.org/gtk3-perl-windows/ - in the JewelKit package. Sorry I don't have the time to unbundle gtk from everything else at this point. I believe

Re: gtk_progress_bar thickness related to theme?

2014-11-14 Thread Daniel Kasak
Progress bars got a LOT thinner recently - I think in gtk-3.14.x? This is even with text in them. I don't know if there is an easy way to revert to the old appearance. Dan On Sat, Nov 15, 2014 at 8:20 AM, rastersoft ras...@rastersoft.com wrote: Hi: Try to set a text into the bar. El

Re: gtk+-3.14.x - icons super sized

2014-11-04 Thread Daniel Kasak
Maybe this is an icon-theme issue. It seems to be strictly isolated to the icon them ubudao-style-1.4.5. Sorry for the noise. Dan On Sun, Oct 26, 2014 at 3:59 PM, Daniel Kasak d.j.kasak...@gmail.com wrote: Hi all. I'm back with more icon issues. Sorry :) I've just built glib ( gtk+ wanted

gtk+-3.14.x - icons super sized

2014-10-25 Thread Daniel Kasak
Hi all. I'm back with more icon issues. Sorry :) I've just built glib ( gtk+ wanted a newer version ) gtk+ on Gentoo by bumping the ebuild version numbers and using emerge. I build manually to enable the broadway backend. I just came from gtk+-3.12.2. In pretty much all cases using X11 now, my

x11 vs broadway - icon theme

2014-10-25 Thread Daniel Kasak
Yet another icon issue. The screenshot is the same as in my previous issue: http://tesla.duckdns.org/images/x11_vs_broadway.png When my app is using X11, gtk+ is using my selected icon theme, but when using broadway, I'm getting the default icon theme. Why? I'm launching both from a terminal

http links in broadway

2014-07-11 Thread Daniel Kasak
Hi all. I'm writing a simple broadway session manager. It starts out in modperl - which looks for an available broadway session, then launches a new broadway instance, then launches a gtk3 app in that broadway instance. From there, the idea is there'll be more complicated stuff going on -

Re: Redistribution of GTK DLLs

2014-03-04 Thread Daniel Kasak
Standard disclaimer: I am not a lawyer. If you're in doubt, I think the best way to do this is to distribute things separately. Just make an installer / updater for the GTK libs ( that would be handy, by the way ... oh and if you build some Windows themes, *please* distribute these too ). Then in

Broadway questions

2014-01-11 Thread Daniel Kasak
Greetings. I've asked a similar question in the gtk-l...@gnome.org list, but didn't get an answer, so thought I'd try here. I have done a quick proof-of-concept port of some libraries and an app from Gtk2 to Gtk3. I've built the latest Gtk3 with broadway support. My app runs fine, but I don't

Re: [Glade-users] Treeview doesnt refresh upon reopenning window

2007-04-24 Thread Daniel Kasak
( Gtk2::Ex::DBI and Gtk2::Ex::Datasheet::DBI ), for forms and datasheets respectively. The datasheet module does exactly what you're trying to do - fetch data from a database, dump it into a treeview, manage database updates. -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific