[][src]Crate gxi

Welcome to the gxi docs! Since gxi isn't a library these docs are meant to help contributors understand gxi's code.

gxi's structure can be simplified like this:

 ----------            -----------                 ----------
 |        |   spawns   |         |changes MainState|        |
 |  Core  |<-----------| MainWin |<----------------|EditView|
 | thread | sends msgs |MainState|  forwards msgs  |        |
 |        |----------->|         |---------------->|        |
 ----------            ----------- related to edit ----------
 ^   ^                                                  |
 |   |---------                                         |
 |            |                                         |
 xi-editor    |                                         |
 sends        |                                         |
 msgs         |------------------------------------------
              sends editing events to RPC, which forwards
                      them to xi to process them

Now onto more detailed explanation:

gxi also contains some more minor modules, please see their documentation for more info:

I can very much recommend you to look at the following tutorial if you don't know gtk-rs yet!

Modules

about_win
edit_view
errors
globals
linecache
macros
main_win
pref_storage
prefs_win
rpc
shared_queue
theme
xi_thread

Macros

app_id
clone
setup_gtk_panic

Functions

main