DaemonForums  

Go Back   DaemonForums > Miscellaneous > Programming

Programming C, bash, Python, Perl, PHP, Java, you name it.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 7th August 2008
bsdnewbie999 bsdnewbie999 is offline
Package Pilot
 
Join Date: May 2008
Posts: 145
Thanked 0 Times in 0 Posts
Default GUI Programming

I need to write a GUI log file viewer in my project but i have no idea which Language suit best and run well in Openbsd. Please give me some suggestions.
Reply With Quote
  #2   (View Single Post)  
Old 7th August 2008
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,052
Thanked 118 Times in 93 Posts
Default

pyGTK or QT will be propably easiest.
__________________
religions, worst damnation of mankind
"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds

Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.
vermaden's: links resources deviantart spreadbsd
Reply With Quote
  #3   (View Single Post)  
Old 7th August 2008
lvlamb's Avatar
lvlamb lvlamb is offline
Real Name: Louis V. Lambrecht
Spam Deminer
 
Join Date: May 2008
Location: .be
Posts: 221
Thanked 25 Times in 24 Posts
Default

If it is just to simply:
1- chose a logfile
2- display it's content
consider Zenity or Xdialog.
__________________
da more I know I know I know nuttin'
Reply With Quote
  #4   (View Single Post)  
Old 7th August 2008
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,883
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by bsdnewbie999 View Post
I need to write a GUI log file viewer in my project but i have no idea which Language suit best and run well in Openbsd.
Given the lack of details, you should try to leverage what you already know. What languages do you already have knowledge? As stated in a previous thread where you asked a similar question:
  • Given that you already have Java installed, consider Java Swing which is the collection of classes installed with Java which allows GUI programming.
  • Tkinter is the GUI class hierarchy installed with Python by default. It leverages the Tk GUI interface through Python. This is the same Tk interface leveraged by Perl/Tk. If I recall correctly, Ruby has bindings for Tk as well.
  • Qt is yet another GUI library which can be called from a number of languages -- C++, Perl, Python, Ruby, etc.
  • wxWidgets is a popular C++ cross-platform GUI library. Bindings exist for at least Python & Ruby. There may be others.

Last edited by ocicat; 7th August 2008 at 05:16 PM.
Reply With Quote
  #5   (View Single Post)  
Old 8th August 2008
bsdnewbie999 bsdnewbie999 is offline
Package Pilot
 
Join Date: May 2008
Posts: 145
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by lvlamb View Post
If it is just to simply:
1- chose a logfile
2- display it's content
consider Zenity or Xdialog.
I had thought of Zenity but due to the complexity of my project I think Zenity may not good enough to perform some tasks.

I only know 2 languages which is Java and C. I think i need to install Netbeans but I never use NetBeans before. Well, I'm not sure there is GUI programming in C.......
Reply With Quote
  #6   (View Single Post)  
Old 8th August 2008
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,883
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by bsdnewbie999 View Post
IWell, I'm not sure there is GUI programming in C.......
Not in the language proper, but GTK has C bindings as does Qt
Reply With Quote
  #7   (View Single Post)  
Old 17th August 2008
Meta_Ridley Meta_Ridley is offline
OFM Addict
 
Join Date: May 2008
Posts: 21
Thanked 3 Times in 3 Posts
Default

If you're suggesting so many languages that the OP doesn't know which use Tk, then why not Tcl?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
php programming in openbsd. bsdnewbie999 OpenBSD General 5 15th June 2009 03:03 AM
Java and AI-programming idefix Programming 4 7th February 2009 01:41 PM
c programming - Modules corey_james Programming 3 6th November 2008 08:49 PM
Learning Programming Crypt Programming 35 27th October 2008 04:54 PM
C programming - Lint corey_james Programming 14 16th May 2008 11:05 PM


All times are GMT. The time now is 02:15 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick