<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">hi guys,<br>
      I am at the moment, and following some opinion's below, trying to
      create a plugin for the SMT8 microcontroler...<br>
      The idea is bringing some support out-of-the-box, for
      documentation, registers,assembler,etc for this arch...<br>
      <br>
      My idea is creating a new "subwindow" for the right side of geany,
      where i will have some "Tabbed Panes", or Gtk_notebook, with
      pages...<br>
      <br>
      I Started today, I am new for GTK :(... I have done this:<br>
      <br>
<a class="moz-txt-link-freetext" href="https://meocloud.pt/link/2fabd07e-df66-4069-85cd-f277fc24fb4d/Share">https://meocloud.pt/link/2fabd07e-df66-4069-85cd-f277fc24fb4d/Share</a><br>
      <br>
      this is the place where I want the "tabbed pane" .<br>
      I have done it in a windows, in next versions it will be included
      in geany graphical environment.<br>
      The problem is...I can't change their name..it inherit the name of
      the IDE(Geany) :S.<br>
      <br>
      I created it with:<br>
      <br>
      #include <gtk/gtk.h><br>
      <br>
      GtkWidget *window=gtk_window_new (GTK_WINDOW_TOPLEVEL);<br>
      //gtk_window_set_title(window->window,"STM8dev");<br>
      <br>
      I tried(like you can see in the picture) with gtk directly, but it
      won't work :S<br>
      <br>
      Any Idea?<br>
      <br>
      I started with gtk, because I don't know if it possible to do it
      in the Geany glade xml...?<br>
      <br>
      Another problem, is like you can see, the button(big button), have
      a listener associated with, but if I click it, in the first
      time...it does nothing...in the second it shutdowns, the GEANY IDE
      :S ??!!but I don  know if it kills that window in memory...<br>
      <br>
      I done it with:<br>
        <br>
          gint delete( GtkWidget *widget,GtkWidget *event,gpointer  
      data ){<br>
              gtk_main_quit();    //------>what is the main
      windows??????Geany or STM8dev plugin??????????????????<br>
              return(FALSE);<br>
          }<br>
      ... <br>
          button = gtk_button_new_with_label ("close-One more?None?Don't
      know");<br>
          gtk_signal_connect_object (GTK_OBJECT (button), "clicked",<br>
                                     GTK_SIGNAL_FUNC (delete), NULL);<br>
          gtk_table_attach_defaults(GTK_TABLE(table), button, 0,1,1,2);<br>
          gtk_widget_show(button);<br>
      <br>
      Thanks in advance for the help<br>
      <br>
      regards<br>
      tux<br>
      ------------------------------------------------------ / /
      ---------------------------------------------------------<br>
      On 31/10/13 17:45, lmx wrote:<br>
    </div>
    <blockquote cite="mid:5272974E.4040307@sapo.pt" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix">On 31/10/13 07:53, Frank Lanitz
        wrote:<br>
      </div>
      <blockquote cite="mid:52720C8A.6060203@frank.uvena.de" type="cite">
        <pre wrap="">Am 31.10.2013 07:05, schrieb lmx:
</pre>
        <blockquote type="cite">
          <pre wrap="">On 31/10/13 03:54, Lex Trotman wrote:
</pre>
          <blockquote type="cite">
            <pre wrap="">

On 31 October 2013 13:44, lmx <<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:lmx1@sapo.pt">lmx1@sapo.pt</a> <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:lmx1@sapo.pt"><mailto:lmx1@sapo.pt></a>> wrote:

    Hi guys,

    I like a lot geany, it is very powerful, and simple, fast... ;)

    I think that it is the best candidate to be the base of a IDE for
    microcontroler's...
    As the beginning using SDCC(it start to support one MCU of my
    interest...STM8).

    I don't know how to start :S , I just downloaded the source
    code...I see that it is almost a C project ;)
    I need to change some things in the graphical fronted...I never
    played with gtk, or glade :(.

    And worst, I don't  know what files to change and where ...but i
    have compiled it successfully. 


    Any description of the folder's in the role of geany ?


Hi,

Not sure exactly what you are trying to do.  The HACKING file provides
some guidance for adding a language which is the most common
adaptation people do.

Otherwise you need to ask specific questions.

Cheers
Lex

 


</pre>
          </blockquote>
          <pre wrap="">Hi Lex,

Thanks,  in advance, for the reply.

My idea is, drop a lot of functionality, and add others...
for example:
 drop support for java,c++,python,etc
add other functionalities , like some support for MCU's, registers,
snippets of code to configure things(uart,i2c,spi,clock,etc), almost out
of the box,etc

Thanks for the hint on HACKING ;)

I Look on Git, but I CAN`T find a project already made for any IDE.
Is there  a project, that already include all the source files, or we
have to add them file, by file?It's a lot of work only doing that :S

I suppose you use geany, to build geany right ?
</pre>
        </blockquote>
        <pre wrap="">Why not adding features as plugin(s) instead of forking Geany? This will
give you the davantage you don't have to care too much about development
of core functions and also to make usage of all the other plugins.

Cheers,
Frank

</pre>
      </blockquote>
      Hi Frank,<br>
      <br>
      The Idea of the plugins is good, but i don' t know if we could for
      example change the graphical front end in our desire, only with
      plugins...I don  know their flexibility :S<br>
      For example,we already have ctrl+f feature, but we have a search
      box in geany :S.<br>
      I will not need the color chooser for MCU's, and why we need the
      "quit" button on this?we already have the quit button on the
      window.<br>
      <br>
      In this places I need a microcontroller chooser.<br>
      On the right section of geany I need a lot of support things for
      registers, assembler instructions(for a micro controller that
      already have been chosen), the schematic pinout diagram, and
      another things...i am saying in the right, because we rarely use
      more than half of the editor with code...<br>
      <br>
      I don't  know if I can change the basic features of geany with
      plugins?but if I could, I wold prefer the plugins version, because
      we can have a IDE for a lot of things ;)<br>
      <br>
      thanks in advance<br>
      <br>
      regards<br>
      tux<br>
      <br>
      <blockquote cite="mid:52720C8A.6060203@frank.uvena.de" type="cite">
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.geany.org">Users@lists.geany.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.geany.org/cgi-bin/mailman/listinfo/users">https://lists.geany.org/cgi-bin/mailman/listinfo/users</a>
</pre>
      </blockquote>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.geany.org">Users@lists.geany.org</a>
<a class="moz-txt-link-freetext" href="https://lists.geany.org/cgi-bin/mailman/listinfo/users">https://lists.geany.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>