~ubuntu-branches/ubuntu/quantal/gtkmm3.0/quantal

« back to all changes in this revision

Viewing changes to gtk/src/buildable.hg

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2012-09-28 09:25:06 UTC
  • mfrom: (1.1.14)
  • Revision ID: package-import@ubuntu.com-20120928092506-9h63ais5o750a8sk
Tags: 3.5.13-0ubuntu1
* New upstream release
* debian/control:
  - Bump build-depends on libglibmm-2.4-dev, libgtk-3-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: buildable.hg,v 1.3 2006/05/18 17:53:15 murrayc Exp $ */
2
 
 
3
1
/* Copyright (C) 2009 The gtkmm Development Team
4
2
 *
5
3
 * This library is free software; you can redistribute it and/or
34
32
 
35
33
/** A base class for objects that can be built by Gtk::Builder.
36
34
 *
37
 
 * Buildable allows objects to extend and customize thier deserialization from Gtk::Builder UI descriptions. 
 
35
 * Buildable allows objects to extend and customize thier deserialization from Gtk::Builder UI descriptions.
38
36
 * The interface includes methods for setting names and properties of objects, parsing custom tags and constructing child objects.
39
37
 *
40
 
 * All gtkmm widgets, and many non-widget objects, derive from this base class. 
 
38
 * All gtkmm widgets, and many non-widget objects, derive from this base class.
41
39
 * The main user of this interface is Gtk::Builder. There should be very little need for applications to call any of Buildable's methods.
42
 
 * 
 
40
 *
43
41
 * @newin{3,0}
44
42
 */
45
43
class Buildable : public Glib::Interface
49
47
public:
50
48
  _WRAP_METHOD(void set_name(const Glib::ustring& name), gtk_buildable_set_name)
51
49
  _WRAP_METHOD(Glib::ustring get_name() const, gtk_buildable_get_name)
52
 
  
53
 
//TODO: #m4 _CONVERSION(`(const Glib::RefPtr<Builder>&',`GtkBuilder*',`($3).gobj()') 
 
50
 
 
51
//TODO: #m4 _CONVERSION(`(const Glib::RefPtr<Builder>&',`GtkBuilder*',`($3).gobj()')
54
52
//TODO:  _WRAP_METHOD(void add_child(const Glib::RefPtr<Builder>& builder, const Glib::RefPtr<Glib::Object>& child, const Glib::ustring& type), gtk_buildable_add_child)
55
 
  
56
 
/* TODO: 
 
53
 
 
54
/* TODO:
57
55
  _WRAP_METHOD(void      gtk_buildable_set_buildable_property (
58
56
                                                GtkBuilder          *builder,
59
57
                                                const Glib::ustring& name,
83
81
                                                GtkBuilder          *builder,
84
82
                                                const Glib::ustring& childname);
85
83
*/
86
 
                                                
 
84
 
87
85
  //TODO: Properties, signals, vfuncs.
88
86
};
89
87