LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

GLADE meets FLUID (FLTK designer) Pt 1

Posted 04-14-2015 at 05:49 AM by rainbowsally
Updated 05-26-2015 at 07: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...
Member
Posted in Uncategorized
Views 524 Comments 0 rainbowsally is offline
Old

Doh

Posted 04-13-2015 at 11:37 AM by rocket357 (Musings on technology, philosophy, and life in the corporate world)

http://www.pressherald.com/2015/04/1...mputer-system/

I have no words.
Member
Posted in Uncategorized
Views 519 Comments 3 rocket357 is offline
Old

The existence of God...

Posted 04-13-2015 at 01:04 AM by ardvark71

Hi all...

Here are a couple articles which I think help with that understanding...

http://www.gotquestions.org/Does-God-exist.html

http://www.gotquestions.org/proof-of-God.html

Best wishes and God bless!
Senior Member
Posted in Uncategorized
Views 508 Comments 3 ardvark71 is offline
Old

Days between dates.

Posted 04-11-2015 at 09:20 AM by peonuser

Thanx to an lq user, I was able to get this to work.

Just an experiment to determine the amount of days between two dates. In this case it is the days left in the current presidency.

Code:
#!/bin/bash
D=`date +%Y-%m-%d`
D1=`date +%s -d "$D"`
D2=`date +%s -d "2017-01-20"`
((diff_sec=D2-D1))
echo - | awk -v SECS=$diff_sec '{printf "Number of days : %d",SECS/(60*60*24)}'
echo " till Obama leaves
...
Member
Posted in Uncategorized
Views 262 Comments 0 peonuser is offline
Old

GTK Resource Compilation Utility

Posted 04-09-2015 at 03:30 PM by rainbowsally
Updated 04-22-2015 at 02: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 509 Comments 0 rainbowsally is offline

  



All times are GMT -5. The time now is 02: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