jeremyletang/rgtk

set_size_request

Closed this issue · 5 comments

i cant set size an button or entry etc.
how i can use set_size_request() function.
i cant see set_size_request() function or comment in ffi file of gtk.

thank u very much for this binding.

Hi,

As you can see rgtk is a work in progress and unfortunately these two functions are not implemented for now. The are part of the GtkWidget in GTK, and will be part of traits::Widget in rgtk.
We probably gonna bind these function soon, or if your want you can create a PR which fix this in rgtk, you're welcome !

Thanks a lot for your kind interest. I'm not a good programmer but I will be very happy if I can help you. I will try to help for rgtk. For that I love OpenSource and Rust.

Ready for merge

Hi Nekst,

As you can see set_size_request is now added to rgtk. Don't forget to update you're rust version aswell as there have been some changes and without the latest rust rgtk wouldn't build.

If you find anymore pieces of functionality missing don't hesitate to add issue's for them. It is very motivational to know people are using rgtk. We would be glad to help!

Cheers,