This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%!TEX TS-program = xelatex | |
% Based on: https://gist.github.com/michaelt/1017790 | |
% \documentclass[12pt]{scrbook} | |
\documentclass[ | |
$if(fontsize)$ | |
$fontsize$, | |
$endif$ | |
$if(lang)$ | |
$babel-lang$, | |
$endif$ |