User forums > Using Code::Blocks

GTK

(1/2) > >>

grogdunn:
i have found the embedded wxSmith gui designer but there isn't a GTK gui designer?

thx

frithjofh:
hi,

there is indeed no integrated gui designer for other than wxWidgets.

i think you could help yourself using glade for gtk gui designing and exporting xrc files. code::blocks can import them i think, but i am no expert at all in xrc ... sorry

regards

grogdunn:
glade make me a .glade files like this

--- Code: ---<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
<!--Generated with glade3 3.4.5 on Sun Jul 27 19:42:14 2008 -->
<glade-interface>
  <widget class="GtkWindow" id="prova!">
    <child>
      <widget class="GtkFixed" id="fixed1">
        <property name="visible">True</property>
        <child>
          <widget class="GtkButton" id="button1">
            <property name="width_request">100</property>
            <property name="height_request">80</property>
            <property name="visible">True</property>
            <property name="can_focus">True</property>
            <property name="receives_default">True</property>
            <property name="label" translatable="yes">OK</property>
            <property name="response_id">0</property>
          </widget>
          <packing>
            <property name="x">188</property>
            <property name="y">93</property>
          </packing>
        </child>
      </widget>
    </child>
  </widget>
</glade-interface>

--- End code ---
and i haven't found an Export option... :( i don't know how to do :(
in worst case i use the wx... maybe in a next version are expected an gtk gui designer?

frithjofh:
hi,

there is an application called wxglade wich exports xrc files

grogdunn:

--- Quote from: nausea on July 27, 2008, 08:00:54 pm ---hi,

there is an application called wxglade wich exports xrc files

--- End quote ---

ok but this program use wxWidgets (is a wx designer but with glade2 front end)... and if i would use wx i use the built in gui designer...

i would a method to create a GTK GUI with a RAD because i'm lazy and i wouldn't write all code  :lol:

Navigation

[0] Message Index

[#] Next page

Go to full version