8#include <mousetrap/widget.hpp>
16 using FixedInternal = GtkFixed;
17 DEFINE_INTERNAL_MAPPING(Fixed);
24 class Fixed :
public detail::notify_if_gtk_uninitialized,
26 HAS_SIGNAL(Fixed, realize),
27 HAS_SIGNAL(Fixed, unrealize),
28 HAS_SIGNAL(Fixed, destroy),
29 HAS_SIGNAL(Fixed, hide),
30 HAS_SIGNAL(Fixed, show),
31 HAS_SIGNAL(Fixed, map),
32 HAS_SIGNAL(Fixed, unmap)
39 Fixed(detail::FixedInternal*);
62 detail::FixedInternal* _internal =
nullptr;
container that positions a widget at a specific pixel position
Definition: fixed.hpp:33
void remove_child(const Widget &widget)
remove child
Definition: fixed.cpp:55
~Fixed()
destructor
Definition: fixed.cpp:36
NativeObject get_internal() const override
get internal
Definition: fixed.cpp:41
Fixed()
construct
Definition: fixed.cpp:10
void add_child(const Widget &widget, Vector2f position)
add child at specified position
Definition: fixed.cpp:46
void set_child_position(const Widget &widget, Vector2f position)
set child position
Definition: fixed.cpp:60