Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/danieldg/rwaybar
/ functions
Functions
265 in github.com/danieldg/rwaybar
⨍
Functions
265
◇
Types & classes
84
↓ 103 callers
Method
into
(self)
src/data.rs:151
↓ 92 callers
Method
take_in
(&self, f : F)
src/util.rs:81
↓ 71 callers
Method
set
(&self, mouse : &WlPointer, serial : u32)
src/render.rs:100
↓ 70 callers
Method
as_ref
(&'a self)
src/font.rs:36
↓ 49 callers
Method
push
(&self, item : Box<Item>)
src/pulse_tokio.rs:382
↓ 33 callers
Method
notify_data
(&self, who : &str)
src/state.rs:42
↓ 22 callers
Method
with
(this : &Cell<Self>, rt : &Runtime, f : F)
src/data.rs:192
↓ 17 callers
Method
add
Add the currently-rendering bar to this list The next call to notify_data will redraw the bar that was rendering when this was called.
src/state.rs:71
↓ 16 callers
Method
format_or
(&'a self, fmt : &'a str, context : &str)
src/state.rs:153
↓ 16 callers
Method
into_text
(self)
src/data.rs:72
↓ 15 callers
Method
add_click
(&mut self, value : Option<&toml::Value>, buttons : u32)
src/event.rs:49
↓ 15 callers
Method
parse
(value : &mut json::JsonValue)
src/sway.rs:556
↓ 13 callers
Function
toml_to_string
(value : Option<&toml::Value>)
src/util.rs:10
↓ 12 callers
Method
send
(id : u32, msg : &[u8], callback : F)
src/sway.rs:161
↓ 11 callers
Method
render
(self : &Rc<Self>, parent_ctx : &mut Render)
src/item.rs:374
↓ 11 callers
Function
spawn_noerr
(fut : impl Future<Output=()> + 'static)
src/util.rs:121
↓ 10 callers
Method
format
(&'a self, fmt : &'a str)
src/state.rs:116
↓ 10 callers
Method
is_none
(&self)
src/data.rs:849
↓ 10 callers
Method
merge
(&mut self, other: &Self)
src/state.rs:75
↓ 10 callers
Function
spawn
(owner : &'static str, fut : impl Future<Output=Result<(), Box<dyn Error>>> + 'static)
src/util.rs:125
↓ 9 callers
Method
as_bool
(&self)
src/data.rs:120
↓ 9 callers
Method
connection
(&self)
src/dbus.rs:66
↓ 8 callers
Method
offset_clamp
(&mut self, offset : f32, min : f32, max : f32)
src/event.rs:89
↓ 8 callers
Method
render_clamped_item
(self : &Rc<Self>, ctx : &mut Render, ev : &mut EventSink, item : &IterationItem)
src/item.rs:559
↓ 7 callers
Method
read_to_owned
Read the value of a variable This is identical to read_in, but returns a Value instead of using a callback closure.
src/data.rs:897
↓ 7 callers
Function
spawn_handle
(owner : &'static str, fut : impl Future<Output=Result<(), Box<dyn Error>>> + 'static)
src/util.rs:136
↓ 6 callers
Method
as_ref
(&self)
src/data.rs:44
↓ 6 callers
Method
get_item_var
(&self)
src/state.rs:167
↓ 6 callers
Method
take_in_some
(&self, f : F)
src/util.rs:90
↓ 5 callers
Function
read_in
(_name : &str, item: &TrayItem, key : &str, rt : &Runtime, f : F)
src/tray.rs:917
↓ 5 callers
Method
wake
(main : &Weak<MainInner>)
src/pulse_tokio.rs:388
↓ 5 callers
Method
wake_real
(&self)
src/pulse_tokio.rs:393
↓ 5 callers
Function
write
(name : &str, item: &TrayItem, key : &str, value : Value, rt : &Runtime)
src/tray.rs:937
↓ 4 callers
Method
add_signal_watcher
(&self, f : F)
src/dbus.rs:195
↓ 4 callers
Method
add_tooltip
(&mut self, desc : PopupDesc)
src/event.rs:74
↓ 4 callers
Method
button
(&mut self, x : f64, y : f64, button : u32, _runtime : &mut Runtime)
src/tray.rs:858
↓ 4 callers
Method
copy_item_var
(&self)
src/state.rs:163
↓ 4 callers
Method
interest
(&self, rt : &Runtime)
src/sway.rs:216
↓ 4 callers
Method
parse_f32
(&self)
src/data.rs:83
↓ 4 callers
Function
render_font
(ctx: &mut Render, start: (f32, f32), text: &str, markup: bool)
src/font.rs:229
↓ 4 callers
Function
set_seat_offer
(seat: &WlSeat, contents: Option<ZwlrDataControlOfferV1>, selection: bool)
src/wlr.rs:109
↓ 3 callers
Method
add_property_change_watcher
(&self, f : F)
src/dbus.rs:210
↓ 3 callers
Method
data
(&self)
src/data.rs:250
↓ 3 callers
Function
draw_font_with
(target : &mut PixmapMut, xform: Transform, to_draw : &[CGlyph], mut draw : impl FnMut(&mut PixmapMut, &tiny_s
src/font.rs:165
↓ 3 callers
Method
flush
(&mut self)
src/wayland.rs:122
↓ 3 callers
Method
init
One-time setup, if needed
src/data.rs:854
↓ 3 callers
Method
into_owned
(self)
src/data.rs:62
↓ 3 callers
Method
parse_f64
(&self)
src/data.rs:94
↓ 3 callers
Method
popup_button
(&mut self, x : f64, y : f64, button : u32, runtime : &mut Runtime)
src/bar.rs:312
↓ 3 callers
Method
proxy
(&self)
src/tray.rs:738
↓ 3 callers
Method
render_inner
Render the block contents to the given context. Your item starts at the context's current point. When you are done rendering, you should adjust the
src/item.rs:584
↓ 3 callers
Method
request_draw
(&mut self)
src/state.rs:364
↓ 3 callers
Method
send
(&self, msg : zbus::Message)
src/dbus.rs:191
↓ 3 callers
Method
set_item
(&mut self, item : &IterationItem)
src/event.rs:78
↓ 3 callers
Function
toml_to_f64
(value : Option<&toml::Value>)
src/util.rs:24
↓ 2 callers
Method
_read_refresh
(&self, rt : &Runtime, mut do_read : F)
src/data.rs:284
↓ 2 callers
Method
add_client
(&self, item : ListResult<&ClientInfo>)
src/pulse.rs:297
↓ 2 callers
Method
add_name_watcher
(&self, f : F)
src/dbus.rs:228
↓ 2 callers
Method
add_sink
(&self, item : ListResult<&SinkInfo>)
src/pulse.rs:239
↓ 2 callers
Method
add_sink_input
(&self, item : ListResult<&SinkInputInfo>)
src/pulse.rs:317
↓ 2 callers
Method
add_source
(&self, item : ListResult<&SourceInfo>)
src/pulse.rs:268
↓ 2 callers
Method
add_source_output
(&self, item : ListResult<&SourceOutputInfo>)
src/pulse.rs:343
↓ 2 callers
Method
as_raw_fd
(&self)
src/dbus.rs:304
↓ 2 callers
Method
data_update_seq
(&self)
src/state.rs:64
↓ 2 callers
Function
do_add_item
(is_kde : bool, item : String)
src/tray.rs:425
↓ 2 callers
Method
do_add_signal_watcher
(&self, b : Box<dyn SignalWatcherCall>)
src/dbus.rs:205
↓ 2 callers
Method
do_call
(self : Rc<Self>)
src/dbus.rs:482
↓ 2 callers
Method
do_send_msg
(&mut self, id : u32, msg : &[u8], mut on_reply : F)
src/sway.rs:127
↓ 2 callers
Function
do_write
(_name : &str, target : &str, mut key : &str, value : Value, _rt : &Runtime)
src/pulse.rs:557
↓ 2 callers
Method
find_best_mime
(&self, data: &OfferData)
src/wlr.rs:155
↓ 2 callers
Method
for_active_regions
(&self, mut f : impl FnMut(f32, f32))
src/event.rs:155
↓ 2 callers
Method
handle_update
(&self, props : &HashMap<&str, OwnedValue>)
src/tray.rs:534
↓ 2 callers
Function
init_snw
(is_kde : bool)
src/tray.rs:305
↓ 2 callers
Function
initial_query
(target : Rc<MediaPlayer2>, bus_name : BusName<'static>)
src/mpris.rs:166
↓ 2 callers
Method
into_inner
(self)
src/util.rs:75
↓ 2 callers
Method
invoke
(&self, runtime : &Runtime, how : u32)
src/event.rs:219
↓ 2 callers
Method
kill
(&mut self)
src/pulse_tokio.rs:69
↓ 2 callers
Function
layout_font
( font: &'a FontMapped, size_pt: f32, runtime : &'a Runtime, rgba : Color, text : &str,
src/font.rs:54
↓ 2 callers
Method
load_config
(&mut self, reload : bool)
src/state.rs:274
↓ 2 callers
Method
new_popup_on
(&self, ls_surf : &ZwlrLayerSurfaceV1, prefer_top : bool, anchor : (i32, i32, i32, i32), size : (i32, i32), sc
src/wayland.rs:289
↓ 2 callers
Method
no_hover
(&mut self, runtime : &mut Runtime)
src/bar.rs:293
↓ 2 callers
Method
output_ready
(&mut self, output : &WlOutput, data : &OutputInfo)
src/state.rs:396
↓ 2 callers
Function
read_focus_list
(rt : &Runtime, mut f : F)
src/mpris.rs:383
↓ 2 callers
Method
read_refresh
Read periodically using the given closure. If the closure returns `Some(reason)`, an update will happen; otherwise, the closure will continue to be p
src/data.rs:258
↓ 2 callers
Method
refresh
(self : Rc<Self>)
src/tray.rs:742
↓ 2 callers
Method
reinspect
(self : &Rc<Self>)
src/tray.rs:504
↓ 2 callers
Function
render
(ctx : &mut Render, name : &str)
src/icon.rs:173
↓ 2 callers
Method
render_be_rgba
(&mut self, size : (i32, i32), target : &WlSurface)
src/render.rs:47
↓ 2 callers
Method
render_popup
(&mut self, runtime : &Runtime, target : &mut tiny_skia::PixmapMut, scale: i32)
src/item.rs:891
↓ 2 callers
Method
run
Run the mainloop until a quit is requested through the pulse API
src/pulse_tokio.rs:364
↓ 2 callers
Method
scale_from_pt
(&self, pt : f32)
src/font.rs:40
↓ 2 callers
Method
set_data
(&mut self)
src/state.rs:368
↓ 2 callers
Method
start_read
(&self, contents: &ZwlrDataControlOfferV1, offer: &mut OfferType)
src/wlr.rs:173
↓ 2 callers
Method
tick
Run callbacks and register wakers for the pulse mainloop. This returns Ready if a callback was invoked, or Pending if everything is waiting on timers
src/pulse_tokio.rs:208
↓ 2 callers
Method
with_target
(&self, target : &str, f : F)
src/pulse.rs:369
↓ 1 callers
Method
add_hover
(&mut self, min : f32, max : f32, desc : PopupDesc)
src/event.rs:141
↓ 1 callers
Method
add_output_listener
(&mut self, f : F)
src/wayland.rs:114
↓ 1 callers
Method
add_remove_match
(&self, dbus : &DBus, method : &str)
src/tray.rs:761
↓ 1 callers
Method
as_ref
(&self)
src/icon.rs:17
↓ 1 callers
Method
as_str_fast
(&self)
src/data.rs:54
next →
1–100 of 265, ranked by callers