Loading

Paste #p6ebswmal

  1. enum {
  2.   /* Show the icons on the left */
  3.   GTK_DECORATIONS_LEFT = (1 << 0),
  4.   /* Show the icons on the left */
  5.   GTK_DECORATIONS_RIGHT = (1 << 1),  
  6.   /* GTK_DECORATIONS_TITLE = (1 << 2) not sure we want this */
  7. } GtkDecorations;
  8.  
  9. /**
  10.  * Creates a new title bar widget.
  11.  *
  12.  * GtkTitleBar is intended to be used in titlebars of windows. It
  13.  * can display the windowing items that are set up in the windowing
  14.  * system.
  15.  *
  16.  * Dragging the widget will cause the window to be dragged, right-clicking
  17.  * will open the window menu.
  18.  */
  19. GtkWidget *   gtk_title_bar_new            (void);
  20.  
  21. void          gtk_title_bar_set_show_decorations (GtkTitleBar    *self,
  22.                                                   GtkDecorations  decorations);
  23. void          gtk_title_bar_set_child            (GtkTitleBar    *self,
  24.                                                   GtkWidget      *child);