[MonoDevelop] Equivalent GTK# control to a VS Data Grid ? (Brett Senior)

Brett Senior brett_senior at yahoo.com.au
Mon Jun 16 06:34:41 EDT 2008


Re the above need for a grid view widget.  Looked at the link that was provided and downloaded the sources.  It produces a demo program showing the widgets and they are what I require.  However when you try to install the .dll into the gac it complains about not being able to install it without a strong name.  Not sure what that means, but this option seems to be a dead end.  Thanks anyway for those that provided me with this link - it was worth a try.

 
Brett Senior



----- Original Message ----
From: "monodevelop-list-request at lists.ximian.com" <monodevelop-list-request at lists.ximian.com>
To: monodevelop-list at lists.ximian.com
Sent: Monday, 16 June, 2008 3:53:51 PM
Subject: Monodevelop-list Digest, Vol 38, Issue 9

Send Monodevelop-list mailing list submissions to
    monodevelop-list at lists.ximian.com

To subscribe or unsubscribe via the World Wide Web, visit
    http://lists.ximian.com/mailman/listinfo/monodevelop-list
or, via email, send a message with subject or body 'help' to
    monodevelop-list-request at lists.ximian.com

You can reach the person managing the list at
    monodevelop-list-owner at lists.ximian.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Monodevelop-list digest..."
Today's Topics:

   1. Crash when creating or renaming folders (Glenn Allen)
   2. Re: Upcoming releases (simozzer)
   3. Add File question (Ken Weinert)
   4. Re: Add File question (Michael Hutchinson)
   5. Re: Upcoming releases (Michael Hutchinson)
   6. Equivalent GTK ## control to a VS Data Grid ? (Brett Senior)
   7. Re: Equivalent GTK ## control to a VS Data Grid ? (True Friend)



-----Inline Message Follows-----

________________________________
 Get the name you always wanted with the new y7mail email address.


-----Inline Message Follows-----

________________________________
 Get the name you always wanted with the new y7mail email address.
_______________________________________________
Monodevelop-list mailing list
Monodevelop-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-list




-- 
Muhammad Shakir Aziz محمد شاکر عزیز
_______________________________________________
Monodevelop-list mailing list
Monodevelop-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-list
Hi all,

I keep getting a randomish crash when creating or renaming folders in
the solution tab.  I haven't had the time to debug it or try to write a
patch, but would greatly appreciate it if someone would take a look at
it.  

Stacktrace:

  at (wrapper managed-to-native) Gtk.TreeStore.gtk_tree_model_get_value
(intptr,intptr,int,intptr) <0x0000e>
  at (wrapper managed-to-native) Gtk.TreeStore.gtk_tree_model_get_value
(intptr,intptr,int,intptr) <0xffffffff>
  at Gtk.TreeStore.GetValue (Gtk.TreeIter,int,GLib.Value&) <0x000c4>
  at Gtk.TreeStore.GetValue (Gtk.TreeIter,int) <0x00078>
  at TreeNodeNavigator.MoveToIter (Gtk.TreeIter) <0x000bb>
  at TreeNodeNavigator.MoveToPosition
(MonoDevelop.Ide.Gui.Pads.NodePosition) <0x00030>
  at MonoDevelop.Ide.Gui.MonoDevelopTreeView.HandleOnEdit
(object,Gtk.EditedArgs) <0x00532>
  at Gtk.CellRendererText.EditedSignalCallback
(intptr,intptr,intptr,intptr) <0x00204>
  at (wrapper native-to-managed)
Gtk.CellRendererText.EditedSignalCallback (intptr,intptr,intptr,intptr)
<0xffffffff>
  at (wrapper managed-to-native)
GLib.Object.g_signal_chain_from_overridden (intptr,GLib.Value&)
<0x0000e>
  at (wrapper managed-to-native)
GLib.Object.g_signal_chain_from_overridden (intptr,GLib.Value&)
<0xffffffff>
  at Gtk.Widget.OnKeyPressEvent (Gdk.EventKey) <0x001b1>
  at MonoDevelop.Ide.Gui.DefaultWorkbench.OnKeyPressEvent (Gdk.EventKey)
<0x002de>
  at Gtk.Widget.keypressevent_cb (intptr,intptr) <0x0007b>
  at (wrapper native-to-managed) Gtk.Widget.keypressevent_cb
(intptr,intptr) <0xffffffff>
  at (wrapper managed-to-native) Gtk.Application.gtk_main () <0x0000b>
  at (wrapper managed-to-native) Gtk.Application.gtk_main ()
<0xffffffff>
  at Gtk.Application.Run () <0x00008>
  at MonoDevelop.Ide.Gui.IdeApp.Run () <0x00008>
  at MonoDevelop.Ide.Gui.IdeStartup.Run (string[]) <0x00fba>
  at MonoDevelop.Startup.SharpDevelopMain.Main (string[]) <0x00075>
  at (wrapper runtime-invoke)
MonoDevelop.Startup.SharpDevelopMain.runtime_invoke_int_string[]
(object,intptr,intptr,intptr) <0xffffffff>





Lluis,

Re: Upcoming release - Error when creating new ASP.NET web application.


I have built monodevelop 1.9 from trunk and see the following error when
trying to create a new C# ASP.NET Web Application: 
" 'Global.asax' could not be written. "

Details:
System.ArgumentNullException: Argument cannot be null.
Parameter name: path
  at MonoDevelop.Core.FileService.GetFullPath (System.String path) [0x00000] 
  at MonoDevelop.Projects.ProjectFile..ctor (System.String filename,
BuildAction buildAction) [0x00000] 
  at MonoDevelop.Projects.Project.AddFile (System.String filename,
BuildAction action) [0x00000] 
  at MonoDevelop.AspNet.AspNetAppProject.OnFileAddedToProject
(MonoDevelop.Projects.ProjectFileEventArgs e) [0x00000] 
  at MonoDevelop.Projects.Project.NotifyFileAddedToProject
(MonoDevelop.Projects.ProjectFile file) [0x00000] 
  at MonoDevelop.Projects.ProjectFileCollection.InsertItem (Int32 index,
MonoDevelop.Projects.ProjectFile value) [0x00000] 
  at
System.Collections.ObjectModel.Collection`1[MonoDevelop.Projects.ProjectFile].Add
(MonoDevelop.Projects.ProjectFile item) [0x00000] 
  at MonoDevelop.Projects.Project.AddFile (MonoDevelop.Projects.ProjectFile
projectFile) [0x00000] 
  at
MonoDevelop.Ide.Templates.SingleFileDescriptionTemplate.AddFileToProject
(MonoDevelop.Projects.Project project, System.String language, System.String
directory, System.String name) [0x00000] 
  at MonoDevelop.Ide.Templates.SingleFileDescriptionTemplate.AddToProject
(MonoDevelop.Projects.Project project, System.String language, System.String
directory, System.String name) [0x00000] 
  at MonoDevelop.Ide.Templates.ProjectDescriptor.InitializeItem
(MonoDevelop.Projects.ProjectCreateInformation projectCreateInformation,
System.String defaultLanguage, MonoDevelop.Projects.SolutionEntityItem item)
[0x00000] 

Just thought i'd report this after seeing that you're about to release 1.9.
Do I need to make a bugzilla entry?

Cheers

Simon Moscrop
-- 
View this message in context: http://www.nabble.com/Upcoming-releases-tp17653818p17780739.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Is there a facility I've not seen?

It would be incredibly handy for the Add File dialog to have the
option to add a file that implements an interface.

If you chose this option then you'd get a list of interfaces and be
able to check what you're implementing and then, when the file is
created, use a template (or reflection) to put in method stubs, all of
which would throw the NotImplementedException in order to ensure that
the methods actually get implemented.

Or, perhaps, there is a different method to do this already and I've
just not found it.

If it doesn't exist already, would this be handled by an add-in or by
expanding the existing code?

As you can tell, I don't know a lot about the internals of
MonoDevelop, but I'd be willing to take a look at doing it if that
turns out to be necessary.

Of course, if I'm the only one with this itch then it might not be
worth scratching.

Thanks for any insights, help, etc.

Ken

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIUU3QH0OpnUzq8fARAv8ZAJ91NIJVZTmLYGkouzqBD8tG++ZZsACguLmP
yme+0hyd14I4+JnecwrWjdw=
=Fxby
-----END PGP SIGNATURE-----


On Thu, Jun 12, 2008 at 12:24 PM, Ken Weinert <mc at quarter-flash.com> wrote:
> Is there a facility I've not seen?
>
> It would be incredibly handy for the Add File dialog to have the
> option to add a file that implements an interface.
>
> If you chose this option then you'd get a list of interfaces and be
> able to check what you're implementing and then, when the file is
> created, use a template (or reflection) to put in method stubs, all of
> which would throw the NotImplementedException in order to ensure that
> the methods actually get implemented.
>
> Or, perhaps, there is a different method to do this already and I've
> just not found it.

It's in the context menu for a class's identifier.

e.g.

class Foo : IBah
{
}

Right-click on Foo, select Class Foo -> implement Interface -> IBlah

(IIRC; it's similar to that, anyway)

Also, all overrideable methods should come up in code completion for
the "override" keyword. This too generates stubs.

>
> If it doesn't exist already, would this be handled by an add-in or by
> expanding the existing code?

It's implemented in the Refactory in the MonoDevelop.Ide addin. This
specifies an refactorer inferface with small refactoring operations
that language bindings can implement, and then offers cmposite
refactoring  features made up of these, e.g. "implement interface" is
implemented on top of the "add member" feature.

> As you can tell, I don't know a lot about the internals of
> MonoDevelop, but I'd be willing to take a look at doing it if that
> turns out to be necessary.
>
> Of course, if I'm the only one with this itch then it might not be
> worth scratching.

As you can see, it has already been scratched (to some extent).

However, in the past there has been talk of implementing a  "new class
wizard". Doing this right could get quite complicated; see the mailing
list archives for the discussions. If you're interrested in this,
please resurrect the relevant discussions.

-- 
Michael Hutchinson
http://mjhutchinson.com

On Wed, Jun 11, 2008 at 11:35 AM, simozzer <SimonMoscrop at hotmail.com> wrote:
> I have built monodevelop 1.9 from trunk and see the following error when
> trying to create a new C# ASP.NET Web Application:
> " 'Global.asax' could not be written. "
>
> Details:
> System.ArgumentNullException: Argument cannot be null.
> Parameter name: path
>  at MonoDevelop.Core.FileService.GetFullPath (System.String path) [0x00000]
>  at MonoDevelop.Projects.ProjectFile..ctor (System.String filename,
> BuildAction buildAction) [0x00000]
>  at MonoDevelop.Projects.Project.AddFile (System.String filename,
> BuildAction action) [0x00000]
>  at MonoDevelop.AspNet.AspNetAppProject.OnFileAddedToProject
> (MonoDevelop.Projects.ProjectFileEventArgs e) [0x00000]
<...>
> Just thought i'd report this after seeing that you're about to release 1.9.
> Do I need to make a bugzilla entry?

The code that caused this error went into trunk after the 1.9 branch.
Also, I thought I fixed it yesterday. Could you svn up?

-- 
Michael Hutchinson
http://mjhutchinson.com


I am converting an application from VS that uses a data grid.  I cannot find an equivalent to this in GTK# and wondered if I'm not looking hard enough or there is a way to do this in Monodevelop that I have not discovered.  Does anybody know of an equivalent or is this question best dealt with by another mailing list (a GTK# one ?).

 
Thanking you,

Brett Senior

________________________________
 Get the name you always wanted with the new y7mail email address.


-----Inline Attachment Follows-----

Got this link from the same list's archives. maybe it'll be helpful.
http://www.medsphere.org/projects/widgets
these widgets have a grid view widget as well like xl have (description says). 
Regards


On Mon, Jun 16, 2008 at 11:52 AM, Brett Senior <brett_senior at yahoo.com.au> wrote:

I am converting an application from VS that uses a data grid.  I cannot find an equivalent to this in GTK# and wondered if I'm not looking hard enough or there is a way to do this in Monodevelop that I have not discovered.  Does anybody know of an equivalent or is this question best dealt with by another mailing list (a GTK# one ?).

 
Thanking you,

Brett Senior

________________________________
 Get the name you always wanted with the new y7mail email address.
_______________________________________________
Monodevelop-list mailing list
Monodevelop-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-list




-- 
Muhammad Shakir Aziz محمد شاکر عزیز



      Get the name you always wanted with the new y7mail email address.
www.yahoo7.com.au/mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodevelop-list/attachments/20080616/82852977/attachment-0001.html 


More information about the Monodevelop-list mailing list