1. 08 Apr, 2013 5 commits
    • Tristan Van Berkom's avatar
      GtkBuilder: Add private _gtk_builder_extend_with_template() · b7da0d21
      Tristan Van Berkom authored
      This adds the definition of the <template> tag with some documentation
      on the variant of the format.
      _gtk_builder_extend_with_template() is to be used while GtkContainer
      builds from composite templates. A couple of error codes are also added
      to handle a few new possible failure cases.
      DTD Files gtkbuilder.rnc and gtkbuilder.rng have been updated to include
      the new <template> tag and it's attributes.
    • Tristan Van Berkom's avatar
      GtkBuilder: Added api to allow private signal callbacks · 82583640
      Tristan Van Berkom authored
      In preperation for composite objects, for better encapsulation
      the following APIs are added to allow handling of signals declared
      in the XML with callbacks declared statically.
        o gtk_builder_add_callback_symbol[s]()
          Adds a symbol to the internal symbol hash
        o gtk_builder_lookup_symbol()
          Looks up a symbol, exposed in case added symbols are used
          in conjunction with gtk_builder_connect_signals_full()
      The default implementation of gtk_builder_connect_signals() now
      does not have a strong requirement on GModule (or a strong requirement
      on symbols being declared in the global namespace). Instead GModule
      is used as a fallback in the case that symbols are not declared
    • Tristan Van Berkom's avatar
      Work around access to global resources without calling gtk_init() · 4ec6d600
      Tristan Van Berkom authored
      Some utilities such as GIR and gtk-doc, initialize class vtables without
      initializing GTK+, with composite templates accessing resources this
      causes a hand full of unneeded warnings.
      The workaround for now is the use a private function _gtk_ensure_resources()
      which is both called while initializing GTK+, and at the beginning of
      gtk_widget_class_set_template_from_resource() (the private function
      ensures that the resource will only ever be registered GOnce).
    • Tristan Van Berkom's avatar
      Deprecate gtk_widget_push_composite_child & friends · c6ab5157
      Tristan Van Berkom authored
      Deprecate gtk_widget_push_composite_child, gtk_widget_pop_composite_child,
      gtk_widget_set_composite_name, gtk_widget_get_composite_name.
      This API is just bloat and was never useful, this patch deprecates
      it and removes all internal calls to the composite child APIs
    • Tristan Van Berkom's avatar
      GtkScale: Properly chain up in GtkBuildableIface->custom_finished() · 38dc4733
      Tristan Van Berkom authored
      This was causing <style> markup to be ignored when specified
      on GtkScale types.
  2. 07 Apr, 2013 1 commit
  3. 06 Apr, 2013 21 commits
  4. 05 Apr, 2013 10 commits
  5. 04 Apr, 2013 3 commits