gtkmm: Gtk Namespace Reference
Copyright (C) 2012 The gtkmm Development Team. More...
Namespaces |
|
AccelMap | |
Menu_Helpers | |
Stock | |
Classes |
|
class | AboutDialog |
The
AboutDialog
offers a simple way to display information about a program like its logo, name, copyright, website and license.
More...
|
|
class | AccelGroup |
A
Gtk::AccelGroup
represents a group of keyboard accelerators, typically attached to a toplevel
Gtk::Window
(with
Gtk::Window::add_accel_group()
).
More...
|
|
class | AccelKey |
Defines accelerator key combinations.
More...
|
|
class | AccelLabel |
A label which displays an accelerator key on the right of the text.
More...
|
|
class | Action |
An action which can be triggered by a menu or toolbar item.
More...
|
|
class | Actionable |
This interface provides a convenient way of associating widgets with actions on a
ApplicationWindow
or
Application
.
More...
|
|
class | ActionBar |
A full width bar for presenting contextual actions.
More...
|
|
class | ActionGroup |
class | Activatable |
Activatable
widgets can be connected to a
Gtk::Action
and reflect the state of the action.
More...
|
|
class | Adjustment |
A class representing an adjustable bounded value.
More...
|
|
class | Alignment |
A widget which controls the alignment and size of its child.
More...
|
|
class | AppChooser |
Interface implemented by widgets for choosing an application.
More...
|
|
class | AppChooserButton |
A button to launch an application chooser dialog.
More...
|
|
class | AppChooserDialog |
An application chooser dialog.
More...
|
|
class | AppChooserWidget |
An application chooser widget that can be embedded in other widgets.
More...
|
|
class | Application |
The
Gtk::Application
class handles many important aspects of a GTK+ application in a convenient fashion, without enforcing a one-size-fits-all application model.
More...
|
|
class | ApplicationWindow |
A
Gtk::Window
subclass with
Gtk::Application
support.
More...
|
|
class | Arrow |
Produces an arrow pointing in one of the four cardinal directions.
More...
|
|
class | AspectFrame |
A frame that constrains its child to a particular aspect ratio.
More...
|
|
class | Assistant |
A widget used to guide users through multi-step operations.
More...
|
|
class | Bin |
A container with just one child.
More...
|
|
class | Border |
This specifies a border around a rectangular area that can be of a different width on each side.
More...
|
|
class | Box |
The
Box
widget organizes child widgets into a rectangular area.
More...
|
|
class | Buildable |
A base class for objects that can be built by
Gtk::Builder
.
More...
|
|
class | Builder |
Build an interface from an XML UI definition description.
More...
|
|
class | BuilderError |
Exception class for Gdk::Builder errors.
More...
|
|
struct | BuiltinStockID |
See the list of pre-defined stock items, in the
Stock
namespace.
More...
|
|
class | Button |
A widget that creates a signal when clicked on.
More...
|
|
class | ButtonBox |
A container for arranging buttons.
More...
|
|
class | Calendar |
Display a calendar and/or allow the user to select a date.
More...
|
|
class | CellArea |
An abstract base class for laying out CellRenderers.
More...
|
|
class | CellAreaBox |
A cell area that renders CellRenderers into a row or a colum, depending on its orientation.
More...
|
|
class | CellAreaContext |
This stores geometrical information for a series of rows in a
CellArea
.
More...
|
|
class | CellEditable |
Interface for widgets which are used for editing cells.
More...
|
|
class | CellLayout |
An interface for packing cells.
More...
|
|
class | CellRenderer |
CellRenderers are used by
Gtk::TreeView
columns to render the
Gtk::TreeModel
column data appropriately.
More...
|
|
class | CellRendererAccel |
Renders a keyboard accelerator in a cell.
More...
|
|
class | CellRendererCombo |
Renders a combobox in a cell.
More...
|
|
class | CellRendererPixbuf |
Renders a pixbuf in a cell.
More...
|
|
class | CellRendererProgress |
Renders numbers as progress bars.
More...
|
|
class | CellRendererSpin |
Renders a spin button in a cell.
More...
|
|
class | CellRendererSpinner |
Renders a spinning animation in a cell.
More...
|
|
class | CellRendererText |
Renders text in a cell.
More...
|
|
class | CellRendererToggle |
Renders a toggle button in a cell.
More...
|
|
class | CellView |
A widget displaying a single row of a
TreeModel
.
More...
|
|
class | CheckButton |
Create widgets with a discrete toggle button.
More...
|
|
class | CheckMenuItem |
A menu item that maintains the state of a boolean value in addition to a
Gtk::MenuItem
's usual role in activating application code.
More...
|
|
class | ChildPropertyProxy |
A
ChildPropertyProxy
can be used to get and set the value of a GtkContainer's child property.
More...
|
|
class | ChildPropertyProxy_Base |
class | ChildPropertyProxy_ReadOnly |
See ChildPropertyProxy().
More...
|
|
class | ChildPropertyProxy_WriteOnly |
See ChildPropertyProxy().
More...
|
|
class | Clipboard |
The
Clipboard
object represents a clipboard of data shared between different processes or between different widgets in the same process.
More...
|
|
class | ColorButton |
A button to launch a color selection dialog.
More...
|
|
class | ColorChooser |
This interface can be implemented by widgets which allow the user to choose a color.
More...
|
|
class | ColorChooserDialog |
This dialog is for choosing a color.
More...
|
|
class | ColorSelection |
A widget used to select a color.
More...
|
|
class | ColorSelectionDialog |
This dialog allows the user to select a color.
More...
|
|
class | ComboBox |
A widget used to choose from a list of items.
More...
|
|
class | ComboBoxText |
This is a simple variant of
ComboBox
that hides the model-view complexity for simple text-only use cases.
More...
|
|
class | Container |
Abstract container class.
More...
|
|
class | CssProvider |
CSS-like styling for widgets, implementing the
StyleProvider
base class.
More...
|
|
class | CssProviderError |
Exception class for
Gtk::CssProvider
errors.
More...
|
|
class | CssSection |
Defines a part of a CSS document.
More...
|
|
class | Dialog |
Create popup windows.
More...
|
|
class | DrawingArea |
A widget for custom user interface elements.
More...
|
|
class | Editable |
Base class for text-editing widgets.
More...
|
|
class | Entry |
A single line text entry field.
More...
|
|
class | EntryBuffer |
A Text buffer for the
Entry
widget.
More...
|
|
class | EntryCompletion |
Completion functionality for
Gtk::Entry
.
More...
|
|
class | EventBox |
Event capturing box.
More...
|
|
class | EventController |
Self-contained handler of series of events.
More...
|
|
class | Expander |
A container which can hide its child.
More...
|
|
class | FileChooser |
Gtk::FileChooser
is an interface that can be implemented by file selection widgets.
More...
|
|
class | FileChooserButton |
A button to launch a file chooser dialog.
More...
|
|
class | FileChooserDialog |
Convenient file chooser window.
More...
|
|
class | FileChooserError |
Exception class for Gdk::FileChooser errors.
More...
|
|
class | FileChooserWidget |
File chooser widget that can be embedded in other widgets.
More...
|
|
class | FileFilter |
A filter for selecting a file subset.
More...
|
|
class | Fixed |
A container which allows you to position widgets at fixed coordinates.
More...
|
|
class | FlowBox |
A container that allows reflowing its children.
More...
|
|
class | FlowBoxChild |
See the description of
FlowBox
.
More...
|
|
class | FontButton |
A button to launch a font selection dialog.
More...
|
|
class | FontChooser |
An interface implemented by widgets displaying fonts.
More...
|
|
class | FontChooserDialog |
A dialog box for selecting fonts.
More...
|
|
class | FontChooserWidget |
A dialog box for selecting fonts.
More...
|
|
class | FontSelection |
A widget for selecting fonts.
More...
|
|
class | FontSelectionDialog |
A dialog box for selecting fonts.
More...
|
|
class | Frame |
A
Gtk::Bin
with a decorative frame and optional label.
More...
|
|
class | Gesture |
Abstract base class for gestures.
More...
|
|
class | GestureDrag |
Drag gesture.
More...
|
|
class | GestureLongPress |
"Press and Hold" gesture.
More...
|
|
class | GestureMultiPress |
Multipress gesture.
More...
|
|
class | GesturePan |
Pan gesture.
More...
|
|
class | GestureRotate |
Rotate gesture.
More...
|
|
class | GestureSingle |
Abstract base class for mouse/single-touch gestures.
More...
|
|
class | GestureSwipe |
Swipe gesture.
More...
|
|
class | GestureZoom |
Zoom gesture.
More...
|
|
class | GLArea |
A widget used for drawing with OpenGL.
More...
|
|
class | Grid |
A container which arranges its child widgets in rows and columns.
More...
|
|
class | HandleBox |
A widget for detachable window portions.
More...
|
|
class | HBox |
Horizontal
Box
for laying widgets in a horizontal row.
More...
|
|
class | HButtonBox |
A container for arranging buttons horizontally.
More...
|
|
class | HeaderBar |
A box with a centered child.
More...
|
|
class | HPaned |
The
Gtk::HPaned
widget is a container widget with two children arranged horizontally.
More...
|
|
class | HScale |
A horizontal slider for selecting values.
More...
|
|
class | HScrollbar |
A horizontal scrollbar.
More...
|
|
class | HSeparator |
Horizontal line widget.
More...
|
|
class | IconFactory |
class | IconInfo |
class | IconSet |
This manages a set of variants of a particular icon An
IconSet
contains variants for different sizes and widget states.
More...
|
|
class | IconSize |
Represents registered icon sizes.
More...
|
|
class | IconSource |
class | IconTheme |
class | IconThemeError |
Exception class for
Gtk::IconTheme
errors.
More...
|
|
class | IconView |
The
IconView
provides an alternative view of a list model.
More...
|
|
class | Image |
A widget displaying an image.
More...
|
|
class | ImageMenuItem |
A menu item with an icon.
More...
|
|
class | InfoBar |
This widget that can be used to show messages to the user without showing a dialog.
More...
|
|
class | Invisible |
This widget is used internally in GTK+, and is probably not useful for application developers.
More...
|
|
class | Label |
A widget that displays a small to medium amount of text.
More...
|
|
class | Layout |
Infinite scrollable area containing child widgets and/or custom drawing.
More...
|
|
class | LevelBar |
A bar that can used as a level indicator.
More...
|
|
class | LinkButton |
Create buttons bound to a URL.
More...
|
|
class | ListBox |
A
ListBox
is a vertical container that contains
ListBoxRow
children.
More...
|
|
class | ListBoxRow |
See the description of
ListBox
.
More...
|
|
class | ListStore |
Thist is a list model for use with a
Gtk::TreeView
widget.
More...
|
|
class | ListViewText |
A simple listbox which presents some lines of information in columns and lets the user select some of them.
More...
|
|
class | LockButton |
A widget to unlock or lock privileged operations.
More...
|
|
class | Main |
Main
application class.
More...
|
|
class | Menu |
A drop-down menu consisting of
Gtk::MenuItem
objects which can be navigated and activated by the user to perform application functions.
More...
|
|
class | MenuBar |
A standard menu bar which usually holds
Gtk::Menu
submenu items.
More...
|
|
class | MenuButton |
A widget that shows a menu when clicked on.
More...
|
|
class | MenuItem |
Child item for menus.
More...
|
|
class | MenuShell |
The abstract base class for
Gtk::Menu
and
Gtk::MenuBar
.
More...
|
|
class | MenuToolButton |
A
Gtk::ToolItem
containing a toggle button.
More...
|
|
class | MessageDialog |
Convenient message window.
More...
|
|
class | Misc |
A base class for widgets with alignments and padding.
More...
|
|
class | ModelButton |
A button that uses a
Gio::Action
as model.
More...
|
|
class | Notebook |
Container
which shows one of its children at a time, in tabbed windows.
More...
|
|
class | NumerableIcon |
A
Gio::Icon
that allows numbered emblems.
More...
|
|
class | Object |
Gtk::Object
is the base class for all widgets, and for a few non-widget objects such as
Gtk::Adjustment
.
More...
|
|
class | OffscreenWindow |
A top-level container widget used to manage offscreen rendering of child widgets.
More...
|
|
class | Orientable |
This interface is implemented by all widgets that can be oriented horizontally or vertically.
More...
|
|
class | Overlay |
A container which overlays widgets on top of each other.
More...
|
|
class | PageSetup |
A
PageSetup
object stores the page size, orientation and margins.
More...
|
|
class | PageSetupUnixDialog |
PageSetupUnixDialog
implements a page setup dialog for platforms which don't provide a native page setup dialog, like Unix.
More...
|
|
class | Paned |
A widget with two adjustable panes.
More...
|
|
class | PaperSize |
PaperSize
handles paper sizes.
More...
|
|
class | PlacesSidebar |
Sidebar that displays frequently-used places in the file system.
More...
|
|
class | Plug |
Toplevel for embedding into other processes.
More...
|
|
class | Popover |
Context dependent bubbles.
More...
|
|
class | PopoverMenu |
A
Popover
to use as a menu.
More...
|
|
class | PrintContext |
A
PrintContext
encapsulates context information that is required when drawing pages for printing, such as the cairo context and important parameters like page size and resolution.
More...
|
|
class | Printer |
A
Printer
object represents a printer.
More...
|
|
class | PrintError |
class | PrintJob |
A
PrintJob
object represents a job that is sent to a printer.
More...
|
|
class | PrintOperation |
PrintOperation
is the high-level, portable printing API.
More...
|
|
class | PrintOperationPreview |
class | PrintSettings |
A
PrintSettings
object represents the settings of a print dialog in a system-independent way.
More...
|
|
class | PrintUnixDialog |
PrintUnixDialog
implements a print dialog for platforms which don't provide a native print dialog, like Unix.
More...
|
|
class | ProgressBar |
A widget which indicates progress visually.
More...
|
|
class | RadioAction |
An action of which only one in a group can be active.
More...
|
|
class | RadioButton |
A single radio button performs the same basic function as a
Gtk::CheckButton
, as its position in the object hierarchy reflects.
More...
|
|
class | RadioButtonGroup |
RadioButtonGroup
identifier for RadioButtons To set up this
RadioButtonGroup
, construct a
RadioButtonGroup
and then pass it to the constructor of all radio items.
More...
|
|
class | RadioMenuItem |
A
CheckMenuItem
that belongs to a group.
More...
|
|
class | RadioToolButton |
A toolbar item that contains a radio button.
More...
|
|
class | Range |
Base class for widgets which visualize an adjustment.
More...
|
|
class | RecentAction |
An action of which represents a list of recently used files.
More...
|
|
class | RecentChooser |
RecentChooser
is an interface that can be implemented by widgets displaying the list of recently used files.
More...
|
|
class | RecentChooserDialog |
RecentChooserDialog
is a dialog box suitable for displaying the recently used documents.
More...
|
|
class | RecentChooserError |
Exception class for
Gtk::RecentChooser
errors.
More...
|
|
class | RecentChooserMenu |
RecentChooserMenu
is a widget suitable for displaying recently used files inside a menu.
More...
|
|
class | RecentChooserWidget |
RecentChooserWidget
is a widget suitable for selecting recently used files.
More...
|
|
class | RecentFilter |
RecentFilter
can be used to restrict the files being shown in a
RecentChooser
.
More...
|
|
class | RecentInfo |
Contains information found when looking up an entry of the recently used files list.
More...
|
|
class | RecentManager |
RecentManager
provides a facility for adding, removing and looking up recently used files.
More...
|
|
class | RecentManagerError |
Exception class for
Gtk::RecentManager
errors.
More...
|
|
class | Revealer |
Hide and show with animation.
More...
|
|
class | Scale |
A slider widget for selecting a value from a range.
More...
|
|
class | ScaleButton |
A button which pops up a scale widget.
More...
|
|
class | Scrollable |
This interface is implemented by widgets with native scrolling ability.
More...
|
|
class | Scrollbar |
A
Scrollbar
.
More...
|
|
class | ScrolledWindow |
Adds scrollbars to its child widget.
More...
|
|
class | SearchBar |
A toolbar to integrate a search entry with.
More...
|
|
class | SearchEntry |
This is a subclass of
Gtk::Entry
that has been tailored for use as a search entry.
More...
|
|
class | SelectionData |
class | Separator |
A separator widget.
More...
|
|
class | SeparatorMenuItem |
A separator used to group items within a menu.
More...
|
|
class | SeparatorToolItem |
A toolbar item that separates groups of other toolbar items.
More...
|
|
class | Settings |
Sharing settings between applications.
More...
|
|
class | ShortcutsGroup |
Represents a group of shortcuts in a
ShortcutsWindow
.
More...
|
|
class | ShortcutsSection |
Represents an application mode in a
ShortcutsWindow
.
More...
|
|
class | ShortcutsShortcut |
Represents a keyboard shortcut in a
ShortcutsWindow
.
More...
|
|
class | ShortcutsWindow |
Toplevel which shows help for shortcuts.
More...
|
|
class | SignalProxyChildProperty |
class | SizeGroup |
Gtk::SizeGroup
provides a mechanism for grouping a number of widgets together so they all request the same amount of space.
More...
|
|
class | Socket |
Container
for widgets from other processes.
More...
|
|
class | SpinButton |
numeric
Entry
with up/down buttons Slightly misnamed, this should be called a SpinEntry.
More...
|
|
class | Spinner |
A widget that displays a spinner animation.
More...
|
|
class | Stack |
A container that shows only one child at a time.
More...
|
|
class | StackSidebar |
Sidebar widget that shows the pages of a
Stack
.
More...
|
|
class | StackSwitcher |
A controller for a
Gtk::Stack
.
More...
|
|
class | Statusbar |
Text status indicator This widget is used to display status information.
More...
|
|
class | StatusIcon |
The "system tray" or notification area is normally used for transient icons that indicate some special state.
More...
|
|
class | StockID |
See also
Gtk::BuiltinStockID
.
More...
|
|
class | StockItem |
class | StyleContext |
This object stores styling information affecting a widget defined by
WidgetPath
.
More...
|
|
class | StyleProperty |
Represents a widget style property.
More...
|
|
class | StylePropertyBase |
Base class for widget style properties.
More...
|
|
class | StyleProvider |
This is a base class used to provide style information to a
StyleContext
.
More...
|
|
class | Switch |
A "light switch"-style toggle.
More...
|
|
class | Table |
Pack widgets in regular patterns.
More...
|
|
class | TargetEntry |
class | TargetList |
class | TearoffMenuItem |
A special
Gtk::MenuItem
which is used to tear off and reattach its menu.
More...
|
|
class | TextAttributes |
class | TextBuffer |
Multi-line attributed text that can be displayed by one or more
Gtk::TextView
widgets.
More...
|
|
class | TextChildAnchor |
A
TextChildAnchor
is a spot in the buffer where child widgets can be "anchored" (inserted inline, as if they were characters).
More...
|
|
class | TextIter |
Typefed as
Gtk::TextBuffer::iterator
.
More...
|
|
class | TextMark |
Typedefed as
Gtk::TextBuffer::Mark
.
More...
|
|
class | TextTag |
Typedefed as
Gtk::TextBuffer::Tag
.
More...
|
|
class | TextTagTable |
Typedefed as
Gtk::TextBuffer::TagTable
.
More...
|
|
class | TextView |
Multi-line text editing widget.
More...
|
|
class | ToggleAction |
An action which can be toggled between two states.
More...
|
|
class | ToggleButton |
A
Gtk::ToggleButton
will remain 'pressed-in' when clicked.
More...
|
|
class | ToggleToolButton |
A
Gtk::ToolItem
containing a toggle button.
More...
|
|
class | Toolbar |
Bars of buttons and other widgets.
More...
|
|
class | ToolButton |
A
Gtk::ToolItem
subclass that displays buttons.
More...
|
|
class | ToolItem |
The base class of widgets that can be added to
ToolShell
.
More...
|
|
class | ToolItemGroup |
A
ToolItemGroup
is used together with
ToolPalette
to add ToolItems to a palette-like container with different categories and drag and drop support.
More...
|
|
class | ToolPalette |
A
ToolPalette
allows you to add ToolItems to a palette-like container with various categories and drag and drop support.
More...
|
|
class | ToolShell |
A base class for containers containing
ToolItem
widgets.
More...
|
|
class | Tooltip |
Add tips to your widgets.
More...
|
|
class | TreeDragDest |
class | TreeDragSource |
class | TreeIter |
A
Gtk::TreeModel::iterator
is a reference to a specific node on a specific model.
More...
|
|
class | TreeIterBase |
class | TreeModel |
This class defines a generic tree interface for use by the
Gtk::TreeView
widget.
More...
|
|
class | TreeModelColumn |
A
Gtk::TreeModelColumn
describes the C++ type of the data in a model column, and identifies that column in the model.
More...
|
|
class | TreeModelColumnBase |
Base class of
TreeModelColumn
templates.
More...
|
|
class | TreeModelColumnRecord |
Typedefed as
TreeModel::ColumnRecord
.
More...
|
|
class | TreeModelFilter |
class | TreeModelSort |
A wrapper which makes an underlying
Gtk::TreeModel
sortable.
More...
|
|
class | TreeNodeChildren |
typedefed as
TreeModel::Children
.
More...
|
|
class | TreePath |
A path is essentially a potential node.
More...
|
|
class | TreeRow |
Typedefed as
TreeModel::Row
.
More...
|
|
class | TreeRowReference |
Typedefed as
Gtk::TreeModel::RowReference
.
More...
|
|
class | TreeSelection |
Typedefed as
Gtk::TreeView::Selection
.
More...
|
|
class | TreeSortable |
class | TreeStore |
class | TreeValueProxy |
class | TreeView |
The
TreeView
widget displays the model (
Gtk::TreeModel
) data and allows the user to interact with it.
More...
|
|
class | TreeViewColumn |
Typedefed as
Gtk::TreeView::Column
.
More...
|
|
class | UIManager |
Constructing menus and toolbars from an XML description.
More...
|
|
class | VBox |
Vertical
Box
for laying widgets in a vertical row.
More...
|
|
class | VButtonBox |
A container for arranging buttons vertically.
More...
|
|
class | Viewport |
An adapter which makes widgets scrollable.
More...
|
|
class | VolumeButton |
A button which pops up a volume control.
More...
|
|
class | VPaned |
The
Gtk::VPaned
widget is a container widget with two children arranged vertically.
More...
|
|
class | VScale |
A vertical slider for selecting values.
More...
|
|
class | VScrollbar |
A vertical scrollbar.
More...
|
|
class | VSeparator |
Vertical line widget.
More...
|
|
class | Widget |
Abstract
Widget
(Base class for all widgets)
More...
|
|
class | WidgetPath |
This represents a widget hierarchy from the topmost widget, typically a toplevel, to any child.
More...
|
|
class | Window |
Toplevel
Window
.
More...
|
|
class | WindowGroup |
Limit the effect of grabs.
More...
|
|
Typedefs |
|
typedef sigc::slot < void, const Glib::RefPtr < PageSetup >& > | SlotPrintSetupDone |
For example, void on_setup_done(const Glib::RefPtr<PageSetup>& page_setup);.
More...
|
|
typedef GtkRequisition | Requisition |
typedef Gdk::Rectangle | Allocation |
Variables |
|
const Glib::ustring | PAPER_NAME_A3 |
Common paper names, from PWG 5101.1-2002 PWG: Standard for Media Standardized Names.
More...
|
|
const Glib::ustring | PAPER_NAME_A4 |
const Glib::ustring | PAPER_NAME_A5 |
const Glib::ustring | PAPER_NAME_B5 |
const Glib::ustring | PAPER_NAME_LETTER |
const Glib::ustring | PAPER_NAME_EXECUTIVE |
const Glib::ustring | PAPER_NAME_LEGAL |
Detailed Description
Copyright (C) 2012 The gtkmm Development Team.
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Typedef Documentation
typedef Gdk::Rectangle Gtk::Allocation |
typedef GtkRequisition Gtk::Requisition |
typedef sigc::slot < void, const Glib::RefPtr < PageSetup >& > Gtk::SlotPrintSetupDone |
For example, void on_setup_done(const Glib::RefPtr<PageSetup>& page_setup);.
Enumeration Type Documentation
enum Gtk::MessageType |
enum Gtk::StateType |
enum Gtk::WindowType |
enum Gtk::WrapMode |
Function Documentation
T* Gtk::manage | ( | T * | obj | ) |
Mark a Gtk::Object as owned by its parent container widget, so you don't need to delete it manually.
For instance,
- Parameters
-
obj A Gtk::Object , such as a gtkmm widget.
- Returns
- The Gtk::Object passed as the obj parameter.
Glib::RefPtr < PageSetup > Gtk::run_page_setup_dialog | ( | Window & | parent , |
const Glib::RefPtr < const PageSetup >& | page_setup , | ||
const Glib::RefPtr < const PrintSettings >& | print_settings | ||
) |
Runs a page setup dialog, letting the user modify the values from page_setup.
If the user cancels the dialog, the returned PageSetup is identical to that passed in page_setup , otherwise it contains the modifications done in the dialog.
Note that this function may use a recursive mainloop to show the page setup dialog. See run_page_setup_dialog_async() if this is a problem.
- Parameters
-
parent Transient parent. page_setup An existing GtkPageSetup. print_settings Print settings.
- Returns
- A new PageSetup object.
- Since
- 2.10
Glib::RefPtr < PageSetup > Gtk::run_page_setup_dialog | ( | Window & | parent , |
const Glib::RefPtr < const PrintSettings >& | print_settings | ||
) |
Runs a page setup dialog, letting the user modify the values from page_setup.
If the user cancels the dialog, the returned PageSetup is identical to that passed in page_setup , otherwise it contains the modifications done in the dialog.
Note that this function may use a recursive mainloop to show the page setup dialog. See run_page_setup_dialog_async() if this is a problem.
- Parameters
-
parent Transient parent. print_settings Print settings.
- Returns
- A new PageSetup object.
- Since
- 2.22
void Gtk::run_page_setup_dialog_async | ( | Window & | parent , |
const Glib::RefPtr < const PageSetup >& | page_setup , | ||
const Glib::RefPtr < const PrintSettings >& | print_settings , | ||
const SlotPrintSetupDone & | slot | ||
) |
Runs a page setup dialog, letting the user modify the values from page_setup.
In contrast to run_page_setup_dialog() , this function returns after showing the page setup dialog on platforms that support this, and calls the slot from a signal handler for the ::response signal of the dialog.
- Parameters
-
parent Transient parent. page_setup An existing GtkPageSetup. print_settings Print settings.
- Returns
- A new PageSetup object.
- Parameters
-
slot
- Since
- 2.10
void Gtk::run_page_setup_dialog_async | ( | Window & | parent , |
const Glib::RefPtr < const PrintSettings >& | print_settings , | ||
const SlotPrintSetupDone & | slot | ||
) |
Runs a page setup dialog, letting the user modify the values from page_setup.
In contrast to run_page_setup_dialog() , this function returns after showing the page setup dialog on platforms that support this, and calls the slot from a signal handler for the ::response signal of the dialog.
- Parameters
-
parent Transient parent. print_settings Print settings.
- Returns
- A new PageSetup object.
- Parameters
-
slot
- Since
- 2.22
Variable Documentation
const Glib::ustring Gtk::PAPER_NAME_A3 |
Common paper names, from PWG 5101.1-2002 PWG: Standard for Media Standardized Names.
const Glib::ustring Gtk::PAPER_NAME_A4 |
const Glib::ustring Gtk::PAPER_NAME_A5 |
const Glib::ustring Gtk::PAPER_NAME_B5 |
const Glib::ustring Gtk::PAPER_NAME_EXECUTIVE |
const Glib::ustring Gtk::PAPER_NAME_LEGAL |
const Glib::ustring Gtk::PAPER_NAME_LETTER |