I have a question regarding window and button implementation. If I have a toolbar set up, and I have a button on it, is it possible to get it to open a window right within the program? I mean like open up a different section of the program much like the function, notepad1, would do? Or could I get it to imitate the behavior of what the system settings do, where it opens a window completely within the same window? If you can help, I appreciate it. I'm working with the default glade file if that helps anyone.
|
I'm doing this in my App also. I achieved it by doing something similar to the following: In your main window get a reference to the widget you want to use as your parent. It must be a derivative of
I then used glade to create another, separate ui file with a
I believe this same approach is possible with another window but you might have to unparent it. See this question for more info on that here |
|||||
|