[Glade-devel] Why Glade 3 removes unknown elements

On Fri, Mar 22, 2013 at 7:07 PM, Dos Santos, Oliveira <dossantos at ebu.ch> wrote:
Hi everybody,

I?m building applications to experiment several standards defined by EBU. I
choose to use Glade to accelerate my developments. I started all with Glade
2 and now I decided to switch to Glade 3. I have quickly fixed the GtkBox
troubles to avoid Glade 3 crashes. All was fine except my Gtk::MenuButton...
Glade 3 removes them automatically from my XML source each time I open it.
Why ???

I think Juan implemented something for that (by storing the unrecognised widget
and re-adding the xml at save time).

Note that 'custom widgets' Glade 2 style is deprecated in favour of just
using a small xml catalog to define the custom widgets you want to
add in your own project (which will show up in Glade's palette).

What version of Glade are you running, have you tried it with 3.14.x ?


Glade 2 doesn't support Gtk::MenuButton. So I have converted, into the XML
source, a  Gtk::Button into a Gtk::MenuButton. It works fine and when I open
the file into Glade 2 it returns me a warning message instead of the
Gtk::MenuButton with the choice to suppress or not this unknown element
(unknown only for Glade, not for the GtkBuilder).

Could you restore this option (ask to user before remove) or add the support
for Gtk::MenuButton :-) Or must I continue with Glade 2 ???


Marco Dos Santos Oliveira

EBU/European Broadcasting Union

Technology and Innovation Department


This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error, please notify the system manager.
This footnote also confirms that this email message has been swept by the

Glade-devel maillist  -  Glade-devel at lists.ximian.com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]