Lines Matching refs:label
308 const std::string& label) {
309 std::string converted_label = gfx::ConvertAcceleratorsFromWindowsStyle(label);
310 GtkWidget* menu_item = BuildMenuItemWithLabel(label, command_id);
315 const std::string& label,
317 std::string converted_label = gfx::ConvertAcceleratorsFromWindowsStyle(label);
323 const std::string& label) {
324 std::string converted_label = gfx::ConvertAcceleratorsFromWindowsStyle(label);
407 GtkWidget* MenuGtk::BuildMenuItemWithImage(const std::string& label,
410 gtk_image_menu_item_new_with_mnemonic(label.c_str());
415 GtkWidget* MenuGtk::BuildMenuItemWithImage(const std::string& label,
418 GtkWidget* menu_item = BuildMenuItemWithImage(label,
424 GtkWidget* MenuGtk::BuildMenuItemWithLabel(const std::string& label,
429 return img ? BuildMenuItemWithImage(label, img) :
430 gtk_menu_item_new_with_mnemonic(label.c_str());
442 std::string label =
453 menu_item = gtk_check_menu_item_new_with_mnemonic(label.c_str());
462 NULL, label.c_str());
466 GTK_RADIO_MENU_ITEM(iter->second), label.c_str());
481 menu_item = BuildMenuItemWithImage(label, icon);
483 menu_item = BuildMenuItemWithLabel(label, command_id);
520 gfx::RemoveWindowsStyleAccelerators(UTF16ToUTF8(model->label())).c_str());
741 std::string label =
744 gtk_button_set_label(GTK_BUTTON(button), label.c_str());
798 // Update the menu item label if it is dynamic.
800 std::string label =
805 gtk_menu_item_set_label(GTK_MENU_ITEM(widget), label.c_str());
807 gtk_label_set_label(GTK_LABEL(GTK_BIN(widget)->child), label.c_str());