Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 25 2019 07:02
    decriptor commented #72
  • Jan 25 2019 06:53

    decriptor on gtk2_fix_tests

    (compare)

  • Jan 25 2019 06:46

    decriptor on gtk2_fix_tests

    (compare)

  • Jan 25 2019 06:45
    wolfgangmauer commented #72
  • Jan 25 2019 06:41

    decriptor on gtk2_fix_tests

    Update gtk2 test expected result (compare)

  • Jan 25 2019 06:36
    decriptor commented #72
  • Jan 25 2019 06:35
    decriptor commented #72
  • Oct 21 2018 11:34
    wolfgangmauer edited #72
  • Oct 21 2018 11:33
    wolfgangmauer opened #72
  • Sep 18 2018 17:49
    bojanrajkovic added as member
  • Jul 29 2018 13:32
    stsundermann commented #71
  • Jul 29 2018 13:31
    stsundermann opened #71
  • Jul 29 2018 13:26
    stsundermann commented #53
  • Jul 26 2018 21:55

    decriptor on shaw-work

    (compare)

  • Jul 26 2018 21:55

    decriptor on master

    Add a couple more Gtk2 Atk1 tes… Stub out another Atk test Apply some code style change lo… and 1 more (compare)

  • Jul 26 2018 21:55
    decriptor closed #69
  • Jul 26 2018 19:25
    decriptor review_requested #69
  • Jul 26 2018 19:22
    decriptor synchronize #69
  • Jul 26 2018 19:22

    decriptor on shaw-work

    Apply some code style change lo… (compare)

  • Jul 26 2018 15:28
    decriptor edited #70
Cody Russell
@bratsche
I don’t think so. I think last time I built it, I just had to kind of wing it using msys.
Jerome Haltom
@wasabii
Hey, Cody. Hows life? I'm working on a GObject introspection based .net binding generator, in my time between jobs, which is why I was wondering.
Marius Ungureanu
@Therzok
hey wasabii
do you mean gir-sharp or the old gapi generator?
Jerome Haltom
@wasabii
Mostly to get Gstreamer working. Because I want to use it. But, the project grew beyond that scope.
Gir.
Marius Ungureanu
@Therzok
ohh, yeah, I'm one of the people who worked on it :smile:
Jerome Haltom
@wasabii
It was a month ago I asked, and I've since forgot my question. Haha.
Marius Ungureanu
@Therzok
I missed the question for some reason, sorry!
(initial message, I mean)
Jerome Haltom
@wasabii
Trying to interpret as much as possible from GIR. My end vision for this is to be able to right click in VS and hit Add GIR Reference, and have magic stuff happen in the background during build.
No problem. Whatever the question was, I probably got past it.
Marius Ungureanu
@Therzok
Yeah, was thinking of something in those lines too, have some msbuild target which processes a GIR file and generates the bindings
Jerome Haltom
@wasabii
Yup. I'm trying to get it working as smooth as COM interop.
There's some hard problems in some stuff I'm currently struggling to map out. Or whether it's even possible to map it out right. Like, how to interpret given a <record> whether I should generate a wrapping handle-based class; or an actual struct.
On the far end is GdkRectangle, which clearly should be a struct. It's blittable. Contains no internal references. No constructors to speak of. So, clearly the memory can be CLR owned. Methods can take a GdkRectangle itself or a ref GdkRectangle, without much trouble. But then there's a whole lot of cases I can't find solutions for.
Jerome Haltom
@wasabii
Few things which are intended to be both stack based and ref counted. And I do not want to expose ref/unref methods to .NET users. But, there's just no good way to make a determination. Alas!
And then Unions. Yuck.
Marius Ungureanu
@Therzok
So, clearly the memory can be CLR owned. Methods can take a GdkRectangle itself or a ref GdkRectangle, without much trouble. But then there's a whole lot of cases I can't find solutions for.
Yeah, Gtk# had the same issues here - some are just marshalled from native, some are using an Opaque class.
If it's ref-counted, usually go for class wrapping the native handle. It means fewer headaches
Jerome Haltom
@wasabii
Yeah, I'm leaning that way. But, to determine whether it's ref counted is itself not always straight forward.
Cody Russell
@bratsche
Hey wasabii, nice to see you again! Hope all is well :smile:
I toyed around with starting a GObject introspection library in F# just to try to learn some F# but I didn't spend much time on it or get it doing anything very useful.
Jerome Haltom
@wasabii
Yeah I'd bet a few people have. Maybe that was my question.... "has anybody tried this and failed?" Yeah. That was it. That's why I came here in the first place. I remember now.
Cody Russell
@bratsche
I was just trying to play around with F# more than anything.
Chris
@ipatch

hello 👋

stumbled upon this room from here link at very bottom of readme i notice there are instructions for building gtk# from source, and noticed the master branch of the project on github is realitvely updated but there hasn't been a published release of gtk# for quite some time looking at the releases section of the repo? and noticed most prebuilt packages reference that 2.12.4x release and noticing that dates all the way back to 2017?

  • is there a more modern prebuilt version of gtk-sharp that i'm not aware of? 🕵️‍♀️
  • or is everybody just compiling from source and not worrying about releases?

my stumbling began when i started reading up on how i could port a GUI based csharp / .net framework app to run on .net core, to eventually run on a raspberry pi. yes there's a few hurdles to cross there just asking about gtk# because this project xwt seems to use it under the hood, and wanted to experiment with a xwt app built in windows then copied to a rpi and see what the results may be. already compiled a hello console on win10 and got it to run on a rpi.

Bruno B. de Souza
@knuxbbs
@ipatch you should try https://github.com/GtkSharp/GtkSharp
Chris
@ipatch
@knuxbbs thank you 🙏
Ru Uba
@SavSanta
Hi all, Is this process correct/sensible?
I use a Gtk.FileChooserI preset the CurrentFolder prop to the"My Documents" equivalent (to avoid defaulting to "Recents" on Linux). Then I do a check for null and if it is set it back to the "My Documents" value. Is that redundant as the value cant become null again I presume....?
alt
Nvm. I just noticed it's a read-only property. Back to the drawing board
Cody Russell
@bratsche
@ipatch Hey I think I met you at Dallas Elixir group, is that right? :smile:
Chris
@ipatch

@bratsche

that is correct

Cody Russell
@bratsche
Cool :smile:
Ru Uba
@SavSanta
Im tryingto change the image of the icon on a Toggle Button in monodevelop on 7.8.4 Winod Designer. It refuses to do so and gives me Error MSB5016: The name "DeployService.UseProjectRelativePath" contains an invalid character ".". . I can not circumvent this and only one non-working solution on Google is revealed when searching that errorcode. Someone can please explain the correct process in case
Romber
@Rombersoft
Hello developers. Who can say me where I can take source code ButtonPressEvent event calling for GTK# 3.0? I've already searched here https://github.com/GtkSharp/GtkSharp and here https://github.com/mono/gtk-sharp but not successfully.
Andres G. Aragoneses
@knocte
must be part of the autogenerated code... clone it and try to build it first, then you might find the source
Jérémy VIGNELLES
@jeremyVignelles
Hi, what's the status of this project? what will be its future in the time of .NET 6 and MAUI, where mono will merge into .NET ?
Cody Russell
@bratsche
I believe the GTK backend of MAUI is considered community supported.
Charles de Lorme
@DoctorSchnabel_gitlab
Hello, I'm looking for a LaTeX render which works with gtk#.
Do you know one?
rays2210
@rays2210
Hi, does anyone know how to use the Adapter class in the generated C# files by mono
Fredrik Høisæther Rasch
@fredrikhr
I am trying to compile the old gtk-sharp from source on linux, how do I force it to also compile Mono.Cairo and Mono.Posix? the help in configure does not state anything about those libraries, but their C# code is included in the source...?
With old gtk-sharp, I mean the GTK# wrapper for GTK2 obtained from https://download.mono-project.com/sources/gtk-sharp212/gtk-sharp-2.12.45.tar.gz
zygon.sisyphus
@zygon.sisyphus:matrix.org
[m]
hi
is mono gtk working with msys2?
Cătălin George Feștilă
@catafest
how can install gtk-sharp3 on linux?
Julio César Rocha
@JunielKatarn
Hi. Looks like the CDN for GTK#/Windows is down.
Is there a mirror download for that installer?
YaBoiMason
@YaBoiMason
how do I prevent other windows from overlapping my application's window?
i'm trying to create a dock-type thing