DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=eUKFaiTgXLv6ehBmr0v0Dmr+IeCwGZIgoaOiUxObwuFY0S5eSFLUShnmXezYfVYwNpcwSr79o4Z+1RGLg5V9vqa/kwZ2gxvWNenCPYtxSfnSZButXITATENuumg/lZzyRIMukPxbO44J8qGnXHxa9ixxP19WwfUhg69FCM32V9Q= Message-ID: <7fae95590512180712k33dd595v at mail.gmail.com> Date: Mon, 19 Dec 2005 00:12:50 +0900 From: Keita Yamaguchi To: lablgtk at math.nagoya-u.ac.jp Subject: lablgladecc patch MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit Hi, When I tried glade/lablgladecc, I found some widgets are not supported. And "check_all" function has problem when GtkMenu is included at top-level in glade file. So I made a patch. This patch adds the following things: 1) widgets support: - GtkAboutDialog - GtkMessageDialog - GtkColorSelectionDialog, - GtkFileChooserButton - GtkColorButton - GtkFontButton, - GtkExpander - GtkToolItem - GtkToolButton - GtkToggleToolButton - GtkRadioToolButton - GtkSeparatorToolItem - GtkIconView - GtkComboBox - GtkComboBoxEntry I didn't add GtkFileChooserWidget and GtkFileChooserDialog by this patch because I don't know how I should do it. Most of Gtk* modules in lablgtk have "create" functions and create widgets with it. But GtkFileChooserWidget and GtkFileChooserDialog are different and created from "dialog_create" and "widget_create" functions in GtkFile.FileChooser module. So I think If we could add "create" function to GtkFile.FileChooser module, the implementation will go more smooth. 2) the option "--no-check-all": I add the option "-no-check-all". I use it to delete the "check_all" function appearing in the generated code since this function makes compiler error when GMisc.menu is in top-level. The reason for the error is that "check_all" uses "show" method but GMisc.menu doesn't have one. Best regards, --- Keita Yamaguchi