mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2025-01-10 12:01:10 +00:00
13 lines
359 B
C++
13 lines
359 B
C++
|
|
#include "frame.h"
|
|
|
|
#include <gtk/gtkframe.h>
|
|
|
|
GtkFrame* create_framed_widget( GtkWidget* widget ){
|
|
GtkFrame* frame = GTK_FRAME( gtk_frame_new( 0 ) );
|
|
gtk_widget_show( GTK_WIDGET( frame ) );
|
|
gtk_frame_set_shadow_type( frame, GTK_SHADOW_IN );
|
|
gtk_container_add( GTK_CONTAINER( frame ), widget );
|
|
gtk_widget_show( GTK_WIDGET( widget ) );
|
|
return frame;
|
|
}
|