Please apologize but I have another question.
Is it also possible to add contextual help to the TITLE of the module?
I mean the text beside the expansion triangle.

Maurizio

2018-02-22 0:12 GMT+01:00 Maurizio Paglia <mpagl...@gmail.com>:

> Hi all,
> I pushed to GitHub contextual help for a module.
> Now it works!
> I can find rather easily buttons but cannot understand how to add
> contextual help to combo/menus like the one you can find attached.
> Can someone tell me what type (name) of control should I search for?
>
> Moreover is it also possible to add contextual help also to text boxes?
> Are they considered widgets?
>
> Thank you,
> Maurizio
>
> 2018-02-17 19:50 GMT+01:00 Maurizio Paglia <mpagl...@gmail.com>:
>
>> 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@list
>>> s.darktable.org
>>>
>>>
>

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

Reply via email to