Re: [Gtk-sharp-list] Monodevelop: unable to find gtk containers and widgets in toolbar pad

2013-07-20 Thread Michael Hutchinson
It looks like it's only showing custom classes, not built in GTK ones. Try removing the toolbox index files from MD's config directory. On Jun 23, 2013 6:24 AM, shivani maheshwari shivani.mah...@gmail.com wrote: Hi, I want to develop a Gtk# GUI application using monodevelop on Ubuntu 12.04.

Re: [Gtk-sharp-list] Input Methods in GTK# + Windows

2013-05-29 Thread Michael Hutchinson
# mailing list archive at Nabble.com. ___ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/gtk-sharp-list -- Michael Hutchinson http://mjhutchinson.com ___ Gtk

Re: [Gtk-sharp-list] Strange ComboBox effect

2012-02-27 Thread Michael Hutchinson
-list -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Re: [Gtk-sharp-list] how to disable window minimized

2011-12-01 Thread Michael Hutchinson
-- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Re: [Gtk-sharp-list] Native GtkWindow handle on MAX OS X (Lion)

2011-10-24 Thread Michael Hutchinson
/monodevelop/blob/master/main/src/addins/MacPlatform/MacInterop/GtkQuartz.cs#L63 -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Re: [Gtk-sharp-list] Force UI Update?

2011-05-02 Thread Michael Hutchinson
, and probably show a modal dialog with a progress bar and a cancel button. Your processing thread can update the progress bar using Gtk.Application.Invoke to touch the UI thread. http://www.mono-project.com/Responsive_Applications -- Michael Hutchinson http://mjhutchinson.com

Re: [Gtk-sharp-list] GLib Timeout and garbage collection clarification

2011-02-20 Thread Michael Hutchinson
should probably keep the ID you get from GLib.Timeout.Add in a field, override the OnDestroyed method, and pass the timeout's ID to GLib.Source.Remove. -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp-list

Re: [Gtk-sharp-list] TreeModel With Invisible Columns?

2011-01-04 Thread Michael Hutchinson
/questions/4511218/how-to-use-gtk-treeview-correctly/4512641#4512641 -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Re: [Gtk-sharp-list] gtk label : text wrapped and not fully displayed

2010-12-23 Thread Michael Hutchinson
that ? that is what my window looks like when it's launched http://mono.1490590.n4.nabble.com/file/n3161512/11566580086314_capture.png For variable-length wrapped text, I would suggest you use a TextView in a ScrolledWindow. You can set the base color to match the window background if you want. -- Michael

Re: [Gtk-sharp-list] ScrolledWindow and Label doesn't work

2010-11-16 Thread Michael Hutchinson
, then add the label to the Viewport, or use the AddWithViewport convenience method. sw.AddWithViewport (lbl); For more info, see http://library.gnome.org/devel/gtk/stable/GtkViewport.html -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list

Re: [Gtk-sharp-list] Synchronized scroll

2010-10-25 Thread Michael Hutchinson
On Mon, Oct 25, 2010 at 4:41 AM, Elmar Haneke el...@haneke.de wrote: Am 25.10.2010 00:04, schrieb Michael Hutchinson: On Fri, Oct 22, 2010 at 4:04 AM, Elmar Haneke el...@haneke.de wrote: This does make the TreeView not to scroll at all - it grows in size instead. That's strange. What

Re: [Gtk-sharp-list] Simple Gtk window crash when Entry's text refreshed via a timer

2010-10-11 Thread Michael Hutchinson
. = Aborted Looks like a Mono runtime crash to me. I'd suggesting filing a bug against the JIT. -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman

Re: [Gtk-sharp-list] QT user control in GTK# application

2010-09-30 Thread Michael Hutchinson
text in it. Hint : I'm thinking about QT Visual Designer for Monodevelop ;) You could do it with XEmbed (i.e. like GTK's Plug/Socket), but that wouldn't be portable to Mac/Windows. However I'm sure there must be ways to hack something similar on those platforms. -- Michael Hutchinson http

Re: [Gtk-sharp-list] Creating Custom Widget Library in MD

2010-08-19 Thread Michael Hutchinson
own handler. -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Re: [Gtk-sharp-list] No Designer Tab with C# GTK project

2010-08-13 Thread Michael Hutchinson
-and-drop functionality on Mac. You'll have to use Linux or Windows to design GTK# UI's with MonoDevelop. Update - it works in trunk but hasn't been backported to 2.4 packages. -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist

Re: [Gtk-sharp-list] GTk# dynamic treeview population

2010-08-09 Thread Michael Hutchinson
=E:Gtk.TreeView.TestExpandRow In an eventhandler for that event, you can inspect the treestore and add any rows needed. -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/gtk

Re: [Gtk-sharp-list] Why does my AppIndicator disappear when I create it outside of my main method?

2010-08-04 Thread Michael Hutchinson
in GmailAppIndicator. -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Re: [Gtk-sharp-list] Which Class to inheret from

2010-07-12 Thread Michael Hutchinson
class type in mono/GTK#? Probably DrawingArea, though you can subclass Widget directly. -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Re: [Gtk-sharp-list] Which Class to inheret from

2010-07-12 Thread Michael Hutchinson
On Mon, Jul 12, 2010 at 9:44 PM, Michael Hutchinson m.j.hutchin...@gmail.com wrote: On Mon, Jul 12, 2010 at 6:43 PM, Aaron Radich aa...@radich.com wrote: I've got a custom .NET Windows froms control that I'm trying to port to Mono/GTK#.  The control inherits from

Re: [Gtk-sharp-list] Ubuntu: Warning: The reference 'atk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' is not valid for the target framework of the project.

2010-05-28 Thread Michael Hutchinson
with the way Ubuntu splits Mono packages into lots of little bits. My guess is that they moved the pkg-config files - which MD uses to discover assemblies at compile-time - into a separate packages. -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list

Re: [Gtk-sharp-list] Mono + UTF-8 = strange behavior

2010-05-03 Thread Michael Hutchinson
. -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Re: [Gtk-sharp-list] Gtk.Builder question

2010-04-29 Thread Michael Hutchinson
On Thu, Apr 29, 2010 at 4:28 PM, Wolfgang Mauer w.ma...@top-soft.info wrote: Ok, but on Window i like VStudio. Yes, but you're already using two tools, VS + Glade, so why not VS + MD? -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list

Re: [Gtk-sharp-list] GSOC: deliverables

2010-04-09 Thread Michael Hutchinson
had to contact earlier, but I've just made up my mind on making such proposal. Could someone give me a hand on this? There's only three days left :S Hi, You should make your application at Google's site: http://socghop.appspot.com/gsoc/student/apply/google/gsoc2010 -- Michael Hutchinson http

Re: [Gtk-sharp-list] Password popup

2010-04-09 Thread Michael Hutchinson
such as xdg-su/gksu/kdesu/etc, either in your launch script, to have the whole app run as root, or in subprocesses run by your app, to prompt for individual actions. -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp

Re: [Gtk-sharp-list] How to refresh a Cairo drawed Widget

2010-04-03 Thread Michael Hutchinson
me the name? QueueDraw. -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Re: [Gtk-sharp-list] A question from a completely lost newcommer

2010-03-27 Thread Michael Hutchinson
/ looks pretty good. -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Re: [Gtk-sharp-list] Problem with drag and drop expand-on-hover for a TreeView

2010-03-03 Thread Michael Hutchinson
{ //it's an Into action so fall though to the default handler return; } SetDragDestRow (path, overrideDrop); Gdk.Drag.Status (args.Context, args.Context.SuggestedAction, args.Time); args.RetVal = true; } -- Michael Hutchinson http

Re: [Gtk-sharp-list] How to search a TreeStore and use a CellRendererCombo?

2010-02-27 Thread Michael Hutchinson
. Something like the following: cellRenderer.Editable = true; cellRenderer.Edited += delegate(object o, EditedArgs args) { TreeIter iter; if (store.GetIter (args.Path, out iter)) { store.SetValue (iter, 0, args.NewText); return true; } return false; }; -- Michael

Re: [Gtk-sharp-list] Problem getting a TreePath from a TreeModelSort by x and y coords

2010-02-09 Thread Michael Hutchinson
the model seen by the view is the sorted model, shouldn't you get the value from that? i.e. TreeIter iter; if (!cardSort.GetIter (out iter, path)) return; Card card = (Card) cardSort.GetValue (iter, 0); -- Michael Hutchinson http://mjhutchinson.com ___ Gtk

Re: [Gtk-sharp-list] Mono Gtk# application and MS SQL database

2010-02-08 Thread Michael Hutchinson
client library. -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Re: [Gtk-sharp-list] When using Drag and Drop in a TreeView, how do I keep from dropping between rows?

2010-02-05 Thread Michael Hutchinson
to prevent the event propagating to the default drag motion handler. For an example see main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Components/ExtensibleTreeView.cs -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp

Re: [Gtk-sharp-list] Mono / GTK# program crashing

2010-01-26 Thread Michael Hutchinson
. What MonoDevelop version are you using? -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Re: [Gtk-sharp-list] Mono / GTK# program crashing

2010-01-26 Thread Michael Hutchinson
to check. Hm, MonoDevelop could probably handle that better. If it's still reproducible, could you file a bug? -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman

Re: [Gtk-sharp-list] Text input in drawing area

2010-01-16 Thread Michael Hutchinson
On Mon, Jan 11, 2010 at 6:51 PM, Piotr Zurek p.zu...@gmail.com wrote: Hi Michael, On Tue, Jan 12, 2010 at 12:18, Michael Hutchinson m.j.hutchin...@gmail.com wrote: It's perfectly possible to have a custom widget position a child entry directly. You don't necessarily need the Fixed to do

Re: [Gtk-sharp-list] Issue concerning button image

2010-01-16 Thread Michael Hutchinson
. something like http://anonsvn.mono-project.com/viewvc/trunk/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/DragNotebook.cs?r1=135850r2=136641 You might have to poke around in the gtk+ docs to find the right property. -- Michael Hutchinson http://mjhutchinson.com

Re: [Gtk-sharp-list] Text input in drawing area

2010-01-11 Thread Michael Hutchinson
case that goes outside of the normal use case for GUI toolkits. It's perfectly possible to have a custom widget position a child entry directly. You don't necessarily need the Fixed to do this for you. -- Michael Hutchinson http://mjhutchinson.com

Re: [Gtk-sharp-list] Assign image window background

2010-01-11 Thread Michael Hutchinson
modifying the bg colour on the style won't actually have any effect on such widgets. If the widgets don't have GdkWindows, you can put the widget in an EventBox, which is simply a container that has no padding or border, but has a GdkWindow so can catch events and draw its own background. -- Michael

Re: [Gtk-sharp-list] Few questions about how to use TreeView

2009-12-31 Thread Michael Hutchinson
= store.IterNChildren (next); if (store.IterNext (ref iter)) while (count-- 0 store.Remove (ref iter)); } 3. How can I enumerate through the child iters? Wondering why there is no GetIterNext(Gtk.TreeIter selectedIter)? Yeah, that one always gets me. It's called IterNext. -- Michael Hutchinson

Re: [Gtk-sharp-list] Access Violations with Mono.Cairo on Windows

2009-12-30 Thread Michael Hutchinson
signature to use a IntPtr instead of a byte[] * use Marshal.FreeHGlobal to free the memory when the surface is disposed -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com

Re: [Gtk-sharp-list] Access Violations with Mono.Cairo on Windows

2009-12-29 Thread Michael Hutchinson
-project.com/viewvc/trunk/mcs/class/Mono.Cairo/Mono.Cairo/ImageSurface.cs Because the obsoleted version does nothing, that means that the ImageSurface's surface pointer is zero, so code that dereferences it will explode. -- Michael Hutchinson http://mjhutchinson.com

Re: [Gtk-sharp-list] Pango color

2009-12-20 Thread Michael Hutchinson
created a GC that you can pass to the draw calls. Be careful to re-use such GCs and dispose them correctly, as they use resources. -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http

Re: [Gtk-sharp-list] GTK# on Mac Field Report

2009-12-10 Thread Michael Hutchinson
mac installer.  Whether it improved in 2.4.3 and just wasn't documented in the release notes is not something I can speak to confidently. Perhaps Michael Hutchinson can comment on that. Nope, it wasn't improved in 2.4.3. It still uses the 2.17.x+patches that 2.4.2.3_4 used. We need to rebase our

Re: [Gtk-sharp-list] cannot find Runtime.DispatchService.GuiDispatch

2009-12-10 Thread Michael Hutchinson
. DispatchService is part of MonoDevelop, so it's only an option if you're building a MonoDevelop adding. For normal GTK# apps, see the page that Adam linked. -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp-list

Re: [Gtk-sharp-list] Gtk# with .NET (on 64bit Windows)

2009-12-04 Thread Michael Hutchinson
it in a 32-bit VM. But this is not a (g)mcs compiler option (but csc), is it? I couldn't find out how to set this option with the mono compiler. Can you help me with that? gmcs 2.6 and later supports it. You can also set it on Windows using the corflags.exe tool from the .NET SDK. -- Michael

Re: [Gtk-sharp-list] Gtk# with .NET (on 64bit Windows)

2009-12-03 Thread Michael Hutchinson
32-bit, so they can't be used from a 64-bit .NET VM. You should flag your exe as 32-bit using /platform:x86 which will make Windows load it in a 32-bit VM. -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp-list

Re: [Gtk-sharp-list] Is GTK# viable on Mac?

2009-11-29 Thread Michael Hutchinson
-integration. However, to use it, you need it set it up by making a few calls. You can find a managed wrapper library in the Banshee source. MD uses Carbon P/Invokes directly, because ige-mac-integration's approach didn't work at all with our custom command system. -- Michael Hutchinson http

Re: [Gtk-sharp-list] Exclusive button group (vbuttonbox)?

2009-11-25 Thread Michael Hutchinson
. You could get rid of it by instead using a TreeView and a ListStore, or by setting ShowExpanders to false. -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman

Re: [Gtk-sharp-list] Theming

2009-11-18 Thread Michael Hutchinson
for Banshee, which you can find in the banshee source tree. This would probably be a good starting point. -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman

Re: [Gtk-sharp-list] Theming

2009-11-11 Thread Michael Hutchinson
having problem with that. The Mac theme isn't so native-looking, but we went with something that looked nice and sort-of fitted in with the Mac colours. -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp-list

Re: [Gtk-sharp-list] How to hide the mouse cursor in GTK#?

2009-10-05 Thread Michael Hutchinson
/TextEditor.cs?view=markup Don't forget to dispose the cursor when you're done. -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Re: [Gtk-sharp-list] Gtk.Image and System.Drawing.Bitmap

2009-07-07 Thread Michael Hutchinson
There are a few ways to do this, though IMO all are suboptimal. The easiest would be to save the Bitmap to a MemoryStream then load the Gtk.Image from that stream. FWIW, why do you have a Bitmap? Depending on what you're doing, you may be able to go straight to the Gtk.Image. On Jul 7, 2009 5:16

Re: [Gtk-sharp-list] GTK# Controls DOES NOT Look Native on MS Windows!!!!

2009-07-06 Thread Michael Hutchinson
# versions, you could use the workaround described in the email: http://lists.ximian.com/pipermail/gtk-sharp-list/2009-March/009507.html -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http

Re: [Gtk-sharp-list] get value of a cell

2009-05-22 Thread Michael Hutchinson
== nameColumn) value = model.GetValue (row, nameModelColumnIndex); -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Re: [Gtk-sharp-list] how to embed icon into executable?

2009-05-22 Thread Michael Hutchinson
. -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Re: [Gtk-sharp-list] Textview keypress event problem

2009-05-21 Thread Michael Hutchinson
* the widget's own handler). -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Re: [Gtk-sharp-list] popup menu (combobox?) for treeview?

2009-05-21 Thread Michael Hutchinson
,Gtk.MenuPositionFunc,System.UInt32,System.UInt32) -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Re: [Gtk-sharp-list] Can't choose C# GTK# Project on Mac 10.5.6

2009-04-30 Thread Michael Hutchinson
On Fri, Apr 17, 2009 at 5:59 PM, Trevor Newsome trevor_news...@hotmail.com wrote: Has this been resolved yet, as I am having the same issues? No, the designer and templates are still not available on mac. But you can add GTK# references manually. -- Michael Hutchinson http://mjhutchinson.com

Re: [Gtk-sharp-list] Gnome.Canvas slows down

2009-04-26 Thread Michael Hutchinson
Gtk.DrawingArea, then override OnExposeEvent to do the drawing directly: http://www.go-mono.com/docs/index.aspx?tlink...@ecma:871%23DrawingArea/ You can also use Gdk.CairoHelper to get a Cairo context from the GdkWindow, then use Cairo to draw on the GdkWindow. -- Michael Hutchinson http://mjhutchinson.com

Re: [Gtk-sharp-list] Changing widgets visual properties (wiewport backgrounds, labels) bug

2009-04-26 Thread Michael Hutchinson
())); GTK+ isn't threadsafe; you can't safely touch GTK objects from other threads. There are a few ways to handle timers and calls from other threads: Gtk.Application.Invoke GLib.Timeout.Add GLib.Idle.Add See http://mono-project.com/Responsive_Applications for more info. -- Michael Hutchinson

Re: [Gtk-sharp-list] Cannot constrain resize of contained widget, why?

2009-04-20 Thread Michael Hutchinson
= true (or is it false?) to stop the event from propagating to the built-in handler. Although counter-intuitive to C#/.NET users, this feature can be very useful when you want to override the built-in handlers. -- Michael Hutchinson http://mjhutchinson.com

Re: [Gtk-sharp-list] can't configure gtk#2.8.5

2009-04-11 Thread Michael Hutchinson
-- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Re: [Gtk-sharp-list] GtkSourceView language and style definitions

2009-04-10 Thread Michael Hutchinson
-- GtkSourceView-Sharp-2.0 (the 2.0 version of the binding to the 1.8 library) and GtkSourceView2-Sharp. It sounds like you want the latter. -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com

Re: [Gtk-sharp-list] German special characters on linux

2009-04-07 Thread Michael Hutchinson
them to UTF8. -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Re: [Gtk-sharp-list] Windows theme not applied

2009-03-17 Thread Michael Hutchinson
, and others only after? That's extremely odd. I've tried adding a visual style-enabling manifest to GTK# apps, which should be equivalent: http://blogs.msdn.com/rprabhu/archive/2003/09/28/56540.aspx It didn't help. -- Michael Hutchinson http://mjhutchinson.com

Re: [Gtk-sharp-list] Can't choose C# GTK# Project on Mac 10.5.6

2009-03-17 Thread Michael Hutchinson
actually capable of building itself on Mac now, without any makefiles or autotools. Just use the DebugMac configuration, which will exclude the addins that don't work or aren't needed on Mac. -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list

Re: [Gtk-sharp-list] I could not install mono-gtk# on the mac (no csc compiler).

2009-03-04 Thread Michael Hutchinson
this directory automatically, so all the libraries show up in the add references dialog, and it can even build itself. -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman

Re: [Gtk-sharp-list] How set the Image displayed by Gtk.Image (using a IO.Stream)

2009-02-23 Thread Michael Hutchinson
think you'd have to assign a pixbuf or pixmap directly. Something like: using (Gdk.Pixbuf oldPixbuf = image1.Pixbuf) { image1.Pixbuf = new Gdk.Pixbuf (myStream); } (this will dispose of the old Pixbuf, which i think is the 'correct' thing to do) -- Michael Hutchinson http://mjhutchinson.com

Re: [Gtk-sharp-list] cellrendererprogress confusion

2009-02-18 Thread Michael Hutchinson
The AddValues method on the ListStore adds any number of objects to the columns of a single row, and unfortunately it's not strongly typed (primitive types are mapped to equivalent unmanaged types, which AFAIK is why you set up the type for the store and you can map these columns to cell renderer

Re: [Gtk-sharp-list] GtkDotNet and dll.config file help - fixed

2009-02-11 Thread Michael Hutchinson
copy system packages to the output -- I ran into this kind of problem building MD on Windows, where it copied GTK# and friedns into every addin directory. -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp-list

Re: [Gtk-sharp-list] GtkDotNet and dll.config file help

2009-02-07 Thread Michael Hutchinson
and installed when you install GTK#, i.e. the GAC'd GTK# dlls are all already mapped. Your issue most likely indicates a broken GTK# installation. How did you install it? -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk

Re: [Gtk-sharp-list] Drawing into Caption

2009-01-30 Thread Michael Hutchinson
On Tue, Jan 6, 2009 at 6:21 PM, Michael Hutchinson m.j.hutchin...@gmail.com wrote: On Tue, Jan 6, 2009 at 6:03 PM, Wolfgang Mauer w.ma...@top-soft.info wrote: Hi all, is it possible to draw into the caption from a decorated window? I don't believe so, since the window decorations are drawn

Re: [Gtk-sharp-list] Widget Background Color 'anomaly', and request for further reading

2009-01-24 Thread Michael Hutchinson
the colour lookups fall through to the original default. surprised that trying to *read* the current background could be construed as 'advanced'! I'll see what the Gtk+ lists have to say. -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list

Re: [Gtk-sharp-list] Newbie wants to create a dock.

2009-01-06 Thread Michael Hutchinson
on the window to Gdk.WindowTypeHint.Dock. From MonoDoc: Indicates a dock or panel feature. Typically a Window Manager would keep such windows on top of all other windows. -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp

Re: [Gtk-sharp-list] Drawing into Caption

2009-01-06 Thread Michael Hutchinson
special behaviours associated with splashes, e.g. semi-transparency, which obviously wouldn't be desirable for a normal app. What exactly is it you're trying to do? I assume it's something like these: http://blogs.msdn.com/wpfsdk/archive/2008/09/08/custom-window-chrome-in-wpf.aspx -- Michael

Re: [Gtk-sharp-list] 3D scene in Gtk# application

2008-12-05 Thread Michael Hutchinson
On Tue, Dec 2, 2008 at 4:57 PM, kemiisto [EMAIL PROTECTED] wrote: Hello, everyone! Is it possible to render 3D scene in some region of Gtk# Form? For example, render it on Panel or smth. else. http://sourceforge.net/projects/glwidget/ -- Michael Hutchinson http://mjhutchinson.com

Re: [Gtk-sharp-list] Threading problem on Windows

2008-12-01 Thread Michael Hutchinson
{ this.imageOneDie.Pixbuf = this.RollDie(); return this.isDieRolling; }); } } There may be other factors involved, but the thread certainly isn't doing any good. -- Michael Hutchinson http://mjhutchinson.com ___ Gtk

Re: [Gtk-sharp-list] ComboBox with two columns

2008-10-14 Thread Michael Hutchinson
parts of your code? -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Re: [Gtk-sharp-list] Combobox clear and reload

2008-10-10 Thread Michael Hutchinson
any columns in the model to any properties of the renderer combo.AddAttribute (textRenderer, text, 0); //add some values to the model model.AddValues (foo); //clear the model model.Clear (); These same principles apply to the TreeView. -- Michael Hutchinson http://mjhutchinson.com

Re: [Gtk-sharp-list] Stetic MedSphere

2008-10-09 Thread Michael Hutchinson
. If using MD 1.0, you'll need an objects.xml manifest embedded (stetic autogenerates these). -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Re: [Gtk-sharp-list] Enumerable TreeModel Problems

2008-09-29 Thread Michael Hutchinson
in store.EnumerateIters () select (T) store.GetValue (column); } It'd be nice to start a Gtk.Rocks assembly for this kind of stuff :-) BTW, I think your bug is that GetEnumerator() needs to call Reset (). This problem stems from not returning a new enumerator. -- Michael Hutchinson http

Re: [Gtk-sharp-list] Updating of a window not done right away

2008-09-26 Thread Michael Hutchinson
hundred milliseconds for your application to remain responsive -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Re: [Gtk-sharp-list] RichTextBox.TextChanged (event) equivalent in GTk.?

2008-09-25 Thread Michael Hutchinson
= false; protected virtual void OnTextBufferChanged(object o, System.EventArgs e) { if (changingText) return; //do stuff changingText = true; this.textview1.Buffer.Text = temp4; changingText = false; } -- Michael Hutchinson http://mjhutchinson.com

Re: [Gtk-sharp-list] Updating of a window not done right away

2008-09-24 Thread Michael Hutchinson
On Wed, Sep 24, 2008 at 4:52 AM, Mathias Tausig [EMAIL PROTECTED] wrote: Am 23. Sep 2008 um 23:43:04 -0400, schrieb Michael Hutchinson: On Tue, Sep 23, 2008 at 4:51 AM, Mathias Tausig [EMAIL PROTECTED] wrote: Hy! I wrote a class DisplayPanel (see below., which should just display some

Re: [Gtk-sharp-list] Updating of a window not done right away

2008-09-23 Thread Michael Hutchinson
. If you use threads or .NET async calls, you will have to be careful to only touch the UI from the GTK thread. The following articles cover these topics: http://msdn.microsoft.com/en-us/magazine/cc301332.aspx http://www.mono-project.com/Responsive_Applications -- Michael Hutchinson http

Re: [Gtk-sharp-list] 64bit Gtk# for windows

2008-09-16 Thread Michael Hutchinson
to use GTK# on Windows. -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Re: [Gtk-sharp-list] pinvoke and benchmarks

2008-09-16 Thread Michael Hutchinson
;-) -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Re: [Gtk-sharp-list] GLib.Timerout How to use?

2008-09-13 Thread Michael Hutchinson
until it returns false GLib.Timeout.Add (1000, GLib.TimeoutHandler (AutoSaveHandler )); } } } bool AutoSaveHandler () { if (autoSaveEnabled) { AutoSave (); return true; } else { return false; } } -- Michael Hutchinson http

Re: [Gtk-sharp-list] Adding a shortcut to menu or a button

2008-08-26 Thread Michael Hutchinson
, which can have accelerators, and bind those to your toolbars/menus/whatever. -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Re: [Gtk-sharp-list] Treeview - what is this popup box?

2008-08-15 Thread Michael Hutchinson
SearchColumn to the column to be used for searching and/or set SearchEqualFunc to a custom comparison delegate. The main GTK docs have a bit more info on the way this works: http://library.gnome.org/devel/gtk/stable/GtkTreeView.html#GtkTreeViewSearchEqualFunc -- Michael Hutchinson http

Re: [Gtk-sharp-list] Windows gtk-sharp 2.12 assembly

2008-07-27 Thread Michael Hutchinson
monodevelop on Ubuntu Hardy. Install the GTK# 2.10 via the MD addin manager, and set the target GTK# version for each of your projects to 2.10. -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com

Re: [Gtk-sharp-list] Windows gtk-sharp 2.12 assembly

2008-07-27 Thread Michael Hutchinson
On Sun, Jul 27, 2008 at 11:34 PM, Michael Hutchinson [EMAIL PROTECTED] wrote: On Sun, Jul 27, 2008 at 11:28 PM, Plex [EMAIL PROTECTED] wrote: I've run in to a problem distributing my mono app as there is (I believe) currently no 2.12 assembly for Windows. Would some kind soul be able

Re: [Gtk-sharp-list] Data grid comparable to the data grid control in MS/VS

2008-07-22 Thread Michael Hutchinson
. -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Re: [Gtk-sharp-list] Move cursor to an entry field

2008-07-10 Thread Michael Hutchinson
should move the cursor to one of them. Any suggestions? http://www.go-mono.com/docs/monodoc.ashx?link=M%3aGtk.Widget.GrabFocus -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http

Re: [Gtk-sharp-list] ScrolledWindow and TextView

2008-06-28 Thread Michael Hutchinson
(this.extraCompilerTextView); this.table5.Add(this.scrolledwindow4); Could you take a look at the stetic-generated code in the gtk-gui directory to check whether it's ordering things differently for you? -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list

Re: [Gtk-sharp-list] Removing all the widgets from a table Mac OSX GTK#

2008-06-28 Thread Michael Hutchinson
of the things that prevent running MonoDevelop's GTK# Visual Designer on OS X. Since you're running into several issues here, I suggest you try the older X11 GTK+ on the Mac. It isn't as tightly integrated and requires X server, but it's *much* more mature. -- Michael Hutchinson http://mjhutchinson.com

Re: [Gtk-sharp-list] Child windows in a seperate dll file.

2008-05-05 Thread Michael Hutchinson
://lists.ximian.com/mailman/listinfo/gtk-sharp-list -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Re: [Gtk-sharp-list] GLADE or not GLADE???. gtk on rails

2008-04-30 Thread Michael Hutchinson
://wiki.inkscape.org/wiki/index.php/GtkMMification Have you used Stetic, the GTK# designer that is integrated into MD? It generates code so that you can use the stetic-created widgets directly from code, and it also consumes GTK# widgets written in C#. -- Michael Hutchinson http

Re: [Gtk-sharp-list] Simple Audio Test - Gnome.Sound.Play method?

2008-04-21 Thread Michael Hutchinson
machine, unless you want to play sound over the network :-) Hence the following probably works: Gnome.Sound.Init (localhost); Gnome.Sound.Play (/home/user/test.wav); -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp

Re: [Gtk-sharp-list] Different CellRenderers in different cells

2008-04-13 Thread Michael Hutchinson
was doing? Am I missing something? I don't have time to think about this fully right now, but you could take a looks at MonoDevelop's Property Grid (in main/src/addins/MonoDevelop.DesignerSupport) because that does much the same thing as what you need. -- Michael Hutchinson http://mjhutchinson.com

Re: [Gtk-sharp-list] GTK CRITICAL error message

2008-04-04 Thread Michael Hutchinson
/MonoDevelop.Core.Gui/GLibLogging.cs?view=markup for an example. -- Michael Hutchinson http://mjhutchinson.com ___ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

  1   2   >