summaryrefslogtreecommitdiff
path: root/gladeui/glade-widget-adaptor.h
Commit message (Collapse)AuthorAgeFilesLines
* delete branchpointBINDINGS_BRANCHPOINT_svn1455Vincent Geddes2007-07-111-620/+0
| | | | | | * delete branchpoint svn path=/tags/BINDINGS_BRANCHPOINT; revision=1454
* set glade_widget_adaptor_child_verify_property() value parameter asJuan Pablo Ugarte2007-07-031-2/+2
| | | | | | | | | | * gladeui/glade-widget-adaptor.[ch]: set glade_widget_adaptor_child_verify_property() value parameter as constant. * gladeui/glade-property.c: added packing property verify check in glade_property_set_value_impl(). svn path=/trunk/; revision=1431
* gladeui/glade-popup.[ch] - added packing actions to placeholdersJuan Pablo Ugarte2007-06-271-2/+4
| | | | | | | | | | | | | | | | | | | | | | | * gladeui/glade-popup.[ch] - added packing actions to placeholders * gladeui/glade-widget-action.[ch]: added "important" flag to GWActionClass * gladeui/glade-widget-adaptor.[ch]: - parse important tag in gwa_action_update_from_node() - added new "important" parameter to glade_widget_adaptor_pack_action_add() and glade_widget_adaptor_action_add() * gladeui/glade-xml-utils.h: addded GLADE_TAG_IMPORTANT tag * plugins/gtk+/gtk+.xml.in: marked launch_editor actions as important * gladeui/glade-inspector.c: make inspector popup include only normal actions. * src/glade-project-window.c: added important actions to the toolbar. svn path=/trunk/; revision=1403
* Misc cleanups.Vincent Geddes2007-06-211-14/+8
| | | | | | * gladeui/glade-app.[ch], gladeui/glade-widget-adaptor.c: Misc cleanups. svn path=/trunk/; revision=1381
* - Added Drag/Resize button in the toolbarTristan Van Berkom2007-06-201-2/+3
| | | | | | | | | | | | | | | | | | * src/glade-project-window.c: - Added Drag/Resize button in the toolbar * gladeui/glade-design-layout.c: More reliable pointer handling * gladeui/glade-app.c: New pointer-mode property * gladeui/glade-fixed.c, gladeui/glade-placeholder.c, gladeui/glade-palette.c: Use pointer-mode to set pointer interaction mode * gladeui/glade-builtins.c: Added trailing end marker on the stock list enum paramspec. svn path=/trunk/; revision=1368
* added packing action list to GladePlaceholderJuan Pablo Ugarte2007-06-061-0/+2
| | | | | | | | | | | | | | | | * gladeui/glade-placeholder.[ch]: added packing action list to GladePlaceholder * gladeui/glade-popup.c: added packing actions to placeholder popup * gladeui/glade-widget-adaptor.[ch]: added glade_widget_adaptor_pack_actions_new () * gladeui/glade-widget.c: use new function glade_widget_adaptor_pack_actions_new () in glade_widget_set_packing_actions() * plugins/gtk+/glade-gtk.c: take into acount placeholders get paking actions glade_gtk_box_notebook_child_insert_action() and glade_gtk_table_child_insert_action() fixed. svn path=/trunk/; revision=1339
* added packing actions to glade_popup_action_populate_menu()Juan Pablo Ugarte2007-05-311-3/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gladeui/glade-popup.c: added packing actions to glade_popup_action_populate_menu() * gladeui/glade-widget-action.c: fixed a couple of typos in glade_widget_action_constructor() * gladeui/glade-widget-adaptor.[ch]: - Added packing actions, just like properties the action tag should be inside an actions or packing-actions tag, also you can put an action tag inside other action tag :p - added GladeChildActionActivatedFunc child_action_activate to GladeWidgetAdaptorClass - added packing_actions list to GladeWidgetAdaptor - added new functions: glade_widget_adaptor_pack_action_add(), glade_widget_adaptor_pack_action_remove() and glade_widget_adaptor_child_action_activate() * gladeui/glade-widget.[ch]: - added packing_actions list to GladeWidget - set packing actions in glade_widget_set_parent() - added glade_widget_get_pack_action() and glade_widget_remove_pack_action() * gladeui/glade-xml-utils.h: - new tags GLADE_TAG_CHILD_ACTION_ACTIVATE_FUNCTION, GLADE_TAG_ACTIONS and GLADE_TAG_PACKING_ACTIONS. - removed unused tag GLADE_TAG_ACTION_GROUP * plugins/gtk+/gtk+.xml.in: Added a couple of child packing actions (fixes #438881) - GtkBox: insert_before and insert_after - GtkTable: insert_row/after, insert_row/before, insert_column/after and insert_column/before * plugins/gtk+/glade-gtk.c: added child-action-activate-function functions glade_gtk_box_child_action_activate () and glade_gtk_table_child_action_activate() svn path=/trunk/; revision=1330
* added gladeui/glade-widget-action.[ch]Juan Pablo Ugarte2007-05-231-19/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gladeui/Makefile.am: added gladeui/glade-widget-action.[ch] * gladeui/glade-popup.[ch]: - added glade_popup_action_populate_menu() - adapted popup code to reflect action changes. * gladeui/glade-widget-action.[ch]: GladeWidgetAction GObject sources. * gladeui/glade-widget-adaptor.[ch]: - action-activated signal removed - added GladeActionActivateFunc - added glade_widget_adaptor_action_add() and glade_widget_adaptor_action_remove() - glade_widget_adaptor_action_activate() reworked. - load symbol and other catalog stuff in gwa_derived_class_init() - added the posibility to override GObject constructor from the catalog. This is a good place to add/remove actions, use GWA_GET_OCLASS() to chain up. * gladeui/glade-widget.[ch]: - removed action-activated signal - added glade_widget_get_action (), glade_widget_remove_action() and glade_widget_create_action_menu() * gladeui/glade-xml-utils.h: added GLADE_TAG_ACTION_ACTIVATE_FUNCTION and GLADE_TAG_CONSTRUCTOR_FUNCTION tags * plugins/gtk+/glade-gtk.c: - added glade_gtk_menu_shell_action_activate() glade_gtk_menu_item_action_activate() and glade_gtk_toolbar_action_activate() - removed glade_gtk_menu_post_create() and glade_gtk_menu_launch_editor_action() * plugins/gtk+/gtk+.xml.in: - glade_gtk_menu_post_create() removed - added action-activate-function for MenuShell MenuItem and Toolbar. svn path=/trunk/; revision=1325
* Added glade_widget_adaptor_from_pspec() and madeTristan Van Berkom2007-05-181-1/+3
| | | | | | | | | | | | | | | * gladeui/glade-widget-adaptor.[ch]: Added glade_widget_adaptor_from_pspec() and made glade_widget_adaptor_from_pclass() always return the owning adaptor and not the adaptor for the class which the property was originally created for. * gladeui/glade-editor.[ch]: Removed some deadcode * gladeui/glade-editor-property.c: Use glade_widget_adaptor_from_pspec() where appropriate (Fixing bug 423425) svn path=/trunk/; revision=1322
* Removed notion of custom widget editors.Tristan Van Berkom2007-05-091-16/+0
| | | | | | | | | | | | * gladeui/glade-widget-adaptor.[ch], gladeui/glade-widget.[ch], gladeui/glade-editor.c, gladeui/glade-xml-utils.h: Removed notion of custom widget editors. * plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-gtk.c: removed custom editor hooks, implemented menu editor via actions only (toolbar editor temporarily disabled). svn path=/trunk/; revision=1307
* Removed submenus for the ancestry since Vincent did that magic to theTristan Van Berkom2007-05-021-4/+8
| | | | | | | | | | | | * gladeui/glade-popup.[ch], gladeui/glade-widget.c, gladeui/glade-project-view.c: Removed submenus for the ancestry since Vincent did that magic to the project view, all is cleaner now. * gladeui/glade-widget-adaptor.c: Removed #include "glade-binding.h" and all the scripting crap that went with it. svn path=/trunk/; revision=1294
* Remove undefined functions.Vincent Geddes2007-04-161-4/+0
| | | | | | * gladeui/glade-widget-adaptor.h: Remove undefined functions. svn path=/trunk/; revision=1256
* Auto-generate `gladeui.def' for DLL symbol exports. RemoveVincent Geddes2007-04-121-31/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Renamed all icons.Vincent Geddes2007-04-011-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | * plugins/gtk+/icons/*, plugins/gnome/icons/*: Renamed all icons. * gladeui/glade-project-view.c, gladeui/glade-widget-adaptor.[ch], gladeui/glade-palette-item.c, gladeui/glade-clipboard-view.c: Use GtkIconTheme for loading and managing widget icons. New "icon-name" property on GladeWidgetAdaptor. * gladeui/glade-catalog: Added catalog property "icon-prefix". The default value of this property is set to the catalog name. * gladeui/glade-app.c: Add GtkIconTheme search path for widget icons. * plugins/gtk+/icons/16x16/Makefile.am, plugins/gtk+/icons/22x22/Makefile.am, plugins/gnome/icons/16x16/Makefile.am, plugins/gnome/icons/22x22/Makefile.am: Renamed icon files. * gladeui/glade-widget-adaptor.c: Use g_type_class_add_private(). * doc/widgetclasses.sgml, doc/catalogintro.sgml: Update documentation. svn path=/trunk/; revision=1237
* Now works like a pure widget, uses gtk_widget_size_allocate() to resizeTristan Van Berkom2007-01-281-0/+25
| | | | | | | | | | | | | | | | | | | * gladeui/glade-design-layout.[ch]: Now works like a pure widget, uses gtk_widget_size_allocate() to resize children and gtk_widget_queue_resize() to resize itself (removed default size control for now). * gladeui/glade-xml-utils.[ch], gladeui/glade-widget.[ch], gladeui/glade-widget-adaptor.[ch], plugins/gtk/gtk+.xml.in, plugins/gtk/glade-gtk.c, plugins/gnome/glade-gnome.c: - Added glade_xml_get_property_int() - Added default-width/height to catalog/GWA - Added toplevel-width/height properties to GladeWidget - Use default-width/height in catalogs instead of gtk_window_set_default_size() in plugin code. svn path=/trunk/; revision=1061
* Set project properly in glade_command_remove() (this fixes undo/redo ofTristan Van Berkom2007-01-271-5/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gladeui/glade-command.c: Set project properly in glade_command_remove() (this fixes undo/redo of add/remove commands in the menueditor... along with the following fixes). * gladeui/glade-widget-adaptor.[ch], gladeui/glade-xml-utils.h: Added GWA_USE_PLACEHOLDERS(), a boolean on the GWA that is loaded from the catalog. * gladeui/glade-utils.[ch]: Removed glade_util_[any_]container_relation. * gladeui/glade-widget.[ch]: Added glade_widget_placeholder_relation * gladeui/glade-app.c, gladeui/glade-fixed.c: Adjusted callers for new glade-widget api. * gladeui/glade-fixed.[ch]: Removed the "use-placehodlers" property since it is now redundant with the new GWA_USE_PLACEHOLDERS (this simplifies things a little). * gladeui/glade-binding.c: Fixed obnoxious startup errors (bug 399178), glade_binding_get_all(), use g_list_prepend()/g_list_reverse() instead of g_list_append() to build a list. * gladeui/glade-base-editor.c: Use the right adaptor for gwa_get_children in glade_base_editor_change_type () (was using adaptor for the destination type). * plugins/gtk/glade-gtk.c: Remove use of "use-placeholders" property on GladeFixed objects. * plugins/gtk/gtk+.xml.in: Setup the "use-placeholders" attribute properly (TRUE on GtkContainer, FALSE on GtkMenuShell, GtkMenuItem, GtkToolBar, GtkFixed, GtkLayout). svn path=/trunk/; revision=1057
* fixed conditionally building gnome & python.Tristan Van Berkom2007-01-251-2/+2
| | | | | | | | | | | | | | | | | | | * Makefile.am, configure.ac, plugins/Makefile.am, bindings/Makefile.am: fixed conditionally building gnome & python. * data/libgladeui-1.0.pc.in: Renamed to gladeui-1.0.pc.in. Updated for change in location of header files. * gladeui/glade.h, gladeui/glade-xml-utils.c: Cleaned up 'glade.h'. - Moved GLADE_TAG_* defines to glade-xml-utils.h. - Nuked GLADE_GENERIC_BORDER_WIDTH. * gladeui/*.h, plugins/gtk+/glade-gtk.[ch], plugins/gnome/glade-gnome.ch, bindings/python/*.[ch]: Changed header files location for libgladeui. svn path=/trunk/; revision=1054
* Reorganised package structure, moved a lot of files and directories.Tristan Van Berkom2007-01-231-0/+545
* 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