Home | History | Annotate | Download | only in gtk

Lines Matching refs:button

70 // The minimum width in pixels of the button hbox if |icon_count| icons are
103 gtk_container_add(GTK_CONTAINER(alignment_.get()), button());
104 gtk_widget_show(button());
120 signals_.Connect(button(), "button-press-event",
122 signals_.Connect(button(), "clicked",
124 signals_.Connect(button(), "drag-begin",
143 GtkWidget* button() { return button_->widget(); }
169 // Updates the button based on the latest state from the associated
178 gtk_widget_set_has_tooltip(button(), FALSE);
180 gtk_widget_set_tooltip_text(button(), tooltip.c_str());
192 gtk_widget_queue_draw(button());
263 gtk_button_set_image(GTK_BUTTON(button()), image_);
272 if (event->button != 3)
280 menu->PopupForWidget(widget, event->button, event->time);
298 BrowserActionButton* button) {
299 int tab_id = button->toolbar_->GetCurrentTabId();
303 ExtensionAction* action = button->extension_->browser_action();
315 BrowserActionButton* button) {
319 button->toolbar_->DragStarted(button, drag_context);
322 // The toolbar containing this button.
328 // The button for this browser action.
335 // the widget hierarchy while changing the button image because changing the
340 // Loads the button's icons for us on the file thread.
402 signals_.Connect(gripper, "button-release-event",
404 signals_.Connect(gripper, "button-press-event",
406 signals_.Connect(chevron(), "button-press-event",
520 linked_ptr<BrowserActionButton> button(
523 GTK_CHROME_SHRINKABLE_HBOX(button_hbox_.get()), button->widget(), 0);
524 gtk_box_reorder_child(GTK_BOX(button_hbox_.get()), button->widget(), index);
525 extension_button_map_[extension->id()] = button;
528 gtk_drag_source_set(button->button(), GDK_BUTTON1_MASK, &drag_target, 1,
531 signals_.Connect(button->button(), "drag-end",
533 signals_.Connect(button->button(), "drag-failed",
536 // Any time a browser action button is shown or hidden we have to update
538 signals_.Connect(button->widget(), "show",
540 signals_.Connect(button->widget(), "hide",
543 gtk_widget_show(button->widget());
628 // We initiated this move action, and have already moved the button.
708 void BrowserActionsToolbarGtk::DragStarted(BrowserActionButton* button,
716 drag_button_ = button;
780 void BrowserActionsToolbarGtk::OnDragEnd(GtkWidget* button,
830 // button container's width.
848 // button or leaves the button, and be sure to leave it on when the user is
903 BrowserActionButton* button = extension_button_map_[extension->id()].get();
907 button->GetIcon());
913 signals_.Connect(overflow_menu_->widget(), "button-press-event",
924 if (event->button != 3)