gotk3 | gotk3 project provides Go bindings for GTK3

 by   conformal Go Version: Current License: ISC

kandi X-RAY | gotk3 Summary

kandi X-RAY | gotk3 Summary

gotk3 is a Go library. gotk3 has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

The gotk3 project provides Go bindings for GTK+3 and dependent projects. Each component is given its own subdirectory, which is used as the import path for the package. Partial binding support for the following libraries is currently implemented:. Care has been taken for memory management to work seamlessly with Go’s garbage collector without the need to use or understand GObject’s floating references.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              gotk3 has a low active ecosystem.
              It has 475 star(s) with 85 fork(s). There are 40 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 26 open issues and 45 have been closed. On average issues are closed in 38 days. There are 18 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of gotk3 is current.

            kandi-Quality Quality

              gotk3 has 0 bugs and 0 code smells.

            kandi-Security Security

              gotk3 has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              gotk3 code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              gotk3 is licensed under the ISC License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              gotk3 releases are not available. You will need to build from source code and install.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of gotk3
            Get all kandi verified functions for this library.

            gotk3 Key Features

            No Key Features are available at this moment for gotk3.

            gotk3 Examples and Code Snippets

            No Code Snippets are available at this moment for gotk3.

            Community Discussions

            Trending Discussions on gotk3

            QUESTION

            Scroll to selected row in GtkListBox
            Asked 2020-Jul-23 at 10:09

            I'm a bit out of ideas here. I want a very simple thing: to be able to select a given GtkListBox row programmatically and then scroll the list box (which is wrapped in a ScrolledWindow and a Viewport).

            Selecting a row is trivial (my code is Go & gotk3, but that's not so important):

            ...

            ANSWER

            Answered 2020-Jul-22 at 19:11

            So, I had the same issue but managed to make it work in my case. I think there are good chances my solution will work for you too.

            Since the grab_focus method didn't work, I started implementing a workaround solution using listbox_get_row_at_y. Highly unsatisfying, but hopefully it was going to work. And.. it didn't work, because get_row_at_y would always return null, for all the y values I'd feed it. And I knew the listbox wasn't empty. So that made me realize I was trying to focus a row that I had just been adding to the listbox.. The row wasn't realized yet, it couldn't be focused because it wasn't ready for that yet.

            So I changed my code to fill the listbox, wait a 100ms timeout, and only then call grab_focus. And that worked!

            I'm actually using a library which is wrapping the timeout call for me, but I think you could use g_timeout_add in 'raw' gtk for that purpose.

            Note that this means that calling grab_focus on a listbox that was already filled beforehand and the items realized on screen should work directly. If that's your situation then this won't help you.

            Source https://stackoverflow.com/questions/62453446

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install gotk3

            gotk3 currently requires GTK 3.6-3.12, GLib 2.36-2.40, and Cairo 1.10 or 1.12. A recent Go (1.2 or newer) is also required. The gtk package requires the cairo, glib, and gdk packages as dependencies, so only one go get is necessary for complete installation. The build process uses the tagging scheme gtk_MAJOR_MINOR to specify a build targeting any particular GTK version (for example, gtk_3_10). Building with no tags defaults to targeting the latest supported GTK release (3.12).

            Support

            Each package’s internal go doc style documentation can be viewed online without installing this package by using the GoDoc site (links to [cairo](http://godoc.org/github.com/conformal/gotk3/cairo), [glib](http://godoc.org/github.com/conformal/gotk3/glib), [gdk](http://godoc.org/github.com/conformal/gotk3/gdk), and [gtk](http://godoc.org/github.com/conformal/gotk3/gtk) documentation). You can also view the documentation locally once the package is installed with the godoc tool by running godoc -http=":6060" and pointing your browser to http://localhost:6060/pkg/github.com/conformal/gotk3.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/conformal/gotk3.git

          • CLI

            gh repo clone conformal/gotk3

          • sshUrl

            git@github.com:conformal/gotk3.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link