LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

GLADE meets FLUID (FLTK designer) Pt 1

Posted 04-14-2015 at 04:49 AM by rainbowsally
Updated 04-14-2015 at 05:02 AM by rainbowsally (clarification)

Today's Features:
  • See how the glade files suggest the names of the gtk functions needed to "write" C/C++ directly from ui text.
  • Using anonymous child objects and parent linkage. (It's easy.)
  • Hypothetical code translation with ui definitions in comments.

I confess, I like the fltk 2.0 concept and I have reworked it into my own FTL interface creator. You'll have a heck of a time getting a copy of 2.0 anymore. And it's substantially messed up. But I like my FTL because...
Member
Posted in Uncategorized
Views 115 Comments 0 rainbowsally is offline
Old

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...
Member
Posted in Uncategorized
Views 119 Comments 0 rainbowsally is offline
Old

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):
...
Member
Posted in Uncategorized
Views 350 Comments 4 the dsc is offline
Old

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...
Member
Posted in Uncategorized
Views 452 Comments 0 the dsc is offline
Old

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...
Member
Posted in Uncategorized
Views 1198 Comments 0 the dsc is offline

  



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

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