mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-02-02 20:51:06 +00:00
2005-01-25 John Luke <john.luke@gmail.com>
* sample/CustomNotebook.cs: * sample/CustomWidget.cs: use Widget.WidgetFlags prop to avoid obsolete warning svn path=/trunk/gtk-sharp/; revision=39528
This commit is contained in:
parent
a9ecebce8f
commit
f2343fbb71
|
@ -1,3 +1,9 @@
|
||||||
|
2005-01-25 John Luke <john.luke@gmail.com>
|
||||||
|
|
||||||
|
* sample/CustomNotebook.cs:
|
||||||
|
* sample/CustomWidget.cs: use Widget.WidgetFlags prop to avoid
|
||||||
|
obsolete warning
|
||||||
|
|
||||||
2005-01-25 Mike Kestner <mkestner@novell.com>
|
2005-01-25 Mike Kestner <mkestner@novell.com>
|
||||||
|
|
||||||
* gnome/About.custom : implement a subclassable ctor.
|
* gnome/About.custom : implement a subclassable ctor.
|
||||||
|
|
|
@ -263,7 +263,7 @@ class CustomNotebook : Container {
|
||||||
tabHBorder = 2;
|
tabHBorder = 2;
|
||||||
tabVBorder = 2;
|
tabVBorder = 2;
|
||||||
|
|
||||||
Flags |= (int)WidgetFlags.NoWindow;
|
WidgetFlags |= WidgetFlags.NoWindow;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void AppendPage (Widget child, string label)
|
public void AppendPage (Widget child, string label)
|
||||||
|
@ -422,7 +422,7 @@ class CustomNotebook : Container {
|
||||||
|
|
||||||
protected override void OnRealized ()
|
protected override void OnRealized ()
|
||||||
{
|
{
|
||||||
Flags |= (int)WidgetFlags.Realized;
|
WidgetFlags |= WidgetFlags.Realized;
|
||||||
|
|
||||||
GdkWindow = ParentWindow;
|
GdkWindow = ParentWindow;
|
||||||
Style = Style.Attach (GdkWindow);
|
Style = Style.Attach (GdkWindow);
|
||||||
|
|
|
@ -54,7 +54,7 @@ class CustomWidget : Bin {
|
||||||
layout = null;
|
layout = null;
|
||||||
stockid = Stock.Execute;
|
stockid = Stock.Execute;
|
||||||
|
|
||||||
Flags |= (int)WidgetFlags.NoWindow;
|
WidgetFlags |= WidgetFlags.NoWindow;
|
||||||
}
|
}
|
||||||
|
|
||||||
private Gdk.Pixbuf Icon {
|
private Gdk.Pixbuf Icon {
|
||||||
|
@ -137,7 +137,7 @@ class CustomWidget : Bin {
|
||||||
|
|
||||||
protected override void OnRealized ()
|
protected override void OnRealized ()
|
||||||
{
|
{
|
||||||
Flags |= (int)WidgetFlags.Realized;
|
WidgetFlags |= WidgetFlags.Realized;
|
||||||
|
|
||||||
GdkWindow = ParentWindow;
|
GdkWindow = ParentWindow;
|
||||||
Style = Style.Attach (GdkWindow);
|
Style = Style.Attach (GdkWindow);
|
||||||
|
|
Loading…
Reference in a new issue