tv_rename/progresswindow.cpp

31 lines
625 B
C++
Raw Normal View History

2020-01-17 13:06:31 +00:00
#include <gtkmm/liststore.h>
#include <iostream>
#include <mutex>
#include "functions.hpp"
#include "progresswindow.hpp"
ProgressWindow::ProgressWindow() {
set_title( "Progress" );
set_default_size( 500, 55 );
std::cout << "Layout" << std::endl;
add( *layout );
set_size_request( 500, 55 );
set_resizable( false );
pb->set_size_request( 490, 5 );
label->set_size_request( 500, 25 );
// set widgets' location
layout->put( *pb, 5, 35 );
layout->put( *label, 5, 5 );
// show everything
layout->show();
layout->show_all_children();
label->set_text( "TEST" );
}