Aha! Thank you.
Let me have a little more time to understand how variables are declared in
c and I will resume my work.
Have a great weekend
Maurizio

Il 17 feb 2018 17:34, "Tobias Ellinghaus" <m...@houz.org> ha scritto:

> Am Samstag, 17. Februar 2018, 15:11:48 CET schrieb Maurizio Paglia:
> > Sorry but it does not work with 'sw' instead of 'self->widget'
> >
> > /home/mau/Sistema/git/darktable/src/libs/collect.c: In function
> ‘gui_init’:
> > /home/mau/Sistema/git/darktable/src/libs/collect.c:1775:24: error: ‘sw’
> > undeclared (first use in this function)
> >    dt_gui_add_help_link(sw, "collect_images.html#collect_images");
>
> Sorry, I was a bit unclear I guess. You don't have to always use "sw". You
> have to use the variable that points to the widget. I guess you need to be
> able to read a little C to figure those out. :-(
>
> Tobias
>
> > 2018-02-14 13:07 GMT+01:00 Tobias Ellinghaus <m...@houz.org>:
> > > Am Mittwoch, 14. Februar 2018, 00:20:06 CET schrieb Maurizio Paglia:
> > > > Hi all,
> > >
> > > Hi.
> > >
> > > > I tried to add contextual help to collect.c
> > >
> > > Thanks, any help like that is much appreciated!
> > >
> > > > dt compiles without errors but nothing seems to happen when I click
> on
> > >
> > > the
> > >
> > > > '?' and then on the GUI
> > > > Can please someone check and tell me where I am failing?
> > >
> > > You are adding all the help links to the same parent widget. Instead do
> > > something like this:
> > >
> > > dt_gui_add_help_link(sw, "collect_images.html#collect_images");
> > >
> > > > Thank you,
> > > > Maurizio
> > >
> > > Tobias
> > >
> > > [...]
> >
> > ____________________________________________________________
> _______________
> > darktable developer mailing list
> > to unsubscribe send a mail to darktable-dev+unsubscribe@
> lists.darktable.org
>
>

___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org

Reply via email to