~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to src/addins/CSharpBinding/gtk-gui/generated.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
        internal class Gui
6
6
        {
7
7
                private static bool initialized;
8
 
                
 
8
 
9
9
                internal static void Initialize (Gtk.Widget iconRenderer)
10
10
                {
11
11
                        if ((Stetic.Gui.initialized == false)) {
13
13
                        }
14
14
                }
15
15
        }
16
 
        
 
16
 
17
17
        internal class BinContainer
18
18
        {
19
19
                private Gtk.Widget child;
20
20
                private Gtk.UIManager uimanager;
21
 
                
 
21
 
22
22
                public static BinContainer Attach (Gtk.Bin bin)
23
23
                {
24
24
                        BinContainer bc = new BinContainer ();
27
27
                        bin.Added += new Gtk.AddedHandler (bc.OnAdded);
28
28
                        return bc;
29
29
                }
30
 
                
 
30
 
31
31
                private void OnSizeRequested (object sender, Gtk.SizeRequestedArgs args)
32
32
                {
33
33
                        if ((this.child != null)) {
34
34
                                args.Requisition = this.child.SizeRequest ();
35
35
                        }
36
36
                }
37
 
                
 
37
 
38
38
                private void OnSizeAllocated (object sender, Gtk.SizeAllocatedArgs args)
39
39
                {
40
40
                        if ((this.child != null)) {
41
41
                                this.child.Allocation = args.Allocation;
42
42
                        }
43
43
                }
44
 
                
 
44
 
45
45
                private void OnAdded (object sender, Gtk.AddedArgs args)
46
46
                {
47
47
                        this.child = args.Widget;
48
48
                }
49
 
                
 
49
 
50
50
                public void SetUiManager (Gtk.UIManager uim)
51
51
                {
52
52
                        this.uimanager = uim;
53
53
                        this.child.Realized += new System.EventHandler (this.OnRealized);
54
54
                }
55
 
                
 
55
 
56
56
                private void OnRealized (object sender, System.EventArgs args)
57
57
                {
58
58
                        if ((this.uimanager != null)) {
65
65
                        }
66
66
                }
67
67
        }
68
 
        
 
68
 
69
69
        internal class ActionGroups
70
70
        {
71
71
                public static Gtk.ActionGroup GetActionGroup (System.Type type)
72
72
                {
73
73
                        return Stetic.ActionGroups.GetActionGroup (type.FullName);
74
74
                }
75
 
                
 
75
 
76
76
                public static Gtk.ActionGroup GetActionGroup (string name)
77
77
                {
78
78
                        return null;