You're welcome to try my custom control but please note it is based off the Holly Gtk Widgets library and has yet to be fully tested. However if it helps you're welcome to use it as a starting point or just plain use it if you want. All I ask is please let me know of any bugs and if you improve, or find it difficult to use please provide feed back.

http://www.monotodo.svn.sourceforge.net/viewvc/monotodo/dev/MonoToDo/src/MonoToDo/CustomWidgets/QuickDate/

I hope it is of some use even though it still a work in progress

Andy

On 9/5/2010 3:56 PM, Natalia Portillo wrote:
Hi,

El 05/09/2010, a las 20:20, Jacek Rużyczka escribió:

Am Sonntag 05 September 2010 14:06:26 schrieben Sie:
Yes I do that, exactly as following:

public partial class frmDialog : Gtk.Dialog
{
        HDateTime dtpDateTime; // The HollyWidgets date time picker

        public frmDialog()
        {
                this.Build();
                this.dtpDateTime = new HDateTime();
                this.vbox12.Add(dtpDateTime);   // vbox12 is a VBox created by 
MonoDevelop
designer that contains two slices, one with a HBox inside and the other
left void }
}

Then I invoke it as:

        frmDialog _frmDialog = new frmDialog();
        _frmDialog.Run();

But the vbox12 stays the same as in the designer, only the HBox inside the
other slice void.

Am I doing anything wrong here?

Invoke this.vbox12.ShowAll() after adding your widget. Sometimes this helps.
Then the thing gets worse with dialog never showing and the following on 
console:

Gtk-CRITICAL **: gtk_container_add: assertion `GTK_IS_WIDGET (widget)' failed.
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list



No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.851 / Virus Database: 271.1.1/3115 - Release Date: 09/05/10 
02:34:00

_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to