<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Eliott Takvorian</title>
    <description>The latest articles on DEV Community by Eliott Takvorian (@eliotttak).</description>
    <link>https://dev.to/eliotttak</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3024817%2F9b33f7ba-7ede-45ab-9d46-81fa94ca093d.png</url>
      <title>DEV Community: Eliott Takvorian</title>
      <link>https://dev.to/eliotttak</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/eliotttak"/>
    <language>en</language>
    <item>
      <title>Gotk4 NewMessageDialog doesn't take the message_format argument</title>
      <dc:creator>Eliott Takvorian</dc:creator>
      <pubDate>Tue, 26 May 2026 08:50:39 +0000</pubDate>
      <link>https://dev.to/eliotttak/gotk4-newmessagedialog-doesnt-take-the-messageformat-argument-515</link>
      <guid>https://dev.to/eliotttak/gotk4-newmessagedialog-doesnt-take-the-messageformat-argument-515</guid>
      <description>&lt;div class="ltag__stackexchange--container"&gt;
  &lt;div class="ltag__stackexchange--title-container"&gt;
    
      &lt;div class="ltag__stackexchange--title"&gt;
        &lt;div class="ltag__stackexchange--header"&gt;
          &lt;img src="https://assets.dev.to/assets/stackoverflow-logo-b42691ae545e4810b105ee957979a853a696085e67e43ee14c5699cf3e890fb4.svg" alt=""&gt;
          &lt;a href="https://stackoverflow.com/questions/79946669/gotk4-newmessagedialog-doesnt-take-the-message-format-argument" rel="noopener noreferrer"&gt;
            Gotk4 NewMessageDialog doesn't take the message_format argument
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="ltag__stackexchange--post-metadata"&gt;
          &lt;span&gt;May 26 '26&lt;/span&gt;
            &lt;span&gt;Comments: 1&lt;/span&gt;
            &lt;span&gt;Answers: 0&lt;/span&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;a class="ltag__stackexchange--score-container" href="https://stackoverflow.com/questions/79946669/gotk4-newmessagedialog-doesnt-take-the-message-format-argument" rel="noopener noreferrer"&gt;
        &lt;img src="https://assets.dev.to/assets/stackexchange-arrow-up-eff2e2849e67d156181d258e38802c0b57fa011f74164a7f97675ca3b6ab756b.svg" alt=""&gt;
        &lt;div class="ltag__stackexchange--score-number"&gt;
          0
        &lt;/div&gt;
        &lt;img src="https://assets.dev.to/assets/stackexchange-arrow-down-4349fac0dd932d284fab7e4dd9846f19a3710558efde0d2dfd05897f3eeb9aba.svg" alt=""&gt;
      &lt;/a&gt;
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--body"&gt;
    
&lt;p&gt;I use &lt;code&gt;github.com/diamondburned/gotk4/pkg/gtk/v4&lt;/code&gt;. I'd like to create a modal dialog, like this:&lt;/p&gt;
&lt;pre class="lang-golang prettyprint-override"&gt;&lt;code&gt;dialog := gtk.NewMessageDialog(
    &amp;amp;window.Window
    gtk.DialogModal|gtk.DialogDestroyWithParent,
    gtk.MessageInfo,
    gtk.ButtonsOK,
    "Some info I want to let the user know",
)
dialog.SetTitle("Information")
dialog.SetVisible(true)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Only, &lt;code&gt;NewMessageDialog()&lt;/code&gt; is declared like this:&lt;/p&gt;
&lt;pre class="lang-golang prettyprint-override"&gt;&lt;code&gt;func gtk.NewMessageDialog(parent *gtk.Window, flags gtk.DialogFlags, typ gtk.MessageType, buttons gtk.ButtonsType) *gtk.MessageDialog
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Unkike the…&lt;/p&gt;
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--btn--container"&gt;
    &lt;a href="https://stackoverflow.com/questions/79946669/gotk4-newmessagedialog-doesnt-take-the-message-format-argument" class="ltag__stackexchange--btn" rel="noopener noreferrer"&gt;Open Full Question&lt;/a&gt;
  &lt;/div&gt;
&lt;/div&gt;


</description>
    </item>
  </channel>
</rss>
