LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 07-02-2004, 03:28 AM   #1
FreakboY
Member
 
Registered: Jun 2002
Location: TX, USA
Distribution: Slackware
Posts: 385

Rep: Reputation: 32
commands for anjuta & GTK!??


i just created my first application with anjuta!!
i'm happy... real happy... so my question is...

where can i get a list of all commands for anjuta (w/examples if possible)!??
just like:

gtk_main_quit();
g_strconcat;
gnome_app_message;
lookup_widget;
gtk_entry_get_text;
...
etc..


Thanks!
 
Old 07-02-2004, 09:04 AM   #2
beakerboy
LQ Newbie
 
Registered: Jul 2004
Posts: 4

Rep: Reputation: 0
A few of those look like glib finctions. Here's the reference manual for those.

Kevin
 
Old 07-03-2004, 02:02 PM   #3
FreakboY
Member
 
Registered: Jun 2002
Location: TX, USA
Distribution: Slackware
Posts: 385

Original Poster
Rep: Reputation: 32
thanks, any more!??
 
Old 07-03-2004, 02:44 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
these are not "commands for anjuta" in the slightest... you need to refer to the api for whatever library you wish to use. google for them.
 
Old 07-03-2004, 03:17 PM   #5
FreakboY
Member
 
Registered: Jun 2002
Location: TX, USA
Distribution: Slackware
Posts: 385

Original Poster
Rep: Reputation: 32
is there a book that will teach me how to program with anjuta!??
 
Old 07-03-2004, 04:59 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
no, of course not. anjuta is just a jumped up text editor it is not a programming language.... you need to learn to program in c, c++, java, bash, php, perl, python, ruby, tcl... whatever front end you choose to editor to write it in bears absolutely no resemblence to what you can make the programs do.

Last edited by acid_kewpie; 07-03-2004 at 05:02 PM.
 
Old 07-03-2004, 09:45 PM   #7
FreakboY
Member
 
Registered: Jun 2002
Location: TX, USA
Distribution: Slackware
Posts: 385

Original Poster
Rep: Reputation: 32
i understand the difference between a compiler and a IDE....
is there any book out there that will help me program with anjunta!??

thanks!
 
Old 07-04-2004, 03:28 AM   #8
Ohmu
LQ Newbie
 
Registered: Jan 2004
Location: Estonia
Distribution: Gentoo
Posts: 20

Rep: Reputation: 0
Quote:
Originally posted by FreakboY
i understand the difference between a compiler and a IDE....
is there any book out there that will help me program with anjunta!??
Apparently you don't understand the diff between compiler and IDE...
Anjuta isn't a programming lang, you can't learn it. You can LEARN other programming lang's mentioned above by acid_kewpie.

As I understand, you want a C/C++ book, but if you have no previous programming experience it would be easier to start with PHP/Python imho...

I learned C++ from: "Teach Yourself C++ in 21 Days" (by Jesse Liberty)
 
Old 07-04-2004, 11:41 AM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
All there is to learn about anjuta is how to change the colour's of the code, and how to make it run your programs... it'd be a pretty slim book if it existed... just read the manpage and docs on the homepage.
 
Old 07-05-2004, 01:28 AM   #10
FreakboY
Member
 
Registered: Jun 2002
Location: TX, USA
Distribution: Slackware
Posts: 385

Original Poster
Rep: Reputation: 32
Ohmu: I bought the same book....
"Teach Yourself C++ in 21 Days" (by Jesse Liberty) Fourth Edition...
It is a really fat book... I been reading this book for days now...
and i never saw gtk_main_quit(); or stuff like that on that book...
I do know the differences between IDE and Compiler!!
Borland Delphi comes with an integraded IDE and compiler
wich makes programming easier... so i know that anjunta is
not a compiler...

can you explain to me differences between anjunta, glade and GTK!??
anjuta = IDE!!!... i know this is IDE...
GTK = compiler!??... i'm not sure what this is...
glade = designer!??... is this right!??

i have one more question...
where do you get widgets for glade...!??
i google around and nuttin...


acid_kewpie:
I don't know how to use libraries yet, but i'm getting there...
i know how to use the math library, and the regular libraries
but not other libraries... also what does the " * " means ...
I understand the whole line but that...

GtkWidget * label = lookup_widget(GTK_WIDGET(button), "label1");


HEY I DO APPRECIATE YOUR INPUT... TO YOU ALL... THANKS ALOT!!
I'M LEARNING... AND C++ HAS ITS LEARNING CURVES
 
Old 07-05-2004, 12:54 PM   #11
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
hehe, this is going nowhere fast.

Quote:
I been reading this book for days now... and i never saw gtk_main_quit(); or stuff like that on that book...
of course you haven't there are literally thousands of libraries out there that you can use in C++ learning how to use GTK, is NOT learning how to use C++. How to use C++ is "How to write syntactically accurate code using C++ Constructs and best practises to provide a desired output" or whatever. But learning GTK is more like "how to put a button inside a window". you need to understand that the level these concepts are woring at are very very different, just like "How do i drive to the rodeo" and "How does an internal combustion engine work" are different things, despite the fundamental connection.

you say
Quote:
I do know the differences between IDE and Compiler!!
yet then say
Quote:
GTK = compiler!??... i'm not sure what this is...
that's some contradiction, if i may say so.

here's a suggestion. do NOT learn gtk yet. Learn how to program. Learn C++. once you know how to use C++, how to handle objects and define your own subroutines, then and only then should you worry abuot using a very high level and abstracting library like GTK. When you know C++, how to use the particular GTK constructs will become very much implicit to you.

and the * indicates it is a pointer. read about pointers. That's chapter 8 of your book, the same one i used to learn C++ myself. it's a superb book. read through it and understand *why* a pointer, and what it does is just so so so so far away from using a gtktreemenuitem, which you may or may not decide to access via a pointer.
 
Old 07-06-2004, 01:02 AM   #12
FreakboY
Member
 
Registered: Jun 2002
Location: TX, USA
Distribution: Slackware
Posts: 385

Original Poster
Rep: Reputation: 32
clever
 
Old 07-06-2004, 08:19 AM   #13
deiussum
Member
 
Registered: Aug 2003
Location: Santa Clara, CA
Distribution: Slackware
Posts: 895

Rep: Reputation: 32
GTK is an API. That means it is a library containing a set of functions, structures, classes, etc. Things like gtk_main_quit() are part of that API.

Anjuta is basically a glorified text editor. Asking for a set of Anjuta commands is like asking for a set of Textpad commands. About the only thing that might be considered an Anjuta command might be something like macros for repetittive keystrokes, etc. Nothing in your code itself can be considered an Anjuta command.

As has already been suggested, you should get a good handle on C/C++ before trying to work with some of the higher level APIs like GTK, Sockets, etc...

Last edited by deiussum; 07-06-2004 at 08:24 AM.
 
Old 07-06-2004, 12:13 PM   #14
FreakboY
Member
 
Registered: Jun 2002
Location: TX, USA
Distribution: Slackware
Posts: 385

Original Poster
Rep: Reputation: 32
great!! i learnt a lot fromm this trhead!

hey moderators erase this thread...

Last edited by FreakboY; 07-06-2004 at 03:00 PM.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install QT&GTK* without GNOME & KDE? VertX Debian 2 02-15-2005 01:27 PM
Glib & GTK+ versions 1.2.10 & 2.4.0 RaVilj Linux - Software 9 06-18-2004 05:30 PM
Problem compiling GTK apps in Anjuta MG-Cloud Linux - Software 1 11-16-2003 03:02 PM
Console commands && GUI DaFrEQ Programming 10 05-29-2003 12:00 PM
Anjuta & SDL mvendramini Linux - Software 0 05-13-2003 07:27 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:12 PM.

Main Menu
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
Open Source Consulting | Domain Registration