[Glade-users] Glade 3.14.2 Released!
PyZahl
pyzahl at ymail.com
Fri Dec 14 19:26:34 UTC 2012
Hello, I have a question about creating custom widgets using gtkmm with glade
support and additional properties hooked into them,
I tried without success to find the clues I need in the documentations but
do not get the picture how to use it in the right context.
As of now I succeeded to create a custom derived widget and minimal support
code creating a .so lib and a glade catalog with properties I need and it's
all loading and showing fine in glade. Can set/change properties but it's
missing the "do_child_set/get..." methods (get a warning) like this:
(glade:3214): GLib-GObject-WARNING **: g_object_set_property: object class
`gtkmm__CustomObject_customwidget' has no property named `frobnicated-size'
I need to know how the prototypes or definitions have to be defined in C++.
However, I am lost with the next step to access/support the properties
within my derived widget in C++. using gtkmm. See below what I have so far.
See here for my testing code (I tried unsuccessfully to add the code of
interest here):
https://sourceforge.net/p/gxsm/gxsm3/ci/71f858cad5fa74656f69c985fa16d8b3938be859/tree/app/
I appreciate any hints or a basic example how to get going from here.
thanks
-Percy
Juan Pablo Ugarte-2 wrote:
>
> Glade 3.14.2 is the second bugfix release of the series.
>
> This version of Glade depends on GTK+ 3.6, targets GTK+ >= 3.0 and
> is parallel installable with Glade 3.8.
>
> If you need to work with Glade projects that target GTK+2, you need an
> installation of Glade 3.8 (more information on
> http://blogs.gnome.org/tvb/2011/01/15/the-glade-dl/)
>
> What is Glade?
> ============
> Glade is a RAD tool to enable quick & easy development of user
> interfaces for the GTK+ toolkit and the GNOME desktop environment.
> The user interfaces designed in Glade are saved as XML, and by using
> the GtkBuilder GTK+ object these can be loaded by applications
> dynamically as needed.
>
> By using GtkBuilder, Glade XML files can be used in numerous
> programming languages including C, C++, C#, Vala, Java, Perl,
> Python, and others.
>
> ============
> Glade 3.14.0
> ============
>
> - Fixed Bug #685816 "Widget attributes editing broken" by reverting old
> fix and setting
> use-action-appearance default back to false so the old sensitivity
> code can work as ussual.
> - Fixed bug #678922 "When editing a label, the cursor is moved to the end
> after every change."
> - Fixed a few leak since glade_property_make_string() returns a newlly
> allocated string.
>
> New and updated translations
> ============================
> - da, courtesy of Kenneth Nielsen
> - nb, courtesy of Kjartan Maraas
>
> Where can I get it ?
> ==================
>
> http://download.gnome.org/sources/glade/3.14/
>
> Direct Download
> ===============
> http://download.gnome.org/sources/glade/3.14/glade-3.14.2.tar.xz (2.37M)
> sha256sum:
> d2e6b5a20cfdbc0a5ed49122ac7b4e3a10ba140ccfcaba60082e6e2b52a62ac6
>
> For more information on the Glade project see our home page
> at http://glade.gnome.org/
>
> Enjoy,
> Juan Pablo
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> Glade-users maillist - Glade-users at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/glade-users
>
>
--
View this message in context: http://old.nabble.com/Glade-3.14.2-Released%21-tp34722767p34743027.html
Sent from the Gnome - Glade - User mailing list archive at Nabble.com.
More information about the Glade-users
mailing list