Re: GtkStack and needs-attention property



OK never mind. I've found this one myself:

https://developer.gnome.org/gtk3/stable/GtkContainer.html#gtk-container-child-set-property

On Tue, Aug 9, 2016 at 10:03 AM, Daniel Kasak <d j kasak dk gmail com> wrote:
Hi all.

I can see how to set the 'needs-attention' property while creating and
adding children to a GtkStack. However I don't see how to set the
'needs-attention' property once all widgets are constructed.

If I later use 'gtk_stack_get_child_by_name' I can get the widget that
I added to the stack ( in my case, a GtkBox ), but can't set the
'needs-attention' property on it:

Gtk3::Box does not support property 'needs-attention'.

Is there a way to do this?

Dan


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