8000 GitHub - kisyr/react-gtk
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

kisyr/react-gtk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React GTK

Aims to provide simple React components for GTK widgets for use with GJS with support for signal handlers and controlled values.

We can specify standard properties and signal callbacks for components like:

<Box orientation={Gtk.Orientation.VERTICAL}>
	<Button label="Click me!"  => console.log('clicked')} />
</Box>

Any property with the signature onX will connect a signal handler for x.

We can do controlled components like:

<Entry text={currentText}  />

Any property with the signature onChangeX will connect a signal handler for notify::x which resets the widgets X value and calls the property callback with the new X value.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0