enum Gtk::BorderStyle

Overview

Describes how the border of a UI element should be rendered.

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/gtk.cr

Enum Members

None = 0_u32

No visible border

Hidden = 1_u32

Same as %GTK_BORDER_STYLE_NONE

Solid = 2_u32

A single line segment

Inset = 3_u32

Looks as if the content is sunken into the canvas

Outset = 4_u32

Looks as if the content is coming out of the canvas

Dotted = 5_u32

A series of round dots

Dashed = 6_u32

A series of square-ended dashes

Double = 7_u32

Two parallel lines with some space between them

Groove = 8_u32

Looks as if it were carved in the canvas

Ridge = 9_u32

Looks as if it were coming out of the canvas

Class Method Summary

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


[View source]

Instance Method Detail

def dashed? #

[View source]
def dotted? #

[View source]
def double? #

[View source]
def groove? #

[View source]
def hidden? #

[View source]
def inset? #

[View source]
def none? #

[View source]
def outset? #

[View source]
def ridge? #

[View source]
def solid? #

[View source]