ui/gtk/container.h

changeset 140
c03c338a7dcf
parent 120
49bc645df8b7
child 165
3f32db79a76e
equal deleted inserted replaced
139:dbde25a5bc53 140:c03c338a7dcf
1 /* 1 /*
2 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 2 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
3 * 3 *
4 * Copyright 2014 Olaf Wintermann. All rights reserved. 4 * Copyright 2017 Olaf Wintermann. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are met: 7 * modification, are permitted provided that the following conditions are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
28 28
29 #ifndef CONTAINER_H 29 #ifndef CONTAINER_H
30 #define CONTAINER_H 30 #define CONTAINER_H
31 31
32 #include "../ui/toolkit.h" 32 #include "../ui/toolkit.h"
33 #include "../ui/container.h"
33 #include <string.h> 34 #include <string.h>
34 35
35 #ifdef __cplusplus 36 #ifdef __cplusplus
36 extern "C" { 37 extern "C" {
37 #endif 38 #endif
112 void ui_split_container_add2(UiContainer *ct, GtkWidget *widget, UiBool fill); 113 void ui_split_container_add2(UiContainer *ct, GtkWidget *widget, UiBool fill);
113 114
114 115
115 UiObject* ui_add_document_tab(UiDocumentView *view); 116 UiObject* ui_add_document_tab(UiDocumentView *view);
116 void ui_tab_set_document(UiContext *ctx, void *document); 117 void ui_tab_set_document(UiContext *ctx, void *document);
117 void ui_tab_detach_document(UiContext *ctx, void *document); 118 void ui_tab_detach_document(UiContext *ctx);
118 119
119 #ifdef __cplusplus 120 #ifdef __cplusplus
120 } 121 }
121 #endif 122 #endif
122 123

mercurial