Visit the LQ Articles and Editorials section
Go Back > Blogs
User Name



GLADE meets FLUID (FLTK designer) Pt 1

Posted 04-14-2015 at 04:49 AM by rainbowsally
Updated 05-26-2015 at 06:11 PM by rainbowsally (clarification)

May 25, 2015: This project is not dead (yet). We're on out third hack doing this having taken several wrong turns as far as which tags actually need to be written out as code and which can be included as comments (like custom tags).

But as an addendum, I'd like to add, that if this works (at all) it will be useful for seeing how to write a gtk application by hand by outputting working code for whichever tags it ends up handling correctly. And for those it doesn't handle correctly...
Posted in Uncategorized
Views 381 Comments 0 rainbowsally is offline

GTK Resource Compilation Utility

Posted 04-09-2015 at 02:30 PM by rainbowsally
Updated 04-22-2015 at 01:41 PM by rainbowsally (text formatting probs)

GTK Resource Compilation.

There's a utility called 'glib-compile-resources' that takes an xml file that is basically a list of resources such as glade ui files, and it outputs c code to embed the data in the application. It's messy to use, but it works.

There may be another messy gtk/glib utility to create these xml files that 'glib-compile-resources' can use, but if there is here's another one that may or may not be easier to use.

file: src/gtk.mkres.cpp...
Posted in Uncategorized
Views 325 Comments 0 rainbowsally is offline

Per-application bookmarks on GTK's file dialog?

Posted 12-22-2014 at 12:56 AM by the dsc (linux-related notes)
Tags gtk, rant

On KDE/QT file dialog there's often a pop-up with a check box saying "remember only in KurrentApplication", so you can have different sets of "bookmarks", restricted to relevant applications. That is, no picture folders on audio applications and vice-versa/whatever.

Is there a hidden way to do that with GTK? Probably answering myself already, but I don't think so (the gtk-terminology would be "shortcut", instead of "bookmark", though):
Posted in Uncategorized
Views 512 Comments 4 the dsc is offline

Uniformity between GTK2/3 and QT/KDE with QT using GTK themes

Posted 07-04-2014 at 12:52 AM by the dsc (linux-related notes)
Updated 07-04-2014 at 12:54 AM by the dsc
Tags gtk, kde, q.t., theming

Whereas gtk-qt-engine doesn't work very well, that is, GTK can't be easily made to "simulate" QT/KDE themes, the converse seems to work very well, and apparently no additional package is needed for that, but QT alone, or actually just qtconfig-qt4, in order to set the QT/KDE* theme as "GTK+".

So one third of the problem of desktop uniformity is solved if you have one GTK2 (I believe it's GTK2, not 3, I'm not sure) theme that you find good enough to have both in...
Posted in Uncategorized
Views 646 Comments 0 the dsc is offline

Ditch Deja Vu Sans Condensed, use Liberation Sans, and be happy

Posted 03-09-2013 at 06:01 PM by the dsc (linux-related notes)
Updated 03-09-2013 at 06:02 PM by the dsc (gruesome spelling mistake)

I used to like the condensed variant of Deja Vu, which is the default font (in the regular variation) for many linux distributions/DEs I guess. I've always disliked the regular variant, I find it too wide, while the condensed is very nice to look at. It's quite a hassle to actually use it everywhere though, either the font is buggy, or the apps that read it are buggy. I think it's the former as other fonts with two "nested subtypes/variants" work (such as liberation). The GUI settings...
Posted in Uncategorized
Views 1535 Comments 0 the dsc is offline


All times are GMT -5. The time now is 04:02 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration