Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KISS-UI/kiss-ui
/ functions
Functions
125 in github.com/KISS-UI/kiss-ui
⨍
Functions
125
◇
Types & classes
31
Method
set_label
Set the label of this button. Can be blank.
src/button.rs:20
Method
set_max
Set the maximum value of this progress bar, i.e. the value at which it will show full. Defaults to `1.0`.
src/progress.rs:46
Method
set_min
Set the minimum value of this progress bar, i.e. the value at which it will be empty. Defaults to `0.0`.
src/progress.rs:54
Method
set_multiline
Set if the text box should accept and render newline characters. If `false`, it will only be slightly taller than a line of text in the current font.
src/text.rs:66
Method
set_ndiv
Based on the orientation, set the number of children to place in a: `Vertical`: **column `Horizontal`: **row before beginning the next one.
src/container.rs:212
Method
set_opt_str_attribute
(self, name: &'static str, val: Option<V>)
src/widget.rs:259
Method
set_orientation
Sets how children are distributed in the container. `Vertical`: The container will fill columns first. Visual example (`ndiv=3` grid with 7 children
src/container.rs:257
Method
set_orientation
Set the orientation of this progress bar. `Vertical`: The progress bar will render as a vertical bar, and fill from bottom to top. `Horizontal`: The
src/progress.rs:64
Method
set_position
Set the position of this widget relative to the top-left corner of its parent. Does nothing if the widget is not renderable or not attached to a pare
src/widget.rs:67
Method
set_text
Update the text of this label. ##Panics If any `WidgetStr` instances from `self.get_text()` are still reachable.
src/text.rs:33
Method
set_valign
(self, valign: VAlign)
src/container.rs:144
Method
set_value
Set the current value of this progress bar. Its rendered infill will be updated to reflect the new value in relation to the minimum and maximum.
src/progress.rs:71
Method
set_visible
Set the widget's visibility state. `.set_visible(true)` is equivalent to calling `.show()`, and `.set_visible(false)` is equivalent to calling `.hide
src/widget.rs:49
Method
set_visible_columns
Set the rendered width of the textbox in columns (character width + padding). If the textbox is set as multiline, this will cause additional text bey
src/text.rs:75
Method
set_visible_lines
Set the rendered height of the textbox in lines (character height + padding). If the textbox is set as multiline, newline characters will push text f
src/text.rs:84
Function
show_alert_dialog
(_: Button)
examples/button_test.rs:63
Function
show_alert_message
(clicked: Button)
examples/textbox_test.rs:30
Function
show_change_name
(btn: Button)
examples/button_test.rs:53
Method
store_widget
(name: N, widget: W)
src/lib.rs:135
Method
str_refcount
(widget: IUPPtr, str_: &'static str)
src/lib.rs:124
Method
to_cb_return
(self)
src/callback.rs:31
Function
transmute_buffer_rgb
Cast a slice of bytes to a slice of 3-byte tuples without copying. Returns `None` if `buf.len()` is not evenly divisible by 3.
src/image.rs:66
Function
transmute_buffer_rgba
Cast a slice of bytes to a slice of 4-byte tuples without copying. Returns `None` if `buf.len()` is not evenly divisible by 4.
src/image.rs:77
Method
try_downcast
Attempt to downcast this `BaseWidget` to a more specialized widget type. This will return an error if the underlying widget class is different than t
src/base.rs:29
Method
try_downcast
Attempt to downcast `base` to the `Self` type, returning `Err(base)` if unsuccessful.
src/base.rs:40
← previous
101–125 of 125, ranked by callers