![]() More.įlush the drawing done by the renderer to the on-screen buffer. Get a renderer that can be used to draw on top of the main canvas. More.Ĭhange_canvas_world_coordinates (std::string const &canvas_id, rectangle coordinate_system)Ĭhange the coordinate system of a previously created canvas. Update_message (std::string const &message) More.Ĭhange_button_text (const char *button_text, const char *new_button_text)Ĭhange the label of the button (displayed text) More. Searches inner grid for widget with given name. More.Ĭreate_popup_message_with_callback ( dialog_callback_fn cbk_fn, const char *title, const char *message) More.Ĭreate_popup_message (const char *title, const char *message)Ĭreates a popup message with a "DONE" button. More.Ĭreate_dialog_window ( dialog_callback_fn cbk_fn, const char *dialog_title, const char *window_text)Ĭreates a simple dialog window with "OK" and "CANCEL" buttons. More.Ĭreate_combo_box_text (const char *id_string, int left, int top, int width, int height, combo_box_callback_fn combo_box_fn, std::vector options)Ĭhange_combo_box_text_options (const char *name, std::vector new_options)Ĭhanges list of options to new given vector. ![]() More.Ĭreate_combo_box_text (const char *id_string, int insert_row, combo_box_callback_fn combo_box_fn, std::vector options)Ĭreates a GTK combo box object in Inner Grid. More.Ĭreate_label (int left, int top, int width, int height, const char *label_text)Ĭreate a label object in Inner Grid at specified position/dimensions. More.ĭestroy_button (const char *button_text_to_destroy)ĭeletes a button by its label (displayed text) More.Ĭreate_label (int insert_row, const char *label_text)Ĭreates a label object in Inner Grid. More.Īdd_canvas (std::string const &canvas_id, draw_canvas_fn draw_callback, rectangle coordinate_system, color background_color=WHITE)Ĭreate_button (const char *button_text, int left, int top, int width, int height, button_callback_fn button_func)Ĭreate_button (const char *button_text, int insert_row, button_callback_fn button_func)Īdd a button convenience Adds a button at a given row index (assuming buttons in the right bar use 1 row each, with the top button at row 0) by inserting a row in the grid and adding the button. Configuration settings for the application. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |