Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 6eccdd7165
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (24 sloc) 0.762 kB
using GMenu;
using Gtk;
// This class provides a header and containter to put contents
public class PanelMenuContent : VBox {
protected VBox bar;
public signal void menu_clicked ();
public PanelMenuContent (string? label) {
if (label != null) {
var l = new Label ("");
l.set_markup ("<big>\n" + label + "</big>");
l.show ();
pack_start (l, false, false, 5);
}
show_all ();
}
public override void get_preferred_width (out int min, out int max) {
min = max = 300;
}
public void insert_separator () {
var separator = new Separator (Orientation.HORIZONTAL);
separator.show ();
pack_start (separator, false, false, 10);
}
}
Jump to Line
Something went wrong with that request. Please try again.