Enum fltk::enums::FrameType[][src]

#[repr(i32)]
pub enum FrameType {
Show 57 variants NoBox, FlatBox, UpBox, DownBox, UpFrame, DownFrame, ThinUpBox, ThinDownBox, ThinUpFrame, ThinDownFrame, EngravedBox, EmbossedBox, EngravedFrame, EmbossedFrame, BorderBox, ShadowBox, BorderFrame, ShadowFrame, RoundedBox, RShadowBox, RoundedFrame, RFlatBox, RoundUpBox, RoundDownBox, DiamondUpBox, DiamondDownBox, OvalBox, OShadowBox, OvalFrame, OFlatFrame, PlasticUpBox, PlasticDownBox, PlasticUpFrame, PlasticDownFrame, PlasticThinUpBox, PlasticThinDownBox, PlasticRoundUpBox, PlasticRoundDownBox, GtkUpBox, GtkDownBox, GtkUpFrame, GtkDownFrame, GtkThinUpBox, GtkThinDownBox, GtkThinUpFrame, GtkThinDownFrame, GtkRoundUpFrame, GtkRoundDownFrame, GleamUpBox, GleamDownBox, GleamUpFrame, GleamDownFrame, GleamThinUpBox, GleamThinDownBox, GleamRoundUpBox, GleamRoundDownBox, FreeBoxType,
}
Expand description

Defines the frame types which can be set using the set_frame() and set_down_frame() methods

Variants

NoBox

No Box

FlatBox

Flat Box

UpBox

Up Box

DownBox

Down Box

UpFrame

Up Frame

DownFrame

Down Frame

ThinUpBox

Thin Up Box

ThinDownBox

Thin Down Box

ThinUpFrame

Thin Up Frame

ThinDownFrame

Thin Down Frame

EngravedBox

Engraved Box

EmbossedBox

Embossed Box

EngravedFrame

Engraved Frame

EmbossedFrame

Embossed Frame

BorderBox

Border Box

ShadowBox

Shadow Box

BorderFrame

Border Frame

ShadowFrame

Shadow Frame

RoundedBox

Rounded Box

RShadowBox

Rounded Shadow Box

RoundedFrame

Rounded Frame

RFlatBox

Rounded Flat Box

RoundUpBox

Round Up Box

RoundDownBox

Round Down Box

DiamondUpBox

Diamond Up Box

DiamondDownBox

Diamond Down Box

OvalBox

Oval Box

OShadowBox

Oval Shadow Box

OvalFrame

Oval Frame

OFlatFrame

Oval Flat Frame

PlasticUpBox

Plastic Up Box

PlasticDownBox

Plastic Down Box

PlasticUpFrame

Plastic Up Frame

PlasticDownFrame

Plastic Down Frame

PlasticThinUpBox

Plastic Thin Up Box

PlasticThinDownBox

Plastic Thin Down Box

PlasticRoundUpBox

Plastic Round Up Box

PlasticRoundDownBox

Plastic Round Down Box

GtkUpBox

Gtk Up Box

GtkDownBox

Gtk Down Box

GtkUpFrame

Gtk Up Frame

GtkDownFrame

Gtk Down Frame

GtkThinUpBox

Gtk Thin Up Box

GtkThinDownBox

Gtk Thin Down Box

GtkThinUpFrame

Gtk Thin Up Frame

GtkThinDownFrame

Gtk Thin Down Frame

GtkRoundUpFrame

Gtk Round Up Frame

GtkRoundDownFrame

Gtk Round Down Frame

GleamUpBox

Gleam Up Box

GleamDownBox

Gleam Down Box

GleamUpFrame

Gleam Up Frame

GleamDownFrame

Gleam Down Frame

GleamThinUpBox

Gleam Thin Up Box

GleamThinDownBox

Gleam Thin Down Box

GleamRoundUpBox

Gleam Round Up Box

GleamRoundDownBox

Gleam Round Down Box

FreeBoxType

Free BoxType

Implementations

Alias OFlatFrame as OFlatBox

Alias GtkRoundDownFrame as GtkRoundDownBox

Gets the Frame type by index

Get the frame’s x offset

Get the frame’s y offset

Get the frame’s width offset

Get the frame’s height offset

Swap frames

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.