[Gtk-sharp-list] Equivalent to Windows.Forms DateTimePicker
andy at brdstudio.net
Sun Sep 5 19:27:46 EDT 2010
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.
I hope it is of some use even though it still a work in progress
On 9/5/2010 3:56 PM, Natalia Portillo wrote:
> 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.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();
>>> 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 - Gtk-sharp-list at lists.ximian.com
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gtk-sharp-list