Lines Matching refs:widget
77 struct widget *grab_widget;
102 struct widget *widget; member
117 struct widget *widget; member
137 struct widget *widget; member
148 struct widget *widget; member
157 struct widget *widget; member
158 struct widget *button;
209 panel_launcher_activate(struct panel_launcher *widget) in panel_launcher_activate() argument
223 argv = widget->argv.data; in panel_launcher_activate()
228 if (execve(argv[0], argv, widget->envp.data) < 0) { in panel_launcher_activate()
236 panel_launcher_redraw_handler(struct widget *widget, void *data) in panel_launcher_redraw_handler() argument
242 cr = widget_cairo_create(launcher->panel->widget); in panel_launcher_redraw_handler()
244 widget_get_allocation(widget, &allocation); in panel_launcher_redraw_handler()
272 panel_launcher_motion_handler(struct widget *widget, struct input *input, in panel_launcher_motion_handler() argument
277 widget_set_tooltip(widget, basename((char *)launcher->path), x, y); in panel_launcher_motion_handler()
293 panel_redraw_handler(struct widget *widget, void *data) in panel_redraw_handler() argument
299 cr = widget_cairo_create(panel->widget); in panel_redraw_handler()
312 panel_launcher_enter_handler(struct widget *widget, struct input *input, in panel_launcher_enter_handler() argument
318 widget_schedule_redraw(widget); in panel_launcher_enter_handler()
324 panel_launcher_leave_handler(struct widget *widget, in panel_launcher_leave_handler() argument
330 widget_destroy_tooltip(widget); in panel_launcher_leave_handler()
331 widget_schedule_redraw(widget); in panel_launcher_leave_handler()
335 panel_launcher_button_handler(struct widget *widget, in panel_launcher_button_handler() argument
342 launcher = widget_get_user_data(widget); in panel_launcher_button_handler()
343 widget_schedule_redraw(widget); in panel_launcher_button_handler()
350 panel_launcher_touch_down_handler(struct widget *widget, struct input *input, in panel_launcher_touch_down_handler() argument
356 launcher = widget_get_user_data(widget); in panel_launcher_touch_down_handler()
358 widget_schedule_redraw(widget); in panel_launcher_touch_down_handler()
362 panel_launcher_touch_up_handler(struct widget *widget, struct input *input, in panel_launcher_touch_up_handler() argument
368 launcher = widget_get_user_data(widget); in panel_launcher_touch_up_handler()
370 widget_schedule_redraw(widget); in panel_launcher_touch_up_handler()
379 widget_schedule_redraw(clock->widget); in clock_func()
383 panel_clock_redraw_handler(struct widget *widget, void *data) in panel_clock_redraw_handler() argument
397 widget_get_allocation(widget, &allocation); in panel_clock_redraw_handler()
401 cr = widget_cairo_create(clock->panel->widget); in panel_clock_redraw_handler()
437 widget_destroy(clock->widget); in panel_destroy_clock()
468 clock->widget = widget_add_widget(panel->widget, clock); in panel_add_clock()
469 widget_set_redraw_handler(clock->widget, panel_clock_redraw_handler); in panel_add_clock()
473 panel_resize_handler(struct widget *widget, in panel_resize_handler() argument
487 widget_set_allocation(launcher->widget, x, y, in panel_resize_handler()
507 widget_set_allocation(panel->clock->widget, in panel_resize_handler()
566 widget_destroy(launcher->widget); in panel_destroy_launcher()
584 widget_destroy(panel->widget); in panel_destroy()
601 panel->widget = window_add_widget(panel->window, panel); in panel_create()
607 widget_set_redraw_handler(panel->widget, panel_redraw_handler); in panel_create()
608 widget_set_resize_handler(panel->widget, panel_resize_handler); in panel_create()
718 launcher->widget = widget_add_widget(panel->widget, launcher); in panel_add_launcher()
719 widget_set_enter_handler(launcher->widget, in panel_add_launcher()
721 widget_set_leave_handler(launcher->widget, in panel_add_launcher()
723 widget_set_button_handler(launcher->widget, in panel_add_launcher()
725 widget_set_touch_down_handler(launcher->widget, in panel_add_launcher()
727 widget_set_touch_up_handler(launcher->widget, in panel_add_launcher()
729 widget_set_redraw_handler(launcher->widget, in panel_add_launcher()
731 widget_set_motion_handler(launcher->widget, in panel_add_launcher()
743 background_draw(struct widget *widget, void *data) in background_draw() argument
757 cr = widget_cairo_create(background->widget); in background_draw()
765 widget_get_allocation(widget, &allocation); in background_draw()
853 widget_set_viewport_destination(background->widget, width, height); in background_configure()
858 widget_schedule_resize(background->widget, width, height); in background_configure()
862 unlock_dialog_redraw_handler(struct widget *widget, void *data) in unlock_dialog_redraw_handler() argument
871 cr = widget_cairo_create(widget); in unlock_dialog_redraw_handler()
873 widget_get_allocation(dialog->widget, &allocation); in unlock_dialog_redraw_handler()
909 unlock_dialog_button_handler(struct widget *widget, in unlock_dialog_button_handler() argument
927 unlock_dialog_touch_down_handler(struct widget *widget, struct input *input, in unlock_dialog_touch_down_handler() argument
934 widget_schedule_redraw(widget); in unlock_dialog_touch_down_handler()
938 unlock_dialog_touch_up_handler(struct widget *widget, struct input *input, in unlock_dialog_touch_up_handler() argument
946 widget_schedule_redraw(widget); in unlock_dialog_touch_up_handler()
959 unlock_dialog_widget_enter_handler(struct widget *widget, in unlock_dialog_widget_enter_handler() argument
966 widget_schedule_redraw(widget); in unlock_dialog_widget_enter_handler()
972 unlock_dialog_widget_leave_handler(struct widget *widget, in unlock_dialog_widget_leave_handler() argument
978 widget_schedule_redraw(widget); in unlock_dialog_widget_leave_handler()
991 dialog->widget = window_frame_create(dialog->window, dialog); in unlock_dialog_create()
997 dialog->button = widget_add_widget(dialog->widget, dialog); in unlock_dialog_create()
998 widget_set_redraw_handler(dialog->widget, in unlock_dialog_create()
1123 widget_destroy(background->widget); in background_destroy()
1141 background->widget = window_add_widget(background->window, background); in background_create()
1143 widget_set_redraw_handler(background->widget, background_draw); in background_create()
1144 widget_set_transparent(background->widget, 0); in background_create()
1179 grab_surface_enter_handler(struct widget *widget, struct input *input, in grab_surface_enter_handler() argument