Update gtk28
This commit is contained in:
parent
b1fa83e39e
commit
cd4ceedd9a
|
@ -2,42 +2,29 @@
|
|||
<CodeBlocks_layout_file>
|
||||
<FileVersion major="1" minor="0" />
|
||||
<ActiveTarget name="Debug" />
|
||||
<File name="gtkwin.h" open="1" top="1" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<File name="test.cpp" open="1" top="0" tabpos="5" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="1787" topLine="38" />
|
||||
<Cursor1 position="3753" topLine="110" />
|
||||
</Cursor>
|
||||
<Folding>
|
||||
<Collapse line="22" />
|
||||
<Collapse line="30" />
|
||||
<Collapse line="39" />
|
||||
<Collapse line="46" />
|
||||
<Collapse line="54" />
|
||||
</Folding>
|
||||
</File>
|
||||
<File name="gtkwin.cpp" open="1" top="0" tabpos="3" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="601" topLine="20" />
|
||||
</Cursor>
|
||||
<Folding>
|
||||
<Collapse line="40" />
|
||||
<Collapse line="49" />
|
||||
<Collapse line="59" />
|
||||
<Collapse line="84" />
|
||||
</Folding>
|
||||
</File>
|
||||
<File name="main.cpp" open="1" top="0" tabpos="1" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="187" topLine="0" />
|
||||
<Cursor1 position="128" topLine="0" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="test.cpp" open="1" top="0" tabpos="5" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<File name="gtkwin.h" open="1" top="0" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="157" topLine="0" />
|
||||
<Cursor1 position="1788" topLine="68" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="gtkwin.cpp" open="1" top="1" tabpos="3" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="661" topLine="0" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="test.h" open="1" top="0" tabpos="4" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="167" topLine="0" />
|
||||
<Cursor1 position="807" topLine="0" />
|
||||
</Cursor>
|
||||
</File>
|
||||
</CodeBlocks_layout_file>
|
||||
|
|
|
@ -121,6 +121,7 @@ void GtkWin::win_init(GtkApplication *app,int width,int height){
|
|||
_window=GTK_WINDOW(window);
|
||||
gtk_window_set_default_size(_window,width,height);
|
||||
gtk_window_set_position(_window,GTK_WIN_POS_CENTER);
|
||||
gtk_window_set_resizable(_window,FALSE);
|
||||
gtk_window_set_icon(_window,icon1.pixbuf);
|
||||
//Set window titlebar
|
||||
WinHeader header1;
|
||||
|
|
Loading…
Reference in New Issue