GOFI.Utils – go-for-it-0 Reference Manual
Packages
go-for-it-0
GOFI
Utils
create_menu_button
ensure_file_exists
get_image_fallback
load_image_fallback
popover_hide
popover_show
seconds_to_pretty_string
string_to_exclamation
time_to_uint
uint_to_time
Utils
Utils
Object Hierarchy:
Description:
public
class
Utils
Namespace:
GOFI
Package:
go-for-it-0
Content:
Static methods:
public
static
Button
create_menu_button
(
string
label)
public
static
bool
ensure_file_exists
(
File
file,
FileCreateFlags
flags)
throws
Error
public
static
string
get_image_fallback
(
string
icon_name, ...)
public
static
Image
load_image_fallback
(
IconSize
size,
string
icon_name, ...)
public
static
void
popover_hide
(
Popover
popover)
public
static
void
popover_show
(
Popover
popover)
public
static
string
seconds_to_pretty_string
(
uint
seconds)
public
static
string
string_to_exclamation
(
string
str)
public
static
uint
time_to_uint
(
uint
hours,
uint
minutes,
uint
seconds)
public
static
void
uint_to_time
(
uint
time_val,
out
uint
hours,
out
uint
minutes,
out
uint
seconds)
Creation methods:
public
Utils
()