Permalink
Switch branches/tags
vs-mac-preview3 vs-mac-preview2 vs-mac-preview1 roslyn-preview-4 roslyn-preview-3 roslyn-preview-2 roslyn-preview-1 monodevelop-7.1.0.583 monodevelop-7.0.1.24 monodevelop-7.0.0.3146 monodevelop-7.0.0.3143 monodevelop-7.0.0.3051 monodevelop-7.0.0.2943 monodevelop-7.0.0.2845 monodevelop-7.0.0.2770 monodevelop-7.0.0.2740 monodevelop-7.0.0.2715 monodevelop-6.3.0.864 monodevelop-6.3.0.863 monodevelop-6.3.0.858 monodevelop-6.3.0.834 monodevelop-6.3.0.731 monodevelop-6.2.1.3 monodevelop-6.2.0.1829 monodevelop-6.2.0.1821 monodevelop-6.2.0.1812 monodevelop-6.2.0.1809 monodevelop-6.2.0.1798 monodevelop-6.2.0.1778 monodevelop-6.2.0.1757 monodevelop-6.2.0.1718 monodevelop-6.2.0.1701 monodevelop-6.2.0.1686 monodevelop-6.2.0.1515 monodevelop-6.2.0.1499 monodevelop-6.2.0.1483 monodevelop-6.2.0.1413 monodevelop-6.2.0.1369 monodevelop-6.2.0.1358 monodevelop-6.2.0.1311 monodevelop-6.1.5.0 monodevelop-6.1.4.1 monodevelop-6.1.3.19 monodevelop-6.1.3.9 monodevelop-6.1.2.44 monodevelop-6.1.2.38 monodevelop-6.1.1.17 monodevelop-6.1.1.15 monodevelop-6.1.0.5441 monodevelop-6.1.0.5436 monodevelop-6.1.0.5383 monodevelop-6.1.0.5365 monodevelop-6.1.0.5345 monodevelop-6.1.0.5338 monodevelop-6.1.0.5308 monodevelop-6.1.0.5298 monodevelop-6.1.0.5271 monodevelop-6.1.0.4963 monodevelop-6.1.0.817 monodevelop-6.0.2.73 monodevelop-6.0.2.70 monodevelop-6.0.2.69 monodevelop-6.0.2.41 monodevelop-6.0.1.9 monodevelop-6.0.1.8 monodevelop-6.0.1.6 monodevelop-6.0.0.5174 monodevelop-6.0.0.5166 monodevelop-6.0.0.5156 monodevelop-6.0.0.5104 monodevelop-6.0.0.4968 monodevelop-6.0.0.4801 monodevelop-6.0.0.4761 monodevelop-6.0.0.4520 monodevelop-5.10.3.51 monodevelop-5.10.3.27 monodevelop-5.10.3.26 monodevelop-5.10.2.56 monodevelop-5.10.2.55 monodevelop-5.10.2.53 monodevelop-5.10.2.49 monodevelop-5.10.2.26 monodevelop-5.10.1.6 monodevelop-5.10.1.3 monodevelop-5.10.1.1 monodevelop-5.10.0.871 monodevelop-5.10.0.870 monodevelop-5.10.0.860 monodevelop-5.10.0.811 monodevelop-5.10.0.803 monodevelop-5.10.0.800 monodevelop-5.10.0.799 monodevelop-5.10.0.704 monodevelop-5.10.0.609 monodevelop-5.9.8.0 monodevelop-5.9.7.22 monodevelop-5.9.7.12 monodevelop-5.9.7.9 monodevelop-5.9.7.2 monodevelop-5.9.6.65
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
84 lines (71 sloc) 1.85 KB
// This file has been generated by the GUI designer. Do not modify.
namespace Stetic
{
internal class Gui
{
private static bool initialized;
internal static void Initialize (Gtk.Widget iconRenderer)
{
if ((Stetic.Gui.initialized == false)) {
Stetic.Gui.initialized = true;
}
}
}
internal class BinContainer
{
private Gtk.Widget child;
private Gtk.UIManager uimanager;
public static BinContainer Attach (Gtk.Bin bin)
{
BinContainer bc = new BinContainer ();
bin.SizeRequested += new Gtk.SizeRequestedHandler (bc.OnSizeRequested);
bin.SizeAllocated += new Gtk.SizeAllocatedHandler (bc.OnSizeAllocated);
bin.Added += new Gtk.AddedHandler (bc.OnAdded);
return bc;
}
private void OnSizeRequested (object sender, Gtk.SizeRequestedArgs args)
{
if ((this.child != null)) {
args.Requisition = this.child.SizeRequest ();
}
}
private void OnSizeAllocated (object sender, Gtk.SizeAllocatedArgs args)
{
if ((this.child != null)) {
this.child.Allocation = args.Allocation;
}
}
private void OnAdded (object sender, Gtk.AddedArgs args)
{
this.child = args.Widget;
}
public void SetUiManager (Gtk.UIManager uim)
{
this.uimanager = uim;
this.child.Realized += new System.EventHandler (this.OnRealized);
}
private void OnRealized (object sender, System.EventArgs args)
{
if ((this.uimanager != null)) {
Gtk.Widget w;
w = this.child.Toplevel;
if (((w != null)
&& typeof (Gtk.Window).IsInstanceOfType (w))) {
((Gtk.Window)(w)).AddAccelGroup (this.uimanager.AccelGroup);
this.uimanager = null;
}
}
}
}
internal class ActionGroups
{
public static Gtk.ActionGroup GetActionGroup (System.Type type)
{
return Stetic.ActionGroups.GetActionGroup (type.FullName);
}
public static Gtk.ActionGroup GetActionGroup (string name)
{
return null;
}
}
}