VPR UI

UI SETUP

Functions

void basic_button_setup(ezgl::application *app)

configures basic buttons

Sets up Window, Search, Save, and SearchType buttons. Buttons are created in glade main.ui file. Connects them to their cbk functions. Always called.

void net_button_setup(ezgl::application *app)

sets up net related buttons and connects their signals

Sets up the toggle nets combo box, net alpha spin button, and max fanout spin button which are created in main.ui file. Found in Net Settings dropdown. Always called.

void block_button_setup(ezgl::application *app)

sets up block related buttons, connects their signals

Connects signals and sets init. values for blk internals spin button, blk pin util combo box,placement macros combo box, and noc combo bx created in main.ui. Found in Block Settings dropdown. Always Called.

void search_setup(ezgl::application *app)

Loads required data for search autocomplete, sets up special completion fn.

void routing_button_setup(ezgl::application *app)

configures and connects signals/functions for routing buttons

Connects signals/sets default values for toggleRRButton, ToggleCongestion, ToggleCongestionCost, ToggleRoutingBBox, RoutingExpansionCost, ToggleRoutingUtil buttons. Called in all startup options/runs that include Routing

void crit_path_button_setup(ezgl::application *app)

connects critical path button to its cbk fn. Called in all setup options that show crit. path

void hide_crit_path_button(ezgl::application *app)

Hides Critical Path Button. Called for options that don’t show crit. path button.

void load_block_names(ezgl::application *app)

Loads block names into Gtk Structures to enable autocomplete.

Loads block names into Gtk Structures to enable autocomplete.

Parameters

app – ezgl application used for ui

void load_net_names(ezgl::application *app)

Loads net names into Gtk ListStore to enable autocomplete.

void hide_widget(std::string widgetName, ezgl::application *app)

Hides widget with given name; name is id string created in Glade.

void show_widget(std::string widgetName, ezgl::application *app)

Shows widget with given name; name is id string created in Glade.

Shows widget with given name; name is id string created in Glade.