MonoDevelop and GTK#

View: New views
9 Messages — Rating Filter:   Alert me  

MonoDevelop and GTK#

by Bart Masschelein :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

After several months of not using mono on my MBP, I returned to it, and installed Mono 1.9.1_3. I was very pleased to read that MonoDevelop was included, especially since it has a built-in designer. However, when I want to create a GTK# solution, as one of the first tutorials on MonoDevelop suggested, I noticed that there is no GTK# solution under the C# samples, as it should. I only see Console project, Empty project and Library, but no GTK#. 

Am I missing sth? GTK# should be included in the package, as indicated on the download pages. Do I need additionally the GTK+ library? If so, what would be the easiest/best way to do this? MacPorts? 

best regards,

Bart

_______________________________________________
Mono-osx mailing list
Mono-osx@...
http://lists.ximian.com/mailman/listinfo/mono-osx

Re: MonoDevelop and GTK#

by Geoff Norton-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 2008-05-27 at 00:17 +0200, Bart Masschelein wrote:

> Hi all,
>
>
> After several months of not using mono on my MBP, I returned to it,
> and installed Mono 1.9.1_3. I was very pleased to read that
> MonoDevelop was included, especially since it has a built-in designer.
> However, when I want to create a GTK# solution, as one of the first
> tutorials on MonoDevelop suggested, I noticed that there is no GTK#
> solution under the C# samples, as it should. I only see Console
> project, Empty project and Library, but no GTK#.
>
>
> Am I missing sth? GTK# should be included in the package, as indicated
> on the download pages. Do I need additionally the GTK+ library? If so,
> what would be the easiest/best way to do this? MacPorts?
>

Stetic (the Gtk# designer) isn't supported on the mac yet due to a lack
of underlying drag and drop support in the gtk+quartz port.  Once that
has matured we will start supporting / shipping it.

-g

>

_______________________________________________
Mono-osx mailing list
Mono-osx@...
http://lists.ximian.com/mailman/listinfo/mono-osx

Re: MonoDevelop and GTK#

by Bart Masschelein :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 27 May 2008, at 00:19, Geoff Norton wrote:

> On Tue, 2008-05-27 at 00:17 +0200, Bart Masschelein wrote:
>> Hi all,
>>
>>
>> After several months of not using mono on my MBP, I returned to it,
>> and installed Mono 1.9.1_3. I was very pleased to read that
>> MonoDevelop was included, especially since it has a built-in  
>> designer.
>> However, when I want to create a GTK# solution, as one of the first
>> tutorials on MonoDevelop suggested, I noticed that there is no GTK#
>> solution under the C# samples, as it should. I only see Console
>> project, Empty project and Library, but no GTK#.
>>
>>
>> Am I missing sth? GTK# should be included in the package, as  
>> indicated
>> on the download pages. Do I need additionally the GTK+ library? If  
>> so,
>> what would be the easiest/best way to do this? MacPorts?
>>
>
> Stetic (the Gtk# designer) isn't supported on the mac yet due to a  
> lack
> of underlying drag and drop support in the gtk+quartz port.  Once that
> has matured we will start supporting / shipping it.
>
> -g

Wow, you're fast!! Is it really you, or have you written a semantic  
analyzer for incoming mails, autogenerating suitable replies ;-).

I was just going to add that I just found out that I have gtk2  
@2.12.4_0+x11 (active) installed with MacPorts, probable Scite was  
needing it... Probable it does not even matter.

Anyway, I read that I'll have to wait a bit. Keep up the good work!

Bart
_______________________________________________
Mono-osx mailing list
Mono-osx@...
http://lists.ximian.com/mailman/listinfo/mono-osx

Re: MonoDevelop and GTK#

by Geoff Norton-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 2008-05-27 at 00:28 +0200, Bart Masschelein wrote:

> On 27 May 2008, at 00:19, Geoff Norton wrote:
>
> > On Tue, 2008-05-27 at 00:17 +0200, Bart Masschelein wrote:
> >> Hi all,
> >>
> >>
> >> After several months of not using mono on my MBP, I returned to it,
> >> and installed Mono 1.9.1_3. I was very pleased to read that
> >> MonoDevelop was included, especially since it has a built-in  
> >> designer.
> >> However, when I want to create a GTK# solution, as one of the first
> >> tutorials on MonoDevelop suggested, I noticed that there is no GTK#
> >> solution under the C# samples, as it should. I only see Console
> >> project, Empty project and Library, but no GTK#.
> >>
> >>
> >> Am I missing sth? GTK# should be included in the package, as  
> >> indicated
> >> on the download pages. Do I need additionally the GTK+ library? If  
> >> so,
> >> what would be the easiest/best way to do this? MacPorts?
> >>
> >
> > Stetic (the Gtk# designer) isn't supported on the mac yet due to a  
> > lack
> > of underlying drag and drop support in the gtk+quartz port.  Once that
> > has matured we will start supporting / shipping it.
> >
> > -g
>
> Wow, you're fast!! Is it really you, or have you written a semantic  
> analyzer for incoming mails, autogenerating suitable replies ;-).

Really me last I checked :)

>
> I was just going to add that I just found out that I have gtk2  
> @2.12.4_0+x11 (active) installed with MacPorts, probable Scite was  
> needing it... Probable it does not even matter.
>

Thats a seperate gtk2, as you can see its tagged +x11, which means it
uses the X11 Gdk driver.  We use gtk+quartz, which uses the Gdk quartz
driver for native mac stuff.  We also ship our own version with mono.


> Anyway, I read that I'll have to wait a bit. Keep up the good work!
>

Thanks.

If you're curious the bug is:

http://bugzilla.gnome.org/show_bug.cgi?id=501588

It appears they've done some work-arounds, which I don think is
sufficient for our needs from when I last looked at the issue.  I'll
build up the tree locally and take a look as to the updated status
however.

-g


_______________________________________________
Mono-osx mailing list
Mono-osx@...
http://lists.ximian.com/mailman/listinfo/mono-osx

Re: MonoDevelop and GTK#

by Zetor :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Geoff Norton-2 wrote:
Stetic (the Gtk# designer) isn't supported on the mac yet due to a lack
of underlying drag and drop support in the gtk+quartz port.  Once that
has matured we will start supporting / shipping it.

-g
So is it normal to see GTK# only inside VB Templates list on MonoDevelop?

Re: MonoDevelop and GTK#

by Draekz () :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Geoff Norton-2 wrote:
On Tue, 2008-05-27 at 00:17 +0200, Bart Masschelein wrote:

Stetic (the Gtk# designer) isn't supported on the mac yet due to a lack
of underlying drag and drop support in the gtk+quartz port.  Once that
has matured we will start supporting / shipping it.

-g
Ok so I understand the issues with stetic and drag and drop, but does this mean that we also cannot create GTK# applications in MonoDevelop on OSX? the gtk-sharp, glib-sharp, gdk-sharp, glade-sharp, etc are all missing from the GAC, or at least if you create a empty project, and go to add assemblies, the ones in the GAC are only the basic mono and .Net stuff, there is no references to gtk# there. If you create a Glade# project, and try and compile, it gives an error that gtk and glade are missing references.

how does Monodevelop even run if GTK is not available? Well i investigated, if you add the gtk-sharp manually by looking in the gac and adding the Dll, it works... but this is extremely tedious.

it seems to me there are path issues. i tried to write a message in the mono OSX mailing list, but not a single individual has replied.

draek

Re: MonoDevelop and GTK#

by Geoff Norton-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You can develop Gtk# apps on mac, the only thing unavailable is the GUI
designer.

If you're running MonoDevelop the dlls are installed.

-g

On Fri, 2009-01-09 at 20:12 -0800, Draekz wrote:

>
> Geoff Norton-2 wrote:
> >
> > On Tue, 2008-05-27 at 00:17 +0200, Bart Masschelein wrote:
> >>
> >> Am I missing sth? GTK# should be included in the package, as indicated
> >> on the download pages. Do I need additionally the GTK+ library? If so,
> >> what would be the easiest/best way to do this? MacPorts?
> >>
> >
> > Stetic (the Gtk# designer) isn't supported on the mac yet due to a lack
> > of underlying drag and drop support in the gtk+quartz port.  Once that
> > has matured we will start supporting / shipping it.
> >
> > -g
> >
>
> Ok so I understand the issues with stetic and drag and drop, but does this
> mean that we also cannot create GTK# applications in MonoDevelop on OSX? the
> gtk-sharp, glib-sharp, gdk-sharp, glade-sharp, etc are all missing from the
> GAC, or at least if you create a empty project, and go to add assemblies,
> the ones in the GAC are only the basic mono and .Net stuff, there is no
> references to gtk# there. If you create a Glade# project, and try and
> compile, it gives an error that gtk and glade are missing references.
>
> how does Monodevelop even run if GTK is not available? Well i investigated,
> if you add the gtk-sharp manually by looking in the gac and adding the Dll,
> it works... but this is extremely tedious.
>
> it seems to me there are path issues. i tried to write a message in the mono
> OSX mailing list, but not a single individual has replied.
>
> thanks
>
> draek

_______________________________________________
Mono-osx mailing list
Mono-osx@...
http://lists.ximian.com/mailman/listinfo/mono-osx

Re: MonoDevelop and GTK#

by Draekz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The only problem is that they are not visible to the MonoDevelop application.

How can I ensure that MonoDevelop sees all Assemblies?

In order to find out what might be wrong I performed the following:

- Reinstalled OSX completely clean.
- Installed all updates.
- Installed Mono framework 2.0.1 from the DMG on the site.
- Installed MonoDevelop 2.0 Alpha 1 from the DMG on the site.
- Run MonoDevelop
- Create a new Glade# Project
- Right Click References, Edit References

I've inserted a screenshot that will show what occurs. The assemblies that are already added are the gtk stuff needed, however, the assembly list from the GAC above does not show any of them. therefore compilation fails.



So clearly, MonoDevelop is only showing me a partial list for some reason. I do not know how it decides to only show certain assemblies... it really makes no sense. If I check the folder that holds all the assemblies, they are all there.

Can you give me any information that would help me understand this? I am aware that the libraries are installed, but that does not help me understand why monodevelop does not see them...

Draek


Geoff Norton-2 wrote:
You can develop Gtk# apps on mac, the only thing unavailable is the GUI
designer.

If you're running MonoDevelop the dlls are installed.

-g

On Fri, 2009-01-09 at 20:12 -0800, Draekz wrote:
>
> Geoff Norton-2 wrote:
> >
> > On Tue, 2008-05-27 at 00:17 +0200, Bart Masschelein wrote:
> >>
> >> Am I missing sth? GTK# should be included in the package, as indicated
> >> on the download pages. Do I need additionally the GTK+ library? If so,
> >> what would be the easiest/best way to do this? MacPorts?
> >>
> >
> > Stetic (the Gtk# designer) isn't supported on the mac yet due to a lack
> > of underlying drag and drop support in the gtk+quartz port.  Once that
> > has matured we will start supporting / shipping it.
> >
> > -g
> >
>
> Ok so I understand the issues with stetic and drag and drop, but does this
> mean that we also cannot create GTK# applications in MonoDevelop on OSX? the
> gtk-sharp, glib-sharp, gdk-sharp, glade-sharp, etc are all missing from the
> GAC, or at least if you create a empty project, and go to add assemblies,
> the ones in the GAC are only the basic mono and .Net stuff, there is no
> references to gtk# there. If you create a Glade# project, and try and
> compile, it gives an error that gtk and glade are missing references.
>
> how does Monodevelop even run if GTK is not available? Well i investigated,
> if you add the gtk-sharp manually by looking in the gac and adding the Dll,
> it works... but this is extremely tedious.
>
> it seems to me there are path issues. i tried to write a message in the mono
> OSX mailing list, but not a single individual has replied.
>
> thanks
>
> draek

_______________________________________________
Mono-osx mailing list
Mono-osx@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-osx

Re: MonoDevelop and GTK#

by Sandy Armstrong :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 01/11/2009 08:57 AM, Draekz wrote:
> The only problem is that they are not visible to the MonoDevelop application.
>
> How can I ensure that MonoDevelop sees all Assemblies?

I do not know the answer to this, but you can just browse for them, and
add them that way.  It is more of a pain but it *does* work.  Also, you
can edit the *.mdp (or *.csproj) files if you are familiar with the format.

If you already know this, sorry for the noise. :-)

Best,
Sandy
_______________________________________________
Mono-osx mailing list
Mono-osx@...
http://lists.ximian.com/mailman/listinfo/mono-osx