Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
FrameBox Struct Reference

#include "stage/dialog/test-control.hpp"

Description

Building block for a segment within a dialog page.

This helper widget provides the typical sub section of a dialog with several child widgets stacked vertically and enclosed within a frame with a label. The frame serves as the parent widget, as far as the widget hierarchy is concerned. Both parts are publicly accessible as members, while providing a shortcut for publishing the box.

Definition at line 72 of file test-control.hpp.

Public Attributes

Gtk::Frame frame
 
Gtk::Box box
 

Public Member Functions

 FrameBox (cuString label, Gtk::Orientation orientation=Gtk::ORIENTATION_VERTICAL)
 
 operator Gtk::Widget & ()
 
void pack_start (Gtk::Widget &child, Gtk::PackOptions options=Gtk::PACK_EXPAND_WIDGET, guint padding=0)
 

Constructor & Destructor Documentation

◆ FrameBox()

FrameBox ( cuString  label,
Gtk::Orientation  orientation = Gtk::ORIENTATION_VERTICAL 
)
inline

Definition at line 77 of file test-control.hpp.

References FrameBox::box, and FrameBox::frame.

Member Function Documentation

◆ operator Gtk::Widget &()

operator Gtk::Widget & ( )
inline

Definition at line 85 of file test-control.hpp.

References FrameBox::frame.

◆ pack_start()

void pack_start ( Gtk::Widget &  child,
Gtk::PackOptions  options = Gtk::PACK_EXPAND_WIDGET,
guint  padding = 0 
)
inline

Definition at line 88 of file test-control.hpp.

References FrameBox::box.

Referenced by TestControl::Page1::Page1(), and TestControl::Page2::Page2().

+ Here is the caller graph for this function:

Member Data Documentation

◆ frame

Gtk::Frame frame

Definition at line 74 of file test-control.hpp.

Referenced by FrameBox::FrameBox(), and FrameBox::operator Gtk::Widget &().

◆ box

Gtk::Box box

Definition at line 75 of file test-control.hpp.

Referenced by FrameBox::FrameBox(), and FrameBox::pack_start().

+ Collaboration diagram for FrameBox:

The documentation for this struct was generated from the following file: