简体   繁体   中英

Is it possible to define GTK+ type using gtkmm?

I would like to define a new subclass of some gtkmm type, implementing interface of underlying GTK+ object. Then, i want to compile it into some kind of dll and use in pure C code (GTK+, no gtkmm) through this interface. Is it possible?

The followings are required to use gtkmm widget in GTK+ :

  1. implement the desired custom widget in gtkmm
  2. create a library from the widget for Glade
  3. design the user interface containing the custom widget with Glade
  4. declare the C interface for the application written in GTK+
  5. build the user interface from XML with GtkBuilder

Details can be found in my blog post .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM