Skip to content

Instantly share code, notes, and snippets.

🍰
Mehr Kuchen, mehr C++

aggsol

🍰
Mehr Kuchen, mehr C++
Block or report user

Report or block aggsol

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@aggsol
aggsol / uncrustify.cfg
Created Mar 17, 2020
Uncrustify config for Vala
View uncrustify.cfg
tok_split_gte=false
utf8_byte=false
utf8_force=false
indent_cmt_with_tabs=false
indent_align_string=false
indent_braces=false
indent_braces_no_func=false
indent_braces_no_class=false
indent_braces_no_struct=false
indent_brace_parent=false
@aggsol
aggsol / main.vala
Created Mar 5, 2020 — forked from JMoerman/main.vala
port of https://blog.gtk.org/2017/04/23/drag-and-drop-in-lists/ with scrolling and more advanced drag and drop
View main.vala
using Gtk;
class DragListBox : ListBox {
private ListBoxRow? hover_row;
private ListBoxRow? drag_row;
private bool top = false;
private int hover_top;
private int hover_bottom;
private bool should_scroll = false;
private bool scrolling = false;
@aggsol
aggsol / SettingsListBox.vala
Created Mar 5, 2020 — forked from SkyzohKey/SettingsListBox.vala
A simple ListBox to display Settings in a proper way.
View SettingsListBox.vala
public class SettingsListBox: Gtk.Box {
public Gtk.Box scrolled_box;
public Gtk.ListBox listbox;
public SettingsListBox () {
this.set_orientation (Gtk.Orientation.HORIZONTAL);
Gtk.ScrolledWindow scroll = new Gtk.ScrolledWindow (null, null);
scroll.set_size_request (400, 1);
You can’t perform that action at this time.