Julián Unrrein
Julián Unrrein
> I saw that "Close" and "Quit" in poedit. Its UI doesn't use the gtkheaderbar and the current gnome way of getting rid of the File/Edit/View/etc menu. That's why it...
This issue is more complex than what can be seen at first hand. In the first place, a [Gtk::ApplicationWindow](https://developer.gnome.org/gtkmm/stable/classGtk_1_1ApplicationWindow.html) already has more than one responsibility (as the inheritance graph hints):...
The interface of Document is the following: ```cpp public: Document(const std::string& filePath); ~Document(); void saveDocument(const Glib::RefPtr& destinationFile); void removePage(int pageNumber); void removePages(const std::vector& positions); void removePageRange(int first, int last); void...
We now have separate DocumentSaver and PageRenderer classes. I'm not liking the idea of a DocumentLoader class since it will be too tightly coupled with the private members of Document.
Thanks for the report. I agree with you. The issue in this case is that `GtkFlowBox` doesn't support doing what you have in mind. Other applications work around this issue...
I once saw an example for doing this, in Python, that I think can be translated for our situation. It's now a matter of finding that example again.
> I still struggle to understand how can you dev-guys "write" the UI... To be honest, I should be using Glade to build my UI. "Writing" the UI is the...
If you are completely new to programming, I would suggest you to learn something like Python first. It will save you a lot of frustrations compared to, for example, C++....
@amivaleo Hey there. On reading this again, I think you were asking me specifically how one can build an UI using source code. The "Getting Started" section of the Python...
@amivaleo I assumed you didn't know any programming at all, and made an ass of myself. You know Slicer is programmed in C++ right? So you are practically there. Unfortunately,...