// File: /workspace/github_cpp_makefile_star2_O1/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 0x8c10
movq %rax, 0x10(%rbx)
leaq 0x18874(%rip), %r15     # 0x29226
movq %rax, %rdi
movq %r15, %rsi
movl $0x1, %edx
xorl %ecx, %ecx
xorl %eax, %eax
callq 0x8f30
movq 0x10(%rbx), %rdi
leaq 0x1885d(%rip), %rsi     # 0x2922e
movl $0x1, %edx
xorl %ecx, %ecx
xorl %eax, %eax
callq 0x8f30
movq 0x10(%rbx), %rdi
xorl %esi, %esi
callq 0x8d10
movq 0x10(%rbx), %rdi
xorl %esi, %esi
callq 0x8e90
movq 0x10(%rbx), %r12
callq 0x89d0
movq %rax, %r14
movq %r12, %rdi
movq %rax, %rsi
callq 0x8150
movq %rax, %rdi
xorl %esi, %esi
callq 0x82e0
movq 0x10(%rbx), %rdi
movq %r14, %rsi
callq 0x8150
movq %rax, %rdi
movl $0x1, %esi
callq 0x82e0
movq 0x10(%rbx), %rdi
movq %r14, %rsi
callq 0x8150
movq 0x18(%rbx), %rsi
movq %rax, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
movl $0x1, %r8d
movl $0x1, %r9d
callq 0x8ac0
xorl %edi, %edi
movl $0x1, %esi
callq 0x8f70
movq %rax, 0x48(%rbx)
leaq 0x187ff(%rip), %rsi     # 0x2926d
movq %rax, %rdi
callq 0x8220
leaq 0x18806(%rip), %rdi     # 0x29283
movl $0x2, %esi
callq 0x8d20
movq %rax, %r13
movq %rax, 0x50(%rbx)
callq 0x86c0
movq %rax, %r12
movq %r13, %rdi
movq %rax, %rsi
callq 0x8150
movq %rax, %rdi
movl $0x2, %esi
callq 0x8b30
movq 0x50(%rbx), %rdi
movq %r15, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %eax, %eax
callq 0x8f30
movq 0x50(%rbx), %rdi
movl $0x50, %esi
callq 0x8150
leaq 0x187bb(%rip), %r13     # 0x29290
leaq -0x10c9(%rip), %rdx     # 0xfa13
movq %rax, %rdi
movq %r13, %rsi
movq %rbx, %rcx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0x82a0
movq 0x48(%rbx), %r15
callq 0x88f0
movq %rax, %rbp
movq %r15, %rdi
movq %rax, %rsi
callq 0x8150
movq 0x50(%rbx), %rsi
movq %rax, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x8260
leaq 0x18777(%rip), %rdi     # 0x29298
movl $0x2, %esi
callq 0x8d20
movq %rax, 0x58(%rbx)
movq %rax, %rdi
movq %r12, %rsi
callq 0x8150
movq %rax, %rdi
movl $0x2, %esi
callq 0x8b30
movq 0x58(%rbx), %rdi
leaq 0x186d4(%rip), %rsi     # 0x29226
xorl %edx, %edx
xorl %ecx, %ecx
xorl %eax, %eax
callq 0x8f30
movq 0x58(%rbx), %rdi
movl $0x50, %esi
callq 0x8150
leaq -0x1649(%rip), %rdx     # 0xf529
movq %rax, %rdi
movq %r13, %rsi
movq %rbx, %rcx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0x82a0
movq 0x48(%rbx), %rdi
movq %rbp, %rsi
callq 0x8150
movq 0x58(%rbx), %rsi
movq %rax, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x8260
movq 0x58(%rbx), %rdi
xorl %esi, %esi
callq 0x8fc0
movq 0x10(%rbx), %rdi
movq %r14, %rsi
callq 0x8150
movq 0x48(%rbx), %rsi
movq %rax, %rdi
xorl %edx, %edx
movl $0x1, %ecx
movl $0x1, %r8d
movl $0x1, %r9d
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x8ac0
nop