summaryrefslogtreecommitdiff
path: root/gladeui/glade-property.h
Commit message (Collapse)AuthorAgeFilesLines
* Headers cleanupJuan Pablo Ugarte2020-09-211-0/+23
| | | | Add missing copyright notes
* GladeProperty: fix gir scanner warningJuan Pablo Ugarte2020-06-191-1/+1
| | | | Rename DEPRECATED_IS_PARAM_SPEC_VALUE_ARRAY as GLADE_PROPERTY_IS_PARAM_SPEC_VALUE_ARRAY
* Fix GValueArray deprecation warningsJuan Pablo Ugarte2020-06-101-0/+2
|
* build: remove G_CONST_RETURN usageChristian Hergert2019-08-051-4/+4
|
* Rename *Klass to *Class as there are no name collision anymoreCorentin Noël2019-06-181-5/+5
|
* Rename GladePropertyClass to GladePropertyDef and declare it as boxedCorentin Noël2019-06-181-4/+4
|
* introspection: Add many annotations to sourcesCorentin Noël2019-04-011-9/+9
|
* Fix tab/space identationJuan Pablo Ugarte2018-08-021-30/+30
|
* GladeWidget: Enhanced support warningsTristan Van Berkom2013-04-111-0/+2
| | | | | | | | | | | o Now GladeWidget support warnings include warnings about any used properties or signals which have warnings o GladeWidget support warnings update appropriately when signals are added/removed or when properties are changed/enabled o GladeProject now also has a column with the widget warning text which gets updated any time a widget's warning changes
* * Adding padding to classes in various files.Tristan Van Berkom2011-01-041-0/+6
|
* * Made GladeProperty internalize *everything* into a private data structure,Tristan Van Berkom2011-01-021-75/+37
| | | | 17 files changed, 766 insertions(+), 592 deletions(-)
* * ALL SOURCE FILES: Removed 8-space indentation, reformatted all code with:Tristan Van Berkom2010-12-301-1/+0
| | | | | | | | | | | | | indent \ --braces-after-if-line \ --case-brace-indentation0 \ --case-indentation2 \ --braces-after-struct-decl-line \ --line-length80 --no-tabs \ --dont-line-up-parentheses \ --continuation-indentation4 \ --continue-at-parentheses \ --honour-newlines --tab-size8 --indent-level2 -nbbo
* * Whole tree updated to remove all notion of project conversions and dual ↵Tristan Van Berkom2010-12-301-7/+0
| | | | | | project formats, no more libglade.
* Bumping gtk+ required version to 2.14Tristan Van Berkom2008-12-091-26/+26
| | | | | | | | | | | | | | | | * configure.ac: Bumping gtk+ required version to 2.14 * gladeui/glade-xml-utils.c, gladeui/glade-widget-adaptor.[ch], gladeui/glade-property-class.[ch], gladeui/glade-project.c: Added support for "builder-since" versioning (since builder supported this property/widget). * plugins/gtk+/gtk+.xml.in: Marked appropriate properties and objects "builder-since" and brought up to date new properties and signals introduced in 2.14. * gladeui/glade-base-editor.c: Plugged resource leak in finalize(). svn path=/trunk/; revision=2060
* Implemented new "context" i18n metadata.Tristan Van Berkom2008-10-011-2/+9
| | | | | | | | | | | * gladeui/glade-property.[ch], gladeui/glade-command.[ch], gladeui/glade-editor-property.c: Implemented new "context" i18n metadata. * gladeui/glade-widget.c: Fixed to hide non-window widgets in glade_widget_hide() svn path=/trunk/; revision=1967
* Fixed adjustments when values are null in libglade modeTristan Van Berkom2008-09-221-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gladeui/glade-editor-property.c: Fixed adjustments when values are null in libglade mode * plugins/gtk+/gtk+.xml.in: Reorganized groups, added some more metadatas * plugins/gtk+/glade-convert.c: - Convert "text" property of TextView to a textbuffer and text property in builder format. - Convert "tooltip" <--> "tooltip-text" * gladeui/glade-popup.c, gladeui/glade-inspector.c: enhanced menu for inspector empty spots (paste toplevels) * gladeui/glade-editor-property.c: Adjustments in libglade had bugs, hardcoded default values here and made sure object is NULL on default. * gladeui/glade-widget.[ch]: Removed glade_widget_project_notify() * gladeui/glade-command.c: - glade_command_remove() implicitly makes commands to unset any properties reffering to the object being removed from the project. - project conversions now cleanup unsupported widgets/properties * gladeui/glade-palette.c, gladeui/glade-app.c: Moved toplevel widget creation code from gladeapp to gladepalette. svn path=/trunk/; revision=1955
* Set sizegroup_add action sensitive/insensitive depending on project formatTristan Van Berkom2008-09-211-5/+8
| | | | | | | | | | | | | | | | | | * plugins/gtk+/glade-gtk.c: Set sizegroup_add action sensitive/insensitive depending on project format * plugins/gtk+/gtk+.xml.in: Set libglade-unsupported && create-type on alot of properties * gladeui/glade-editor-property.c: Set eprop insensitive also if its in an unsupported format * gladeui/glade-xml-utils.h, gladeui/glade-property-class.c: Added "create-type" * gladeui/glade-property.[ch]: Now property states can be flagged and also include format_disabled state. svn path=/trunk/; revision=1948
* Creating toplevel widget through unified glade-palette interface. RemovedPavel Kostyuchenko2008-09-161-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-09-16 Pavel Kostyuchenko <ShprotX@gmail.com> * gladeui/glade-app.c: Creating toplevel widget through unified glade-palette interface. Removed error message when pasting non-toplevel widgets without a parent. * gladeui/glade-command.h: A new function for getting depth of command recursion * gladeui/glade-command.c: A new function for getting depth of command recursion. A return value of glade_command_set_property_execute function is valid and is respected by glade_command_set_properties_list. indicate success/failure of their execution. Glade-command can be unified to null. Setting property command is always executed as a group, so if there is any recursive command, they will be added to that group. Removed parentless widget message level lowered from critical to message. Widget is treated as toplevel only if it has no parent. Removed an assertion from glade_command_create that doesn't allow creation of non-GtkWindow parentless widgets * gladeui/glade-editor-property.c: Object selection dialog will be optionally filled by parentless non-GtkWindow widgets only Unparenting root widgets before setting another property to them * gladeui/glade-inspector.c: Popup for clicking even on empty part of widget list * gladeui/glade-palette.h: A unified function for creating root widgets * gladeui/glade-palette.c: A unified function for creating root widgets A new button for creating root widgets * gladeui/glade-placeholder.[ch]: glade_placeholder_get_project has been made public for using in glade-popup * gladeui/glade-popup.c: A new function glade_popup_simple_pop for creating a context menu on an empty space of glade-inspector New context menu items for adding widgets * gladeui/glade-popup.h: A new function glade_popup_simple_pop for creating a context menu on an empty space of glade-inspector * gladeui/glade-project.c: Unifying command even if there's redo items. Unifying atomic commands only. Unifying to null * gladeui/glade-property-class.[ch]: A new field for making properties that points to parentless widgets * gladeui/glade-property.h: Added a return value to glade_property_set* functions to indicate success/failure that is used in glade-command * gladeui/glade-property.c: Ignoring parentless_widget properties while duplicating properties. Additional check while adding/removing property reference Added a return value to glade_property_set* functions to indicate success/failure that is used in glade-command. Determining that property is changed using glade-proproperty method instead of direct comparing GValue. Loading properties through glade-widget-adaptor interface instead of getting them directly. remove_object method now unsets referencing property instead of setting it. Removed dummy duplicated setting of property while unsetting referencing property. * gladeui/glade-property.h: Added a return value to glade_property_set* functions to indicate success/failure that is used in glade-command. * gladeui/glade-widget.c: Removed setting widget properties to template/default values while building a new object, because they will be set later in constructor. Reloading properties after duplicating a widget. A new function for removing parent reference, that was made by setting parentless_widget property to the widget. Saving and loading parentless_widget properties while rebuilding, because they cannot be duplicated. Corrected destroying of an old widget while rebuilding. Seems like it's not fully correct still. * gladeui/glade-widget.h: A new function for removing parent reference, that was made by setting parentless_widget property to the widget. * gladeui/glade-xml-utils.h: A new tag "parentless-widget" as a property attribute * plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: Removed an old hack for "image" property of GtkMessageDialog. A new implementation of "image" property using parentless_widget kind of property. Added an ability of working with parentless widgets using "remove parent" and "add parent" items of context menu svn path=/trunk/; revision=1908
* Fixed bold modified state for disabled properties.Tristan Van Berkom2008-04-111-1/+1
| | | | | | | | | | | | * gladeui/glade-property.c: Fixed bold modified state for disabled properties. * plugins/gtk+/gtk+.xml.in: Made default width/height match the default-width default-height set for each dialog as reasonable default values. svn path=/trunk/; revision=1794
* Loaded and watched the new support_warning on GladeWidgetTristan Van Berkom2008-04-101-5/+24
| | | | | | | | | | | | | | | | | | | | | | | | | * gladeui/glade-editor.c, gladeui/glade-editor.h: Loaded and watched the new support_warning on GladeWidget * gladeui/glade-editor-property.c, gladeui/glade-editor-property.h: Loaded and watched the new support_warning on GladeProperty * gladeui/glade-widget.c, gladeui/glade-widget.h: Keep a support-warning property around as metadata updated by GladeProject. * gladeui/glade-property.c, gladeui/glade-property.h: Added new support_warning and state properties. * gladeui/glade-project.c, gladeui/glade-project.h: Now GladeProject generates strings to show in the normal UI along with longer style reports, always updates widgets warning message metadata when they come into the project or when the format or target versions change. * gladeui/glade-signal.c: Removed a bogus return. svn path=/trunk/; revision=1788
* Implemented dual format for atk properties, afaics accelerators are loadedTristan Van Berkom2008-04-061-2/+2
| | | | | | | | * plugins/gtk+/glade-gtk.c: Implemented dual format for atk properties, afaics accelerators are loaded and saved identically. svn path=/trunk/; revision=1773
* merging builder branch into trunkTristan Van Berkom2008-04-031-8/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A plugins/gtk+/glade-keysyms.c M plugins/gtk+/glade-gtk.c M plugins/gtk+/gtk+.xml.in A plugins/gtk+/glade-accels.c M plugins/gtk+/Makefile.am A plugins/gtk+/glade-accels.h M ChangeLog M gladeui/glade-editor.c M gladeui/glade-editor-property.c M gladeui/glade-editor-property.h M gladeui/glade-widget.c M gladeui/glade-widget.h M gladeui/glade-widget-adaptor.c M gladeui/glade-command.c M gladeui/glade-widget-adaptor.h M gladeui/glade-parser.c M gladeui/glade-xml-utils.c M gladeui/glade-base-editor.c M gladeui/glade-utils.c D gladeui/glade-parser.h M gladeui/glade-signal-editor.c M gladeui/glade-xml-utils.h D gladeui/glade-keysyms.c M gladeui/glade-property.c M gladeui/glade-property-class.c M gladeui/glade-property.h M gladeui/glade-builtins.c M gladeui/glade-property-class.h M gladeui/glade-builtins.h M gladeui/glade-project.c M gladeui/glade-signal.c M gladeui/Makefile.am M gladeui/glade-signal.h svn path=/trunk/; revision=1764
* Auto-generate `gladeui.def' for DLL symbol exports. RemoveVincent Geddes2007-04-121-38/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | * gladeui/Makefile.am: Auto-generate `gladeui.def' for DLL symbol exports. Remove -DINSIDE_LIBGLADEUI from libgladeui_1_la_CPPFLAGS. * gladeui/glade-accumulators.h, gladeui/glade-app.h, gladeui/glade-base-editor.h, gladeui/glade-binding.h, gladeui/glade-builtins.h, gladeui/glade-catalog.h, gladeui/glade-clipboard-view.h, gladeui/glade-clipboard.h, gladeui/glade-command.h, gladeui/glade-custom.h, gladeui/glade-debug.h, gladeui/glade-design-view.h, gladeui/glade-editor-property.h, gladeui/glade-editor.h, gladeui/glade-fixed.h, gladeui/glade-palette.h, gladeui/glade-parameter.h, gladeui/glade-placeholder.h, gladeui/glade-project-view.h, gladeui/glade-project.h, gladeui/glade-property-class.h, gladeui/glade-property.h, gladeui/glade-signal-editor.h, gladeui/glade-utils.h, gladeui/glade-widget-adaptor.h, gladeui/glade-widget.h, gladeui/glade.h: Remove LIBGLADEUI_API function attributes. * plugins/gnome/glade-gnome.c, plugins/gtk+/glade-gtk.c, plugins/gtk+/glade-gtk.h: Remove GLADEGTK_API and GLADEGNOME_API function attributes. svn path=/trunk/; revision=1248
* - Added property_set_save_always() functions - Introspect initial valuesTristan Van Berkom2007-03-031-0/+14
| | | | | | | | | | | | | | * gladeui/glade-property.[ch], gladeui/glade-widget.[ch]: - Added property_set_save_always() functions - Introspect initial values of all properties even if they're not composite children (sometimes derived widgets set a property to a non-default value). * plugins/gtk+/glade-gtk.c: set "save-always" on the "type-hint" property of GtkDialog. Bug #412848. svn path=/trunk/; revision=1147
* make glade_property_new() always return instrospected valueJuan Pablo Ugarte2007-02-211-2/+1
| | | | | | | | | | | | | | | | | * gladeui/glade-property.[ch]: make glade_property_new() always return instrospected value (catalog_default parameter removed) * gladeui/glade-widget.c: added glade_widget_set_catalog_defaults() to set catalog default values in glade_widget_constructor() when the widget is created by the user. * plugins/gtk+/glade-gtk.c: glade_gtk_menu_item_get_children() added GtkImageMenuItem support. fix bug #404322 * plugins/gtk+/gtk+.xml.in: GtkMenuItem get-children function renamed to glade_gtk_menu_item_get_children svn path=/trunk/; revision=1124
* added glade_widget_property_original_default()Juan Pablo Ugarte2007-02-151-2/+4
| | | | | | | | | | | | | | * gladeui/glade-widget.[ch]: added glade_widget_property_original_default() * gladeui/glade-property.[ch]: added glade_property_original_default() and glade_property_original_reset() * plugins/gtk+/glade-gtk.c: fixed bug 397043 "Not able to set label and stock separately in GtkImageMenuItems" * plugins/gtk+/gtk+.xml.in: added generic-name to GtkMenuShell. svn path=/trunk/; revision=1106
* Reorganised package structure, moved a lot of files and directories.Tristan Van Berkom2007-01-231-0/+182
* Reorganised package structure, moved a lot of files and directories. Modified the Makefile.am in most directories. * po/POTFILES.in, po/POTFILES.skip: Update for reorganisation. * configure.ac: Add files to AC_CONFIG_FILES. Change AC_CONFIG_SRCDIR. svn path=/trunk/; revision=1050