|
View:
New views
12 Messages
—
Rating Filter:
Alert me
|
|
|
Gtk-sharp widget library released !Hy there,
I'm proud to present you with my last two weeks work - a gtk-sharp custom control library compatible 100% with monodevelop/stetic. Url: http://code.google.com/p/holly-gtk-widgets/ (yeah, I have screen shots there ) Widgets ( custom controls ) in holly-widgets library: HFontPicker - A office like font picker widget HDateEdit - A date-time picker supporting custom formatting options HSimpleList - A simple list widget, inspired by the Winforms Listbox control ( has the nice Items collection, the OwnerDrawn property and the OnMeasureItem, OnDrawItem events ). HSimpleComboBox - A simple combobox widget, inspired by the Winforms Combobox control HRegExEntry - A simple entry with regular expressions validation. Has a small icon that changes if the content is valid or invalid. HColorPicker - A simple color picker drop-down ( office like ) HToolTip - A nice ballon tooltip window HIpEntry - A widget that alows the user to enter an IPv4 address HTreeView - A simple to use TreeView? widget, similar to the winforms one HComboTree - A easy to use combobox with a treeview ( HTreeView ) inside HComboFolder - A combobox widget with a folder tree popup Hope you will enjoy this and excuse my bad English. Daniel. |
|
|
Re: Gtk-sharp widget library released !Hi!,
Great job!.. congratulations!. I found the HRegExEntry incredible usefull!!. Thanks for your contribution. Regards, Pedro Guridi On Sat, May 31, 2008 at 3:45 PM, daniil00 <fr.daniil@...> wrote: > > Hy there, > > I'm proud to present you with my last two weeks work - a gtk-sharp custom > control library compatible 100% with monodevelop/stetic. > > Url: http://code.google.com/p/holly-gtk-widgets/ (yeah, I have screen shots > there ) > > Widgets ( custom controls ) in holly-widgets library: > > HFontPicker - A office like font picker widget > HDateEdit - A date-time picker supporting custom formatting options > HSimpleList - A simple list widget, inspired by the Winforms Listbox control > ( has the nice Items collection, the OwnerDrawn property and the > OnMeasureItem, OnDrawItem events ). > HSimpleComboBox - A simple combobox widget, inspired by the Winforms > Combobox control > HRegExEntry - A simple entry with regular expressions validation. Has a > small icon that changes if the content is valid or invalid. > HColorPicker - A simple color picker drop-down ( office like ) > HToolTip - A nice ballon tooltip window > HIpEntry - A widget that alows the user to enter an IPv4 address > HTreeView - A simple to use TreeView? widget, similar to the winforms one > HComboTree - A easy to use combobox with a treeview ( HTreeView ) inside > HComboFolder - A combobox widget with a folder tree popup > > Hope you will enjoy this and excuse my bad English. > > Daniel. > -- > View this message in context: http://www.nabble.com/Gtk-sharp-widget-library-released-%21-tp17578339p17578339.html > Sent from the Mono - Gtk# mailing list archive at Nabble.com. > > _______________________________________________ > Gtk-sharp-list maillist - Gtk-sharp-list@... > http://lists.ximian.com/mailman/listinfo/gtk-sharp-list > Gtk-sharp-list maillist - Gtk-sharp-list@... http://lists.ximian.com/mailman/listinfo/gtk-sharp-list |
|
|
Re: Gtk-sharp widget library released !> I'm proud to present you with my last two weeks work - a gtk-sharp custom
> control library compatible 100% with monodevelop/stetic. > Url: http://code.google.com/p/holly-gtk-widgets/ (yeah, I have screen shots > there ) > Widgets ( custom controls ) in holly-widgets library: > HFontPicker - A office like font picker widget > HDateEdit - A date-time picker supporting custom formatting options Sweet! Finally a decent date picker. As soon as my mono/cairo catches up with the version you used I'll certainly use these. They look really nice. Ever thought of making a nice calendar widget? I've got the start of one but currently not the time to polish/finish it <http://docs.google.com/Doc?id=ddv5htgd_23c4spt3gj>? Or maybe my code is so horrible it isn't worth looking at. :) -- Consonance: an Open Source .NET OpenGroupware client. Contact:awilliam@... http://freshmeat.net/projects/consonance/ _______________________________________________ Gtk-sharp-list maillist - Gtk-sharp-list@... http://lists.ximian.com/mailman/listinfo/gtk-sharp-list |
|
|
Re: Gtk-sharp widget library released !Thanks !
Sound's exciting, I've never done a control like that. Any winforms calendar control that you've seen and like ? I will add it for sure in my todo list for the 2.0 version of holly-widgets. If you are an adept with Gtk# and would be willing to take a look at our use of Gtk#'s ... calendar widget code and to offer us concrete suggestions to make it better/faster we'd almost certainly be willing to send you pizza/beverage-of-your-choice! Waiting for the beer :)
|
|
|
Re: Gtk-sharp widget library released !> Sound's exciting, I've never done a control like that. Any winforms
> calendar control that you've seen and like ? There are several commercial ones. The only Open Source one I've seen was with "monocalendar" which is unmaintained, and possibly incomplete. I originally based mine very roughly off their code. Commercials ones are <http://www.dbi-tech.com/dbiCalendar.asp> and here <http://www.devexpress.com/Products/NET/WinForms/XtraScheduler/> > I will add it for sure in my todo list for the 2.0 version of holly-widgets. > If you are an adept with Gtk# and would be willing to take a look at our use > of Gtk#'s ... calendar widget code and to offer us concrete suggestions to > make it better/faster we'd almost certainly be willing to send you > pizza/beverage-of-your-choice! I'm certainly not! I've muddle through, on a good day. But I'm certainly willing to co-operate with anyone on making a decent calendar. Basically I'm just trying to make something that displays n-number of days and unto which events can be placed. The widget handles the packing for overlapping events (what I find to be the really hard part). Events can be dragged around and right-clicked for a context menu. Dragging is crude but it works. The ability to set event color and possibly an icon would be nice. Multi-day events currently work. It might be better if each event was its own event box - not sure. This calendar is in its own DLL, code is at <http://code.google.com/p/consonance/source/browse> in the trunk/Gtk/Calendar folder. _______________________________________________ Gtk-sharp-list maillist - Gtk-sharp-list@... http://lists.ximian.com/mailman/listinfo/gtk-sharp-list |
|
|
Re: Gtk-sharp widget library released !2008/6/1 Adam Tauno Williams <awilliam@...>:
>> Sound's exciting, I've never done a control like that. Any winforms >> calendar control that you've seen and like ? > > There are several commercial ones. The only Open Source one I've seen > was with "monocalendar" which is unmaintained, and possibly incomplete. > I originally based mine very roughly off their code. > > Commercials ones are <http://www.dbi-tech.com/dbiCalendar.asp> and here > <http://www.devexpress.com/Products/NET/WinForms/XtraScheduler/> > >> I will add it for sure in my todo list for the 2.0 version of holly-widgets. >> If you are an adept with Gtk# and would be willing to take a look at our use >> of Gtk#'s ... calendar widget code and to offer us concrete suggestions to >> make it better/faster we'd almost certainly be willing to send you >> pizza/beverage-of-your-choice! > > I'm certainly not! I've muddle through, on a good day. But I'm > certainly willing to co-operate with anyone on making a decent calendar. > > Basically I'm just trying to make something that displays n-number of > days and unto which events can be placed. The widget handles the > packing for overlapping events (what I find to be the really hard part). > Events can be dragged around and right-clicked for a context menu. > Dragging is crude but it works. The ability to set event color and > possibly an icon would be nice. Multi-day events currently work. It > might be better if each event was its own event box - not sure. > > This calendar is in its own DLL, code is at > <http://code.google.com/p/consonance/source/browse> in the > trunk/Gtk/Calendar folder. Pimlico Dates [1] has a pretty good calendar widget in GTK, with several level of view : date, week, year. Unfortunately it's written in C, but it might be easier to port it to GTK# or create a binding than recreating a whole new widget. Olivier LĂȘ Thanh Duong. [1] http://pimlico-project.org/dates.html _______________________________________________ Gtk-sharp-list maillist - Gtk-sharp-list@... http://lists.ximian.com/mailman/listinfo/gtk-sharp-list |
|
|
Re: Gtk-sharp widget library released !really great man!!, congratulations..
Mauricio daniil00 wrote: > Hy there, > > I'm proud to present you with my last two weeks work - a gtk-sharp custom > control library compatible 100% with monodevelop/stetic. > > Url: http://code.google.com/p/holly-gtk-widgets/ (yeah, I have screen shots > there ) > > Widgets ( custom controls ) in holly-widgets library: > > HFontPicker - A office like font picker widget > HDateEdit - A date-time picker supporting custom formatting options > HSimpleList - A simple list widget, inspired by the Winforms Listbox control > ( has the nice Items collection, the OwnerDrawn property and the > OnMeasureItem, OnDrawItem events ). > HSimpleComboBox - A simple combobox widget, inspired by the Winforms > Combobox control > HRegExEntry - A simple entry with regular expressions validation. Has a > small icon that changes if the content is valid or invalid. > HColorPicker - A simple color picker drop-down ( office like ) > HToolTip - A nice ballon tooltip window > HIpEntry - A widget that alows the user to enter an IPv4 address > HTreeView - A simple to use TreeView? widget, similar to the winforms one > HComboTree - A easy to use combobox with a treeview ( HTreeView ) inside > HComboFolder - A combobox widget with a folder tree popup > > Hope you will enjoy this and excuse my bad English. > > Daniel. > _______________________________________________ Gtk-sharp-list maillist - Gtk-sharp-list@... http://lists.ximian.com/mailman/listinfo/gtk-sharp-list |
|
|
Re: Gtk-sharp widget library released !> > Basically I'm just trying to make something that displays n-number of
> > days and unto which events can be placed. The widget handles the > > packing for overlapping events (what I find to be the really hard part). > > Events can be dragged around and right-clicked for a context menu. > > Dragging is crude but it works. The ability to set event color and > > possibly an icon would be nice. Multi-day events currently work. It > > might be better if each event was its own event box - not sure. > > This calendar is in its own DLL, code is at > > <http://code.google.com/p/consonance/source/browse> in the > > trunk/Gtk/Calendar folder. > Pimlico Dates [1] has a pretty good calendar widget in GTK, with > several level of view : date, week, year. That does look nice <http://pimlico-project.org/images/screenshots/dates5.png>, do you now if it handles overlapping events? > Unfortunately it's written > in C, but it might be easier to port it to GTK# or create a binding > than recreating a whole new widget. I'd much prefer a managed widget to a binding. _______________________________________________ Gtk-sharp-list maillist - Gtk-sharp-list@... http://lists.ximian.com/mailman/listinfo/gtk-sharp-list |
|
|
Re: Gtk-sharp widget library released !> This calendar is in its own DLL, code is at > <http://code.google.com/p/consonance/source/browse> in the > trunk/Gtk/Calendar folder. It would be great if you guys joined forces, it seems that Daniel is on to something with this nice new collection of widget add-ons. Miguel. _______________________________________________ Gtk-sharp-list maillist - Gtk-sharp-list@... http://lists.ximian.com/mailman/listinfo/gtk-sharp-list |
|
|
Strange GdkSharp.PixbufDestroyNotifyWr |
|
|
pixbuf/pixbufloader from stream helpHi Guys:
As I explain in my previous post, right now gtk#/mono have issues about build a pixbuf using the byte[] contrcutor, so I 'm searching for alternatives, right now focused in build the pixbuf from a stream adn I realy need some help becouse with diferent aproach I can't get it and obviously I'm doing something wrong. First I try building a PixBufLoader from a byte[] buffer: Gdk.PixbufLoader pbL = new PixbufLoader(buffer, ImageWidth, ImageHeight); This allways return me "Image has zero width", don't know what is my mistake... Second: First be sure that the stream is correct using GDI+ :-S : BitmapData bd = bitmapBuffer.LockBits(new System.Drawing.Rectangle(0, 0, ImageWidth, ImageHeight), ImageLockMode.WriteOnly, System.Drawing.Imaging.PixelFormat.Format24bppRgb); Marshal.Copy(buffer,0,bd.Scan0,ImageWidth*ImageHeight*3); bitmapBuffer.UnlockBits(bd); MemoryStream mstr = new System.IO.MemoryStream(); bitmapBuffer.Save(mstr, System.Drawing.Imaging.ImageFormat.Bmp); ..then only for test: System.Drawing.Image returnImage = System.Drawing.Image.FromStream(mstr); returnImage.Save("testStr.bmp"); This work, so the stream is corect Third try: Use the memory stream to try to build the Pixbuf or the Pixbufloader: Gdk.PixbufLoader pbL = new PixbufLoader(mstr, ImageWidth, ImageHeight); or internalPixbuf = new Pixbuf(mstr, ImageWidth, ImageHeight); or just: Gdk.Pixbuf pb = new Pixbuf(mstr); Allways return me "GLib.GException: Unrecognized image file format" Finall test: Try to use other type to build from stream like Gtk.Image: Gtk.Image img = new Gtk.Image(mstr); This seems to work, but I still can't get the pixbuf from this!!!, img.Pixbuf return null (I supose that is becouse the image is not builded from a pixbuf..)... So the question is, how can I really build a pixbuf/pixbufloader from a stream and/or get the PixBuf from a Gtk.Image that was builded from a stream? Please, please I really need some help here, this is driving me crazy, I need to get working this widget, previously in mono-1.2.6 I I only use ONE line to so this: internalPixbuf = new Pixbuf(buffer, Colorspace.Rgb, false, 8, ImageWidth, ImageHeight, ImageWidth * 3, null); //buffer of byte[] type I know with the "byte[]" bug/problem I really need an alternative, and I know that is posible to build this thing from a stream so please give any sugestion.. In advance, thank you very much... Mauricio _______________________________________________ Gtk-sharp-list maillist - Gtk-sharp-list@... http://lists.ximian.com/mailman/listinfo/gtk-sharp-list |
|
|
Re: pixbuf/pixbufloader from stream helpOn Tue, 2008-06-03 at 09:39 -0400, Mauricio Henriquez wrote:
> Hi Guys: > > As I explain in my previous post, right now gtk#/mono have issues about > build a pixbuf using the byte[] contrcutor, so I 'm searching for > alternatives, right now focused in build the pixbuf from a stream adn I > realy need some help becouse with diferent aproach I can't get it and > obviously I'm doing something wrong. > > First I try building a PixBufLoader from a byte[] buffer: > Gdk.PixbufLoader pbL = new PixbufLoader(buffer, ImageWidth, ImageHeight); > This allways return me "Image has zero width", don't know what is my > mistake... I suspect the problem is that the Loader is probably expecting a formatted image like a jpg or png instead of raw byte data like the method you have been using. I probably led you astray pointing you at PixbufLoader. You may have to bite the bullet and upgrade your gtk-sharp and mono to get all the fixes you need to use that Pixbuf constructor successfully. Mike _______________________________________________ Gtk-sharp-list maillist - Gtk-sharp-list@... http://lists.ximian.com/mailman/listinfo/gtk-sharp-list |
| Free embeddable forum powered by Nabble | Forum Help |