Top "Flags" questions

Flags are atomic data structures used to identify state in a program.

Using CSS Variables in Chrome 29+

My Chrome browser just switched from version 28 to version 29. Once it switched over, my css3 code stopped working in the …

css google-chrome flags css-variables
lock/unlock orientation

To lock my orientation to portrait, I use: activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); I'm unsure what flag tells the …

android orientation flags
Is it possible to access the overflow flag register in a CPU with C++?

After performing a mathematical operation, for say, multiplying two integers, is it possible to access the overflow flag register in …

c++ assembly flags integer-overflow
How do I determine if an Enum value has one or more of the values it's being compared with?

I've got an Enum marked with the [Flags] attribute as follows: [Flags] public enum Tag : int { None = 0, PrimaryNav = 1, HideChildPages = 2, HomePage = 4, …

c# enums flags
PyQt4: how to make undercorated window with reserved space

I'd like to make a panel-like application using PyQt4 for Linux. for this i need the window i created: to …

python pyqt4 flags overlap borderless
Argparse: Making required flags

I am attempting to create a required flag "-f" that accepts the input "filename.pdb" in Argparse. This is simple …

python argparse flags required
Parse a command line string into flags and arguments in Golang

I'm looking for a package that would take a string such as -v --format "some example" -i test and parse …

go arguments package command-line-arguments flags