You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Nostalgia/HeaderBar.vala

14 lines
344 B

public class MyApp.HeaderBar : Gtk.HeaderBar{
public Gtk.Stack window_stack{ get; construct; }
public HeaderBar(Gtk.Stack stack){
Object(
window_stack: stack
);
}
construct{
set_show_close_button(true);
var stack_switcher = new Gtk.StackSwitcher();
stack_switcher.stack = window_stack;
set_custom_title(stack_switcher);
}
}