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



Hello

On Fri, 2008-01-11 at 22:38 -0800, Brian Lavender wrote:
> I compiled ajunta from source and I have the glade plugin, the symbol
> plugin, and even the context help plugin. I was able to open the
> my program with glade designer, but it is not creating the stubs
> in callbacks.c or anywhere. I am running 2.2.3. Is the stub feature
> implemented?

  You would need to write this. stubs are not generated by anjuta.

  With anjuta, use glade to edit the interface and and callback
functions. libglade to load the interface and connect the signals. 


> 
> brian
>  
> On Sat, Jan 12, 2008 at 10:26:42AM +0800, Yuan Jiang wrote:
> > 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
> 
> > -------------------------------------------------------------------------
> > 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
> 
> 
-- 
Ritesh Khadgaray
ॐ मणि पद्मे हूँ
Desktop LinuX N Stuff
Ph: +919970164885
Eat Right, Exercise, Die Anyway.
Fedora is the best of what works today.  Enterprise Linux is the best of
what will work consistently for the next seven years.





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