Re: [Anjuta-list] How do I create this simple program in ajunta?



Just use glade to construct the user interface, and use libglade to get the instance of the widget.


On Jan 12, 2008 6:21 AM, Brian Lavender <brian brie com > wrote:
On Fri, Jan 11, 2008 at 11:14:53PM +0100, Sébastien Granjoux wrote:
> Hi Brian,
>
> Brian Lavender a écrit :
> >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?
>
> I'm not really using this in Anjuta so I don't know if it's working fine
> in your version.
>
> But at least in Anjuta 2.3.2, I can create a new Gtk project and it is
> using a glade file by default. You just need to click on the glade file
> to edit it and add buttons and labels. Then, I have connected a signal
> with glade_xml_signal_autoconnect and it's working after adding
> --export-dynamic in the Makefile.

I discovered that Anjuta crashes on Gutsy with the default packages. It
appears that there are newer packages.

http://ubuntuforums.org/showthread.php?t=581449&highlight=anjuta

I will try that first.

>
> So it could be more smooth but it's working. If you think that something
>  is not working, do not hesitate to fill a bug report explaining what
> you have done and what is the result comparing to the result you expect.
>
> Regards,
>
> Sébastien

--
Brian Lavender
http://www.brie.com/brian/

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Anjuta-list mailing list
Anjuta-list lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/anjuta-list



--
姜源
Yuan Jiang
http://blog.vetcafe.net

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]