[Iup-users] [PATCH] Fix assorted readability names

2020-05-28 Thread Ranier Vilela
Hi,

Checking the IUP base code, there are several differences between 
the declarations and the implementation of the code.
Most harmless, however, for reasons of readability, would it be better to 
correct?

regards,
Ranier Vilela

assorted_readability_names.path
Description: assorted_readability_names.path
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


[Iup-users] IUP iupDlgListDestroyAll refactored

2020-05-28 Thread Ranier Vilela
Hi Scuri,

Is there a special condition, so that the function below is not written like 
this?

usr\iup_dlglist.c:
void iupDlgListDestroyAll(void)
{
  Idiallst *list;
  for (list = idlglist; list; list = list->next)
  {
if (iupObjectCheck(list->ih))
{
  IupDestroy(list->ih);   /* this will also destroy the list */
  list->ih = NULL;
}
  }
}

regards,
Ranier Vilela

___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] Auto-scroll on appending text in IupText

2020-05-28 Thread Milind Gupta
You can use the SCROLLTO attribute after adding text to automatically
scroll so that the last line/character is visible.

On Thu, May 28, 2020 at 2:54 AM Damon H. (TheDcoder) 
wrote:

> Hello everyone! I hope you are all doing well during these unfortunate
> times.
>
> I have a question regarding automatic scrolling in a (multi-line) IupText
> control, I want to make the control scroll downwards (vertically) whenever
> I append text to it so that the end of the text is always visible, I see
> that there is no special attribute that I can set to enable this behaviour,
> so I was wondering what was the best way to implement it?
>
> Thank you for the help in advance!
> ___
> Iup-users mailing list
> Iup-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


[Iup-users] Auto-scroll on appending text in IupText

2020-05-28 Thread Damon H. (TheDcoder)
Hello everyone! I hope you are all doing well during these unfortunate
times.

I have a question regarding automatic scrolling in a (multi-line)
IupText control, I want to make the control scroll downwards
(vertically) whenever I append text to it so that the end of the text is
always visible, I see that there is no special attribute that I can set
to enable this behaviour, so I was wondering what was the best way to
implement it?

Thank you for the help in advance!

___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users