aboutsummaryrefslogblamecommitdiff
path: root/main/src/ui/util/size_request_box.vala
blob: 7d7b61857a9e60c1815d613bc687a4375f44b408 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                   
                                   




                                                                                                   
 
                                      
                                                                                                   


                                              



                                                            
using Gtk;

namespace Dino.Ui {
public class SizeRequestBox : Box {
    public SizeRequestMode size_request_mode { get; set; default = SizeRequestMode.CONSTANT_SIZE; }

    public override Gtk.SizeRequestMode get_request_mode() {
        return size_request_mode;
    }
}

public class SizeRequestBin : Widget {
    public SizeRequestMode size_request_mode { get; set; default = SizeRequestMode.CONSTANT_SIZE; }

    construct {
        this.layout_manager = new BinLayout();
    }

    public override Gtk.SizeRequestMode get_request_mode() {
        return size_request_mode;
    }
}
}