### ----------------------------------------------------
### -- GTK::Simple
### -- Licenses: Artistic-2.0
### -- Authors: Jonathan Worthington, Moritz Lenz, Timo Paulssen, Ahmad M. Zawawi, Jonathan Stowe, ab5tract, momozor, Zoffix Znet, Nick Logan, finanalyst aka Richard Hainsworth
### -- File: lib/GTK/Simple/Separator.rakumod
### ----------------------------------------------------

use v6;

use GTK::Simple::Raw :separator;
use GTK::Simple::Widget;

unit class GTK::Simple::Separator does GTK::Simple::Widget;

submethod BUILD(:$orientation = 'horizontal') {
    my $d = $orientation eq 'vertical' ?? 1 !! 0;
    $!gtk_widget = gtk_separator_new($d);
}


