Re: [Anjuta-list] How do I create this simple program in ajunta?
- From: Brian Lavender <brian brie com>
- To: anjuta-list lists sourceforge net
- Cc: Sébastien Granjoux <seb sfo free fr>
- Subject: Re: [Anjuta-list] How do I create this simple program in ajunta?
- Date: Fri, 11 Jan 2008 13:16:08 -0800
On Fri, Jan 11, 2008 at 09:43:55PM +0100, Sébastien Granjoux wrote:
> Hi Brian,
>
> Brian Lavender a écrit :
> >I created a new project, but I am having a hard time getting a simple
> >gtk application working. How do I create the following in ajunta?
>
> Which version of anjuta are you using ?
I am using 2.2.0 on Ubuntu Gutsy
> Could you give more details about what's happen ?
I created a new project following the advice of ritz in a previous post.
I created a new project following his steps.
File->New->Project->C->GTK+
> Are you able to compile your program without Anjuta ?
I am able to build it with F11 and it runs. Now of course no callbacks
are registered, so now that is where I am stuck. I am stuck with glade,
and how to add a widget and corresponding callbacks. I guess that I
could erase everything, but I am curious how to add the widgets and the
callbacks within the existing framework. What do I do next?
Do I right click the glade file and create the button widget?
>
> I have tried with anjuta 2.3.2 but it's probably working the same with
> anjuta 2.2.X, and I don't get any trouble.
>
> I have done the following:
>
> - Run anjuta
> - Click File->New->Project
> ==> This open the project wizard
> - Select C->GTK+ project, Click Next
> - Keep default setting, Click Next
> - Keep default setting, just check that the destination directory is
> new, Click Next
> - Click Apply
> ==> The new project is generated, it takes some times (1 minute) and
> then is opened in Anjuta
> - In the file manager pane on the left, Double click on project->src->main.c
> ==> Open it the document manager
> - Remove everything and paste your code
> - Click on Build->Build Project
> ==> The project is compiled, it takes again some times (1 minute)
> - Click on Build->Execute Program
> ==> Get execute dialog
> - Click on Ok
> ==> Your program runs
>
>
> So, nothing really special except perhaps using the project wizard to
> create all project files.
>
> Regards,
>
> Sébastien
--
Brian Lavender
http://www.brie.com/brian/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]