![]() The resizable widget defines the resizing box for the group. See void Fl_Group::resizable(Fl_Widget *box) Removes the widget at index from the group but does not delete it. Removes a widget from the group but does not delete it. Insert ( Fl_Widget &o, Fl_Widget *before) The widget is removed from its current group (if any) and then inserted into this group. ![]() ![]() Resets the internal array of widget sizes and positions. More.įl_Group (int, int, int, int, const char *=0)Ĭreates a new Fl_Group widget using the given position, size, and label string. Searches the child array for the widget and returns the index. See int Fl_Group::find(const Fl_Widget *w) const. More.Įxactly the same as current(this-> parent()). More.Ĭontrols whether the group widget clips the drawing of child widgets to its bounding box. Returns how many child widgets the group has.ĭeletes all child widgets from memory recursively. Sets the current group so you can build the widget tree by just constructing the widgets. Returns an Fl_Group pointer if this widget is an Fl_Group. Returns a pointer to the array of children. The widget is removed from its current group (if any) and then added to the end of this group.Īdds a widget to the group and makes it the resizable widget. Public Member Functions inherited from Fl_Group The destructor also deletes all the children. Gets the y position of the window on the screen. Returns the xclass for this window, or a default. Gets the x position of the window on the screen. Waits for the window to be displayed after calling show(). Returns true if this window is a tooltip window. Sets the allowable range the user can resize this window to. Size_range (int minw, int minh, int maxw=0, int maxh=0, int dw=0, int dh=0, int aspect=0) Returns non-zero if show() has been called (but not hide() ). Puts the window on the screen and parses command-line arguments. More.Īssigns a non-rectangular shape to the window. More.Īctivates the flags NOBORDER|FL_OVERRIDE. More.Ī "non-modal" window (terminology borrowed from Microsoft Windows) acts like a modal() one in that it remains on top, but it has no effect on event delivery. More.Ī "modal" window, when shown(), will prevent any events from being delivered to other windows in the same program, and will also remain on top of the other windows (if the X window manager supports the "transient for" property). Returns non zero if FL_OVERRIDE flag is set, 0 otherwise.Ĭhanges the size and position of the window. Returns true if this window is modal or non-modal. Returns true if this window is a menu window. ![]() Sets things up so that the drawing functions in will go into this window. Label (const char *label, const char * iconlabel) See void Fl_Window::iconlabel(const char*) Sets the current icon window target dependent data. Gets the current icon window target dependent data. Positions the window so that the mouse is pointing at the given position, or at the center of the given widget, which may be the window itself. Hotspot (const Fl_Widget *, int offscreen=0) See void Fl_Window::hotspot(int x, int y, int offscreen = 0) Hotspot (const Fl_Widget &p, int offscreen=0) Sets which screens should be used when this window is in fullscreen mode. Turns off any side effects of fullscreen() and does resize(x,y,w,h).įullscreen_screens (int top, int bottom, int left, int right) Turns off any side effects of fullscreen()įullscreen_off (int X, int Y, int W, int H) Returns non zero if FULLSCREEN flag is set, 0 otherwise. Makes the window completely fill one or more screens, without any window manager border visible. Undoes the effect of a previous resize() or show() so that the next time show() is called the window manager is free to position the window. More.įl_Window (int x, int y, int w, int h, const char *title=0)Ĭreates a window from the given position, size and title. More.ĭefault_cursor ( Fl_Cursor c, Fl_Color, Fl_Color=FL_WHITE)įl_Window (int w, int h, const char *title=0)Ĭreates a window from the given size and title. Returns the window width including any frame added by the window manager. Returns the window height including any window title bar and any frame added by the window manager. More.Ĭursor ( Fl_Cursor c, Fl_Color, Fl_Color=FL_WHITE) Sets the window titlebar label to a copy of a character string.Ĭhanges the cursor for this window. More.Ĭlears the "modal" flags and converts a "modal" or "non-modal" window back into a "normal" window. More.įast inline function to turn the window manager border off. Sets whether or not the window manager border is around the window. Returns an Fl_Window pointer if this widget is an Fl_Window. Data supporting a non-rectangular window shape.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |