Use Gtk::Paned (!25)
Gtk::HPaned and Gtk::VPaned were deprecated in Gtkmm 3.2. Replace with plain Gtk::Paned. Closes !25 - Modern Gtk3 - part 1
This commit is contained in:
parent
07fc4aefc3
commit
667af24c73
|
@ -216,8 +216,8 @@ private:
|
||||||
std::vector<Operation *> operations;
|
std::vector<Operation *> operations;
|
||||||
|
|
||||||
//gui stuff
|
//gui stuff
|
||||||
Gtk::HPaned hpaned_main;
|
Gtk::Paned hpaned_main;
|
||||||
Gtk::VPaned vpaned_main;
|
Gtk::Paned vpaned_main;
|
||||||
Gtk::Box vbox_main;
|
Gtk::Box vbox_main;
|
||||||
Gtk::Box vbox_info;
|
Gtk::Box vbox_info;
|
||||||
Gtk::Box hbox_toolbar;
|
Gtk::Box hbox_toolbar;
|
||||||
|
|
|
@ -117,6 +117,7 @@ Win_GParted::Win_GParted( const std::vector<Glib::ustring> & user_devices )
|
||||||
|
|
||||||
//hpaned_main (NOTE: added to vpaned_main)
|
//hpaned_main (NOTE: added to vpaned_main)
|
||||||
init_hpaned_main() ;
|
init_hpaned_main() ;
|
||||||
|
vpaned_main.set_orientation(Gtk::ORIENTATION_VERTICAL);
|
||||||
vpaned_main .pack1( hpaned_main, true, true ) ;
|
vpaned_main .pack1( hpaned_main, true, true ) ;
|
||||||
|
|
||||||
//vpaned_main....
|
//vpaned_main....
|
||||||
|
@ -669,6 +670,7 @@ void Win_GParted::init_device_info()
|
||||||
|
|
||||||
void Win_GParted::init_hpaned_main()
|
void Win_GParted::init_hpaned_main()
|
||||||
{
|
{
|
||||||
|
hpaned_main.set_orientation(Gtk::ORIENTATION_HORIZONTAL);
|
||||||
//left scrollwindow (holds device info)
|
//left scrollwindow (holds device info)
|
||||||
scrollwindow = manage( new Gtk::ScrolledWindow() ) ;
|
scrollwindow = manage( new Gtk::ScrolledWindow() ) ;
|
||||||
scrollwindow ->set_shadow_type( Gtk::SHADOW_ETCHED_IN );
|
scrollwindow ->set_shadow_type( Gtk::SHADOW_ETCHED_IN );
|
||||||
|
|
Loading…
Reference in New Issue