Comments (2)
I improved the behavior locally with the following change. I am not sure if this is correct useage of GTK, but I based my changes upon: http://library.gnome.org/devel/gtk-faq/stable/x601.html
The change I made:
in gtk.go, new function:
func Main_iteration(){
C.gtk_main_iteration_do(C.gboolean(1))
}
in twitter.go:
changed
buffer.Insert(&iter, ":"+text+"\n")
gtk.Main_iteration();
}
}
button.SetSensitive(true)
}()
to
buffer.Insert(&iter, ":"+text+"\n")
gtk.Main_iteration();
}
}
button.SetSensitive(true)
gdk.ThreadsLeave()
}()
from go-gtk.
cool! I'll merge it tonight. :)
from go-gtk.
Related Issues (20)
- Windows issue HOT 1
- gtk.TREE_VIEW(view) is *gtk._Ctype_struct__GtkTreeView HOT 2
- in goroutine call Window.show() Application Stop working
- How to get the label in glade HOT 2
- build demo.go error HOT 8
- Set property to CellRenderer
- make example fails on ubuntu 18.04 with go1.15.2 HOT 1
- glib.IdleAdd crashed with panic: reflect: Call using reflect.Value as type string HOT 2
- build demo err,seek help๏ผ HOT 2
- Project dead? HOT 3
- go get ... does nothing on FreeBSD
- gtk windows download link gives 404
- mac m1
- When I run the thread example and try to move the window, it doesn't respond and the program is dead. HOT 2
- Is there anyone application based on GTK under Windows HOT 1
- httppossible to use go-gtk load a webview to load html/js/css or remote url as ui
- Gtk4 HOT 2
- Cannot install with current go version HOT 1
- Dead Link in About Section of the GitHub Repository
- Can't run examples
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-gtk.