Closed ergpopler closed 3 years ago
@ergpopler
Did you ever resolve this? In other words, does back_button.set_visible(false);
work after all? I ask because I am working with GTK 3 in Rust and I tried the following:
let delete_button = button::create_button(self, "seating_delete_button");
delete_button.set_visibie(false);
And that did nothing for me.
Python example that works:
Basically, what this does is create a label with a bunch of text saying "test" and a button. Apon any keypress it would toggle fullscreen on-and-off, but it would only show the label in fullscreen mode, not the button. That is what I want.
I see no way to do this in Rust.
compiles, but does nothing.
My source code here: https://github.com/moon-laboratories/murasaki malfunctions when fullscreen. It fullscreens, but everything does, including buttons that should vanish upon disappearing. I would like to be able to fullscreen just one element, not the entire window. Is this possible?
EDIT: I am stupid. I put the code to hide the button BEFORE I even initially activated the button, so it was disabling the button that was already disabled, then enabling it. I am dumb, Sorry.