// File: /workspace/github_cpp_makefile_star2_O2/eiskalteschatten[P]developersnotebook/src/views/ProjectsView.cpp
// Function: ProjectsView::setup_list_view_toolbar()
void ProjectsView::setup_list_view_toolbar() {
    list_view_grid = gtk_grid_new();
    g_object_set(list_view_grid, "hexpand", TRUE, NULL);
    g_object_set(list_view_grid, "vexpand", TRUE, NULL);
    gtk_widget_set_halign(list_view_grid, GTK_ALIGN_FILL);
    gtk_widget_set_valign(list_view_grid, GTK_ALIGN_FILL);

    gtk_grid_insert_row(GTK_GRID(list_view_grid), 0);
    gtk_grid_insert_row(GTK_GRID(list_view_grid), 1);

    gtk_grid_attach(GTK_GRID(list_view_grid), list_scrolled_window, 0, 0, 1, 1);

    toolbar_box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 1);
    gtk_widget_set_name(toolbar_box, "projects-view_toolbar");

    // New button
    {
        new_toolbar_button = gtk_button_new_from_icon_name("document-new", GTK_ICON_SIZE_SMALL_TOOLBAR);
        gtk_button_set_relief(GTK_BUTTON(new_toolbar_button), GTK_RELIEF_NONE);
        g_object_set(new_toolbar_button, "hexpand", FALSE, NULL);
        g_signal_connect(G_OBJECT(new_toolbar_button), "clicked", G_CALLBACK(create_new_project_static), this);
        gtk_box_pack_start(GTK_BOX(toolbar_box), new_toolbar_button, FALSE, FALSE, 0);
    }

    // Delete button
    {
        delete_toolbar_button = gtk_button_new_from_icon_name("edit-delete", GTK_ICON_SIZE_SMALL_TOOLBAR);
        gtk_button_set_relief(GTK_BUTTON(delete_toolbar_button), GTK_RELIEF_NONE);
        g_object_set(delete_toolbar_button, "hexpand", FALSE, NULL);
        g_signal_connect(G_OBJECT(delete_toolbar_button), "clicked", G_CALLBACK(delete_project), this);
        gtk_box_pack_start(GTK_BOX(toolbar_box), delete_toolbar_button, FALSE, FALSE, 0);
        gtk_widget_set_sensitive(delete_toolbar_button, FALSE);
    }

    gtk_grid_attach(GTK_GRID(list_view_grid), toolbar_box, 0, 1, 1, 1);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x8c60
movq %rax, 0x10(%rbx)
leaq 0x14c76(%rip), %rsi     # 0x22226
pushq $0x1
popq %rbp
movq %rax, %rdi
movl %ebp, %edx
xorl %ecx, %ecx
xorl %eax, %eax
callq 0x8f60
movq 0x10(%rbx), %rdi
leaq 0x14c62(%rip), %rsi     # 0x2222e
movl %ebp, %edx
xorl %ecx, %ecx
xorl %eax, %eax
callq 0x8f60
movq 0x10(%rbx), %rdi
xorl %esi, %esi
callq 0x8d60
movq 0x10(%rbx), %rdi
xorl %esi, %esi
callq 0x8ec0
movq 0x10(%rbx), %r15
callq 0x89f0
movq %rax, %r14
movq %r15, %rdi
movq %rax, %rsi
callq 0x8150
movq %rax, %rdi
xorl %esi, %esi
callq 0x82f0
movq 0x10(%rbx), %rdi
movq %r14, %rsi
callq 0x8150
movq %rax, %rdi
movl %ebp, %esi
callq 0x82f0
movq 0x10(%rbx), %rdi
movq %r14, %rsi
callq 0x8150
movq 0x18(%rbx), %rsi
movq %rax, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
movl %ebp, %r8d
movl %ebp, %r9d
callq 0x8b00
xorl %edi, %edi
movl %ebp, %esi
callq 0x8fb0
movq %rax, 0x48(%rbx)
leaq 0x14c13(%rip), %rsi     # 0x2226d
movq %rax, %rdi
callq 0x8230
leaq 0x14c1a(%rip), %rdi     # 0x22283
pushq $0x2
popq %r12
movl %r12d, %esi
callq 0x8d70
movq %rax, %r15
movq %rax, 0x50(%rbx)
callq 0x8700
movq %rax, %r13
movq %r15, %rdi
movq %rax, %rsi
callq 0x8150
movq %rax, %rdi
movl %r12d, %esi
callq 0x8b80
movq 0x50(%rbx), %rdi
leaq 0x14b81(%rip), %rsi     # 0x22226
xorl %edx, %edx
xorl %ecx, %ecx
xorl %eax, %eax
callq 0x8f60
movq 0x50(%rbx), %rdi
pushq $0x50
popq %rsi
callq 0x8150
leaq 0x14bcd(%rip), %rsi     # 0x22290
leaq -0xdd5(%rip), %rdx      # 0xc8f5
movq %rax, %rdi
movq %rbx, %rcx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0x82b0
movq 0x48(%rbx), %rbp
callq 0x8930
movq %rax, %r15
movq %rbp, %rdi
movq %rax, %rsi
callq 0x8150
movq 0x50(%rbx), %rsi
movq %rax, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x8270
leaq 0x14b8c(%rip), %rdi     # 0x22298
movl %r12d, %esi
callq 0x8d70
movq %rax, 0x58(%rbx)
movq %rax, %rdi
movq %r13, %rsi
callq 0x8150
movq %rax, %rdi
movl %r12d, %esi
callq 0x8b80
movq 0x58(%rbx), %rdi
leaq 0x14aed(%rip), %rsi     # 0x22226
xorl %edx, %edx
xorl %ecx, %ecx
xorl %eax, %eax
callq 0x8f60
movq 0x58(%rbx), %rdi
pushq $0x50
popq %rsi
callq 0x8150
leaq -0x11b0(%rip), %rdx     # 0xc5a7
movq %rax, %rdi
leaq 0x14b2f(%rip), %rsi     # 0x22290
movq %rbx, %rcx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0x82b0
movq 0x48(%rbx), %rdi
movq %r15, %rsi
callq 0x8150
movq 0x58(%rbx), %rsi
movq %rax, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x8270
movq 0x58(%rbx), %rdi
xorl %esi, %esi
callq 0x9010
movq 0x10(%rbx), %rdi
movq %r14, %rsi
callq 0x8150
movq 0x48(%rbx), %rsi
movq %rax, %rdi
xorl %edx, %edx
pushq $0x1
popq %rcx
movl %ecx, %r8d
movl %ecx, %r9d
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x8b00