Re: "Responsive Design" with Gtk+

2016-07-19 Thread Stefan Salewski
On Tue, 2016-07-19 at 21:29 +1000, sam@sam.today wrote: > In my reddit application, I have this terribly long buttonbox You may try https://developer.gnome.org/gtk3/stable/GtkLabel.html#gtk-label-set-ellipsize for your button labels. For example, I am using it in notebook tab labels in a paned

"Responsive Design" with Gtk+

2016-07-19 Thread sam
Hi All, In my reddit application, I have this terribly long buttonbox that displays some useful information about each comment (eg. showing the author's name, score, date, etc). However, the box gets too long for the window sometimes. In that situation, it is desirable for me to hide some

Re: GLib Library License

2016-07-19 Thread Dov Grobgeld
GLib is licensed under LGPL which allows linking with non-LGPL code. But you still have to provide access for the end user to update the LGPL code that your application uses. In theory this means either providing your proprietary code as object files or in practice, linking to the LGPL code

GLib Library License

2016-07-19 Thread Aleksandr Palamar
Hi, GTK-List users. I'm curious about GLib license, mainly because I'm thinking about using Vala in closed source (or zlib if that would be possible in future) project, which may (or not) be used on different platforms including iOS (which doesn't allow dynamic linkage), PS4 and XBoxOne. Would it

Re: [Vala] GIO, GVfs, custom isolated URI handler

2016-07-19 Thread Aaron Andersen
Hi Aleksandr, Maybe what you're looking for is PhysicsFS: https://icculus.org/physfs/ I'm not sure if there is a Vala binding already, but creating one would be fairly trivial. I don't believe PhysicsFS will do the priority search for you, but it wouldn't require much code to implement

GIO, GVfs, custom isolated URI handler

2016-07-19 Thread Aleksandr Palamar
Hi, everyone. I'm kind of new to GLib in general, but already have some basic understanding of how it works. I'm planning to make a game using Vala (which means GLib, GObject and GIO). One of the first things is to make isolated VFS with different mount points on file system, each of has it's own

Re: [Vala] GIO, GVfs, custom isolated URI handler

2016-07-19 Thread mar...@saepia.net
Hello, isn't what you are planning an overkill? Are you sure you need a filesystem abstraction layer for something that is basically, calling stat() a few times? You may also think about using GResource for compiling all resources and linking statically with the app (that makes sense if they are