File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -145,6 +145,7 @@ void routing_button_setup(ezgl::application* app) {
145
145
// Toggle Router Util
146
146
GtkComboBoxText* toggle_router_util = GTK_COMBO_BOX_TEXT (app->get_object (" ToggleRoutingUtil" ));
147
147
g_signal_connect (toggle_router_util, " changed" , G_CALLBACK (toggle_router_util_cbk), app);
148
+ show_widget (" RoutingMenuButton" , app);
148
149
}
149
150
150
151
/* *
@@ -168,6 +169,7 @@ void search_setup(ezgl::application* app) {
168
169
void crit_path_button_setup (ezgl::application* app) {
169
170
GtkComboBoxText* toggle_crit_path = GTK_COMBO_BOX_TEXT (app->get_object (" ToggleCritPath" ));
170
171
g_signal_connect (toggle_crit_path, " changed" , G_CALLBACK (toggle_crit_path_cbk), app);
172
+ show_widget (" ToggleCritPath" , app);
171
173
}
172
174
173
175
/* *
@@ -191,6 +193,11 @@ void hide_widget(std::string widgetName, ezgl::application* app) {
191
193
gtk_widget_hide (widget);
192
194
}
193
195
196
+ void show_widget (std::string widgetName, ezgl::application* app) {
197
+ GtkWidget* widget = GTK_WIDGET (app->get_object (widgetName.c_str ()));
198
+ gtk_widget_show (widget);
199
+ }
200
+
194
201
/* *
195
202
* @brief loads atom and cluster lvl names into gtk list store item used for completion
196
203
*
You can’t perform that action at this time.
0 commit comments