Evgenii Pashkin
Evgenii Pashkin
It may be good.
As I remember Gir not support direction="inout", Also its has strange logic so better written manually (Ex. I not understand why "rect" in "transform_rectangle" optional).
We don't handle it mostly because no normal examples.
Seems `type PixelFormat=u32` used only as return value, it seems can overridden with any type that implement `FromGlib` See as example: https://github.com/gtk-rs/gtk/blob/master/Gir.toml#L928 https://github.com/gtk-rs/gtk/blob/master/src/auto/dialog.rs#L761
As I understand you get `None` only if you try access to page that not exist, so reaction only depend on what you wan't, IMHO as this normally don't happened,...
You can add generic type that contains `Notebook` (and deref) and add your variant `append_page` and `get_nth_page` for it, but IMHO when all pages same type is rare and other...
@jpercyasnet You not tried do something like https://stackoverflow.com/a/8383141/2604116 ?
Yes, but we still not published result of https://github.com/gtk-rs/gdk/pull/144 Examples still builds normally with both stable1.16.0 and nightly but older stable may nags as it.
PS. Forgot mention that latest nightly build only after doing same as https://github.com/gtk-rs/examples/pull/123
Seems it because `GtkSpinner` implementation as it working all time, without it gtktest don't consume CPU.