Blame bindings/vala/separator.vala

Packit 3ff832
/* vim:set et sts=4 sw=4:
Packit 3ff832
 *
Packit 3ff832
 * ibus - The Input Bus
Packit 3ff832
 *
Packit 3ff832
 * Copyright(c) 2011-2014 Peng Huang <shawn.p.huang@gmail.com>
Packit 3ff832
 *
Packit 3ff832
 * This library is free software; you can redistribute it and/or
Packit 3ff832
 * modify it under the terms of the GNU Lesser General Public
Packit 3ff832
 * License as published by the Free Software Foundation; either
Packit 3ff832
 * version 2.1 of the License, or (at your option) any later version.
Packit 3ff832
 *
Packit 3ff832
 * This library is distributed in the hope that it will be useful,
Packit 3ff832
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 3ff832
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit 3ff832
 * Lesser General Public License for more details.
Packit 3ff832
 *
Packit 3ff832
 * You should have received a copy of the GNU Lesser General Public
Packit 3ff832
 * License along with this library; if not, write to the Free Software
Packit 3ff832
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301
Packit 3ff832
 * USA
Packit 3ff832
 */
Packit 3ff832
Packit 3ff832
class HSeparator : Gtk.Separator {
Packit 3ff832
    public HSeparator() {
Packit 3ff832
        GLib.Object(
Packit 3ff832
            orientation : Gtk.Orientation.HORIZONTAL,
Packit 3ff832
            margin : 2
Packit 3ff832
        );
Packit 3ff832
    }
Packit 3ff832
}
Packit 3ff832
Packit 3ff832
class VSeparator : Gtk.Separator {
Packit 3ff832
    public VSeparator() {
Packit 3ff832
        GLib.Object(
Packit 3ff832
            orientation : Gtk.Orientation.VERTICAL,
Packit 3ff832
            margin : 2
Packit 3ff832
        );
Packit 3ff832
    }
Packit 3ff832
}