Skip to content
This repository has been archived by the owner on Jun 8, 2021. It is now read-only.

Please, implement set_filter_func method for ListBox #706

Closed
ivmazurenko opened this issue Sep 19, 2018 · 6 comments
Closed

Please, implement set_filter_func method for ListBox #706

ivmazurenko opened this issue Sep 19, 2018 · 6 comments

Comments

@ivmazurenko
Copy link

//fn set_filter_func<'a, P: Into<Option<&'a /*Unimplemented*/ListBoxFilterFunc>>>(&self, filter_func: P, destroy: /*Unknown conversion*//*Unimplemented*/DestroyNotify);

Did I understand correctly, with this method i can filtering my list easy? Thanks a lot for any answer.

@sdroege
Copy link
Member

sdroege commented Oct 9, 2018

At this point this would need a manual implementation like: https://github.com/gtk-rs/gtk/blob/master/src/list_box.rs#L76

Would be relatively easy to write. An automatic solution would require me to finish gtk-rs/gir#618

@paulfariello
Copy link

paulfariello commented Jan 7, 2019

What is the recommended way to workaround this limitation?
And easily filter a listbox?

@GuillaumeGomez
Copy link
Member

It's being implemented currently in gtk-rs/gir#667 .

@mmstick
Copy link

mmstick commented Jan 23, 2019

Ran across the missing set_header_func as well, for ListBox.

alex179ohm pushed a commit to alex179ohm/gtk that referenced this issue Oct 21, 2019
Few improvements on user callback generation
@nt8r
Copy link
Contributor

nt8r commented Jun 6, 2020

This looks to be solved, including set_header_func. Can someone close this?

@sdroege
Copy link
Member

sdroege commented Jun 6, 2020

Thanks for checking!

@sdroege sdroege closed this as completed Jun 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants