Update gtk128

This commit is contained in:
daleclack 2022-04-16 16:10:51 +08:00
parent e7ff7fa9a9
commit e4c94bb4ee
14 changed files with 4 additions and 3 deletions

@ -1 +1 @@
Subproject commit 6ea69eca6817aead20a2cb87cdd08ab8e9a173cd Subproject commit b5a7fe5719ed0df8998b2ba961e09d967a385ec6

0
Gtk3/.hidden Normal file
View File

View File

View File

View File

View File

0
Gtkmm3/.hidden Normal file
View File

View File

View File

@ -6,6 +6,7 @@ MyWin::MyWin(BaseObjectType *cobject, const Glib::RefPtr<Gtk::Builder> &ref_Glad
{ {
// Get Widgets // Get Widgets
ref_builder->get_widget("label_numbers",label_numbers); ref_builder->get_widget("label_numbers",label_numbers);
ref_builder->get_widget("entry_ans",entry_ans);
ref_builder->get_widget("btnstart",btnstart); ref_builder->get_widget("btnstart",btnstart);
ref_builder->get_widget("btncheck",btncheck); ref_builder->get_widget("btncheck",btncheck);
ref_builder->get_widget("btnexit",btnexit); ref_builder->get_widget("btnexit",btnexit);
@ -37,9 +38,9 @@ MyWin::MyWin(BaseObjectType *cobject, const Glib::RefPtr<Gtk::Builder> &ref_Glad
void MyWin::btns_clicked(Gtk::Button *button){ void MyWin::btns_clicked(Gtk::Button *button){
// Get Original text and add number from button // Get Original text and add number from button
//Glib::ustring text = entry_ans->get_text(); Glib::ustring text = entry_ans->get_text();
Glib::ustring label = button->get_label(); Glib::ustring label = button->get_label();
//entry_ans->set_text(text+label); entry_ans->set_text(text+label);
} }
void MyWin::btnstart_clicked(){ void MyWin::btnstart_clicked(){

View File

0
Gtkmm4/.hidden Normal file
View File

View File