bug-ncurses
[Top][All Lists]
Advanced

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

Re: menu.h ITEM


From: Thomas Dickey
Subject: Re: menu.h ITEM
Date: Sun, 16 Jun 2024 20:13:43 -0400

On Mon, Jun 17, 2024 at 12:14:39AM +0100, Tim wrote:
> Forget that; it would help if I read the documentation.

I'm following up with what I understand to be the issue
 
> On 16/06/2024 23:58, Tim wrote:
> > Prior to  6.5-1 it was possible to get the description string using
> > 
> >     ITEM->description.str

by default ITEM is opaque

but there's a function for that:

  extern MENU_EXPORT(const char *) item_description(const ITEM *);

There may be some essential struct-member which can't be reached by making
things opaque - I'll add a getter or setter if there's no suitable workaround.

> > This no longer seems to work (certainly not on Manjaro).
> > 
> > Thanks,
> > 
> > 
> > Tim  Hothersall
> > 
> > 
> > 
> 

-- 
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]